on 09-05-2011 2:55 PM
I have a File to RFC Scenario (calling RFC /POSDW/CREATE_TRANSACTIONS_EXT) using AAE but it is failing with following error in PI .
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: functiontemplate from repository was <null>
Adapter Framework caught exception: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: functiontemplate from repository was <null>
Transmitting the message to endpoint <local> using connection File_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.RfcClientException: functiontemplate from repository was <null>.
But When I run the same scenario using IE instead of AAE, it is successful from PI. So probably there is nothing wrong in RFC channel configuration.
There's an OSS note-730870 on this error ,it says the XML document sent to RFC Adapter may not be RFC-XML but as I am using AAE, payload generated after technical routing cannot be viewed.
Could you all please suggest why this error is coming and solution for the same?
Thanks,
Ankit
Hi,
You can check the SAP Note 730870
Check whether your RFC has Commit Work statement at the last.
Regards,
Debashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Debashish,Monica,
Thanks for your help, I checked this SAP note its question 16 do describe my problem but do not provide solution and as I am using AAE it does not allows me to see the target structure generated whereas if I use IE the target structure generated is sucessfully getting posted.
Also, the functional module is present in target system. I have reimported the RFC also.
Is there some AAE related configuration required to enable AAE with RFC which could be missing?
This is what I get in log as the RFC reciever is called..
06.09.2011 14:15:31 Information MP: entering1
06.09.2011 14:15:31 Information MP: processing local module localejbs/RfcAFBean
06.09.2011 14:15:31 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: functiontemplate from repository was <null>
06.09.2011 14:15:31 Error Adapter Framework caught exception: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: functiontemplate from repository was <null>
06.09.2011 14:15:31 Error Transmitting the message to endpoint <local> using connection File_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.RfcClientException: functiontemplate from repository was <null>.
Thanks,
Ankit
File adapter is Asynch / RFC is sync. How is this scenario configured in AAE? You should be using a BPM or the RequestResponse bean etc.
Have you done the latter?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check whether you have given the configuration parameters like
System No:
server
etc
correctly in the RFC receiver adapter
XI is trying to post the data trought the RFC adapter but the it is not able to find the reciver. you are creating this CC in the R/3 Busniess system right?
Check Under Business System Service-> Adapter Specific Identifiers. The R/3 System ID and the client Number ) with the configuration of the BS in SLD ( CLNT).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.