‎2008 Aug 14 11:57 AM
Hi There,
I am trying to create a new customer in SAP through BAPI for demo purpose. The BAPI function I used is BAPI_CUSTOMER_CREATEFROMDATA1. However, the BAPI call requires a reference customer. How can I find a valid reference customer in SAP? Furthermore, is it correct at all to use this BAPI function to create a new customer? Is there any other BAPI function that I can use to do the same stuff? Thanks a lot in advance for your help!
Thanks,
Lei
‎2008 Aug 14 12:26 PM
Hi,
The BAPI which you are trying to use is correct.
Please find the "where-used " list of function module and check if there are any example programs available in your system. if available please use the program as reference.
Also refer :
https://forums.sdn.sap.com/click.jspa?searchID=15193438&messageID=5925480
Thanks
Krishnan
‎2008 Aug 14 12:26 PM
Hi,
The BAPI which you are trying to use is correct.
Please find the "where-used " list of function module and check if there are any example programs available in your system. if available please use the program as reference.
Also refer :
https://forums.sdn.sap.com/click.jspa?searchID=15193438&messageID=5925480
Thanks
Krishnan
‎2008 Aug 14 1:54 PM
Dear Krishnan,
thanks a lot for the quick answer. We have only a demo SAP server for development. Therefore, the "where-used" list of the function module does not find any sample programs in the system.
The problem I had is to find a valid reference customer that I can use in the function call.
thanks,
Lei
‎2008 Aug 14 2:13 PM
Hi Lie,
Just go to table VBAK and execute. Take one order.
Go to VA03 and open this order. Now check the sold-to of that order(Top left corner). You can use this as reference(Since u r able to create order for this customer).
U can take the valid customers from customer master KNA1 as well.
Also u can try the BAPI BAPI_CUSTOMER_CREATE.
Thanks,
Vinod.
‎2008 Aug 14 2:27 PM
Hi Liu,
have a look at the example in the thread below:
also have a look in the link below;
http://abap.wikiprog.com/wiki/BAPI_CUSTOMER_CREATEFROMDATA1
With luck,
Pritam.
‎2014 Dec 16 8:01 AM