10-23-2007 9:02 AM
hi all,
how i use FI_GET_POSTING_KEY function module to get posting key of document.
pls! suggest with one example.
thank you.
10-23-2007 9:07 AM
Hi
pass the KTOSL (Transaction Key) for this fun module and get the Posting key
see the BSEG table for the values of the transaction key you need
Regards
Anji
10-23-2007 9:12 AM
Hi,
CALL FUNCTION 'FI_GET_POSTING_KEY'
EXPORTING
i_ktosl = gs_accit-ktosl
IMPORTING
e_bschs = ld_bschs
e_bschh = ld_bschh
e_umskz = ld_umskz
EXCEPTIONS
error_message = 1.
where gs_accit-ktosl is the transaction key.
Hope it works,
Thanks,
Sandeep.