Application Development 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: 

BAPI_ACC_DOCUMENT_POST

Former Member
0 Kudos

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

JozsefSzikszai
Active Contributor
0 Kudos

hi Rajeev,

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

ec

8 REPLIES 8

JozsefSzikszai
Active Contributor
0 Kudos

hi Rajeev,

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

ec

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

???

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.

0 Kudos

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

0 Kudos

Rajeev,

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

ec

0 Kudos

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

0 Kudos

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