Skip to Content
avatar image
Former Member

How to Create Customer by BAPI or by Function Module

Hi all,

I am new to this forum...

Please can anyone tell me how to Create Customer by BAPI or by Function Module.....?

I have tried many of the function modules posted in the threads.. but it couldn't help me out...

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Jul 18, 2010 at 08:05 AM

    Hi Kunal,

    Unfortunately, there is no BAPI nor functionmodule to maintain customer or vendor master data.

    Moreover, there is no known plan to develop such functionality in the near future releases.

    The only official solution is batchinput and idoc (CREMAS).

    Feel free to look at note 384462, and 306275.

    Thanks,

    Alex

    Add comment
    10|10000 characters needed characters exceeded

    • > The only official solution is batchinput and idoc (CREMAS).

      Note that when an IDoc exists, it is often possible to call the function module that is just behind it (see WE57 transaction). SAP would not support that direct call, but if you need to contact SAP support about an issue, you can create the IDoc manually and there's no reason that this issue doesn't arise.

      The only difference with the IDocs is that you don't have any IDoc stored in the database, and even no log in database (so you won't be able to see anything in WE02, etc.).

      Note that it is important to know if this function module does a database commit or not: you can look at the BDFG transaction (I assume there's no BAPI related as it is the initial assumption of my post) to see if IDoc packet processing is allowed or not: if packet processing is allowed, there's no database commit in the function module, otherwise there's one.

  • avatar image
    Former Member
    Jul 19, 2010 at 07:33 PM

    SD_CUSTOMER_MAINTAIN_ALL or BAPI_CUSTOMER_CREATEFROMDATA

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 26, 2010 at 01:51 PM

    we have acheived this by writing a function module which calls a BDC session to create the customer via XD01.

    Add comment
    10|10000 characters needed characters exceeded