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/Change Vendor master record

Former Member
0 Likes
1,109

Hi,

I have a requirement to create new or change existing Vendor master record depending upon the data received to the custom function module.
In our system Vendor master General data i.e. LFA1 is extended with few custom fields.
Vendor master record can be created or updated using Class VMD_EI_API and its method MAINTAIN but it does it does not have structure for extension/extended custom fields.

Is their any function module,BAPI or class which allows to create new vendor master or change existing vendor master data with custom fields of table LFA1.

Regards,
Ganesha

Hi,

I have a requirement to create new or change existing Vendor master record depending upon the data received to the custom function module.
In our system Vendor master General data i.e. LFA1 is extended with few custom fields.
Vendor master record can be created or updated using Class VMD_EI_API and its method MAINTAIN but it does it does not have structure for extension/extended custom fields.

Is their any function module,BAPI or class which allows to create new vendor master or change existing vendor master data with custom fields of table LFA1.

Regards,
Ganesha

2 REPLIES 2
Read only

Former Member
0 Likes
758

Hi, check the user exit EXIT_SAPMF02K_001(Include ZXF05U01). Here, you can write your code to fill your custom fields. You can call the method mentioned by you and this exit will be called.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
758

The package of the class also provide an  explicit enhancement spot VENDOR_EXTENSION, did you check it ?

Else as SAP did not put any restriction on structures like VMDS_EI_VMD_CENTRAL_DATA, Enhancement category is "can be enhanced (character)".,

you could try to create an append structure with your zz-fields, as most of the class use some move component by component, it could work ?

Regards,

Raymond