06-14-2011 7:28 AM
Hi,
I have a requirement to set Industry Code (KNA1-BRAN1~5) by using BAPI. I went through the BAPI list but found no relevant one. BAPI_CUSTOMER_CHANGEFROMDATA1 does not meet my requirement since there's no industry code in its input parameter.
Any idea on this?
The field Industry Code is under Marketing tab in the T.CODE XD03.
Regards,
Duke
06-14-2011 7:31 AM
Hi,
Please search in SCN you will find lot more information reagrding updation of customer master. I would prefer LSMW direct input method.
Regards,
Nagaraj
06-14-2011 7:31 AM
Hi,
Please search in SCN you will find lot more information reagrding updation of customer master. I would prefer LSMW direct input method.
Regards,
Nagaraj
06-14-2011 7:45 AM
@Nagaraj
Thank you for your quick response. This requirement is trigger by creation or changing a customer, so LMSW is not suitable in this situation.
06-14-2011 11:55 AM
Class CMD_EI_API is the best option to update Customer master data.
CALL METHOD cmd_ei_api=>maintain
EXPORTING
is_master_data = lt_customers
IMPORTING
es_error = lt_error.
You should be very careful passing data to these deep structures.
06-15-2011 4:10 AM
06-14-2011 7:40 AM
HI,
Try with this FM,
bapi BAPI_CUSTOMER_GETDETAIL1
or
you can Call transaction BAPI, go to alphabetical order and look for Customer
06-14-2011 11:45 AM