Error in Mapping of external RFC reponse

Hi experts,
I have big problems with my current scenario. I tried to call a C-program by using RFC connection.
<u><b>synchronous RFC scenario:</b></u>
<b>request:</b>
<u>Sender SAP-System RFC-Adapter> XI RFC-Adapter> receiver C-program</u>
on both sides I use RFC-Adapter and the flags of unicode is also set,
on sender side I have created a simple RFC adapter, this side works without problems.
On receiver side I have create an external RFC call. Here a RFC destination which is created on my SAP XI sap Gateway is invoked by the RFC Adapter. My C-program registers the program id of this RFC at receiver side. So by testing the RFC connection (transaction SM59) the RFC works fine.
The request mapping includes on both side the same RFC-structure.
<b>response</b>
<u>Sender SAP-System <RFC XI <RFC receiver C-program</u>
The response mapping includes on both side the same RFC response structure.
When I execute my scenario by calling the ABAP-Program in my SAP system, it seems that request works fine, but during the response in the integration engine following error occurs:
com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data sections(:main:, row:1, col:377) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException(Transformer.java:187) at com.sap.aii.mappingtool.tf3.Transformer.start(Transformer.java:151) at com.sap.aii.mappingtool.tf3.AMappingProgram.execute(AMappingProgram.java:105) at com.sap.aii.ibrun.server.mapping.JavaMapping.executeStep(JavaMapping.java:64) at com.sap.aii.ibrun.server.mapping.Mapping.execute(Mapping.java:92) 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_0.processFunction(MappingServiceObjectImpl0_0.java:131) at sun.reflect.GeneratedMethodAccessor264.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 $Proxy189.processFunction(Unknown Source) at sun.reflect.GeneratedMethodAccessor931.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:275) at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:217) at com.sap.engine.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:156) at com.sap.mw.jco.JCO$Server.dispatchRequest(JCO.java:7803) at com.sap.mw.jco.MiddlewareJRfc$Server.dispatchRequest(MiddlewareJRfc.java:2405) at com.sap.mw.jco.MiddlewareJRfc$Server.listen(MiddlewareJRfc.java:1728) at com.sap.mw.jco.JCO$Server.listen(JCO.java:8164) at com.sap.mw.jco.JCO$Server.work(JCO.java:8284) at com.sap.mw.jco.JCO$Server.loop(JCO.java:8231) at com.sap.mw.jco.JCO$Server.run(JCO.java:8147) 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: com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data sections(:main:, row:1, col:377) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:157) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73) at java.lang.Thread.run(Thread.java:534) Root Cause: com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data sections(:main:, row:1, col:377)(:main:, row=1, col=377) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data sections(:main:, row:1, col:377) at com.sap.engine.lib.xml.parser.XMLParser.handleContentReference(XMLParser.java:2327) at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2458) at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841) at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440) at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841) at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440) at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841) at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440) at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841) at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2843) at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:229) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:160) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:261) at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280) at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342) at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:155) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73) at java.lang.Thread.run(Thread.java:534) -
at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:144) at javax.xml.parsers.SAXParser.parse(SAXParser.java:345) at com.sap.aii.mappingtool.tf3.rt.xparser.MTSaxHandler.run(MTSaxHandler.java:155) at com.sap.aii.mappingtool.tf3.rt.xparser.XParser.run(XParser.java:73) at java.lang.Thread.run(Thread.java:534) Caused by: com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data sections(:main:, row:1, col:377) at com.sap.engine.lib.xml.parser.XMLParser.handleContentReference(XMLParser.java:2327) at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2458) at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841) at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440) at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841) at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440) at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841) at com.sap.engine.lib.xml.parser.XMLParser.scanContent(XMLParser.java:2440) at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1841) at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2843) at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:229) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:145) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:160) at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:261) at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280) at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342) at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125) ... 4 more</Trace>
  <Trace level="1" type="T">Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_KQ3_TOMATOS_RESPONSE_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser : #0 not allowed in Character data sections(:main:, row:1, col:377)
So could anybody help me.
Thanks a lot.
Best regards
Mario

Hi Jai,
thanks for your fast reply.
I have checked my payload but there is no col. 377. When I copy the following response payload into the mapping test tool it works fine.
  <?xml version="1.0" encoding="UTF-8" ?>
- <rfc:_-MSG_-4_PM_TOMATOS.Response xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
  <ET_DIMMARKS_FLOAT />
  <ET_DIMMARKS_INTEGER />
  <ET_DIMMARKS_STRING />
