Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FI_GET_POSTING_KEY function module

Former Member
0 Kudos

hi all,

how i use FI_GET_POSTING_KEY function module to get posting key of document.

pls! suggest with one example.

thank you.

2 REPLIES 2

Former Member
0 Kudos

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

Former Member
0 Kudos

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.