Ansicht
Dokumentation

/SAPTRX/FIND_LAST_DELIV - Find Last Delivery in Shipment

/SAPTRX/FIND_LAST_DELIV - Find Last Delivery in Shipment

rdisp/max_wprun_time - Maximum work process run time   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is used for rule condition functions in the visibility scenario Deliveries in LTL Shipment.

It checks if the status for each delivery in the shipment is Arrival at Customer. The shipment end date is only updated once all the deliveries have reached the status Arrival at Customer. If one or more deliveries has not yet reached the status Arrival at Customer, you must set parameter E_RESULT to F(False).

Example

Notes

This function module should be called before updating shipment end date in the SAP R/3 shipment. (You should update the shipment end date once per shipment, not per delivery.)

The following are prerequisites for using this function module:

  • Create tracking ID STNR (shipment no.) in the tracking ID extractor in the SAP R/3 system.
  • Customize the status with status attribute value ARRIVED and status attribute name TP_STATUS.

Further information

Refer to the FM document for /SAPTRX/SET_SHIPMENT_ENDDATE.





Parameters

E_RESULT
I_EH_HDR
I_EH_MODEL
I_EVTMSG_HDR
I_PARAMETERS

Exceptions

Function Group

TRX/SAPLTS_CONDITIONS

ROGBILLS - Synchronize billing plans   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 1793 Date: 20240423 Time: 215947     sap01-206 ( 40 ms )