12-15-2008 10:07 AM
Dear All,
I want to create Customer with reference to Acount Group, Sales Org., Dist. Channel & Division using BAPI.
I found BAPI which creates Customer with reference to available Customer; but, not matching to my requirement. Can anyone please suggest me the BAPI for this?
Best Regards,
Prasad
12-15-2008 10:09 AM
hi...
Which version of SAP are u using ,,,, however what bapi u have found out???
well i think u can create a customer using this BAPI
BAPI_CUSTOMER_CREATEFROMDATA1
thanks and regards
Chandu Reddy Sunkari
12-15-2008 10:15 AM
This BAPI 'BAPI_CUSTOMER_CREATEFROMDATA1' is for craeting Customer with reference to available Customer.
I want to create Customer with reference to 'Account Group'. Please suggest.
Thanks a lot for quick reply.
Best Regards,
Prasad
12-15-2008 10:15 AM
hi prasad,
u can use BAPI ---BAPI_CUSTOMER_CREATEFROMDATA1
please refer to the below link for more discription abt the bapi
http://abap.wikiprog.com/wiki/BAPI_CUSTOMER_CREATEFROMDATA1
thanks and regards,
Alpa Khare
12-15-2008 10:17 AM
Hi,
There is no standard bapi avilabel as per your requirment.
just create one BDC program which fields you want and then Create RFC Function Module.
Its very simple.
12-15-2008 10:21 AM
Thanks for suggesting the way to create new BAPI with BDC for Customer creation. I know this way.
But, is there any other way? Please suggest.
12-15-2008 10:59 AM
hi prasad,
you can refer to the following thread may be this can help you.
you can use SD_CUSTOMER_MAINTAIN_ALL to create/change customer master data.the function cannot be called by RFC you can encapsulate it in to a z-function .....
Please refer to the below thread for furthur details.
Regards,
Alpa Khare.
12-15-2008 11:16 AM
Hiii
PI_OPT_PERSONALDATA to this structure u can give the recon account in
BAPI_CUSTOMER_CREATEFROMDATA1 bapi
thanks and regards
chandu reddy sunkari
12-15-2008 11:47 AM
If I will use 'SD_CUSTOMER_MAINTAIN_ALL', can I maintain Partners Data for Customer too without any problem.
I red somewhere that, there is problem for posting Partner Data (Contact Person) for this FM.
Please suggest.
Best Regards,
Prasad
12-15-2008 12:32 PM
hi prasad,
an alternative way would be using BAPI_CUSTOMER_CREATEFROMDATA1. After get all customer numbers then use Customer.ChangeFromData1 to add sale view later on.
regards,
Alpa.
12-15-2008 12:39 PM
hi you can also refer to the below thread
for Creating customer using FM 'SD_CUSTOMER_MAINTAIN_ALL' refer
http://www.sapnet.ru/viewtopic.php?t=2668
for Posting Vendor Invoices using 'BAPI_INCOMINGINVOICE_CREATE' refer
http://www.sapnet.ru/viewtopic.php?t=583
Hope this helps.
Regards,
Alpa.
01-27-2009 10:01 AM
Dear All,
I have created new BAPI for this to match Customer requirement.
Thanks a lot for your all help.
Prasad