RFC- XI- WebService / Trouble with Inbound of RFC
Hi folks!
i am in troubles!
i have an rfc:
CALL FUNCTION 'ZFI_AUSGLEICHMELDUNG_KISS'
IN BACKGROUND TASK
DESTINATION 'XD7_SEND_AUSGL_KISS'
EXPORTING
i_augkiss = wk_augkiss.
the structure of wk_augikiss:
EZDAT DATUM DATS 8
AUGDT DATUM DATS 8
AUGBL AUGBL_KK CHAR 12
AUGRD AUGRD_KK CHAR 2
OPBEL OPBEL_KK CHAR 12
GPART GPART_KK CHAR 10
VTREF VTREF_KK CHAR 20
i fill the structure correctly. debug-session-view of wk_augkiss:
1 EZDAT D 8 20060712
2 AUGDT D 8 20060712
3 AUGBL C 12 000000012345
4 AUGRD C 2 02
5 OPBEL C 12 000000000123
6 GPART C 10 0000100013
7 VTREF C 20 00000000000000100013
but in the SXMB_MONI the payload of the inbound-rfc-messege is:
<?xml version="1.0" encoding="UTF-8" ?>
- <rfc:ZFI_AUSGLEICHMELDUNG_KISS xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <I_AUGKISS>
<EZDAT>2006-07-12</EZDAT>
<AUGDT>0000-00-01</AUGDT>
<AUGBL>000000012300</AUGBL>
<AUGRD>00</AUGRD>
<OPBEL>000000100013</OPBEL>
<GPART />
<VTREF />
</I_AUGKISS>
</rfc:ZFI_AUSGLEICHMELDUNG_KISS>
there is a displacement of field-content. i tried to move the fields in the structure in to another place. nothing helped.
can anybody help me? the scenario should run today :-((
thank u for ur help!
Hello Antonio,
did you find a solution / reason for your issue with the misplaced payload?
I have the same problem here and no idea.
Currently we are working with a self developed hot fix on sender side because our problem is in the field order which requires now placing '9' s into the digits of this field which are not transported because empty .
So order '000001234' is transported as '1234' and so all fields following are misplaced. With '999991234' it works!
But....
Any help is appreciated!
Thank you in advance!
Dirk
Similar Messages
-
RFC - XI - WEBSERVICES scenario - Where to create RFC Destination
Hi Experts
For my RFC - XI - WEBSERVICES scenario, I have to create one TCP/IP RFC destination on R/3 system with the following details
RFC Destination Name : XXXX
Connection Type : T (TCP/IP)
Activation Type : u201CRegistered Server Programu201D
Program ID : YYYY
Gateway Host : R/3 Details ..??
Gateway Service : R/3 Details ..??
My Function Module (Remote-Enabled) - u201CZZZZu201D is defined in R/3 System.
This Function Module should be communicated with the target system i.e. NW XI system
As per the Note from SAP Help: To be able to communicate using RFC, you need to define the target systems as RFC destinations in the sending system(R/3)
Target system u2013 XI Server
Sending system u2013 R/3 System
Are my details provided are good enough as per my explanation? Please guide me in this regard.
QUESTION : Where exactly do I need to create the RFC Destination(SM59)? on R/3 side or on XI side?Refer the following link-
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414700)ID1636235450DB01012070359836134304End?blog=/pub/wlg/1438
what are the inputs should be given to Gateway Host and Gateway Service while creating RFC Destination??
Open transaction SMGW on the R/3 system and choose
Goto -> Parameters -> Display. Beneath Attributes there will be the
entries 'gateway hostname' and 'gateway service'.# -
Greetings Experts,
I'm having trouble with calling an RFC with table input.
Here is my code so far:
public void executeZps_Fm_War_Mat_Update_Input( )
//@@begin executeZps_Fm_War_Mat_Update_Input()
//$$begin Service Controller(344531631)
IWDMessageManager manager = wdComponentAPI.getMessageManager();
try {
int size =
wdContext
.nodeZps_Fm_War_Mat_Prefill_Input()
.nodeWarOut()
.nodeEx_Warout()
.size();
for (int i = 0; i < size; i++) {
IPublicWARComp.IEx_WaroutElement srcElement =
wdContext
.nodeZps_Fm_War_Mat_Prefill_Input()
.nodeWarOut()
.nodeEx_Warout()
.getEx_WaroutElementAt(i);
IPublicWARComp.IIm_WarmatinElement trgElement =
wdContext.createIm_WarmatinElement(
new com.kaisa.mwci.models.updatezpsmur.Zps_War());
WDCopyService.copyCorresponding(srcElement, trgElement);
wdContext
.nodeZps_Fm_War_Mat_Update_Input()
.nodeIm_Warmatin()
.addElement(
trgElement);
wdContext
.currentZps_Fm_War_Mat_Update_InputElement()
.modelObject()
.execute();
wdContext.nodeOutWarMatIn().invalidate();
} catch (WDDynamicRFCExecuteException e) {
manager.reportException(e.getMessage(), false);
//$$end
//@@end
I can call the RFC, it actually returns a value, but not one that I expect. I think the table data is not being passed at all?
Ideas will be greatly appreciated. Thanks!
Cheers,
AlfonsoHI
try for external debugging of you RFC , and whether you are able to pass you data to the RFC ,
public void executeZps_Fm_War_Mat_Update_Input( )
//@@begin executeZps_Fm_War_Mat_Update_Input()
//$$begin Service Controller(344531631)
IWDMessageManager manager = wdComponentAPI.getMessageManager();
try {
int size =
wdContext
.nodeZps_Fm_War_Mat_Prefill_Input()
.nodeWarOut()
.nodeEx_Warout()
.size();
for (int i = 0; i < size; i++) {
IPublicWARComp.IEx_WaroutElement srcElement =
wdContext
.nodeZps_Fm_War_Mat_Prefill_Input()
.nodeWarOut()
.nodeEx_Warout()
.getEx_WaroutElementAt(i);
IPublicWARComp.IIm_WarmatinElement trgElement =
wdContext.createIm_WarmatinElement(
new com.kaisa.mwci.models.updatezpsmur.Zps_War());
// here instead of creating a element , there would be some Class
created for IIm_Warmatin , so you can create a instance for this class and set the
source data element to the target .
ZIIm_Warmatin target = new IIm_WarmatinElement();
target.set(...);
wdcontext.nodeIIm_Warmatin.bind(target);
try this . or you can set the source data to the element created for the target .
hopefully should work
wdContext
.currentZps_Fm_War_Mat_Update_InputElement()
.modelObject()
.execute();
wdContext.nodeOutWarMatIn().invalidate();
} catch (WDDynamicRFCExecuteException e) {
manager.reportException(e.getMessage(), false);
//$$end
//@@end -
Project with RFC to WebService..
Requirement : Solutions for RFC to WebService..
Data Flow :
1. RFC call to WebService
2. WebService will serach concern record and will reply back to RFC
<RFC> <Synch Outbound Interface> <RFC Adapter> <PI 7.1> <SOAP Adapter> <Synch Inbound Interface> <WebService>
Suggest me complete roadmap for the scenario, as i m bit confused to use wether workout on java function for searching concern record from multiple webservices or anything else is possible.
Thanks and Regards,/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
those are based on PI 7.0 but that is quite similar to what you will do in 7.1
Are you looking for something other than that? -
hi,
i am taking 2 FM's in rfc side and i am taking external definition in receiverside i.e in soap side
rfc to webservices scenario
could any one help me immediately.
urs
sumanHI
Refer this
RFC -> XI -> WebService - A Complete Walkthrough (Part 1)
RFC -> XI -> WebService - A Complete Walkthrough (Part 2)
Steps
Import the RFC meta data to PI
Import the WSDL to PI
Create MI for RFC -outbound Sync (if response is involved else Async)
Create MI for WSDL service you want type Inbound Sync (If response involved)
Create MM(external definition and RFC), IM for these
Create Sender RFC adapters with SA
Create Receiver SOAP and do necessary pipline steps
Thats it
Thanks
Gaurav -
RFC to WebService Receiver Determination Problem
Hi,
I am doing RFC to WebService with the help of this weblog
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2 In Interface Determination - when picking Inbound interface is coming as No objects found.
How to resolve it?
regards,
Ansar.Ansar,
In RFC to Web service the inbound interface should be the WSDL.
Did you import WSDL under 'External Definations'.
After importing you need to create a inbound message interface of the Message within the WSDL that you need to use.
Regards,
Ashish
Message was edited by:
Ashish Goyal -
Connect to webservice via TCP/IP or RFC in ABAP ( SAP to WEB Connectivity)
Hi All ,
My requirement is I want to fetch some data from a 'Web site' into my abap program .
How should i do ? what is the step by step process of doing these ? by RFC or TCP/IP .
If go for TCP/IP connection or RFC then please tell me waht is the program id , where it is created at SAP side or Web side .
Regards ,
Nilesh K Jain .Hi! It all depends on what is your system where the website is running on.
On the portal? Or another system ? Or??
I think the best way for you is to create remote function modules and create with these RFC's webservices on SOAP manner.
For information on the webservices you can look:
http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm
And with this SDN site:
Web Services Development in ABAP [original link is broken]
you can find the steps how to create the webservices in ABAP -
RFC to WebService Scenario doubt
Hi,
I'm passing parameters from R/3 system RFC.. and based on that selection criteria the data will fetch from the Remote Application.. and send it to R/3.. finally my RFC will load these data into R/3 system. this is my Scenario( that means.. RFC to WEBSERVICE) so, in the reciever side i should use the SOAP adapter..
but for these type of scenarios.. is WSDL file is mandatory or.. with out WSDL file also can we do the scenario.. and if this is mandatory means.. how we will get the WSDL file...
because according to my reqirement i know only the sender system (R/3) and Receiver system(Remote Application) details.. I dont know any thing about other details..
please suggest me what are the things are needed.. so, that i will get from my client..
Regards
JainHi,
WSDL contains the message /data structure for you input and output.
If you know the Web Services input /output data , you can create it manually or if you have WSDL, you can directly import in IR and all the request/response message would be generated automatically.
To call a Web Service, only URL is required.
You can ask your client to provide the WSDL file.
Regards,
Piyush -
How to create or simulate a WEB service? Scenario RFC to WEBService.
Hello PI experts,
I'm creating an interface with this scenario: RFC->PI->WEBService, the message is synchronous. The problem is that we don't have nothing at the webservice yet, I just want to know if have a way to create or simulate a webservice to test my interface? If someone have some material or information please it will be very helpfull.
ThanksCreate two scenarios.
1) Using SOAP sender you can create a web service. So create a simple scenario using soap sender and use some receiver like jdbc or file or something for your test. Create WSDL using sender agreeement and save the wsdl.
2) create RFC to SOAP scenario. In the receiver side use the WSDL as external definition for the receiver mesg structure. Configure SOAP receiver to point the soap service created using soap sender in the step 1.
Basically you need to know SOAP sender for the step 1 and Soap receiver for the step 2 configuration and design.
Refer these links
http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
http://www.riyaz.net/blog/xipi-a-guide-to-using-sap-xi-soap-adapter/technology/sap/113/ -
Can we wrap a RFC as webservice and use from external java application ?
Hi Friends ,
Our scenario is call a webservice ( wrapped form of RFC) from a external java application which will pass the input to that webservice and get back the result .
How XI will play a role here ?
Can we wrap a rfc as web service ?
Any blogs for that ?
Can you please give a brief details about this ?
Expecting yoour asap
Best Regards .,
V.RangarajanHi
Can we wrap a rfc as web service ?
Yes.
<i>To use the SAP Web AS 6.40 you need to build a wrapper in the 6.40 system. This is a remote function call (RFC) enabled function module with the same interface or a similar interface that internally calls the required RFC-enabled function module in the old 4.6x system via RFC. The wrapper then can be exposed to the outside world as a Web service. Another option is to use the Integration Broker capabilities for calling Web services in an older system.</i>
How XI will play a role here ?
XI will pass the input to the external java application and get back the result to the webservice
regards
krishna -
RFC to SOAP scenario (with out XI/PI)
Dear Experts ,
Is it possible to push data from RFC to Webservice with out using XI/PI.
Regards,
Kartheek.It is indeed possible, however without having used PI/Xi in the middle, once the mentioned scenario would be implemented, it would be difficult to keep the track of the messages that would flow across systems (i.e. message log, corresponding data etc.). So my suggestion would be to make use of the PI module as a middle ware.
Please check the URL that regards to your query.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0d0a250-ccd1-2c10-9e9f-b9d5cf259a6d?quicklink=index&overridelayout=true
Mutti -
RFC as webservice and wild cards
Hi experts,
We have a custom RFC that fetches employee data based on import parameters like PERNR,FIRSTNAME,LASTNAME etc.This RFC is exposed as a WS by default(we are on ECC6.0) and is consumed by a non-SAP application.
The problem is when the calling application tries to do a wild card search in any of the field (say,FIRSTNAME),there is an error with the message like give below:
There is an error in XML document (1, 17584987).
'ўј', hexadecimal value 0x06, is an invalid character. Line 1, position 17584987
Please note that the RFC works fine in all scenarios from SE37.
Even the WS works fine for searches like 'A'.But the problem occurs only when one/any of the parameters is ''.
My questions is:Is there any restriction on using the wild card as a parameter to a WS interface?If yes,how to have a workaround on this?
Thanks in advance,
PrasannaHi
Can we wrap a rfc as web service ?
Yes.
<i>To use the SAP Web AS 6.40 you need to build a wrapper in the 6.40 system. This is a remote function call (RFC) enabled function module with the same interface or a similar interface that internally calls the required RFC-enabled function module in the old 4.6x system via RFC. The wrapper then can be exposed to the outside world as a Web service. Another option is to use the Integration Broker capabilities for calling Web services in an older system.</i>
How XI will play a role here ?
XI will pass the input to the external java application and get back the result to the webservice
regards
krishna -
ALE/IDOC and RFC/BAPI Integration Scenarios with SAP DS for ESA v3
Hi,
we are planning two PoCs of Integration Plattforms. One of our major requirement set is SAP Integration into our existing SOA.
Because we also have R/3 4.7 Systems in production, we are planning to test ALE/IDOC and RFC/BAPI Integration scenarios with these Integration Plattforms.
My question is:
We are looking for are smart solution to get a SAP Test Environment, where we can test ALE/IDOC und RFC/BAPI Integration scenarios.
It is possible to do this with SAP DS for ESA v3 or shall we better use IDES for that purpose?
Best regards,
StevenHi Abhishek,
This is our scenario. We are doing an integration of SAP HR r/3 system with the CRM system. We need housing information details of the employees which we have in custom infotype 9310 in SAP HR system and we need those details in the CRM system. So am planning out for an ALE/IDOC approach for the integration and gonna maintain the 9310 details in a custom table. In the CRM system, we gonna build a BOL layer for accessing the 9310 details. Also i'm preparing a HLD for this process. I wanna read and go through few same HLD's before i submit my proposal to my client. Please suggest me and help me out.
Thanks in advance.
Regards,
Arunmozhi. -
I am working on a RFC -> XI -> Webservice.
I have found an follow
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_WS_TEST_REQ_</SAP:P1>
<SAP:P2>java.lang.NullPointerException</SAP:P2>
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>java.lang.NullPointerException thrown during application mapping com/sap/xi/tf/_MM_WS_TEST_REQ_:</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
<Trace level="3" type="T">Dynamic Configuration Is Empty</Trace>
<Trace level="2" type="T">Mode 0</Trace>
<Trace level="3" type="T">Creating Java mapping com/sap/xi/tf/_MM_WS_TEST_REQ_.</Trace>
<Trace level="2" type="T">Call method execute of the application Java mapping com.sap.xi.tf._MM_WS_TEST_REQ_</Trace>
<Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_MM_WS_TEST_REQ_</Trace>
<Trace level="1" type="T">java.lang.NullPointerException at com.sap.aii.mappingtool.tf3.AMappingProgram.exceptionCaught$(AMappingProgram.java:59) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:182) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:149) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy191.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor673.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:219) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:169) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156) at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7701) at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2376) at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1700) at com.sap.mw.jco.JCO$Server.listen(JCO.java:8061) at com.sap.mw.jco.JCO$Server.work(JCO.java:8181) at com.sap.mw.jco.JCO$Server.loop(JCO.java:8128) at com.sap.mw.jco.JCO$Server.run(JCO.java:8044) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:124)</Trace>
<Trace level="1" type="T">Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_WS_TEST_REQ_: java.lang.NullPointerException; null</Trace>
<Trace level="1" type="T">com.sap.aii.ibrun.server.mapping.MappingRuntimeException: Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_WS_TEST_REQ_: java.lang.NullPointerException; null at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:73) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy191.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor673.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:219) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:169) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156) at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7701) at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2376) at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1700) at com.sap.mw.jco.JCO$Server.listen(JCO.java:8061) at com.sap.mw.jco.JCO$Server.work(JCO.java:8181) at com.sap.mw.jco.JCO$Server.loop(JCO.java:8128) at com.sap.mw.jco.JCO$Server.run(JCO.java:8044) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:124) Root Cause: java.lang.NullPointerException at com.sap.aii.mappingtool.tf3.AMappingProgram.exceptionCaught$(AMappingProgram.java:59) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:182) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:149) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:102) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:91) at com.sap.aii.ibrun.server.mapping.MappingHandler.run(MappingHandler.java:90) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleMappingRequest(MappingRequestHandler.java:95) at com.sap.aii.ibrun.sbeans.mapping.MappingRequestHandler.handleRequest(MappingRequestHandler.java:68) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceImpl.processFunction(MappingServiceImpl.java:79) at com.sap.aii.ibrun.sbeans.mapping.MappingServiceObjectImpl0.processFunction(MappingServiceObjectImpl0.java:131) at sun.reflect.GeneratedMethodAccessor230.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187) at $Proxy191.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor673.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:219) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:169) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156) at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7701) at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2376) at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1700) at com.sap.mw.jco.JCO$Server.listen(JCO.java:8061) at com.sap.mw.jco.JCO$Server.work(JCO.java:8181) at com.sap.mw.jco.JCO$Server.loop(JCO.java:8128) at com.sap.mw.jco.JCO$Server.run(JCO.java:8044) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(Native Method) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:124)</Trace>
<Trace level="1" type="E">CL_XMS_PLSRV_MAPPING~ENTER_PLSRV</Trace>
</Trace>
Thanks a lot
Any help will be appreciated
Message was edited by:
Chang Hwa ChungHi,
The error message states you are using a java mapping. Have you testd the mapping?
You can use these blogs for this,
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
/people/stefan.grube/blog/2006/10/23/testing-and-debugging-java-mapping-in-developer-studio
Regards,
Bhavesh -
RFC-XI-WEBSERVICE = ABAP DUMP ERROR(V.URGENT)
Hi Experts,
I am trying to create a RFC-XI-Webservice scenarion in which i have made a function module giving the parameters which needs to be displayed in my webservice . I call this function module in a report zlv_distance.
.I am getting a dump while executing my Function module . I am copying the dump as under:-
Runtime Errors CALL_FUNCTION_REMOTE_ERROR
Date and Time 11.10.2007 10:23:56
What happened?
Error in ABAP application program.
The current ABAP program "Z_WEBSERVICE_TEST_SARAS=======FT" had to be
terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
The error occurred in an RFC call to another system.
The target system has also written a short dump.
Consult this short dump for more precise information about
the cause of the error.
Error analysis
An error occurred when executing a REMOTE FUNCTION CALL.
It was logged under the name "RFC_EXTERNAL_ABORT"
on the called page.
Trigger Location of Runtime Error
Program Z_WEBSERVICE_TEST_SARAS=======FT
Include Z_WEBSERVICE_TEST_SARAS=======FT
Row 68
Module type (FORM)
Module Name FUNCTION_CALL
Source Code Extract
Line SourceCde
38 DATA: %_VDISTANCE TYPE CHAR10.
39 FORM EXISTENCE_CHECK CHANGING VARIA.
40 VARIA = 1.
41 ENDFORM.
42 FORM FUNCTION_CALL.
43 CLEAR %_ODISTANCE.
44 * TRANSAKTION = 'Repo', PROGRAM = REPORT
45 IF ATRA = '1'.
46 SET RUN TIME ANALYZER ON %_INTERNAL.
47 ENDIF.
48 IF DESTI IS INITIAL.
49 IF DEBUG = '1'. BREAK-POINT AT NEXT APPLICATION STATEMENT.
50 ENDIF.
51 DEBUG = SPACE.
52 GET RUN TIME FIELD TIME1.
53 CALL FUNCTION 'Z_WEBSERVICE_TEST_SARAS'
54 EXPORTING
55 FROMZIP = %_IFROMZIP
56 TOZIP = %_ITOZIP
57 IMPORTING
58 DISTANCE = %_ODISTANCE.
59 IF ATRA = '1'.
60 SET RUN TIME ANALYZER OFF %_INTERNAL.
61 ENDIF.
62 ELSE.
63 GET RUN TIME FIELD TIME1.
64 * TRANSAKTION = 'Repo', PROGRAM = REPORT
65 IF ATRA = '1'.
66 SET RUN TIME ANALYZER ON %_INTERNAL.
67 ENDIF.
>> CALL FUNCTION 'Z_WEBSERVICE_TEST_SARAS' DESTINATION DESTI
69 EXPORTING
70 FROMZIP = %_IFROMZIP
71 TOZIP = %_ITOZIP
72 IMPORTING
73 DISTANCE = %_ODISTANCE.
74 IF ATRA = '1'.
75 SET RUN TIME ANALYZER OFF %_INTERNAL.
76 ENDIF.
77 ENDIF.
78 GET RUN TIME FIELD TIME2.
79 RC = SY-SUBRC.
80 CLEAR EXCEPTIONS.
81 READ TABLE EXCEPTIONS INDEX RC.
82 IF SY-SUBRC = 0.
83 OEXCEPTION = EXCEPTIONS-NAME.
84 ELSE.
85 OEXCEPTION = RESULTAT.
86 ENDIF.
87 TIME1 = TIME2 - TIME1.
I have made my function module Remote enabled.
My RFC destination is working fine .
I have already tested that.
Please help me on this.
Regards
Saras JainHi,
possible solution could be a ConversionException in you RFC Adapter because of mismatching data types in your source and receiver message.
Just goto RWB an monitor the Processing Details for Cluster Node Server of your adapter in the Channel Monitoring.
Afterwards you have to adjust your importing or exporting structure of the used RFC function module.
Cheers,
André
Maybe you are looking for
-
Wireless Printer says it is busy when trying to print wirelessly
Hi, I just got the HP Photosmart Premium c310 printer. I am able to get on the wireless internet and go to apps that are on the printer its self. My Macbook Pro which is running on the Lion OSx connects to the printer wirelessly but anytime i try to
-
Z ALV with Default Setting in save layout option disabled
Hi friends! I need a little help. I have a Z ALV and we trying to save layout, but the option "Default Setting" is grey and I cannot use this. How can I enable this option in save layout? Thanks!!
-
I have prepared a personal budget and sorted the planned expenses by month, but they are out of order. How do I correct?
-
Compressor 3.5 - Frame Controls Different!
Anyone else that has used frame controls on their presets notice that the new version is much different? I am compressing HD source to MPEG2 for SD-DVD. I have always used FRAME CONTROLS in my presets because of the beautiful quality that I was able
-
Macbook+iMac Xgrid Netowrks
Hi there, I'm thinking about getting an iMac and I currently own a Macbook. Would it be possible to create a network so that the iMac utilizes the Macbooks resources and even uses its display as an extension, like how is down with an extra monitor? M