SAP Function SAMPLE_INTERFACE_00011300 - General Ledger: FI Transfer Customer-Defined Fields IBKK_GLASS

Parameter Reference Type Length Default Optional Text
I_ACNUM_INT BKK40-ACNUM_INT C 10 Internal Account Number for Current Account
I_BKKRS BKK40-BKKRS C 4 Bank Area

Parameter Reference Type Length Text
E_RETURN SYST-SUBRC I 4 Return Code: 0=ok, Warning; 1=Error
E_S_IBKK_GLASS IBKK_GLASS u 28 Fields for G/L Account Assignment

Parameter Reference Length Optional Text
T_MESG IBKKMESG 224 Structure for Transfer of Error Messages


This event is intended for enhancements to the IHC module, and must notbe used by other applications.
The IBKK_GLASS structure can have fields added to it by a modificationthat are from the FI document line level (BSEG), for example, VBUND. TheBSBER field is handled according to the documented logic, and must notbe deleted from the structure.
The event is called during the balance sheet preparation and enables theapplication to fill the fields according to the account. Note that thesame value must always be transferred for an account, since BCA does notcheck this, and there are thus no transfer postings for this.
If the fields in the structure are filled, the transfer posting is madefrom the clearing account to the receivables or payables account in aseparate document (only the turnovers for an account and posting day arebalanced). The internal account number is also transferred in thedocument header text (BKTXT) and the fields filled in the event aretransferred in the document line of the receivables or payables account.These fields are not transferred in the document of the clearing accountbecause they were not recognized when they were put on the books.
To enable a field transport to the document line, the new fields fromthe IBKK_GLASS structure must have the identical name (and category andlength) as the entries in the BSEG (for example, VBUND), since the fieldtransport is done using a MOVE CORRESPONDING.
If fields are inserted using the logic described above, a separateinterface for the general ledger transfer must be installed using theprocess event 11310. This is because the use of the ACC_BILLING BAPI forthe standard GL transfer means that no additional fields can betransferred to FI.