Ansicht
Dokumentation
EXIT_SAPLV50E_002 -
BAL Application Log Documentation PERFORM Short ReferenceThis documentation is copyright by SAP AG.
Functionality
Using this function module, you can determine individual import header data that is to be assigned to a materials management document (purchase order), if the routines proposed by the system are not sufficient or if you want to overwrite the data determined by the system.
For this reason, you can use the following IMPORT parameters:
- Document header of purchase order as field string (I_PURCHASE_ORDER_HEADER)
- Vendor master as field string (I_VENDOR_MASTER)
You can use import header data determined until now by the system as CHANGING parameters, such as:
- Structure of ALL import header data (C_IMPORT_HEADER_DATA)
The import header data determined in this function module - all C_* field strings - are copied to the calling program.
Example
If you want road transport (value: '3') always to be assigned to the inland mode of transport (field C_IMPORT_HEADER_DATA-IEVER), you must add the following statement to the user exit:
...
C_IMPORT_HEADER_DATA-IEVER = '3'.
...
Note
The system does NOT call up this function module UNTIL the standard proposal routines for import header data have been processed. This means that any data changes in the user exit will not be overwritten by the system.
Note
The field string that has been copied (C_IMPORT_HEADER_DATA) contains all foreign trade header data. This may even include data that is only relevant for export processing in Sales and Distribution.
These fields can be filled in the user exit. However, they can neither be displayed nor used otherwise in materials management documents.
Make sure that you fill only those fields in the user exit that are relevant for import processing.
Note
The following fields CANNOT be overwritten in the user exit or are reset to their original values after the system has called up the user exit.
- Client (C_IMPORT_HEADER_DATA-MANDT)
- Number of foreign trade data (C_IMPORT_HEADER_DATA-EXNUM)
- Currency of statistical value (C_IMPORT_HEADER_DATA-GRWCU)
- Currency of customs value (C_IMPORT_HEADER_DATA-WZOCU)
- Status: Document data complete (system) (C_IMPORT_HEADER_DATA-AUSOK)
rdisp/max_wprun_time - Maximum work process run time General Material Data
This documentation is copyright by SAP AG.
Length: 2651 Date: 20240425 Time: 194409 sap01-206 ( 36 ms )