cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

I am doing SOAP to RFC scenario in New system,

I am getting the RFC error as follows..


Returning to application. Exception: 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>


I tried to send source message from RWB-test tab also, getting the same error,

There were no  missing of mandatory fields in BAPI. I filled all fields, with the same fields I can able to do test run in SE37 manually.

date format also correct.

In message monitoring ->selected message->payload->MainDocument- then getting Payload content is empty.

If I click "View Message content" then I am getting the payload.

can you please let me know how to solve this?



0 Likes
View Entire Topic
Former Member
0 Likes

Hi Khaja,

May be the PI has a wrong RFC metadata, try to clear the CPA cache and try.

Regards.

Former Member
0 Likes

Hello Khaja,

Any changes in RFC has been done?

If so do a RFC metadata update and stop/start the channel.

former_member190536
Participant
0 Likes

Hi,

I am using PO 7.4, I re-started RFC channel but no use. No changes, I am using standard BAPI only,

BAPI_BILLINGDOC_CREATEMULTIPLE using this bapi to create invoice.

Former Member
0 Likes

Hi Khaja,

Go to ECC st22 transaction to check any exception.

There were no  missing of mandatory fields in BAPI. I filled all fields, with the same fields I can able to do test run in SE37 manually.

Even with this test if you are using wrong format in the date or currency fields the exception could be raised.

Pay attention that you are using the right client number that you are using to connect to ECC to test the RFC.

I have checked that not all is optional in that BAPI:

I think you can set an external breakpoint in the first line of the RFC code with the same user that you are using on the RFC receiver channel and check if the RFC can be called.

Regards.

former_member190536
Participant
0 Likes

I am not getting any error in ST22, And I mapped to all required fields.. Still I am facing this issues.