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
can any one help with my WiFi problem. My iPad doesn't connect to my home WiFi; but my Toshiba Laptop does? and my iPad works in other places but not at home????Some things to try first: 1. Turn Off your iPad. Then turn Off (disconnect power cord for [More]
Hello, I've been teaching computers to 4th, 5th, and 6th graders for nearly 17 years.  I started with DOS, went to Windows95, then found out that computers don't need to freeze up 5-10 times a class period, when we switched to Macs (OS 9).  Anyway, I [More]
Hi Experts, Can you tell me how we can how we can ditinguish unrestricted stock and qualiy stock in APO In our sceneraio, Right now Business able to issue un restricted stock and quality stock both, thts problem User able to issue both unrestricted a [More]
I am a new user from PC. I have some hard disks in NTFS format. When I plugged in these hard disks into the docking, I could only read my documents on these hard disks but can't create a new folder or write-in things into the drives.Both Kappy and Al [More]
Our Church uses a HRV-HD1000u camcorder for the last two years it would be recognize by computer when tape is turned on.  Recently when the camcorder is turn on the compu.ter doesn't recognize the camcorder.  I have tried another computer and the cam [More]
I have my mail messages set to show the last 1000 messages but they are purging after the last 25 messagesThe Show Most Recent setting for email has nothing whatsoever to do with deleting email. Are you also accessing this email account with an email [More]
When building the kernel26 package, does it use the flags specified in makepkg.conf?No. The kernel uses a set of optimisations known to work for the kernel on the specified architecture. It is not recommended to change these, but i believe they are i [More]
My office is setting up a new gateway server.  I can connect to the old one just fine, but the new one is not allowing me to connect.  I can connect from my Windows VM, but not my Mac Client.   This is the log: 2014-Nov-26 16:09:10] RDP (0): Final rd [More]
As subject -- how can I do this: WirelessRouterA <-> WirelessRouterB <-> CableModem <-> Internet RouterA and RouterB are in two different locations, hard to wire.You should get a wireless bridge for the router that is in the location awa [More]
Can anyone tell me how to get abutton for every row of a table.This button is used for selecting taht particular row. Thanks in advanceCreate a table region in Jdev. Then right click on it New--> Choose Single Selection. Thanks --Anil                 [More]