2013 Mar 13 11:48 AM
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
2013 Mar 14 6:40 AM
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.
2013 Mar 14 8:20 AM
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