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

BAPI_ACC_DOCUMENT_POST - Posting key problem

Former Member
0 Likes
488

Hi All,

I am using BAPI_ACC_DOCUMENT_POST for posting document type DH ( Customer Rebate ). Unfortunately, in this BAPI posting key field won't be available. By default based on the negative and positive values we are passing 01 & 11 keys are getting posted. But I want the posting key to be 14.

Is there any way to change the posting key using this BAPI. If not, any other BAPI which is suitable for posting document of type DH with posting keys.

Ur help will be appreciated.

Regards,

Savitha,

Intelligroup.

1 REPLY 1
Read only

Former Member
0 Likes
321

Hi

You can't pass the posting key using the BAPIs, it's used fm FI_GET_POSTING_KEY to get out it (in order of operation key, field KTOSL).

You can try to use some user exit to change the key, there's the BTE (Business Transactions Event), trx FIBF.

Max