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

Create Customer by XD01

0 Likes
1,101

Hi,

I'm trying to create a new customer using the bapi “BAPI_CUSTOMER_CREATEFROMDATA1”, but I can't find the KTOKD (account group) to input the first field in XD01. I know that the FM CUSTOMER_MAINTAIN_XD01 has, but it is set "Release Date function module" null.

Can I use CUSTOMER_MAINTAIN_XD01?

Tank you!

Hi,

I'm trying to create a new customer using the bapi “BAPI_CUSTOMER_CREATEFROMDATA1”, but I can't find the KTOKD (account group) to input the first field in XD01. I know that the FM CUSTOMER_MAINTAIN_XD01 has, but it is set "Release Date function module" null.

Can I use CUSTOMER_MAINTAIN_XD01?

Tank you!

4 REPLIES 4
Read only

Former Member
0 Likes
956

BAPI document says we need to create a reference customer solely for the purpose of this BAPI with limited data, that can be used to pass account group. User PI_COPYREFERENCE.

Read only

0 Likes
956

Hi, Kuppireddi!

Sorry, I'm creating the first time and won't have any references, I think that this FM “BAPI_CUSTOMER_CREATEFROMDATA1” wouldn't serve me too.

Could I use the FM CUSTOMER MAINTAIN XD01?

tnks

Read only

0 Likes
956

I think CUSTOMER MAINTAIN XD01 cannot be used. It almost seems like calling transaction XD01 in dialog mode.

Read only

Former Member
0 Likes
956

Hi Marco,

You can go ahead with BAPI_CUSTOMER_CREATEFROMDATA1.All the other masterdata details are picked from the refernce number which you are passing in the PI_COPYREFERENCE.

Just go through the FM documentation.

Hope it helps.

Regards,

Kannan