- <ET_ERRORS>
- <item>
  <SEQ_NO>-1</SEQ_NO>
  <ERROR_NR>16777216</ERROR_NR>
  <RC>-1518068224</RC>
  <ERROR_TYPE>E</ERROR_TYPE>
  <DESCRIPTION>The data context cannot be found </DESCRIPTION>
  <ERROR_CLASS>PM.TOMATOSX error </ERROR_CLASS>
  <MODULE_NAME>PM.TOMATOSX </MODULE_NAME>
  <MESSAGE>No standard data context is defined. </MESSAGE>
  <INSTANCE_NAME> </INSTANCE_NAME>
  <PM_MARKNAME> </PM_MARKNAME>
  <CALLPOS> </CALLPOS>
  </item>
  </ET_ERRORS>
  <ET_INFOS />
  <ET_MARKS_DIMSIZE />
  <ET_MARKS_FLOAT />
  <ET_MARKS_INTEGER />
  <ET_MARKS_STRING />
  <ET_OBJECTS />
  <ET_PLAUSIS />
  <ET_PROFILES />
  <ET_PROFILE_MODS />
  <ET_RELATIONS />
  <ET_STATISTICS />
  <IT_DIMMARKS_FLOAT />
  <IT_DIMMARKS_INTEGER />
  <IT_DIMMARKS_STRING />
  <IT_MARKS_DIMSIZE />
  <IT_MARKS_FLOAT />
  <IT_MARKS_INTEGER />
  <IT_MARKS_STRING />
  <IT_METHODS />
  <IT_METHOD_PARAMS />
  <IT_OBJECTS />
  <IT_OPTIONS />
  <IT_RELATIONS />
  <IT_SEQUENCES />
  </rfc:_-MSG_-4_PM_TOMATOS.Response>
So have you any idea, what the problem could be.
Best regards
Mario

