/SAPTRX/TMS_SET_HSH_STATUS - Set Life Cycle Status for Shipment

CPI1466 during Backup   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This 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 Customizingfor SAP Event Mangement under Event Management-> GeneralSettings 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

CPI1466 during Backup   PERFORM Short Reference  
This documentation is copyright by SAP AG.


Length: 1938 Date: 20120525 Time: 070732     triton ( 94 ms )