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: 

Create Customer whit u0093BAPI_CUSTOMER_CREATEFROMDATA1u0094

Former Member
0 Kudos

HI

I'm trying to create a new customer using the bapi “BAPI_CUSTOMER_CREATEFROMDATA1”

The bapi creates the customer, it does not display errors and it returns the value CUSTUMERNO relative to the new customer.

But when I try to display the customer using the standard transaction DX03 the system goes in dump.

If I create a customer with the standard transaction dx01, it would have to create two record (one in the table Adrc and another one in the table kna1).

But the bapi creates only one recond in the table kna1.

Perhaps this is the reason of the dump.

How I can resolve this problem? Why the bapi does not insert the record in table ADRC?

Thanks

Giorgio

2 REPLIES 2

Former Member
0 Kudos

it depends what type of Customer u are trying to create say exp: account Type . SO pleae go thru Doc of that BAPI u will come to know more details how to use.

Tcode to Create Customer is XD01/.

regards

Prabhu

0 Kudos

Hi,

You can use fm CUSTOMER_MAINTAIN_XD01.

regards,

ram.