Application Development and Automation 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: 
Read only

Posting Key in BAPI_ACC_GL_POSTING_POST

Former Member
0 Likes
1,085

Hi ,

Can we pass posting Key in BAPI_ACC_GL_POSTING_POST

I have posting keys in my input file and i want to upload the data with the same posting keys as in file

But right now we have no option for posting keys in the above BAPI

thanks

chandra

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
764

Hi,

Try passing the values in the extension..and then use the user exit EXIT_SAPLACC4_001 to move the values from the extension to the posting key of the accounting document item..

Hope this works..

Thanks

Naren

5 REPLIES 5
Read only

Former Member
0 Likes
765

Hi,

Try passing the values in the extension..and then use the user exit EXIT_SAPLACC4_001 to move the values from the extension to the posting key of the accounting document item..

Hope this works..

Thanks

Naren

Read only

0 Likes
764

Hi Narendran,

Thanks for the Reply

Is it the same case if we use the BAPI BAPI_ACC_DOCUMENT_POST ??

thanks

chandra

Read only

Former Member
0 Likes
764

Hi,

I guess so..Becuase in both the BAPIs the posting key was determined using the function module FI_GET_POSTING_KEY..

check the subroutine FORM fill_acct_key in the include..LACC9F20..

Thanks

Naren

Read only

0 Likes
764

Thanks Narendran,

I had searched the forums and found that we have to use BADI ACC_DOCUMENT

I will try to do that

thanks

chandra

Read only

Former Member
0 Likes
764

use BADI ACC_DOCUMENT