/SAPTRX/FIND_LAST_DELIV - Find Last Delivery in Shipment
TXBHW - Original Tax Base Amount in Local Currency General Data in Customer MasterThis 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 Arrivalat Customer. The shipment end date is only updated once all the deliveries have reached the statusArrival at Customer. If one or more deliveries has not yet reachedthe 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) CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 1731 Date: 20120525 Time: 064239 triton ( 122 ms )






