Documentation View

We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!

/SAPTRX/TMS_SET_HSH_STATUS - Set Life Cycle Status for Shipment

/SAPTRX/TMS_SET_HSH_STATUS - Set Life Cycle Status for Shipment

Vendor Master (General Section)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

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_CODE
I_EAI

Exceptions

Function Group

TRX/SAPLACT_TMS_PAT

BAL_S_LOG - Application Log: Log header data   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2088 Date: 20211201 Time: 194818     sap01-206 ( 28 ms )