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

Former Member
0 Likes
931

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
750

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

4 REPLIES 4
Read only

Former Member
0 Likes
751

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

Read only

0 Likes
750

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

Read only

0 Likes
750

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

Read only

Former Member
0 Likes
750

Check these threads..

1)

2)

3)

4)

Hope these will solve your problem..

BR

Rakesh

PS: Please close the thead if your question is answered..