SAP Function SAMPLE_PROCESS_00108010 - BTE: interface for value type and G/L account assignment

Parameter Reference Type Length Default Optional Text
I_FLAG_ACCOUNT_DERIVE_VT FMDY-XFELD C 1 Flag for account derivation via value type only

Parameter Reference Length Optional Text
T_IFMVTGL IFMVTGL 32 Interface for value type and G/L accounts assignment


DEFINE &TEXT& = 'Derivation of G/L accounts based on value types'
DEFINE &EVENT& = '00108010'
DEFINE &TYPE& = 'PROCESS'
INCLUDE FI_OPEN_FI_DOCUMENTATION_1 OBJECT DOKU ID TX

Process
When totals are being transferred from Funds Management to FI GeneralLedger, the debit and credit G/L accounts need to be derived based onthe value types. The default G/L accounts and value types are providedin function FM_LG_ACCOUNTS_DERIVE which is called via process'00108010'.
If you want to use your own account derivation functions, functionFM_LG_ACCOUNTS_DERIVE needs to be replaced by a name in the customernamespace, starting with 'Z'.
In order to replace the standard SAP function moduleFM_LG_ACCOUNTS_DERIVE, you need to execute transaction BF44 to create anew entry for your function module per process interface with thefollowing keys:
Process PROCS = '00108010'
Country LAND = the ISO-Code of the country for account derivation (foundin table T005)
Application APPLK = 'IS-PS'
Function module FUNCT = your own function starting with 'Z'
PRDKT = customer-developed product which can be defined usingtransaction BF24.
The new record you created now exists in table TPS34 with the same keyas defined above.
Please note that the standard function module FM_LG_ACCOUNTS_DERIVE maynot be modified or replaced in table TPS31.