Ansicht
Dokumentation

EXIT_SAPLV50E_005 -

EXIT_SAPLV50E_005 -

Addresses (Business Address Services)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Using this function module, you can specify what foreign trade header data must be filled, so that the system regards it as complete.

For this reason, you can use all foreign trade header data (I_EXPORT_HEADER) as IMPORT parameters.

In order to distinguish between receipt/import and dispatch/export, the system has been set up so that indicator I_EXP_IMP_FLAG has value 'I' for receipt/import, and value 'E' for dispatch/export.

If you want the system to regard the foreign trade header data as complete, CHANGING parameter C_COMPLETE (which contains the result of the completion check carried out by the system) must be set to 'X'.

If the foreign trade data are incomplete, CHANGING parameter C_COMPLETE must be set to ' '.

Example

If you want the system to regard the export document header (field I_EXP_IMP_FLAG = 'E') as complete, provided that the mode of transport (field I_EXPORT_HEADER-EXPVZ), the office of exit (field I_EXPORT_HEADER-ZOLLA) and the indicator for the means of transport crossing the border (field I_EXPORT_HEADER-KZGBE) have been maintained, you must add the following statement to the user exit:

...
IF ( I_EXP_IMP_FLAG EQ 'E' ).
CLEAR: C_COMPLETE.
IF NOT ( I_EXPORT_HEADER-EXPVZ IS INITIAL ) AND
NOT ( I_EXPORT_HEADER-ZOLLA IS INITIAL ) AND
NOT ( I_EXPORT_HEADER-KZGBE IS INITIAL ) .
C_COMPLETE = 'X'.
ENDIF.
ENDIF.
...

Note

This completion check applies to foreign trade data both in SD and MM documents.






Addresses (Business Address Services)   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 1689 Date: 20240501 Time: 232327     sap01-206 ( 37 ms )