on 09-25-2012 7:52 AM
Dear all,
I got following error while working on JDBC to BAPI scenario. Data has been picked by sender communication channel. In RFC receiver channel of RWB it is showing the following error.
MP: exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: could not convert request from XML to RFC:com.sap.mw.jco.JCO$ConversionException: (122) JCO_ERROR_CONVERSION: Date '21.09.2012' has a wrong format at field PSTNG_DATE: Unparseable date: "21.09.2012"
Please help me. This is very important to solve the issue.
Thanks in advance.
Hi Ashok,
>>Date '21.09.2012' has a wrong format at field PSTNG_DATE: Unparseable date: "21.09.2012"
The error is pretty descriptive.
Please check your BAPI in R/3 system for the field PSTNG_DATE and check for the expected date format.
Modify the input value 21.09.2012 in mapping according to the expected format.
This should resolve the issue.
-Zameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SQL database as well as BAPI having the same format ( dd.mm.yyyy). I dont want to change any thing in date format. I directly mapped to source field to target with out change. But BAPI supports only dd.mm.yyyy format. There is no such format in PI with dot(.). PI suppots only / : - formats. Please help me ....
Thank you for your reply. Now I got it. But we are using same format (dd.mm.yyyy) in source as well as in target. Why do we go for Date Transfer function? In this scenario (Receiver is BAPI) I want to call BAPI_TRANSACTION_COMMIT to upload data in R/3 tables. I select only check box in RFC CC that commit for single BAPI calls. Do I have to enter any data there? Please let me know?
Hello Ashok,
While passing date to ECC, pls bear in mind that the length of date in ECC will be only 8. So you should pass date in the format: DDMMYYYY (I mean, without separators). What ever may be the input date format, use the corresponding DateTrans, but the output date format should be without any separators and should be only 8 in length.
Check in this perspective and try again.. It shud work..
Br,
SaiGanesh.
As of your message I have changed receiver date format and tested...... the following error has come
Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: could not convert request from XML to RFC:com.sap.mw.jco.JCO$ConversionException: (122) JCO_ERROR_CONVERSION: Date '21092012' has a wrong format at field PSTNG_DATE: Unparseable date: "21092012"
Hi Ashok,
I'm pretty sure BAPI needs YYYYMMDD, also, there are some post with the same problem (i.e. http://scn.sap.com/thread/106553)
cheers,
Edu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply. Date error has been resolved now. It is givinng below error. Please help me.
Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientBapiException: BAPI not executed successful
hi Ashok,
seems you've got different types of data both in target and source, did you check that?
Be carefull with datetime values at SQL and datetime at BAPI, usually raises problems.
Cheers,
Edu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ,
As per my understand, this is Application data specific error so once you have to check date format in mapping level .
and compare source and target formats of the DAte field " PSTNG_DATE"
Message was edited by: S Sankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.