Ansicht
Dokumentation
FKK_SAMPLE_5006 - Write Off: Prepopulate and Check Fields
General Material Data Fill RESBD Structure from EBP Component StructureThis documentation is copyright by SAP AG.
Functionality
Using a function module processed in event 5006, on the selection screen for the transaction Write Off Items (FP04), you can check the data entered or have default entries. You can also transfer the data entered to your program if you have implemented your own additional fields in event 5005 and therefore need this information.
The data for the selection screen is available in the structure C_RFKA1. If you want to create an error message, you can transfer the message number, message class, and so on in the fields E_MSGNO, E_MSGID, and so on. In the field E_CURSOR, you can state the field in which the error occurred. The cursor is then placed on this field.
Event 5006 is called before and after the call of event 5005 when you carry out manual write-offs on the selection screen. If the indicator I_BEFORE_SUBSCREEN is set, it is a call before event 5005. If the indicator is empty, the call is after event 5005.
Example
Notes
Further information
Parameters
C_RFKA1E_CURSOR
E_MSGID
E_MSGNO
E_MSGTY
E_MSGV1
E_MSGV2
E_MSGV3
E_MSGV4
I_BEFORE_SUBSCREEN
Exceptions
Function Group
FKA3ABAP Short Reference General Material Data
This documentation is copyright by SAP AG.
Length: 1549 Date: 20240523 Time: 082424 sap01-206 ( 42 ms )