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
1,110

Hi gurus,

I have a small question, I am working on "BAPI_ACC_DOCUMENT_POST" for F-43 and the posting keys that I will be using will be 40,50 and 31, the input file that I got doesn't have the vendor number in it, so I was just wondering is the vendor number a required field.

Thanks

Rajeev

1 ACCEPTED SOLUTION
Read only

JozsefSzikszai
Active Contributor
0 Likes
1,051

hi Rajeev,

if you want to post with posting key 31, than the vendor number is a required field...

ec

8 REPLIES 8
Read only

JozsefSzikszai
Active Contributor
0 Likes
1,052

hi Rajeev,

if you want to post with posting key 31, than the vendor number is a required field...

ec

Read only

Former Member
0 Likes
1,051

If you need both posting keys 40 and 50, then in addition to 31, you'll also need to consider a vendor debit posting key - probably 21 (credit memo).

Rob

Read only

0 Likes
1,051

Hey thanks for the reply Rob, well I have to use only one debit key for both 50 and 31 and that is why I was just curious whetehr vendor number is required or not.

please reply.

Thanks

Rajeev

Read only

0 Likes
1,051

???

you can have two credit items (50 and 31) and one debit item (40) in one document, you don't need a debit item for each credit item (and vice versa). The only thing which matters it that the sum of debits has to equal the sum of credits.

Read only

0 Likes
1,051

Thanks for the reply Eric, but my question is still not answered, does Vendor number is a required field when posting a document using posting key 31?

Thanks

Rajeev

Read only

0 Likes
1,051

Rajeev,

I answered your question in my first post in this thread. Pls. read again!

ec

Read only

0 Likes
1,051

Hey Eric,

I am extremly sorry for that ..somehow I didn't read that one.

Thanks for the reply and I will definitely reward you points.

Thanks

Rajeev

Read only

0 Likes
1,051

Yes, of course, you don't need it, but in the normal course of events documents are either invoices or credit memos. And the other posting key has to be at least considered.

Rob