Ansicht
Dokumentation

/SAPTRX/TMS_SET_HSH_STATUS - Set Life Cycle Status for Shipment

/SAPTRX/TMS_SET_HSH_STATUS - Set Life Cycle Status for Shipment

Fill RESBD Structure from EBP Component Structure   rdisp/max_wprun_time - Maximum work process run time  
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

General Material Data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2088 Date: 20240426 Time: 175414     sap01-206 ( 31 ms )