Ansicht
Dokumentation
/SAPTRX/TMS_SET_HSH_STATUS - Set Life Cycle Status for Shipment
ROGBILLS - Synchronize billing plans CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
Functionality
This function module is used to set the life cycle status of a shipment.
It is used in rule activities only.
- Parameter-1: Enter a metadata tag to retrieve the shipment number.
- Parameter-2: Enter one of the following life cycle status values for the shipment:
- 01,,Not Released
- 02,,Released
- 03,,Waybill Issued
- 04,,Updated
- 05,,Canceled
- 06,,Ready for Execution
- 07,,In Execution
- 08,,Executed
- 09,,Completed
Return code:
- 0: The shipment status was set successfully.
- 1: The application system or RFC destination has not been maintained. Check the relevant Customizing for SAP Event Mangement under Event Management-> General Settings in SAP Event Management -> Define Application System.
- 2: The function module used to set the life cycle statuc of shipment is not available at the destination you have specified.
Example
Notes
Further information
Parameters
E_RETURN_CODEI_EAI
Exceptions
Function Group
TRX/SAPLACT_TMS_PATSUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up General Material Data
This documentation is copyright by SAP AG.
Length: 2088 Date: 20240329 Time: 065134 sap01-206 ( 31 ms )