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-One time vendor posting

Former Member
0 Likes
4,095

Hi,

I have a requirement to post one time vendor invoice through the BAPI. Can any one tell me which bapi can be used. Is it possible using the bapi BAPI_ACC_DOCUMENT_POST.

When i tried i got an error message saying Alternate payee/payer not defined. But throught the transaction FB01 i am able to create the document.

Can any one given any input on th is.

Regards

Ansari

<telephone_number_removed_by_moderator>

Edited by: Julius Bussche on Mar 23, 2009 6:16 PM

2 REPLIES 2
Read only

Former Member
0 Likes
1,718

Hi,

You need to fill CUSTOMERCPD (export parameter).

for ex if u hav customer number, first u check whether it is belongs to one time customer or not, if YES,

(kna1-xcpdk = 'X'), then pass the values to this structure.

Regarsd

Hema

Read only

Former Member
0 Likes
1,718

pass the vendor number to the FM "CONVERSION_EXIT_ALPHA_INPUT" , before the vendor passed to the BAPI.

Edited by: Poorna Chandrasekhar on Mar 26, 2009 9:06 PM