Similar Messages

  • Character translation error in Mapping Lookup API (RFC)

    Dear all,
    I am new to XI and got a question concerning XI Mapping Lookup API - I send an RFC Request, which comes back as RFC Response(XML), that I fill in a String to map on.
    My problem is, characters such as "Ä,ä,Ü,ß" and so on come back pretty weird and I also got a lot of quotes in my String. Could somebody please give me a hint how to move on with this..
    thanx in advance
    P.S. Is it usefull to handle this problem using the DOM Parser instead holding the response in a string? 
    Info: called system is R/3 4.6b, XI runs on 6.4 SR 16

    Dear all - thanks for your very fast help but I still have problem with the wrong character...
    @Michal - Using this coding (the easiest way, I found from the WebLog) to convert the Payload type to String, delivers the result I have  shown at the end,  so could you give me please some approach how to handle this
                   Payload resultOfCall = accessor.call(payload);
                   InputStream in = resultOfCall.getContent();
                   out = new ByteArrayOutputStream(1024);
                   byte[] buffer = new byte[1024];
                   for (int read = in.read(buffer); read > 0; read = in.read(buffer)) {
                        out.write(buffer, 0, read);
                   content = out.toString();
                   return content;
    Result:
    &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&lt;rfc:Z_GETFTXC108TXTFROMFILE2.Response xmlns:rfc=&quot;urn:sap-com:document:sap:rfc:functions&quot;&gt;&lt;SCENOEDITXTSTRUCT&gt;&lt;MANDT&gt;030&lt;/MANDT&gt;&lt;SCENARIOID&gt;TVPN&lt;/SCENARIOID&gt;&lt;FILENAME&gt;/usr/sap/text3.txt&lt;/FILENAME&gt;&lt;FILETYPE&gt;ASC&lt;/FILETYPE&gt;&lt;TEXT1&gt;Kleines Regengesicht  aaLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;Ã&#132;äÃ&#156;ü2 AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;Ã&#132;äÃ&#156;ü3 AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678906 AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;Ã&#132;äÃ&#156;ü3 AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;8 AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;Ã&#156;üÃ&#150;ö9 Ã&#132;äBbCcDdEeFfGgÃ&#150;öIxxSTRINGENDE&lt;/TEXT1&gt;&lt;TEXT2&gt;2 AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;Ã&#132;äÃ&#156;ü1234567890123456789012345678901234567890123456789012345678903 AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678902 AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;Ã&#132;äÃ&#156;ü7 Ã&#132;äBbCcDdEeFfGgHhIiJjKkLlMmNnÃ&#150;öPpQqRrSsTtÃ&#156;üVvWwXxYyZzÃ&#159;Ã&#159;Ã&#150;öÃ&#156;ü8 AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;Ã&#156;üÃ&#150;ö9 Ã&#132;äBbCcDdEeFfGgÃ&#150;öIxxSTRINGENDE&lt;/TEXT2&gt;&lt;TEXT3&gt;3 AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;Kleines Regengesicht  aaLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;Ã&#132;äÃ&#156;ü3 AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678906 AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;Ã&#132;äÃ&#156;ü7 Ã&#132;äBbCcDdEeFfGgHhIiJjKkLlMmNnÃ&#150;öPpQqRrSsTtÃ&#156;üVvWwXxYyZzÃ&#159;Ã&#159;Ã&#150;öÃ&#156;ü8 AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;Ã&#156;üÃ&#150;ö9 Ã&#132;äBbCcDdEeFfGgÃ&#150;öIxxSTRINGENDE&lt;/TEXT3&gt;&lt;TEXT4&gt;7 Ã&#132;äBbCcDdEeFfGgHhIiJjKkLlMmNnÃ&#150;öPpQqRrSsTtÃ&#156;üVvWwXxYyZzÃ&#159;Ã&#159;Ã&#150;öÃ&#156;ü7 Ã&#132;äBbCcDdEeFfGgHhIiJjKkLlMmNnÃ&#150;öPpQqRrSsTtÃ&#156;üVvWwXxYyZzÃ&#159;Ã&#159;Ã&#150;öÃ&#156;ü2 AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;Ã&#132;äÃ&#156;ü123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890Kleines Regengesicht  aaLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;Ã&#132;äÃ&#156;ü1234567890123456789012345678901234567890123456789012345678908 AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZzÃ&#159;Ã&#159;Ã&#156;üÃ&#150;ö9 Ã&#132;äBbCcDdEeFfGgÃ&#150;öIxxSTRINGENDE&lt;/TEXT4&gt;&lt;TEXT5&gt;&lt;/TEXT5&gt;&lt;/SCENOEDITXTSTRUCT&gt;&lt;/rfc:Z_GETFTXC108TXTFROMFILE2.Response&gt;
    Thnaks in advance!

  • Execution Errors while running a mapping having external table operator

    when I am executing a mapping with external table operator, I am getting the following error:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout ORA-29400: data cartridge error KUP-04040: file testdoc.txt in CONN_FLAT_FILE not found
    Here CONN_FLAT_FILE is the connector.
    The flat file location has been registered with the user name (as used for Windows login), password (as used for Windows Login) and host name as the name that is used for accessing my machine in the network. The path to the file name is given from the root folder like C:\.....
    Please let me know things that I need to check.
    Regards

    If you're using an external table check if you can see the data by querying that table. Possible errors: wrong directory or wrong file structure.
    Regards,
    Jörg

  • Error during mapping service, RFC-XI-File Adapter

    Hello,
      I have the following problem: I am using RFC to send some data to XI and then to File Adapter, however I get a short dump with "5990 Error during mapping service in XI". Even though mappings works, I tested using the document that comes in XI in Repository without any errors.
           What does this error means and is there any way to get more detailed explanation of my error. Thank you in advance for your help,
                   Dmitriy Mindich

    Synchronous RFC
    1. CALL FUNCTION func DESTINATION dest
                         parameter_list.
    Asynchronous RFC
    2. CALL FUNCTION func STARTING NEW TASK task
                    [DESTINATION {dest|{IN GROUP {group|DEFAULT}}}]
                    parameter_list
                    [{PERFORMING subr}|{CALLING meth} ON END OF TASK].
    Transactional RFC
    3. CALL FUNCTION func IN BACKGROUND TASK
                         [DESTINATION dest]
                         parameter_list
                         [AS SEPARATE UNIT].
    Use help function of your ABAP editor for more details.
    Regards
    Stefan

  • CAF - External RFC import error

    Hi,
    I am having problems importing an external rfc in my CAF project using 7.11, I enter the single server details and click next, rather than trying to connect it seems to jump straight to the next screen, however when you search for a rfc nothing is returned.
    I am confident that the host name and system number is correct because I can use these details in webdynpro to import a rfc model, has anyone had this problem before? Is there any log which nwds produces which may shed light on why it does not seem to connect.
    Thanks in advance,
    Jon

    Balaji,
    This object is already imported by "wljizi" but he hasn't activated his change list...hence it is not allowing you to re-imprt same object.
    In your IB, Select change list , Pur user name "wljizi" and click on display..
    Right click on  change list and select "Transfe" it will transfer it on your id...now you can import / activate new object.
    Nilesh

  • Error "Internal error occurred checking the external " while creating a job

    Hi All,
            I am getting an error while trying to schedule a job, Im not very shure abt what the job does, the user tried it and she got an error and asked me to do it.
            A similer kind of job has been created in an other system and it works fine there. This job should run monthly and belowis the job step
            The job runs on an external command and following are the paramerters
             Name           SAA_TP_CHECK                                          
             Parameters     /usr/sap/transTCluster/bin/TP_DOMAIN_TD1.PFL          
             Operating sys. UNIX                                                  
             Target server  saptp1
            This gives an error "Internal error occurred checking the external "
    A similer kind of job that runs in a different system has the parameters as follows
            Name           SAA_TP_CHECK
            Parameters     /usr/sap/trans/bin/TP_DOMAIN_YD4.PFL
            Operating sys. UNIX
            Target server  sapyp4
    What might be causing the error, and how can this be solved. Please help!!!!

    Hi,
    I think the issue is with the server .
    Please check whether the Server name you are giving has the all the RFC connections.
    I mean Remote Connection with the Server is establised or not.
    Regards
    Arbind

  • Error during Mapping

    Hello,
    My XI 2.0 scenario :
    Flat file => File adapter => XI => IDoc adapter => SAP 4.7
    The File adapter reads the file successfully & passes to the Integration Server. In XI XML message monitor (SXMB_MONI), I'm getting the following error ...
    ====================
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:ErrorHeader xmlns:SAP="http://sap.com/exchange/MessageFormat">
      <SAP:Context />
      <SAP:Code p1="Error during mapping" p2="--- Creating Java mapping com.sap.xi.tf._R_MsgMap_1_ --- Using MappingResolver with context URL /sapmnt/XID/global/xi/mapping/http%3A%2F%2FABCXYZ%2Ecom%2Fxi%2FDev%2F/bc52cef0be3411d8b277cade640701c6/ --- Load of com/sap/xi/tf/_MsgMap_1_.class from /sapmnt/XID/global/xi/mapping/http%3A%2F%2FABCXYZ%2Ecom%2Fxi%2FDev%2F/bc52cef0be3411d8b277cade640701c6/ failed. --- Class not found: com.sap.xi.tf._MsgMap_1_ --- java.lang.ClassNotFoundException at RUMappingJava.load(): Could not load class: com.sap.xi.tf._MsgMap_1_ Class not found: com.sap.xi.tf._MsgMap_1_ --- com.sap.aii.ibrun.server.map.MappingRuntimeException: at com.sap.aii.ibrun.server.map.MappingRuntimeException.code_STYLESHEET_OR_CLASS_NOT_FOUND(MappingRuntimeException.java:91) at com.sap.aii.ibrun.server.map.RUMappingJava.load(RUMappingJava.java:119) at com.sap.aii.ibrun.server.map.RUMappingJava.execute(RUMappingJava.java:40) at com.sap.aii.ibrun.server.map.RURunner.run(RURunner.java:58) at com.sap.aii.ibrun.server.map.RUManager.run(RUManager.java:66) at com.sap.aii.ibrun.sbeans.map.MappingRequestHandler.handleRequest(MappingRequestHandler.java:62) at com.sap.aii.ibrun.sbeans.map.MappingServiceImpl.processFunction(MappingServiceImpl.java:72) at com.sap.aii.ibrun.sbeans.map.XMappingServiceObjectImpl0.processFunction(XMappingServiceObjectImpl0.java:24) at com.sap.aii.ibrun.sbeans.map.MappingServiceKey.processFunction(MappingServiceKey.java:10) at java.lang.reflect.Method.invoke(Native Method) at com.inqmy.services.rfcengine.RFCDefaultRequestHandler.invokeBean(RFCDefaultRequestHandler.java:73) at com.inqmy.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:47) at com.inqmy.services.rfcengine.RFCJCOServer.handleRequest(RFCJCOServer.java:69) at com.sap.mw.jco.JCO$Server.dispatchRequest(Unknown Source) at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Native Method) at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(Unknown Source) at com.sap.mw.jco.JCO$Server.listen(Unknown Source) at com.sap.mw.jco.JCO$Server.run(Unknown Source) at java.lang.Thread.run(Thread.java:479) ---" p3="" p4="">MAPPING.GENERIC</SAP:Code>
      <SAP:Text language="EN">Error during mapping</SAP:Text>
      </SAP:ErrorHeader>
    ====================
    MsgMap_1 is the Message Mapping defined - mapping the flat file structure to the IDoc structure.
    Do I have to do more than just create the Message Mapping in the Integration Repository ? In the Integration Directory, the Interface Mapping (from Repository) is used.
    Any help is greatly appreciated.
    Regards,
    Homiar.

    Hi Homiar,
    Need a little more detail.
    The directory points to the interface mapping.
    The Interface mapping points to the message mapping.
    What type of message mapping are you using?
    - Graphical mapping.
    - XSLT.
    - Java.
    - Abap.
    The main problem is "java.lang.ClassNotFoundException"
    Do other mappings work in your system?
    Jason

  • Error with "Mapping Program not Found"

    We exported all of our XI development from DEV and imported it to Prod. We have not changed anything at all. Now, even though I have authority I can't go into EDIT mode in Prod.
    The main problem is that even though everything imported into Prod without error, when we run our program we are getting the following error:
    <b>="MAPPING">NO_MAPPINGPROGRAM_FOUND </b>
    What could have changed and were do I start to look?
    Thanks in advance, will reward points.
    Mike Curtis

    Micheal,
    You dont need to externally import XSD's and WSDL's. If you import the whole software component or the whole namespace then they will come automatically.
    Check in message mappings whether you can see the mappings or not? I think you might have exported object by object not the whole SWCV. If it is yes then you also import the message mapping. Also check in your change list whether there are any objects. If yes please activate them.
    By the way you dont see only the one message mapping you are tyring to check or all of them? Dont edit anything in production. Its not good. So dont enable the edit button as other threads reply.
    ---Satish

  • Is BAPI_TRANSACTION_ROLLBACK supported in external RFC applications?

    Hello,
    maybe someone could shed some light into this.
    I am writing an external RFC client application using library librfc32.dll. The application calls a custom RFC module, which inserts a record in a custom Z* table. This RFC module does not invoke, explicitly or implicitly (at least, not that I am aware of) the COMMIT WORK operation.
    After this RFC module call the RFC/BAPI module BAPI_TRANSACTION_ROLLBACK is called. The intent is, of course, to rollback the operation from the previous RFC call. Yet the rollback attempt fails and the inserted record is not removed from the table.
    An ABAP program making the exact same calls to those RFC modules, however succeeds.
    Has anyone an explanation for this behavior? Thank you!

    Hi,
    In case of a WARNING message, the ROLLBACK wont happen automatically whereas in case of an ERROR message, the ROLLBACK would happen.
    But to be on safer side, it is always good to call BAPI_TRANSACTION_ROLLBACK irrespective of the message type ( Warning or Error).
    Same is the case with COMMIT. If you dont give an explicit commit work, the data would be COMMITED once the transaction/process is completed without any error/warning messages.
    Best regards,
    Prashant

  • Map an External HD on a PC

    Just posted this on the windows compatibility section but seem to fit better here:
    I have an external hard drive connected to my PowerBook that I want to connect to via my Windows XP machine but I have not been able to do so. I can map my home folder just fine but upon trying to map the external drive (using \\computerName\driveName) I get an error message that says that is can't be found. Any suggestions on how to go about this? Thanks.

    You need to explicitly share the volume.
    By default, only home directories and a few public/shared directories are available over the network.
    If you're not familiar with configuring the SMB server (I assume you're using SMB?) by hand then grab a copy of SharePoints

  • Error 801 when executing external command on

    Hello,
    I have installed CCMS agents and CCMS ping in my system yesterday. And activated the CPH BGD jobs for SL reporting purpse. Now I am getting an error "Error 801 when executing external command on" under class LC 2. I am not able to find any relevant note or help for this error. Any idea why this happens? How can I solve this? The details as follows:
    EXTERNAL COMMAND: rc = Error 801
    SXPG_COMMAND_EXECUTE(LONG):
    <timestamp>: 20100310144206
    COMMANDNAME: PING
    ADDITIONAL_PARAMETERS: s-sapcae
    LONG_PARAMS:
    OPERATINGSYSTEM: AIX
    TARGETSYSTEM: sapasmc1
    DESTINATION:
    SY-SUBRC:  801
    Regards,
    Rajeev

    Hi,
    I have activated the trace level to 3 and now I get some messages in dev_cp which is as follows:
    Trace file of control program (trace level 3)
    < Function: BtcTrcInit> Function: main  SAPXPG 720
    2010-03-11  08-52-09 : Before BtcXpgDetach
      > Function: BtcXpgDetach  < Function: BtcXpgDetach  Accept RFC connection from R/3 system
    2010-03-11  08-52-09 : Before RfcAccept
    2010-03-11  08-52-09 : RfcAccept returned OK
    Begin of check_if_security_list
    security check switched OFF
    End of check_if_security_list
    Begin of check_trace_option
    End of check_trace_option
      Install RFC call SAPXPG_START_XPG
      Install RFC call SAPXPG_START_XPG_LONG
      Install RFC call SAPXPG_END_XPG
      Wait for RFC call SAPXPG_START_XPG or SAPXPG_START_XPG_LONG
    2010-03-11  08-52-09 : Before first call of RFCDispatch
    Security: rfcexec_logon_check
      rfcexec_logon_check: logon_user = TT4WNUC
      sapxpg_logon_check: rfc_attr.user = TT4WNUC
      rfcexec_logon_check: client = 100
    2010-03-11  08-52-09 : After first call of RFCDispatch
    2010-03-11  08-52-09 : Before call of RfcClose (sequencing error)
    2010-03-11  08-52-09 : After call of RfcClose (sequencing error)
    < Function: main
    2010-03-11  08-52-09 : End of SAPXPG: main
    I think the issue is with the user TT4WNUC. Could you please let me know from where I can change this user?
    Rajeev

  • LC  2 Error 1003 when executing external command brconnect on (xpgid=0,con

    Dear all,
    I am getting error in sm21.Please suggest .
    Details Page 2 Line 23 System Log: Local Analysis of clusa                    1
    Time     Type Nr  Clt User TCode Grp N Text
    10:00:32 DIA  000 600 DDIC       LC  2 Error 1003 when executing external command brconnect on (xpgid=0,convid=.)
    Error 1003 when executing external command brconnect on (xpgid=0,convid=.)
    Details
    Recording at local and central time........................ 10.05.2010 10:00:32
    Task...... Process                     User...... Terminal Session TCode Program  Cl Problem cl      Package
    06952      Dialog work process No. 000 DDIC                      1       SAPMSSY1 S  Operation Trace SBTC
    No documentation for syslog message LC 2 exists
    Parameter
      1 .... xpgid=0,convid=.
    Technical details
    File Offset RecFm System log Grp N variable message data
      224 260640                  LC  2 brconnect & &Error 1003 & & &
    Regards,
    Kumar

    Dear Juan,
    Please find the logs.Please suggest.
    dev_cp log
    Trace file of control program (trace level 3)
    < Function: BtcTrcInit> Function: main  SAPXPG 720
    2010-05-10--09-33-29 : Before BtcXpgDetach
      > Function: BtcXpgDetach  < Function: BtcXpgDetach  Accept RFC connection from R/3 system
    2010-05-10--09-33-29 : Before RfcAccept
    2010-05-10--09-33-29 : RfcAccept returned OK
    Begin of check_if_security_list
    security check switched OFF
    End of check_if_security_list
    Begin of check_trace_option
    End of check_trace_option
      Install RFC call SAPXPG_START_XPG
      Install RFC call SAPXPG_START_XPG_LONG
      Install RFC call SAPXPG_END_XPG
      Wait for RFC call SAPXPG_START_XPG or SAPXPG_START_XPG_LONG
    2010-05-10--09-33-29 : Before first call of RFCDispatch
    Security: rfcexec_logon_check
      rfcexec_logon_check: logon_user =
      sapxpg_logon_check: rfc_attr.user = BASIS      
      rfcexec_logon_check: client =   
      > Function: BtcXpgStartXpgLong   
    2010-05-10--09-33-29 : Beginning of BtcXpgStartXpgLong
        > Function: BtcXpgStartXpgImportLong      > Function: BtcXpgParam      < Function: BtcXpgParam      > Function: BtcXpgParam      < Function: BtcXpgParam      > Function: BtcXpgParam      < Function: BtcXpgParam      > Function: BtcXpgParam      < Function: BtcXpgParam      > Function: BtcXpgParam      < Function: BtcXpgParam      > Function: BtcXpgParam      < Function: BtcXpgParam      > Function: BtcXpgParam      < Function: BtcXpgParam      > Function: BtcXpgParam      < Function: BtcXpgParam      > Function: BtcXpgTable      < Function: BtcXpgTable    < Function: BtcXpgStartXpgImportLong   
    BtcXpgStartXpgLong: special_trace_flag = <6>
        > Function: BtcXpgStartXpgInt      > Function: BtcXpgItTransfer        Content of source log table:
              Line  Text
              <No StdOut/StdErr output reported>
            Target log table is not identical to source
            ItGetLine terminated with NULL
          < Function: BtcXpgItTransfer      > Function: BtcTrcReset      < Function: BtcTrcReset      Call mode: VIA RFC
          Input arguments of BtcXpgStartXpg:
            External program: brtools
          tracecntl = : 6
          Display of Parameter string switched off !!
            Contents of control flags:
              StdIn control flag: redirect StdIn
              StdOut control flag: store StdOut output in memory
              StdErr control flag: store StdErr output in memory
              Trace control flag: unknown contents
              Termination control flag: control program will wait for termination
          > Function: BtcXpgCheck        > Function: BtcXpgArgv
              parameter number 1:
              parameter number 2:
              parameter number 3:
              parameter number 4:
              parameter number 5:
              parameter number 6:
              parameter number 7:
              Total number of arguments scanned: 7
              Argument argv[0]: brtools
            < Function: BtcXpgArgv      < Function: BtcXpgCheck      > Function: BtcXpgSigInst      < Function: BtcXpgSigInst      > Function: BtcXpgStart        Rearrange stderr to be collected in memory
            Rearrange stdout to be collected in memory
            Redirect stdin, read from NUL:
            > Function: BtcTrcInit< Function: BtcXpgStartStart status of external program: external program successfully started
    Id of external process: 0000005296
    StdOut/StdErr collected in memory
      Line  Text
      <No StdOut/StdErr output reported>
    < Function: BtcXpgStartXpgInt> Function: BtcXpgStartXpgExport  > Function: BtcXpgParam  < Function: BtcXpgParam  > Function: BtcXpgParam  < Function: BtcXpgParam  > Function: BtcXpgParam  < Function: BtcXpgParam< Function: BtcXpgStartXpgExport
    2010-05-10--09-33-29 : End of BtcXpgStartXpgLong
    < Function: BtcXpgStartXpgLong
    2010-05-10--09-33-29 : After first call of RFCDispatch
    Wait for RFC call SAPXPG_END_XPG
    2010-05-10--09-33-29 : Before second call of RFCDispatch
    Security: rfcexec_logon_check
    rfcexec_logon_check: logon_user =
    sapxpg_logon_check: rfc_attr.user = BASIS      
    rfcexec_logon_check: client =
    > Function: BtcXpgEndXpg 
    2010-05-10--09-33-29 : Beginning of BtcXpgEndXpg
      > Function: BtcXpgStartXpgExport    > Function: BtcXpgTable    < Function: BtcXpgTable  < Function: BtcXpgEndXpgImport  > Function: BtcXpgEndXpgInt    > Function: BtcXpgItTransfer      Content of source log table:
            Line  Text
            <No StdOut/StdErr output reported>
          Target log table is not identical to source
          ItGetLine terminated with NULL
        < Function: BtcXpgItTransfer    > Function: BtcXpgReadChild      Output of external command not written to log !!
          Process executing external program has terminated
        < Function: BtcXpgReadChild    > Function: BtcXpgEnd    < Function: BtcXpgEnd    Termination status of external program: no errors reported
        StdOut/StdErr collected in memory
      < Function: BtcXpgEndXpgInt  > Function: BtcXpgEndXpgExport    > Function: BtcXpgParam    < Function: BtcXpgParam    > Function: BtcXpgParam    < Function: BtcXpgParam  < Function: BtcXpgEndXpgExport 
    2010-05-10--09-33-30 : End of BtcXpgEndXpg
    < Function: BtcXpgEndXpg
    2010-05-10--09-33-30 : After second call of RFCDispatch
    2010-05-10--09-33-30 : After call of RfcClose (wait)
    < Function: main
    2010-05-10--09-33-30 : End of SAPXPG: main
    dev_xpg
    Trace file of External Program (trace level 3)
    < Function: BtcTrcInit> Function: BtcXpgStart  External program: brtools -sid prd -F printout alert_log 20100401000000 0128
    Regards,
    Kumar

  • Error : Interface mapping does not exist in runtime Cache

    Hello Guys
    I have a simple SOAP-To-RFC connection which was working fine until recently. I have not made any changes
    but the data is not getting transfered from one point to another.
    I checked SXMB_MONI and saw the following error:
    Interface mapping http://cincom.com/config AddConfig does not exist in runtime cache
    Then I went and checked SXI_CACHE and it says 'Cache contents are upto date' with a green light.
    Just to be on the safer side, I shutdown and restarted XI server selecting All tasks.
    But still has the same problem.
    Can some one help me with this? I would really appreciate it.
    Thanks
    Ram

    Hi,
    We too faced the same problem.
    Do the following
    1) Delete the Interface mapping and re-create it
    2) First test your Config with test tool
    /people/paul.medaille/blog/2005/06/24/test-your-xi-configuration-with-the-new-test-tool
    I think here you will find the error on Interface mapp or Receiver agreement
    Then delete the interface det and receiver agreement also and re-create those.
    Make sure that u have provided the sample payload which is taken from MONI--Inbound msg--Payload
    Then finally u will get the success
    Regards
    Seshagiri

  • Disk utility gives "Error: Partition map repair failed while adjusting structures to fit current whole disk size"

    I am getting the following error when running Disk Utility (under ML) on an exteral USB hard drive:
    Error: Partition map repair failed while adjusting structures to fit current whole disk size.
    I get thsi when I ask Disk Utility to "Repair Disk" at the top level of the disk hierarchy (i.e. not on one of the partitions within the disk but on the disk itself).  I was not getting this error with Lion on the same disk before I upgraded from Lion to ML.
    It seems like a bug in ML.  I found websites where they suggest that you just run Lion's Disk Utility and it will show the disk to be fine.
    Any thoughts?

    So, I finally seemed to have resolved things with the Seagate 4TB Firewire external drive.  If you Google about, you will find a thread on Seagate's own support forum that describes how to disable the sleep function on the drive.  You CANNOT ALLOW THE DRIVE TO SLEEP WHILE CONNECTED TO YOUR MAC.
    After a lot of reading, here's what I think is happening: the drive goes to sleep, after some period of inactivity, and when you shutdown your Mac, OS X tries to write something to the drive as part of the dismount / disconnect / shutdown process.  That fails in some manner, leaving the drive 'corrupted' at the filesystem or partition level.
    Then, on the next boot-up, Mountain Lion tells you that it cannot repair the drive and it mounts as read only.  Your only fix at that point is to re-partition / re-format and start over (which is big fun with 3TB of data to copy back on to the drive).
    If you prevent the drive from sleeping, whenever it's connected to the MacBook, then the above process doesn't occur and voila, the drive just works.  So far, I haven't had any problems with about a week of starting / shutting down my MacBook connected to the offending drive (translation: I was going to return the drive, but the problem is clearly with Mac OS X Mountain Lion).

  • DISK UTILITY Error: Partition map repair failed...

    Hi all,
    I purchased a new SEAGATE BACKUP PLUS 3T USB3.0 drive - and formatted GUID 1 partition - then ran repair disk and it showed with = "Error: Partition map repair failed while adjusting structures to fit current whole disk size"
    And I also tried 4 partitions but no help
    And I also tried formatting same on older 10.6 mac with no errors - then came back to 10.8 and error shows there...
    Can some folks please try this on there own setups to see how widespread this is...
    Criteria...
    1 - ML 10.8.2
    2 - Large external drive 2T or greater
    Q: Has anyone experienced this and has a possible solution?
    Thanks

    HI all,
    This issue has been in discussion (actively) since last August here:
    https://discussions.apple.com/thread/4218970?start=0&tstart=0
    After months and months of new reports, it's pretty clear that this is an Apple Mountain Lion problem and one that Apple needs to address.  As one frustrated user noted :
    >>There is no consistent solution for a user.  Apple has to supply it.  All you can do is submit a bug report to
    >> http://www.apple.com/feedback    
    Please, if you are encountering this problem you will save yourself a lot of wasted time and energy simply by joining me and others in asking Apple to fix this problem: Make a bug report.
    Thanks!

