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: 

BAPI not posting data into SAP

Former Member
0 Kudos
162

Hi ABAP experts,

I m trying to create a new customer using BAPI_CUSTOMER_CREATEFROMDATA1 in SAP via XI. There are no errors in XI, but data is not getting posted in SAP.

Am I missing out on any steps in R/3?

Are there any mandatory fields to be filled to post the data? Also in which table should I check whether customer has been created?

Please help me in this issue.

Thanks in advance.

Edited by: Dave on Sep 23, 2008 6:34 AM

Edited by: Dave on Sep 23, 2008 6:37 AM

1 ACCEPTED SOLUTION

Former Member
0 Kudos
108

Hi,

did you use FM BAPI_TRANSACTION_COMMIT after bapi?

Regards,

Raju.

5 REPLIES 5

Former Member
0 Kudos
109

Hi,

did you use FM BAPI_TRANSACTION_COMMIT after bapi?

Regards,

Raju.

former_member181995
Active Contributor
0 Kudos
108

in importing parameter you must have to pass all these details:

Fields of import parameter PI_PERSONALDATASurname, language, location, country, currency.

Depending on the country, further data may be necesary.

The country can be transferred to the BAPI in R/3 format or ISOstandard.

and in PI_COPYREFERENCE:

R/3 reference customer, sales area data (sales organization, distribution channel, division)

PS:whole sales area must be pass!!!

For more help you may read Dosumentation also.

Amit

former_member182485
Active Contributor
0 Kudos
108

As BAPI is not having commit work inside

Use commit FM

BAPI_TRANSACTION_COMMIT

Hope this helps

Regards

Bikas

0 Kudos
108

Hi Bikas,

I am sending this BAPI via XI. So where should I use this COMMIT Bapi?

0 Kudos
108

Hi Dave,

As you said you are using XI dont directly import the RFC[BAPI] and map the source and try to work instead create a business system for R3 and use it in your configuration and repository section where you will need to use PROXIES which will allow you to write code for the requirement there you can call BAPI's the one which you are using and after that Commit bapi also which is nothing but just ABAP CODING.

You can find plenty of e.g where you can check how to work on proxies but not in this forum check for more help in XI forum.

Thank

Sudharshan