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_CUSTOMER_CREATEFROMDATA1'

Former Member
0 Likes
744

Hello,

I'm trying to create customer using ''BAPI_CUSTOMER_CREATEFROMDATA1', but i cant find import parameters for Account group.

How to deal with this situation?

Thanks in advance.

BR

1 ACCEPTED SOLUTION
Read only

ferry_lianto
Active Contributor
0 Likes
665

Hi,

BAPI_CUSTOMER_CREATEFROMDATA1 will call FM SD_CUSTOMER_MAINTAIN_ALL.

For your purposes, you can use directly FM SD_CUSTOMER_MAINTAIN_ALL if you want to populate with different account group.

Regards,

Ferry Lianto

4 REPLIES 4
Read only

ferry_lianto
Active Contributor
0 Likes
665

Hi,

Are you looking for field KNA1-KTOKD?

If you are then this field will be populated inside FM SD_CUSTOMER_MAINTAIN_ALL (Form PARTNER_FUNCTIONS) based on customer number (KUNNR).

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
665

Ok,

So is better to use 'SD_CUSTOMER_MAINTAIN_ALL' than the Bapi?

Thanks

Read only

ferry_lianto
Active Contributor
0 Likes
666

Hi,

BAPI_CUSTOMER_CREATEFROMDATA1 will call FM SD_CUSTOMER_MAINTAIN_ALL.

For your purposes, you can use directly FM SD_CUSTOMER_MAINTAIN_ALL if you want to populate with different account group.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
665

Ha ok.

Thanks.