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

Change the bu_group using VMD_EI_API

Former Member
0 Likes
1,738

Hello, i'm using the class VMD_EI_API to create a BP and extend it to Vendor, using the roles FLVN00 and FLVN01, but i'm facing a problem, i cant change the BU_GROUP and use a Z, because the class doesnt have a corresponding parameter for BU_GROUP. So default is 0002, the interval for this group is A - ZZZZ, but my BP and Vendor number is external and a only number interval, and then, it doesnt create the BP, only the vendor.

How can i solve this problem? is it possible to create the vendor and bp with a external LIFNR using only numbers?

Hello, i'm using the class VMD_EI_API to create a BP and extend it to Vendor, using the roles FLVN00 and FLVN01, but i'm facing a problem, i cant change the BU_GROUP and use a Z, because the class doesnt have a corresponding parameter for BU_GROUP. So default is 0002, the interval for this group is A - ZZZZ, but my BP and Vendor number is external and a only number interval, and then, it doesnt create the BP, only the vendor.

How can i solve this problem? is it possible to create the vendor and bp with a external LIFNR using only numbers?

1 REPLY 1
Read only

Former Member
0 Likes
895

Already found it, its a configuration.

Go to SPRO

Cross-Application Components -> Master Data Synchronization -> Customer/Vendor Integration -> Business partner settings -> Settings for vendor integration -> Field Assignment for Vendor Integration ->Assign Keys -> Define Number Assignment for Direction Vendor to BP.

There you can set the BU_GROUP that will be defined when creating a vendor through VMD_EI_API, this class creates the vendor and the BP at the same time.