Ansicht
Dokumentation

EXIT_SAPLJHEF_005 - IS-M/AM: Create Revenue Distribution Interface

EXIT_SAPLJHEF_005 - IS-M/AM: Create Revenue Distribution Interface

ABAP Short Reference   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

To determine revenue objects for a billing dataset, the system generates interface records using the most detailed level of explosion as defined by the schedule lines. These interface records are then used to find revenue objects.

This function exit allows you to change these interface records (PT_RD_KOM) table and the account determination procedure for revenue distribution (PV_KALSMC parameter) before accessing revenue object determination.

Notes

Determine relevant record from PT_RJHAIKZ for a schedule line


* declarations
data ls_rjhaeo like line of pt_rjhaeo.
data ls_rjhauo like line of pt_rjhauo.
data ls_rjhaikz like line of pt_rjhaikz.
* ...
* read rjhauo for given rjhaeo
read table pt_rjhauo into ls_rjhauo
with key avm_nr = ls_rjhaeo-avm_nr
pos_nr = ls_rjhaeo-pos_nr
binary-search.
if sy-subrc = 0.
* determine rjhaikz for given rjhauo, pstyv and book_ol
call function 'ISM_IKZ_FOR_UPOS_GET'
exporting
ps_rjhauo = ls_rjhauo
pt_rjhaikz = pt_rjhaikz
pv_pstyv = ps_rjhap-pstyv
pv_book_ol = ps_rjhapo-book_ol
importing
ps_rjhaikz_fnd = ls_rjhaikz.
endif.





Parameters

PS_RJHAGA
PS_RJHAK
PS_RJHALLG
PS_RJHAP
PS_RJHAPA
PS_RJHAPD
PS_RJHAPO
PS_RJHAPP
PS_RJHAPS
PS_RJHAPV
PS_RJHAPW
PT_RD_KOM
PT_RJHAE
PT_RJHAEA
PT_RJHAEO
PT_RJHAES
PT_RJHAEV
PT_RJHAEW
PT_RJHAIKZ
PT_RJHAUO
PV_KALSMC
PV_TERMINSPEZ

Exceptions

Function Group

XJHE

PERFORM Short Reference   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 1942 Date: 20240523 Time: 075450     sap01-206 ( 33 ms )