cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_ACC_DOCUMENT_POST: change posting key for vendor position

jan_turek
Active Participant
0 Kudos
293

When posting a vendor line with BAPI_ACC_DOCUMENT_POST, the clearing account and posting key is derived automatically (PK 31). Is it possible to change / determine the PK and account as needed (I need PK 34 other payables)? What exactly affects the PK/account derivation?

narendra_patel
Explorer
0 Kudos
Yes, you can change it using the BTE. you have to fill extension structure and there is one BTE which will be used to park the document . In that BTE, you can change the posting key. Please note that here, to fill the extension structure is not mandatory but it is just indicator to identify your document that you have to change the posting key.
View Entire Topic
jan_turek
Active Participant
0 Kudos

Hi Narendra,

Thanks for the hint. So finally I use the Extension 1 with BTE RWBAPI01 and it works.

brgd, Jan

S0024851764
Newcomer
0 Kudos
Can you please provide the more information . we also have similar requirement.