Skip to Content
0
Former Member
May 11, 2010 at 11:51 AM

Without BPM:Call RFC using JCO in interface mapping using java mapping

24 Views

Hi all

I have a very small scenario where REQUEST from the customer comes via Web Service all i have to do is to read the request using SOAP adapter and call an interface mapping(lets say the name is IM_TEST) inside which there is a JAVA MAPPING program written which will call an RFC in CRM using JCO.

Now this was really simple and i cud test the Interface mapping successfully, but the problem is when loading the scenario in integration directory i have certain things to do

1. to set the SENDER AGREEMENT which i did correctly

2. set the RECEIVER DETERMINATION, INTERFACE DETERMINATION AND RECEIVER AGREEMENT now here i am stuck because there is no receiver in my case as the RFC is called inside the mapping only.

can i call one more message mapping in IM_TEST which will write file onto the XI directory and then in RECEIVER DETERMINATION, INTERFACE DETERMINATION AND RECEIVER AGREEMENT i can mention the reciever as FTP.

I tried it but i gives the following error

Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_TEST_WRITE_FILE: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Parsing an empty source. Root element expected!

Please help me how to complete the scenario so that customer can run it end to end.

<REMOVED BY MODERATOR>

Edited by: Prateek Raj Srivastava on May 12, 2010 1:44 PM