Ansicht
Dokumentation
/SAPTRX/TMS_CHANGE_ETA - Create/Update ETA with or Without Reference to PTA(s)
CL_GUI_FRONTEND_SERVICES - Frontend Services CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
Functionality
This function module creates or updates an executed transportation activity (ETA) either with or without a reference to one or more planned transportation activities (PTAs), depending on whether a relevant PTA exists or not.
It is used in rule activities only.
- Parameter-1: Enter the method for how you want to create or update the ETA. The following methods are available:
- X: Create or Update ETA with Reference to PTA(s)
- ' ': Create or Update ETA Without Reference to PTA(s)
- Parameter-2: Enter the object type. The following object types are available:
- 01: House Shipment
- 02: Tour
- 03: Resource
- Parameter-3: Enter the object or metadata tag to retrieve the value. You can enter the following objects:
- House Shipment Number
- Tour ID
- Resource ID
- Parameter-4: Enter the execution status. The following statuses are available:
- 02: In Execution
- 03: Executed
- 05: Cancelled
- Parameter-5 (Optional): Enter the transportation activity category. The following categories are available:
- 01: Loading
- 02: Transportation
- 03: Unloading
- 10: Customs
- Parameter-6 (Optional): Enter the external location ID or a metadata tag to retrieve the value.
Return code:
- 0: The ETA was created or updated 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 create or update the ETA is not available at the destination you have specified.
Note:
You must set the BAPI commit indicator in your rule set.
Example
Notes
Further information
Parameters
E_RETURN_CODEI_EAI
Exceptions
Function Group
TRX/SAPLACT_TMS_PATCL_GUI_FRONTEND_SERVICES - Frontend Services Fill RESBD Structure from EBP Component Structure
This documentation is copyright by SAP AG.
Length: 3518 Date: 20240523 Time: 061822 sap01-206 ( 46 ms )