Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI for Customer Create

Former Member
0 Kudos
835

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

11 REPLIES 11

Former Member
0 Kudos
405

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

Former Member
0 Kudos
405

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

Former Member
0 Kudos
405

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

Former Member
0 Kudos
405

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.

Former Member
0 Kudos
405

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.

Former Member
0 Kudos
405

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.

Former Member
0 Kudos
405

Hiii

PI_OPT_PERSONALDATA to this structure u can give the recon account in

BAPI_CUSTOMER_CREATEFROMDATA1 bapi

thanks and regards

chandu reddy sunkari

Former Member
0 Kudos
405

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

Former Member
0 Kudos
405

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.

Former Member
0 Kudos
405

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.

Former Member
0 Kudos
405

Dear All,

I have created new BAPI for this to match Customer requirement.

Thanks a lot for your all help.

Prasad