Application Development and Automation 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: 
Read only

BAPI FOR CUSTOMER CREATION

Former Member
0 Likes
10,606

Hi Gurus,

Do you know any BAPI to create customers with sales area, company code? BAPI_CUSTOMER_CREATEFROMDATA1, BAPI_CUSTOMER_CREATEFROMDATA do not help me in my requirement. I need to create customers with differents account groups.

Thanks & Kind Regards

Ezequiel

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
6,534

HI Chervo ,

you need to use following BAPI's in sucession :

BAPI_BUPA_CREATE_FROM_DATA

BAPI_BUPA_ADDRESS_ADD

BAPI_BUPA_ROLE_ADD

Hope this helps to you.

regards,

Nikhil

7 REPLIES 7
Read only

Former Member
0 Likes
6,534

Hi,

Use the BDC standard RFBIDE00

Refer the thread

Regards,

SuryaD.

Read only

prasenjit_sharma
Active Contributor
0 Likes
6,534

Hi,

Try using SD_CUSTOMER_MAINTAIN_ALL function module and wrap it inside an RFC.

Regards

Prasenjit

Read only

surya_ramireddy
Participant
0 Likes
6,534

Hi.

The following is function module responsible for customer creation with account groups. But the first requirement is you need to create the address num explicitely and the pass the same address num to the function module interface.

Here is the complete code:.

<< Please respect the 2,500 character posting limit - post only the relevant portions of your code. >>

Thanx

surya.

Edited by: surya ramireddy on Dec 22, 2009 1:23 PM

Edited by: Rob Burbank on Dec 22, 2009 4:25 PM

Read only

Former Member
0 Likes
6,535

HI Chervo ,

you need to use following BAPI's in sucession :

BAPI_BUPA_CREATE_FROM_DATA

BAPI_BUPA_ADDRESS_ADD

BAPI_BUPA_ROLE_ADD

Hope this helps to you.

regards,

Nikhil

Read only

Former Member
0 Likes
6,534

Thank you guys for all your answers!!

Read only

0 Likes
6,534

please close the thread if your issue is resolved.

Read only

Former Member
0 Likes
6,534

Thanks!!