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
Hello, Im hoping there is an easy free fix to this issue. Im trying to have my iCal and my girlfriends iCal work seamlessly together. I want to be able to see all changes made by her and vice versa. Unfortunately neither of us have mobileMe or a serv [More]
I am trying to install Adobe Reader 10 but all I get is an "failure to initialize" message at 50%. How do I fix this?Try downloading the offline installer from http://get.adobe.com/reader/enterprise/ If you need more help, please specify your op [More]
Hello everyone. We performed an upgrade of SQL Server 2012 installation to SQL Server 2014 (with last CU5 update). We found that all SSIS packages (even the simplest with just Execute SQL tasks) fail with Unexpected termination message. The issue rep [More]
Hey I want to back-up my iTunes library but the only option 'build in' to iTunes is to burn onto disc. Which I don't want to do, as I have a new external hard-drive I want to use for storage. Is it now simply a case of dragging my iTunes folder onto [More]
Hello Experts,        I have a question on what settings to check if the shopping cart created in a system is creating Purchase order directly as Follow-on document. The scenario we are using is SRM 5.0 (Standalone) for Strategic procurement. I check [More]
Hi, I saw some code for a class which extended JFrame at the end of the constructor it says: this.setVisible(true); but of course it works when we have just: setVisible(true); I know how to use 'this' in other ways but what is the point of having it [More]
Hello ABAPERS!!! I'm a abap jr and I need your help let me explain..... On ALV Grid I added a button on the status menu, this button is for make an "advanced search data" if the data were found I need focus the cursor on the row (only one row). [More]
I've got a lot of cool seeming widgets but find that using them is more awkward than not. It seems quicker and simpler just to keep a calculator open and use info on the net. To display a bookmarked page is quicker and easier than calling up a widget [More]
Hey out there, I have noticed an issue with Safari's Pinch-To-Zoom feature. When I zoom in on a website containing specific types of buttons, the buttons appear to become full of question marks or something, instead of the button. As far as I can tel [More]
I want to mess around with Audacity, but I'm having trouble getting the right file formats. I ripped a cd to iTunes, and it appears to be in mp4 format. This doesn't seem to work with audacity. How do I convert either to aac or to mp3? I've come acro [More]