Ansicht
Dokumentation
FKK_SAMPLE_2646 - INV: Determine Classificatin Key OPORD for Posting Documents
rdisp/max_wprun_time - Maximum work process run time BAL Application Log DocumentationThis documentation is copyright by SAP AG.
Functionality
In the function module processed at event 2646, you can determine the classification key for the posting documents of an invoicing document.
The invoicing document (with the document number) and all posting documents to be created (without their document numbers) are already created at this event, but are not yet posted.
You can create a classification key, for example, by combining the customer number, invoicing document number, and a check digit.
The classification key is adopted in all posting documents of the invoicing document that are newly created.
If a payment form is to be created during invoicing, the classification key is also inherited by the payment form reference.
Example
Notes
The event is processed only if the field OPORD was activated in the FI-CA document structure. For more information, see the documentation for data element OPORD_KK.
If you have added the field OPORD to the header structure of the invoicing document, this field is also supplied with values.
Further information
Parameters
C_USE_AS_RFZASE_OPORD
I_INVDOCNO
I_INV_UNIT_PUBLIC
Exceptions
Function Group
FKKINV_EVENTABAP Short Reference Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 1530 Date: 20240604 Time: 001829 sap01-206 ( 31 ms )