Ansicht
Dokumentation
/SAPTRX/FIND_LAST_DELIV - Find Last Delivery in Shipment
rdisp/max_wprun_time - Maximum work process run time RFUMSV00 - Advance Return for Tax on Sales/PurchasesThis documentation is copyright by SAP AG.
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_RESULTI_EH_HDR
I_EH_MODEL
I_EVTMSG_HDR
I_PARAMETERS
Exceptions
Function Group
TRX/SAPLTS_CONDITIONSAddresses (Business Address Services) SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 1793 Date: 20240604 Time: 004502 sap01-206 ( 38 ms )