Solution : https://service.sap.com/sap/support/notes/112312 (SAP Service marketplace login required)
Summary :
SAP users aiming to display offsetting account details in line item displays, which the standard system doesn't support, can achieve this through enhancing system functionality without modifications. The process involves defining necessary fields in structure RFPOS using SE11, particularly before release 4.6x. Post-4.6x, implementation of SAP Note 217189 is required. Additionally, users must utilize or create function modules in SE37 for fetching offsetting account data. Configuration through Transaction FIBF for activating custom Business Transaction Events and adapting display variants via UI settings for line items is also required to fully enable this functionality.
Key words :
<-- important call function 'get_gkont' exporting belnr = i_postab-belnr bukrs = i_postab-bukrs buzei = i_postab-buzei gjahr = i_postab-gjahr gknkz = '3' importing gkont = e_postab-zzgkont koart = e_postab-zzgkart exceptions belnr_not_found = 1 buzei_not_found = 2 gknkz_not_found = 3, field data element zzgkont gkont zzgkart gkart, including line items generated automaticallythis source code, e_postab = i_postab, gknkz 1 display offsetting account, define fields rfpos-gkont, call transaction fibf, account --> display items --> special fields, copy function module sample_interface_00001650, function module line_items_get_gkont
Related Notes :
1504612 | Line items: Offsetting account info (BAdI FI_ITEMS_CH_DATA) |
1034354 | FAGLL03: Display of offsetting account information |
217189 |