2008 Sep 23 5:34 AM
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
2008 Sep 23 5:41 AM
Hi,
did you use FM BAPI_TRANSACTION_COMMIT after bapi?
Regards,
Raju.
2008 Sep 23 5:41 AM
Hi,
did you use FM BAPI_TRANSACTION_COMMIT after bapi?
Regards,
Raju.
2008 Sep 23 5:42 AM
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
2008 Sep 23 6:05 AM
As BAPI is not having commit work inside
Use commit FM
BAPI_TRANSACTION_COMMIT
Hope this helps
Regards
Bikas
2008 Sep 23 6:07 AM
Hi Bikas,
I am sending this BAPI via XI. So where should I use this COMMIT Bapi?
2008 Sep 23 7:15 AM
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