Ansicht
Dokumentation
FKK_SAMPLE_1121 - Document Before Saving a Change (with Messages)
rdisp/max_wprun_time - Maximum work process run time BAL Application Log DocumentationThis documentation is copyright by SAP AG.
Features
For event 1121, all document data relevant to a document change is made available in the old and new version.
You can return error messages in table T_MESSA and thereby prevent the change from being saved. You should assign the error messages to the line items so that the line item field (OPUPK, length 4), sub-item field (OPUPZ, length 3), and repetition item field (OPUPW, length 3) are concatenated in the MSORT (length 10) field.
Usage Area
Used to prevent unwanted document changes.
Notes for Programming
The structures/tables with the "OLD" tag contain the old status for the document, before the change.
The structures/tables with the "NEW" tag contain the new status for the document, after the change.
It is not possible to change the data yourself, for example by entering new values in the tables with the "NEW" tag.
Parameters
E_TAKE_OVER_NEW_VALUESI_NEW_FKKKO
I_OLD_FKKKO
T_MESSA
T_NEW_FKKOP
T_NEW_FKKOPK
T_NEW_FKKOPL
T_NEW_FKKOPW
T_OLD_FKKOP
T_OLD_FKKOPK
T_OLD_FKKOPL
T_OLD_FKKOPW
Exceptions
Function Group
FKP3RFUMSV00 - Advance Return for Tax on Sales/Purchases CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 1302 Date: 20240523 Time: 044725 sap01-206 ( 31 ms )