Message Mapping Error in Text File to XML file Scenario
Hi Gurus,
This is Sudheer...I am New to SAP-PI......
Below link is File to File Scenario(Text File to XML File)...
https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/basicFileAdapterContentConversion
I am facing Message Mapping Error....I am not able to map the fileds...
Please help me.
-Sudheer
Thanks Shabarish & Manisha for your reply....
Ya I am getting error while I am testing in IR....
I dont know how to map the fields that shown given below...
Message Type --- Message Type
Record Employee
Header EmployeeID
Key Name
EmpID Company
Name Phone
Company Prior_Employer
Phone Company
Detail Location
Key
Company
Location
Similar Messages
-
BIC mapping error with Text as trasnfer mode & File type
Hi guys,
I am using ftp adapter in my sender channel and also using BIC mapping in the sender side.
When i specify "Binary" as my transfer mode as well as File type, It is working fine.
When i specify "Text" as my transfer mode as well as File type, i am getting the below BIC mapping error. According to client requirement i am supposed to use Binary. Can anyone help me on this.
SEEBURGER BICXIADAPTER --- CONVERSION ERROR ---Error: [Error:ID=2023;LEVEL=1] InhouseDocReader readNextSegment(): offset[12(read Segment : BILLINGHEADER)]: caught ReadingException: only whitespaces as fill characters allowed!, Trace: [com.seeburger.jucon.dochandler.util.WrongFormatException: only whitespaces as fill characters allowed! at com.seeburger.jucon.dochandler.inhousereader.InhouseSegmentReader.readNextSegment(InhouseSegmentReader.java:384) at com.seeburger.jucon.dochandler.inhousereader.InhouseSegmentReader.readNextSegment(InhouseSegmentReader.java:193) at com.seeburger.jucon.dochandler.InhouseDocReader.readNextSegment(InhouseDocReader.java:2399) at com.seeburger.jucon.dochandler.InhouseDocReader.moveNext(InhouseDocReader.java:1818) at com.seeburger.jucon.mapping.E2X_DT_BILLINGDATA_2.main(E2X_DT_BILLINGDATA_2.java:991) at com.seeburger.jucon.mapping.Mapping.run(Mapping.java:2313) at com.seeburger.jucon.seebicapi.BICMapping.runMapping(BICMapping.java:1636) at com.seeburger.jucon.seebicapi.BICMapping.run(BICMapping.java:2386) at com.seeburger.jucon.seebicapi.BICMapping.startSyncMapping(BICMapping.java:1343) at com.seeburger.bicxiadapter.CCIInteraction.convert(CCIInteraction.java:1167) at com.seeburger.bicxiadapter.CCIInteraction.convertCalledFromModule(CCIInteraction.java:873) at com.seeburger.bicxiadapter.CCIInteraction.execute(CCIInteraction.java:294) at com.seeburger.bicxiadapter.module.CallBicXIRaBean.process(CallBicXIRaBean.java:363) at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl0_0.process(ModuleLocalLocalObjectImpl0_0.java:102) at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:292) at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0.process(ModuleProcessorLocalLocalObjectImpl0_0.java:103) at com.sap.aii.adapter.file.File2XI.send(File2XI.java:3672) at com.sap.aii.adapter.file.File2XI.processFtpList(File2XI.java:2408) at com.sap.aii.adapter.file.File2XI.invoke(File2XI.java:630) at com.sap.aii.af.service.scheduler.JobBroker$Worker.run(JobBroker.java:513) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:219) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172) ] DESCRIPTION: InhouseDocReader causes an ReadingException while trying to read the next segment of current file, abortHi Pratichi,
in my point of view having text as the file type,the file will be having characters that are used for Segment separators or Element separators ( like space ) in the standard EDI format message. Hence it is throwing exception in X2E mapping. It is just my point of view but not sure.
Thanks,
Shabbir. -
403 Error Transmitting the message to endpoint for XML file to XML file
Friends,
This is my 4th day learning XI and getting below issue.
I'm trying to follow the steps to transfer XML file to XML file scenario and when I drop the sender XML file, it seems the file has been picked-up but it does not generate the output file.
I checked in RWB for the message and found below error:
2008-01-04 13:09:48 Error Transmitting the message to endpoint http://sappc:8000/sap/xi/engine?type=entry using connection AFW failed, due to: Received HTTP response code 403
I tried to access http://sappc:8000/sap/xi/engine?type=entry from new browser window and I get the same error "403".
I'm able to access http://sappc:8000 fine.
I would appreciate help on this.
Thanks in advance.
HetalSorry! you were correct I was looking at wrong file adapter. The message is error: (It gives 401 error during XICACHE update)
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Receiver Identification
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="XICACHE">UPDATE</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>HTTP status code401 Unauthorized</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>An error occurred when refreshing the XI runtime cache</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error> -
Message Mapping Problem with UTF-16LE Encoded XML
Hello,
we have the following scenario:
IDoc > BPM > HTTP Sync Call > BPM > IDoc
Resonse message of the HTTP call is a XML file with UTF-16LE processing instruction. This response should then be mapped to a SYSTAT IDoc. However the message mapping fails "...XML Parser: No data allowed here ...".
So obviously the XML is not considered as well-formed.
When taking a look at SXMB_MONI the following message appears: "Switch from current encoding to specific encoding not supported.....".
Strange thing however is if I save the response file as XML and use the same XML file in the test tab message mapping is executed successfully.
I also tried to use a Java Mapping to switch encodings before executing message mapping, but the error remains.
Could the problem be, that the codepage UTF-16LE is not installed on the PI system ? Any idea on that ?
Thank you!
Edited by: Florian Guppenberger on Feb 2, 2010 2:29 PM
Edited by: Florian Guppenberger on Feb 2, 2010 2:29 PMHi,
thank your for your answer.
This is what I have tried to achieve. I apply the java conversion mapping when receiving the response message - i tried to convert the response to UTF-16, UTF-8 but none of them has helped to solve the problem.
I guess that using adapter modules is not an option either as it would modify the request message, but not the response, right? -
Getting error when try to upload xml file into Data Template
Hi,
Getting error when try to upload xml file into Data Template.error:"The uploaded file XXSLARPT.xml is invalid. The file should be in XML-DATA-TEMPLATE format."Plz anybody help me.
Thanks,
Prasad.Hi,
Anybody Help Plzzzzzz.
thx,
Prasad -
Error in retrieving and parsing XML File
Hi Folks
I am Working on People centric user interface, While i am custimizing a application in Business application Builder i am getting this error
" Error in retrieving and parsing XML File "
can any body look on this and give me the solution
it will be rewarded
Regards
M.S.KumarHello,
As mentionned by SAP_TECH, avoid to use the BAB.
Go to CRMC_BLUEPRINT_C and use the different option in the menu to customize the field group, toolbar group, events, ...
Use the PCUI cookbook to find your way.
Regards,
Fred -
How to convert a Form to a Text file and XML file?
Hi:
I want to convert a Form to a Text file and XML file,but I don't know how convert?
Please help!
Oracle Form Builder V10.1.2.0.2
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
Thanks in advance!..or follow the steps in Mtalink note; Doc ID: Note:196924.1
Forms XML Conversion Feature ( Converting Forms To XML) -
Importing Arabic text from an XML file
Importing text from an XML file to appear as text in Flash
works in English, however if the text I want to import is in
Arabic, when I test the movie there is no text at all.
Is there some particular syntax to preface the Arabic text?
I'll want to import text from XML in other languages too.
(French)
I'd cut and pasted some Arabic text into the XML file that
displays pictures and text in the "slideshow.fla" (
http://www.adobe.com/support/flash/applications/jpeg_slideshow_xml/jpeg_slideshow_xml03.ht ml)
Substituting Arabic text for English text, editing the XML
file with Dreamweaver.
Any ideas as to how I might achieve my objective of importing
Arabic text into Fash?
I'd started developing my prototpe in Macromedia Director 7,
and then Director MX, but I have not found a suitable Arabic font
that I can embed that will allow me to display Arabic fonts in
Adobe Director. I have the Arabic text in a Word document.
I've dicovered that my Flash MX Pro and Dreamweaver both
support Arabic fonts, but I want to import text from an XML file.
I'd prefer using cast libraries and cast members, but I don't
know of an equivalent in Flash to what I'm comfortable with in
Director.Oh so many questions. You probably aren't going to like the
answers. I have Flash MX04 pro (aka Flash 7) and things made a big
jump between MX (aka 6) and MX04. If you only have MX, there might
not be a way to do this. All my advice is based upon MX04 or
higher.
It is possible to do complex languages in Flash. My
experience is with Hindi and I've helped a few folks here with
Arabic.
You won't be able to use text from Microsoft Word – at
least I don't think so. The XML file will need to be saved in the
UTF-8 format. I think Word uses its own scheme and won't work. But
I'm not a Word expert. Something like Text Edit (Mac) or WordPad
(PC) should be able to save a UTF-8 file.
The next problem is you mention "suitable Arabic font that I
can embed." AFAIK, you can't embed any of the complex scripts in
Flash. You just have to rely on the end user having appropriate
fonts installed and enabled. Most operating systems from 2000 on do
have this – although some folks like to remove them to save
space.
Next issue will be line composing. I've found that when using
anything above the normal Latin range that Flash suddenly forgets
how to make a line fit into a text area. It will just break things
in the middle of words and not even notice the spaces between
words. I've written a little snippet of code that "composes" the
lines. It works well with Hindi and folks here have used it with
Arabic and not come back saying that it doesn't work. Search the
forums (both the Flash and Actionscript) if you can't find it I'll
dig it out when I get home.
So here is the checklist:
Make sure the XML is saved in UTF-8
Import the XML file
In Testing environment go Debug–>List variables.
Does it show up correctly there?
Does it show at all in a text field?
Use the "composer" to make the lines break. -
Help needed badly Insert text data from xml files into tables
Hi all, I have asked to do insertion of text from a xml file into tables upon receiving using pro*c. i've done quite an amount of research on xml parser in c but there wasn't much information for mi to use for implementation...
Guys don't mind helping me to clarify few doubts of mine...
1. Where can i get the oracle xml parser libs? Is it included when i installed oracle 8i?
2. Is there any tutorials or help files for xml parser libs where i can read up?
I need the xml parser to recognise the tags, followed by recognising the text after the tags.
eg. xml format
<studentID> 0012 </studentID>
<student> john </student>
<studentID> 0013 </studentID>
<student> mary </student>
text willl be inserted into tables like this:
studentID | student
0012 | john
0013 | mary
by the way i'm using oracle 8i on HP-UX. Thanks in advance.I can answer one of of your questions at least
1. Where can i get the oracle xml parser libs? Is it included when i installed oracle 8i?You need the XML XDK. You can use http://www.oracle.com/technology/tech/xml/xdkhome.html as your starting point. I believe the 9i version works for 8i.
I have no pro*c experience so I can't offer any other suggestions regarding how to do this in pro*c. -
Hi all,
I have low experience with XI but I have created a scenario XML file to XML file (reference wiki.sdn.sap.com) where sender e receiver files are located into XI folders . The steps defined are :
product;
software component;
technical system (thirdy-part);
business system;
import sofware component into integration repository;
namespaces;
data type (sender/receiver);
message type;
message interface;
message mapping;
interface mapping;
configuration scenario into integration config.;
assign business system;
communication channel;
file adapter with source e destination directory (folder XI), file name e processing parameters;
receiver and interface determination
sender and receiver agreement.
When put the input file into sender folder I don't have output file and sxmb_moni is empty for XML message.
Thanks in advance.
MikiHi Maurizio,
you don't see anything entering inside your sxmb_monitoring: do you mean that the payload is empty or that you don't see any messages in the overview table?
If you don't see any messages, this means that in the message is not send from your adapter engine towards your integration engine.
Check wether:
1) your communication is set up properly and is active
2) your communication channel is functioning correctly via communication channel monitoring in the runtime workbench (goto the integration builder --> runtime workbench --> Component monitoring --> click on display --> click on adapter engine --> click on communication channel monitoring --> search for you communication channel and check for errors.
3) check your sender agreement
If you have an empty payload, check your payload in the first step of your message pipeline and check wether the payload has the expected layout.
Kind regards
Joris -
Hi,
Fixed length file to xml files.
i have to generate 2 xml files based on a field in the incoming file. structures of both xml files are same.
I want to know how many target data type ,target msg interfaces have to be created?
Thanks.Ok got you. Best thing would be to use a simple OS command copy in your receiver communication channel. So do one mapping and generate one file and then use the OS command in receiver comm. channel after message processing then it should work for you.
Regards,
---Satish -
hello
I am having a scenario a flat file to XML file. in the comm. channel of the sender I made a content conversion to the file and I see in the SXMB MONI and it looks ok. the output file, is declared as a file and I recieve an empty xml file.
what am I missing?
why it doesnt go out through the mapping that I declared so I will get a valid XML with its data?
KfirHi,
Please can you take the Sender side Payload from SXMB_MONI and try to test the mapping in Message Mapping ---> Test Tab.
See if you are getting the same results. Even check if you have properly map the Header nodes in Mapping.
Thanks
Swarup
Edited by: Swarup Sawant on Aug 4, 2008 8:08 AM -
I recently had to restore my computer and in the process of backing up my music library, half of my library from the letter 'm' onward was deleted.
I want to see if I could use the existing .itl file or .xml file that was automatically saved by iTunes in the iTunes folder previously (which I backed-up in my external drive) to view my past library.
I tried importing the library by going to File > Library > Import Playlist, but I got an error that said:
"Some of the songs in the "iTunes Music Library.xml" were not imported because they could not be found.
The .itl file was no help either in this case.
IS THERE ANYTHING I CAN DO?How did you try to make use of the .itl file? Double-clicking on .itl files doesn't switch libraries but opens whatever is currently the default library. To switch between library files either press and hold down shift as you launch iTunes until prompted to choose or create a library, or swap out one library file with another as described in Empty/corrupt library after upgrade/crash.
There is also a link there to tips on recovering media from your device or account history. You may also be able to undelete media from the drive if the space it occupied has not yet been reused.
tt2 -
PeopleCode to "Save As" - convert an excel file to XML file
All,
Is there any way to convert an excel file to XML file via PeopleCode? I can manually "Save As" an excel file to be an XML file, but is there anyway of doing it via PeopleCode? I guess it would be a little possible via VBScript, but since by App server resides on a Unix box, that would not work.
Any help would be really appreciated.
Thanks,
ManiThe attached zip file contains several VI's to read and write directly to Excel using ActiveX. There are several example VI showing how to use everything. This set is saved in LabVIEW 6.0.2.
I suggest you unzip these to your user.lib directory so you'll be able to easily access them from the functions palette.
I have not actually used these, but others that have say they have worked well for them.
Good Luck
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
Attachments:
excel_lv6i.zip 898 KB -
Hi Expets!
I have a requirement to convert Excel file to XML file. This is new to me . When i serach in SDN i came to know that we want to create an EJB Module. I am not having much knowledge in Java bean. we are using the PI7.1 version.
I need to know what is the basic requirements for creating this EJB Module and also some inputs for how to start with this scenario.
Thanks and Regard's
Preethi.u have to create a adapter module for the same...
/people/shabarish.vijayakumar/blog/2009/04/05/excel-files--how-to-handle-them-in-sap-xipi-the-alternatives
http://wiki.sdn.sap.com/wiki/display/ABAP/AdapterModuleToReadExcelFilewithMultipleRowsandMultiple+Columns
/people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter
Libraries for adapter module development:
http://wiki.sdn.sap.com/wiki/display/XI/Where%20to%20get%20the%20libraries%20for%20XI%20development
how to create adapter module in PI7.1:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa
Maybe you are looking for
-
I cannot now email photos after upgrading to OS 6.1
I upgraded my iPad to OS 6.1. . Ow when I screen grab a photo and then email it, the email is no longer sent.
-
I'm sorry if this doesn't make very much sense but it's an incredibly aggravating issue. My computer was purchased by a separate account with iPhoto, Pages, Keynote, Numbers, and other additional applications already installed. I have been trying to
-
Why does the calendar not show dots since the IOS 6 upgrade
Since I upgraded to IOS 6 the dots don't appear on the calendar when looking at the monthly view. Is there a setting for this that needs changing?
-
Complaint for my 95 years old grandparents. Verizon so inconsiderate!!!
First off, Verizon does make it impossible for consumer to file a complaint. And am very disappointed with the service provided and the service of the agent. I'm the granddaughter of the account holder. Both of my grandparents are in their mid 90s, s
-
Process: Adobe Edge Animate CC 2014.1 [70200] Path: /Applications/Adobe Edge Animate CC 2014.1/Adobe Edge Animate CC 2014.1.app/Contents/MacOS/Adobe Edge Animate CC 2014.1 Identifier: com.adobe.Adobe Edge Ani