Skip to Content
avatar image
Former Member

While creation with SD_CUSTOMER_MAINTAIN_ALL,the BADI and UserExit r not tr

Hi Friends,

During Customer creation mode with our own tcode and function module SD_CUSTOMER_MAINTAIN_ALL ,

our own defined user exit EXIT_SAPMF02D_001 and BADI CUSTOMER_ADD_DATA are not getting triggered, only BADI ADDRESS_UPDATE is getting triggered. But, during Customer change mode user exit EXIT_SAPMF02D_001 and BADI CUSTOMER_ADD_DATA along with BADI ADDRESS_UPDATE are getting triggered.

While creation of the customer master to trigger the user exit EXIT_SAPMF02D_001 and BADI CUSTOMER_ADD_DATA in the fucntion module SD_CUSTOMER_MAINTAIN_ALL

any way to do this??

Any ideas please help on this.

Thanks in advance....VM

Edited by: vm on Apr 2, 2009 4:23 PM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 09, 2009 at 03:42 PM

    Hi VM,

    well in fact this is no real surprise.

    I'm sorry but there are NO function module NOR BAPI to maintain fully, safely and accurately customer master data.

    SD_CUSTOMER_MAINTAIN_ALL, despite the name is used ONLY from the customer master data standard transaction. It is used for a very specific case which is the CONSUMER maintenance.

    This is also why you face such troubles and process differences.

    If you want to investigate a safe way to maintain customer master data, you should look into [note 384462|https://service.sap.com/sap/support/notes/384462].

    Or, starting with ECC 2005 (6.00), a new class has been develop for a synchronisation process. It is CMD_EI_API.

    This class is fully supported and can be triggered directly.

    As a small remark, SD_CUSTOMER_MAINTAIN_ALL is not supported by SAP if troubles occurs when triggered directly.

    BR

    Alain

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Daniel,

      well from what I read, yes it sounds correct.

      Maybe you could look at the fundamentals differences between methods MAINTAIN, MAINTAIN_BAPI and MAINTAIN_DIRECTINPUT.

      Best regards

      Alain

  • avatar image
    Former Member
    Apr 03, 2009 at 05:06 PM

    It is done

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi VM,

      How did you call BADI CUSTOMER_ADD_DATA from the fucntion module SD_CUSTOMER_MAINTAIN_ALL? I have the same requirement, please let me know how it was achived.

      Thanks,

      Kaushal N. Shah