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

Create partner function with the class VMD_EI_API

former_member236512
Discoverer
0 Likes
1,001

Hi Experts,

I am using the class VMD_EI_API to create vendors. I knew that I can create multiple vendors at the same time.

But I'd like to create multiple vendors at the same time in which one vendor will be a partner function of another vendor.

For example, call the class VMD_EI_API to create Vendor1 and Vendor2 at the same time in which Vendor2 is pay-to partner function of Vendor1. When I tried to call this class, I've got an error saying the Vendor2 number does not exist in DB because we can commit only once to post 2 vendors.

Is there a way to overcome this? Or do I have to create individual vendors then come back and assign partner function.

Thanks,

Chuong

1 REPLY 1
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
644

I think it makes sense to first have individual vendors created and then linked.

Nabheet