Maybe you are looking for

  • Vendor wise sales report

    Hi Expert, Client requirement is like this Client procure "Article-ABC"from different vendors like Vendor 1, vendor 2, Vendor 3 and client do the sale to his customers now client want to know how much "Article-ABC" sold from with respect to vendor1,

  • Can Oticon streamer 1.4 play music or map directions?

    I have a 4s iPhone and my wife has a new 5s. I have an Oticon hearing aid. Cannot get either phone to play music or map directions with the oticon streamer 1.4.  Using iOS 7. And it worked ok a week ago, but not this week???!!! Procedure I use: Get r

  • Cannot get iLOM to authenticate against Active Directory

    I'm hoping it is some sort of configuration mistake, I'll happily take the fall for misconfiguration, if it solves my issue. We have a number of different Sun systems we just purchased, and LOVE the iLOM capabilities. Unfortunately, we have not been

  • Please ask Adobe to re-think upgrade options for Suite owners

    I have sent emails, called and tweeted this same message and I hope you will too: Adobe please stop locking us into Suites. Please let us upgrade from a suite to an individual product if we choose. I own CS3 Design Standard and I only want PS CS5 and

  • IPhone 5 unable to sync with iTunes Macbook 2007

    I have the Macbook 2007 laptop, and I am unable to update my itunes because i am not running Mac OS C 7 or higher. I am not going to get a newer laptop because my new iphone will not sync with my old data, and I have photos that I do not want to lose