‎2011 Jun 14 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
‎2011 Jun 14 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
‎2011 Jun 14 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
‎2011 Jun 14 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.
‎2011 Jun 14 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.
‎2011 Jun 15 4:10 AM
‎2011 Jun 14 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
‎2011 Jun 14 11:45 AM