cancel
Showing results for 
Search instead for 
Did you mean: 

Customer Creation through RFC

Former Member
0 Kudos

Hi Expertise ,

I am new about RFC and client requirment is create the customer through RFC  so please any body can give me the example of customer creation through RFC in ABAP or tell me is it possible customer creation through RFC.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Yogesh,

As Ulrich suggested , you can use BAPI_CUSTOMER_CREATE which internally calls XD01

but if you want to create a RFC without calling a transaction.

Then 1.) Create a FM with importing paramters as needed for KNA1 entries.

          2.) Make it Remote Enabled

          3..) Set up the RFC connection using SM59

You can reuse the step 3 for BAPI_CUSTOMER_CREATE as well.

Please reward if useful

Regards

Prateek

former_member221827
Active Participant
0 Kudos

I'd agree with the above suggestion to create your own RFC and then potentially use cmd_ei_api=>maintain_bapi for customer creation.  There are a number of threads with sample code for this method if you search SCN.  I found this to be more flexible than BAPI_CUSTOMER_CREATE.

Answers (1)

Answers (1)

Ulrich_Schmidt
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Yogesh,

you are probably looking for BAPI_CUSTOMER_CREATE.

Regards, Ulrich