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 for One Time Vendors

Former Member
0 Likes
1,702

Hi,

Although I'm familliar with the concept, I'm relatively new to developing apps using BAPI function modules.

Anyways, I am using BAPI_ACC_DOCUMENT_POST to post vendor open items. I am having diffuculty in posting entries for one time vendors as the BAPI requires me to enter the name the city of the one time vendor. The problem is that the interface IMPORTING CUSTOMERCPD LIKE BAPIACPA09 is a structure. I am posting multiple vendor items (possibly different vendors in each item) so a structure with a one-to-many correspondence isn't much help.

Is this possible or do I have to post a separate documentsfor each item?

Thanks in advance!

1 REPLY 1
Read only

andreas_mann3
Active Contributor
0 Likes
808

Hi,

...

I am posting <b>multiple</b> vendor items (possibly different vendors in each item) so a structure with a one-to-many correspondence isn't much help.

...

that's <b>not</b> correct: use 1 vendor in in 1 document

A.