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

Creating Vendor using VMD_EI_API=MAINTAIN

DarcyMorse
Participant
7,102

We were previously using VMD_EI_API=>MAINTAIN_BAPI to update and create vendors from a vendor portal. With the implementation of CVI, we found a note that stating that we should use VMD_EI_API=MAINTAIN instead. If not errors are passed back, I am using VMD_EI_API=>UPDATE_MODULES. When I use this method to create a vendor, XK02 shows the data created, but BP isn't created. I used debug within UPDATE_MODULES, and it looks like it is looping thru vendors, but the table is blank.

Also, I need the ability to pass back the vendor number, and the vendor number which isn't passed back from the method.

Any suggestions?

7 REPLIES 7
Read only

DarcyMorse
Participant
0 Likes
6,239

FYI, I added the next number logic and passed that vendor number. XK02 entry created, so I now have the vendor number created, but the Business Partner is still not being created

Read only

RaymondGiuseppi
Active Contributor
0 Likes
6,239

Which note states that VMD_EI_API=>MAINTAIN_BAPI is obsolete or inadvisable?

Read only

RaymondGiuseppi
Active Contributor
0 Likes
6,239

Is note OSS 2706149 - Maintain Customer/Vendor master data does not create Business partner suitable for your version (did you already perform a search for your exact version)

Read only

0 Likes
6,239

Also check if report CVI_CUSTOMIZING_RESOLVE (*) is available on your system.

(*) 2940671 - CVI Customizing Resolve Report in S/4 HANA for the synchronization of Business Partner to ...

Read only

DarcyMorse
Participant
0 Likes
6,239

We checked the following notes, and they did not apply or were already applied to our system:

2604337, 2706149, 2562821, 2703764, 2617848. We did apply 1555393 but that didn't make a difference.

(added in all the notes we considered in case anyone else was having a similar issue)

Read only

DarcyMorse
Participant
0 Likes
6,239

The note that caused us to make the decision to switch between Maintain_bapi and Maintain was

2854163 - CMD_EI_API->MAINTAIN_BAPI does not create BUT020 entry.

Read only

DarcyMorse
Participant
0 Likes
6,239

I found the issue with creating a new vendor in BP, I had a tax field that couldn't be transferred to BP. Once I removed including the tax fields, I was able to create a vendor. I found this by taking the vendor that was updated in XK02 and tried to just save the name. Since the tax fields successfully wrote to XK02, I received the error. When I looked at the returned internal error table from the method, and there was no error messages there.