Ansicht
Dokumentation

EXIT_SAPLWVFI_003 -

EXIT_SAPLWVFI_003 -

General Data in Customer Master   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This user exit allows you to check and change store physical inventory IDocs before these IDocs are imported at inbound processing.

The original IDoc is transferred in table INPUT_IDOC_SEGMENTS of parameter I_INTERFACE. If you want to change segments, you must return them in table OUTPUT_CHANGED_IDOC_SEGMENTS. The changes are recorded in the log automatically, unless you suppress the generation of a log using parameter O_NO_LOGGING_REQUIRED.

You can end IDoc processing using parameter O_STOP_IDOC_PROCESSING. The IDoc is assigned the POS status "Refused by system" in this case. Normally, this parameter is set if checks show that the IDoc is not to be posted when it is processed for the first time.

The user can then decide if the IDoc should be posted anyway. To make this possible, you should not set the parameter is this case.

If you want to end IDoc processing using the procedure described above, you can enter your reason using parameter O_STOP_PROCESSING_REASON. Your reason is also noted in the log. The permitted values are entered in domain POSREASON as a fixed value.

Messages for the processing log can be returned in table OUTPUT_ERROR_MESSAGES.

Notes

You can no longer process your current transaction if exceptions are triggered. An error message should be written via MESSAGE...RAISING. The message should then be entered in the log.

No database commit can be transmitted using the functions exit.

All changes to the database must be processed using posting modules.






TXBHW - Original Tax Base Amount in Local Currency   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 1670 Date: 20240426 Time: 200815     sap01-206 ( 35 ms )