Ansicht
Dokumentation

SD_SHIPMENT_STATUS_PLANNED - NOTRANSL: Funktionen bei Setzen des Status 'Disponiert' im Transportkopf

SD_SHIPMENT_STATUS_PLANNED - NOTRANSL: Funktionen bei Setzen des Status 'Disponiert' im Transportkopf

CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

What happens in transaction VT01 when pressing the status push button 'Planned' happens exactly here when calling up this functional module.

  • If the status is already set, it is reset. Time and date are reset.
  • If the status is not yet set, it is set. Date and time are filled (either with the values I_NEW_STATUS_DATE and I_NEW_STATUS_TIME or -- if these are empty -- with SY-DATLO and SY-TIMLO). Setting the status can also be done by specifying the date.

If the status changes, a USER-EXIT is activated.

If the status changes from ' ' to 'X', then various functions are executed:

  • Data is copied from the delivery (see documentation on functional module SD_SHIPMENT_COPY_DELIVERY_DATA).
  • Leg determination is executed (see documentation on functional module SD_SHIPMENT_LEG_DETERMINATION).

Parameters and tables:

I_TVTK contains customizing data of the shipment type
(e.g., Transfer route from deliveries: Yes or no ?)

C_XVTTK is the shipment header.

The following parameters and tables are important for leg determination and are passed on to the functional module 'SD_SHIPMENT_LEG_DETERMINATION' (see documentation)
I_DESTINATION
I_DEPARTURE
OPT_DIALOG
I_DEPARTURE_SEQUENCE

Example

Notes

Further information





Parameters

C_XVBADR
C_XVBPA
C_XVTSP
C_XVTTK
C_XVTTK_WA
C_XVTTP
C_XVTTS
C_YVBADR
C_YVBPA
C_YVTSP
C_YVTTK
C_YVTTP
C_YVTTS
E_LEG_DETERMINATION_DONE
E_ROUTE_FROM_DELIVERY
E_SERV_AGENT_FROM_DELIVERY
I_DEPARTURE
I_DEPARTURE_SEQUENCE
I_DESTINATION
I_NEW_STATUS
I_NEW_STATUS_DATE
I_NEW_STATUS_TIME
I_TVTK
I_XTRLK
I_XTRLP
I_XVTFA
I_XVTTK_CONTROL
I_YVTFA
OPT_DIALOG

Exceptions

COPY_OF_DELIVERY_DATA_FAILED
DATE_INVALID
TIME_INVALID
WRONG_SHIPMENT_TYPE

Function Group

V56F

BAL_S_LOG - Application Log: Log header data   General Material Data  
This documentation is copyright by SAP AG.

Length: 2343 Date: 20240523 Time: 042357     sap01-206 ( 50 ms )