on 10-03-2007 1:41 PM
hi all.
here in my scenario iam doing a file to rfc.
but when iam sending a file to rfc and when i see in sxmb_moni its showing as sucess.
bue when i look at runtime workbench under message monitoring (tab) it was showing as
MP: exception caught with cause com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.
Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Exception thrown in method process. The transaction is marked for rollback.: com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback..
SO WHAT COULD BE THE ERROR IS THE EROR THAT WS SHOWING RELATED TO XI R SAP R3(system that was recieving)
waiting for the excellent answer.
cheers.
seeta ram.
Seeta,
Have you written in customized module? which you are calling before calling standard sap module in adapter.
In module, there is a method called "process"...Now because of somereason..probably data mismatch / other invalid condition result in raising an exception in this process (..would be there in try ..catch block)
Just check and let us know...you can debug this code..
Nilesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One of the cause of this error is the improper use of adapter module. The use of adapter module is not mandatory in a scenario. So it was a suggestion to check ur communication channels and see if there r any modules used under the module tab.
For reference
Check out for adapter module related doc here
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi matias.
thanks for your answer.
but as you said if there is a mismatch between two data types of file and rfc the message mapping that was tested with the payload of sxmb_moni should not be sucesful but it was sucesfully.
so what could be the other reasons.
waiting for your response.
bye.
regards.
seeta ram.
helo matias.
sorry for the late answer .
i did checked in sm58 from both xi side and R/3 side but there were no entries in that.
so what would be the reason for this thing.
and when i checked in sender file CC it says message is sucesfully trasferres and
when i look at reciever rfc CC it is said like
Receiver channel 'CC_CpJwToSapIsu_ErespondMeterInformation4' for party '', service 'CD103' (internal name 'RfcClient[CC_CpJwToSapIsu_ErespondMeterInformation4]')
Client data: {jco.client.lang=en, jco.client.snc_mode=0, jco.client.client=103, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=mandapativ, jco.client.sysnr=00, jco.client.ashost=168.89.182.33}
Repository data: {jco.client.lang=en, jco.client.snc_mode=0, jco.client.client=103, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=mandapativ, jco.client.sysnr=00, jco.client.ashost=168.89.182.33}
Current pool size: 0, maximum pool size : 1
and both sender and reciever channels are in green colour.
waiting for your great answer.
cheers.
seeta ram.
Hi Seeta !
By reading all the posts in this thread, I think that the problem is that you/your RFC is rising an exception from inside the RFC function module (in R/3) based on the input you are sending. If the RFC is a custom one (starts with Z....) try to comment the lines that raise exception and try again. You can also see in SXMB_MONI the content of the xml payload that XI is sending to the RFC and copy them manually to test the RFC from transaction SE37 in R/3. Just go to that transaction, enter the RFC name, execute, complete input parameters using the values from SXMB_MONI and see if the RFC works ok or if it throws an exception.
The data you pasted about your receiver RFC CC looks ok, no errors (I know that it looks like something is wrong...) Maybe you could increase the pool size from 1 to something else (change the value in the communication channel).
Regards,
Matias.
Hi Matias.
thanks for your answer.
yes i did tested the Rfc with the the data that i sent through xi (with the payload in sxmb_moni) and the rfc was working fine with the data .
and one thing that iam not sure is the pool size that u said in prevous thread.
i cont catch what u said.
can u tell me if it is in sender file cc r reciever rfc cc.
waiting for our response.
bye.
regards.
seeta ram.
Hi Seeta !
To do such a scenario, I hope you did this steps:
- remember that file only works in async mode, that is, file content will be put as rfc input parameters (import). No output wil be returned to XI from RFC.
- created the function module in R/3 system, marked it as RFC, activate it and tested it.
- imported the RFC function definition in Integration Repository as Imported objects, using your R/3 user and password.
- created data type, message type, and interface message (outbound ASYNC) for your sender message format
- created a message mapping between sender message type and imported RFC definition, and mapped all fields and tested it with successful results
- created a interface mapping between sender message Interface and imported RFC definition and selected the previously created message mapping program
- activated all objects
- created a scenario with the business system (R/3) and business service/system for the file sender.
- created both communication channels, sender with file adapter, receiver with RFC adapter. File comm channel with QoS = EO or EOIO.
- created the receiver determination object using sender system, and file interface message. Selected the R/3 business system as a receiver
- created the interface determination object for the sender system and file interface message, then added the RFC definition and assigned the created interface mapping object (it should appear as the only available option when using F4)
- created a sender agreement for the File comm channel, selecting sender system and file interface message
- created a receiver agreement for the RFC comm channel
- activate all objects
- test connection of RFC destination between XI and R/3 via sm59 (in XI)
Is your RFC a standard one or a custom one?
Regards,
Matias
HI Matias.
yes i did with the custom Rfc and the result is still the same
and to be more confident i was creates another xi scenario from file to Standerd Bapi BAPI_COMPANYCODE_GETDETAIL by creating a simple file with only one field and mappedwith only the request Message type of this Bapi and tested it.
and even this scenario is also showing the same in reciever rfc and under runtime work ench its showing the same as my old scenario and it is as follows
2007-10-15 10:47:51 Success Message successfully received by messaging system. Profile: XI URL: http://jssxid0:50000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
2007-10-15 10:47:51 Success Using connection RFC_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
2007-10-15 10:47:51 Success Message successfully put into the queue.
2007-10-15 10:47:51 Success The message was successfully retrieved from the receive queue.
2007-10-15 10:47:51 Success The message status set to DLNG.
2007-10-15 10:47:51 Success Delivering to channel: ReceieverChannel_RFC
2007-10-15 10:47:51 Success MP: entering
2007-10-15 10:47:51 Success MP: processing local module localejbs/RfcAFBean
2007-10-15 10:47:51 Error MP: exception caught with cause com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.
2007-10-15 10:47:51 Error Exception caught by adapter framework: Exception thrown in method process. The transaction is marked for rollback.
Time Stamp Status Description
2007-10-15 10:47:51 Error Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Exception thrown in method process. The transaction is marked for rollback.: com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback..
2007-10-15 10:47:51 Success The asynchronous message was successfully scheduled to be delivered at Mon Oct 15 10:52:51 SAST 2007.
2007-10-15 10:47:52 Success The message status set to WAIT.
2007-10-15 10:52:52 Success Retrying to deliver message to the application. Retry: 1
2007-10-15 10:52:52 Success The message was successfully retrieved from the receive queue.
2007-10-15 10:52:52 Success The message status set to DLNG.
2007-10-15 10:52:52 Success Delivering to channel: ReceieverChannel_RFC
2007-10-15 10:52:52 Success MP: entering
2007-10-15 10:52:52 Success MP: processing local module localejbs/RfcAFBean
2007-10-15 10:52:52 Error MP: exception caught with cause com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.
and the message in sxmb_moni shows as it is processed sucessfully and
at reciever rfc as
Receiver channel 'ReceieverChannel_RFC' for party '', service 'CD103' (internal name 'RfcClient[ReceieverChannel_RFC]')
Client data: {jco.client.lang=en, jco.client.snc_mode=0, jco.client.client=103, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=mandapativ, jco.client.sysnr=00, jco.client.ashost=168.89.182.33}
Repository data: {jco.client.lang=en, jco.client.snc_mode=0, jco.client.client=103, jco.client.passwd=******, jco.webas.ignore_jdsr_error=1, jco.client.user=mandapativ, jco.client.sysnr=00, jco.client.ashost=168.89.182.33}
Current pool size: 0, maximum pool size : 1
waiting for your great answer.
cheers.
seeta ram.
Hi Seeta !
It is very strange...
Can you try to set another user/pass in the RFC receiver adapter? just in case the one you are using does not have enough permission to do all the work the RFC needs to do?
Also check this link, it says something about your a situation with same error message:
Just to test...if you edit your custom RFC function module and comment everything to make the RFC to do "nothing"..do you receive the same error in XI?
Regards,
Matias.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.