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 using SD_CUSTOMER_MAINTAIN_ALL

Former Member
0 Likes
550

Hi all,

I am trying to use fm SD_CUSTOMER_MAINTAIN_ALL to create a new customer. Right now I am only testing it in SE37 and using the minimum information to put into I_KNA1 (i.e. fields KTOKD, NAME1, ORTO1, LAND1). I am able to execute this without error. Shouldn't this update table KNA1 with the new customer?

I am also unable to view this customer in VD03. Did I miss a parameter? Was this customer not created?

When I manually create a customer in VD01, it gives it a new KUNNR number that follows the customer I tried to create using the FM. For example, I create a new customer in SD_CUSTOMER_MAINTAIN_ALL and it returns the E_KUNNR equal to 1. I can't view this customer in VD03. BUT, when I create a new customer in VD01, it gives it the new kunnr equal to 2. If SD_CUSTOMER_MAINTAIN_ALL didn't create the customer, then how come it doesn't use the first available number?

Any ideas? Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
369

Hi John,

An idea -- testing doesn't update the master data table, but does increment the number range.

Regards,

Den

1 REPLY 1
Read only

Former Member
0 Likes
370

Hi John,

An idea -- testing doesn't update the master data table, but does increment the number range.

Regards,

Den