2007 Mar 15 5:45 PM
I am using bapi BAPI_ACC_DOCUMENT_POST for creating a client asset, so i am filling ACCOUNTRECEIVABLE, but my problem is that i need to fill the newbs field, but i don´t know where it is.
Thnaks in advance
Reghards
2007 Mar 15 6:00 PM
Hi Carl,
You wouldnt have the Next line posting key (Newbs) in this bapi.
You have to specify posting key in each and every line item.
Let me know if you have further questions..
BR
Rakesh
2007 Mar 15 6:00 PM
Hi Carl,
You wouldnt have the Next line posting key (Newbs) in this bapi.
You have to specify posting key in each and every line item.
Let me know if you have further questions..
BR
Rakesh
2007 Mar 15 6:07 PM
Can you please explain me a bit more the solution please, i don´t understand what tables must i write in this bapi?
Thanks in advance
Regards
2007 Mar 15 6:40 PM
Hi Carl
The posting key is automatically assigned by the BAPI, u can't transfer it.
The BAPI decides which posting key ahs to be used in order on the kind of item and operation key.
So you can try to drive the posting key assigning a certain operation key in the item.
Try to check the fm FI_GET_POSTING_KEY.
I believe you can decide which operation key to be used only in the G/L items (BAPIACGL09-ACCT_KEY), for the customer the BAPI uses the keys 01 and 11.
U can see how the BAPI decides which posting keys has to be used in the form fill_acct_key in the include LACC9F20.
Max
2007 Mar 15 6:43 PM