2005 Nov 02 6:39 AM
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
2005 Nov 02 6:43 AM
HI,
just use below function module
BAPI_CUSTOMER_CREATE
Please reward me points if you find it is useful
Thanks
Ramesh
2005 Nov 02 7:00 AM
hi ramesh
this bapi doen't have any import parameters, it just takes u to the txn XD01, my requirement is not this i want to call the BAPI thru external source.
abhishek suppal
2005 Nov 02 7:29 AM
Hi,
try with the following
BAPI_CUSTOMER_CREATEFROMDATA or you see following business object KNA1 through SWo1 transaction.
Thanks
Ramesh
2005 Nov 02 7: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.
2005 Nov 02 7: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.
2005 Nov 02 9:11 AM
Hi,
or use report rfbide00 (unfortunately not complete master data!)
Andreas
2012 May 02 10: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
2012 May 02 10: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