Sitemap

Amicuk Programming Answers

BaseRuntime Exception during Message Mapping

2015-10-11   Views:0

Advertisement

Hi I am performing the scenario File --> XI --> File I want to do the File content Conversion (FCC) only at the Receiver side. My source file(Message Type) is XML which looks like as below: <?xml version="1.0" encoding="UTF-8"

Hi I am performing the scenario File --> XI --> File
I want to do the File content Conversion (FCC) only at the Receiver side.
My source file(Message Type) is XML which looks like as below:
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:MT1_FCC xmlns:ns0="http://accenture.com/xi/F2F">
- <Name_>
- <Name>
  <FName>abc</FName>
  <MName>bcd</MName>
  <LName>cde</LName>
  </Name>
  </Name_>
  </ns0:MT1_FCC>
My target file would be the text file which will look like as follows:
abc#bcd#cde
However at runtime the Error is thrown with BaseRuntimeException in Message Mapping which simple one to one mapping from source message to target message . the source and the target message are same.
The Error message is as follows:
<Trace level="1" type="T">RuntimeException during appliction Java mapping com/sap/xi/tf/_MM_FCC_</Trace>
  <Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XML Declaration not allowed here.(:main:, row:1, col:8) at com.sap.aii.mappingtool.tf3.Transformer.checkParserException
Kindly Look into the Issue..

The replay answer
Advertisement
Hi i think you are getting confused by the Sorce Structure...
Ok lemme retype it for You and please then tell me the necessary parameters needed to convert the source xml file into the target text file
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT1_FCC xmlns:ns0="http://accenture.com/xi/F2F">
   <FullName>
      <Name>
         <FName>abc</FName>
         <MName>bcd</MName>
         <LName>cde</LName>
      </Name>
   </FullName>
</ns0:MT1_FCC>

Go to See the other 6 answers

BaseRuntime Exception during Message Mapping

Category:DefaultRelease time:2015-10-11Views:130

Hi I am performing the scenario File --> XI --> File I want to do the File content Conversion (FCC) only at the Receiver side. My source file(Message Type) is XML which looks like as below: <?xml version="1.0" encoding="UTF-8"[More]

Error while activating any message mapping in IR: very strange

Category:DefaultRelease time:2015-10-11Views:130

hi forum i m getting an error in IR while activating any messageMapping. the error is too long to be posted....i m posting a few lines of that: •     Internal error while checking object Message Mapping MM_sdptestFileToFile | http://sdzpoc.com.test/s[More]

Error while activating message mapping

Category:DefaultRelease time:2015-10-11Views:130

Hi, We are trying to activate message mappings and getting error as CHECK_EXCEPTION and in error details its showing that usr/sap/server.........................../classpath_resolver/Map.......................no such file or directory......... What c[More]

Error while opening Message Mapping

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I have one MM in ESR, IDoc to EDI, it has been developed before, and the interface is working successfully.But when I open this MM in ESR, it given a STOP error with desc as 'For input string: ""'. and then there is nothing displayed on[More]

PI 7.11: IDoc Message mapping

Category:DefaultRelease time:2015-10-11Views:130

Hi there, I'm currently working on a graphical message mapping using IDoc HRMD_A06 as source structure (HR master data transferred via PFAL). In my result structure I have to fill a field CostCenter with the following logic: If field KOSTL (cost cent[More]

Message Mapping activation error-Source code has syntax errors in UDF

Category:DefaultRelease time:2015-10-11Views:130

Hi all, I wrote a small UDF for sum of 2 numbers: import udf.* public String getsum(String a, String b, Container container) throws StreamTransformationException{ int c = Integer.parseInt(a); int d = Integer.parseInt(b); int e = packageDemo.getSum(c,[More]

How do I resolve error message "mapi was unable to load aplzod.dll"? Outlook2010 on Win7

Category:DefaultRelease time:2015-10-11Views:130

Attempts to open Outlook calendar files (apparently located) on iCloud result in the error message "MAPI was unable to load the information service C:\PROGRA~2\COMMON~1\Apple\Internet Services\APLZOD.dll". Be sure the service is correctly instal[More]

How to use the variables used in the message mapping

Category:DefaultRelease time:2015-10-11Views:130

Hi , In the message mapping we can declare variables in the JAVA section , these variables could be used across the mapping . I have tried using it but I am unable to retrieve the values assigned to the variables in one UDF into the another UDF . Ple[More]

To get exception value in Message Mapping

Category:DefaultRelease time:2015-10-11Views:130

Hi folks, I would like catch bpm step exception in one message mapping, for example: I have create on ccBPM using one block, in block i have createad "ex" exception variable and set ex in all step (send and transformation), i have created one ex[More]

Message Mapping error in UDF

Category:DefaultRelease time:2015-10-11Views:130

I am receiving errors when trying to activate my MM.  I believe the issues are in one of two UDF's.  These UDF's do work in another MM without error.  Below are the error's and UDF's. ERRORS: Activation of the change list canceled Check result for Me[More]

Error Activating Message Mapping

Category:DefaultRelease time:2015-10-11Views:130

HI All, I am getting the below error when i try to activate any message mapping in the IR. Any ideas? " Starting compilation  Source code has syntax error:  java.lang.NoClassDefFoundError: com/sun/tools/javac/Main Exception in thread "main"[More]

Hot
Hi Experts, S_ALR_87012089 report displays the changes to vendor master. However in ECC 6.0, the same report is not displaying the details of the change ('old' and 'new' ) value, wheras it was in 4.6 C. Now in ECC 6.0 it just says whether 'Created' / [More]
Hi Gurus, Can anyone please tell me how to go about writing LSMW's for open notifications,open sales order & open service order. This is for service processing in CS ,where has the scenario is  Create Notification (IW51) --> create Sales Order(Mult [More]
I have tried troubleshooting several ways and the some computers work and others don't. How can I connect 6 wireless computers to Airport Extreme?Matt Is it possible to speak on the phone?  The situation is so convoluted it might be easier to help me [More]
When I click on "Restore iPhone" or "Check for Update" a dialog box opens up. Equipment: MacBook Pro iPhone 5s Versioning iPhone IOS is up to date (e.g. 8.3) iTunes is up to date (e.g. 12.1.2) iPhone is synched and backed up to iTunes [More]
I'm new to java, please help me i have this problem. When i choose the item in the combo box for the first time, i get the selected table, but when i choose the other item in combo box, the previous table is still remain in the panel instead of the n [More]
Hello if my knowledge is correct, the address book is stored in the o=piservdb tree in the Directory server. but how is that data stored? because when I export an ldif of o=piservdb tree and i look for a certain user which i know has nearly 2000 cont [More]
I bought adobe Photoshop elements 12 and adobe premiere elements 12, but my laptop does not have a cd drive, how do i download it?Rbunger27 you can download the trials of Photoshop Elements and Premiere Elements from the following links: Photoshop El [More]
I've been having a look at postgresql for OS X Lion Server and was planning to use it for setting up virtual mailboxes, rather than adding a real new user to the machine every time I need a new mail user. However, it appears that the pgcrypto module [More]
Hello,  I am working in an Enterprise company.  All computers are Windows 7 + Office 2007 SP3.  I need to prepare a Silent installation of Lync 2013.  I created a basic config.xml file and configured a new msp file with all setting needed.  This is t [More]
Hi, After configuring we will do integration testing, expain me with the example and i n case if we find any errors,how will we analyze that it's a development error or the configuration error or the master data error?or even in terms of support? Ple [More]