2018 Mar 22 10:13 PM
Hi I put a standard user exit in the enhancement SAPMF02D for the transaction XD01/XD02. It works perfectly via the transactions. However, if we use the BAPI_CUSTOMER_CREATEFROMDATA1 it doesn't hit the user-exit at all. Is this a bug or is there a different user-exit I should be using?
Thanks,
Tamara
2018 Mar 22 10:24 PM
"there is a danger that you will lose data"
Please read OSS note 390045 - Usage of BAPI_CUSTOMER_* of function group V02D
As this BAPI is for online store customers only it has its own exit EXIT_SAPLWWCC1_001
2018 Mar 23 5:51 PM
I appreciate your time and response Jurgen. I took a look at this and the user-exit EXIT_SAPLWWCC1_001 won't work because it only has the fields that are in the BAPI. We have a user-exit SAPMF02D that updates the field KNA1-COUNC based on the district. The field COUNC isn't in the BAPI. We have to use this BAPI because we are using it as part of our internet sales and customers are created from the portal.
2018 Mar 23 7:51 AM
Neither the BAPI_FM CUSTOMER_CREATEFROMDATA1/SD_CUSTOMER_MAINTAIN_ALL (as already written by jrgen.lins.) nor the class API CMD_EI_API will execute this customer-exit check.
The FM are restricted, so don't use if not
" SAP Online Store and the SAP Internet Sales R/3 Edition
You could use the class API CMD_EI_API with the following restriction:
" It is possible to use this class to development your own maintenance of customer master data but the custom checks should be re-developed
So in this case, look also at Enhancement Spot CUSTOMER_EXTENSION.
Or go back to BDC.