Ansicht
Dokumentation
SAMPLE_PROCESS_00101010 - NOTRANSL: Schnittstellenbeschreibung zum Prozeß 00101010
PERFORM Short Reference Addresses (Business Address Services)This documentation is copyright by SAP AG.
Functionality
This function module is an interface description only and does not contain any instructions. It is intended for developers of those additional components that provide their own function module at Event 00101010 (Copy Account Assignment for Earmarked Funds).
Function module SAMPLE_PROCESS_00101010 must not be changed.If you want to create your own function module that is to be accessed at the callup point mentioned above, proceed as follows:
- Copy the function module to your own name range.
- Do not change any transfer parameters !!
- Write your own coding in the copied function module.
- Save and activate your function module.
- Carry out the necessary settings in Customizing. Business Transaction Events
Process
This process runs when a document is referenced to earmarked funds (for example, funds reservation) which is thereby reduced as a result of the document. In the process, the system controls which fields for earmarked funds are copied into the document.
Interface
The transaction that resulted from the document (for example, FI invoice), and the item from the corresponding earmarked funds are copied. The function module must provide values for the parameter 'C_F_ACCOUNTING_DATA' - that is, the values to be copied into the document.
The parameters 'I_FLG_CHECKACC_INITIAL' and 'I_FLG_CHECKACC_DIFFERENT' describe the actions that the function module should carry out.
If 'I_FLG_CHECKACC_INITIAL' is not zero, you should check whether the relevant fields from the structure 'C_F_ACCOUNTING_DATA' are zero (if so, they are also zero in the current document). If this is the case, the fields should be filled with default values and an appropriate message should be issued.
If 'I_FLG_CHECKACC_DIFFERENT' is not zero, the relevant fields should be filled with the corresponding account assignment information. If theaccount assignment is different, a corresponding message may be issued.
Important
The values that are set for 'I_FLG_CHECKACC_INITIAL' can be overwritten
by the user. The values for 'I_FLG_CHECKACC_DIFFERENT' cannot be overwritten, and are therefore fixed.
The function module should therefore be so structured that if the parameter 'I_FLG_CHECKACC_INITIAL'
is set, the system enters default values, and if 'I_FLG_CHECKACC_DIFFERENT' is set, the system checks whether the account assignment is correct and changes it if necessary.
Only one of the flags can be set at any one time.
Notes
Further information
Parameters
C_F_ACCOUNTING_DATAI_FLG_CHECKACC_DIFFERENT
I_FLG_CHECKACC_INITIAL
I_F_KBLK
I_F_KBLP
I_VORGN
Exceptions
Function Group
BFFMSMPL2Addresses (Business Address Services) BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 3098 Date: 20240523 Time: 065331 sap01-206 ( 64 ms )