Skip to Content
author's profile photo Former Member
Former Member

BAPI for Customer Creation

hi

which bapi is to use for customer cretaion in SAP R/3, i have used BAPI_CUSTOMER_CREATEDATA1 but it requores the ref. customer.

the problem is that there cannot be a single ref. customer which can act as a template for all the new customers which can be made using the above bapi. help me in creating the customer using BAPI??

abhishek suppal

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 02, 2005 at 06:43 AM

    HI,

    just use below function module

    BAPI_CUSTOMER_CREATE

    Please reward me points if you find it is useful

    Thanks

    Ramesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 02, 2005 at 07:29 AM

    Hi,

    try with the following

    BAPI_CUSTOMER_CREATEFROMDATA or you see following business object KNA1 through SWo1 transaction.

    Thanks

    Ramesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 02, 2005 at 07:39 AM

    If there is no suitable BAPI, you can consider using function module ABAP4_CALL_TRANSACTION.

    This is a remote enabled fm that can call any transaction in SAP. The input data is passed in tables parameter Using_Tab. This tables parameter has a structure like BDCDATA.

    May be you can use this fm first with minimum data to create the customer and then use change BAPI to create additional data for the created customer.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 02, 2005 at 07:49 AM

    BAPI_CUSTOMER_CREATEDATA1 or BAPI_CUSTOMER_CREATEDATA is only for use with SAP Online Store or SAP Internet Sales . If you have access to OSS please read note 390045. You should try ALE/ batch input .

    If you still want to use BAPI , just read the FM documentation and you will see what data is copied from reference customer , so you can create one reference customer for each account group and use it while calling the BAPI.

    Cheers.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 02, 2005 at 09:11 AM

    Hi,

    or use report rfbide00 (unfortunately not complete master data!)

    Andreas

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 02, 2012 at 09:38 AM

    Hi,

    Can you try the BAPI funciton module BAPI_CUSTOMER_CREATEFROMDATA1 for creating customer.

    If you need know how to fill the BAPI structure, please check the where used list and use this.

    Thanks,

    Lakshmi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 02, 2012 at 09:57 AM

    Hi,

    Abhishek

    Please Use this bapi

    SD_CUSTOMER_MAINTAIN_ALL

    I don't think it will ask for any reference customer number.

    If this Bapi is not helpful to you then u can use Bapi

    BAPI_CUSTOMER_CREATEFROMDATA1.

    Thanks

    Nayan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.