Fixed length file to xml file
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
Similar Messages
-
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 -
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.
-SudheerThanks 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 -
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 -
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 -
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) -
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 -
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 -
How can convert HTML file into xml file?
Hi,
I am receving one HTML file as an input and i want to convert that receiving(html file) into .xml file.Is there any converter (tools)to do this.Pls if any give me the details with regard.
Regards,
mahesh.Use the HTMLEditorKit to parse the html file.
this kit is having the callback methods which
are called wenever the tag appears in the HTML
stream. -
How to convert Xls file into Xml file
Hi,
I am trying to convert Xls file into Xml but there is no any direct procedure for it
Pls help me out to convert Xls file into Xml file
Thanks
Anushreeyou will require to write a module in your file adapter for the same.
ref: /people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter as mentioned in the earlier post.
Else you can also use Conversion Agent to read the same.
Ref: http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/content.htm -
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> -
Java code for converting EDI file to XML file
Dear friends,
Can you please help me in getting the java code for converting to EDI file to XML file.Hi,
You can convert the EDI file to XML in any of the ways
1) Using third party seeburger adapters
2) Conversion agent
3) Stylus studio.
I think using java code it will be very difficult.
Thnx
Chirag -
Conversion of xls file into xml file
Hi,
i want to convert xls file into xml
pls let me know the procedure for it
ThanksHi Anu,
U can use FM <b>SAP_CONVERT_TO_XML_FORMAT</b> to convert data to XML.
Or u can use some threads related to this FM. So that u can get better idea about this.
Check this link also
conversion of xls file into xml file
regards,
raghu -
I can't open any documents from my son's iPad. Error message: the required index.xml file is missing. How do I fix this error so that I can open his Pages documents? Before I ran the latest update as prompted when I opened Pages, I WAS able to open and view the document.
I did try restoring Pages using my Time Machine, but it still won't open the Pages document.
I have a brand new iMac that I just set up last week.
Son uses iPad at school, so we update when the school asks him to update. Will doublecheck his version of Pages but it should be pretty recent.
In general I don't like using Pages because it lacks a lot of the backwards / forwards compatibilty of Microsoft Word.
However, it is what my son uses with the iPad.
Most of the time I have to export his files as WORD files because we never seem to have compatible versions of Pages between the iPad and the desktop iMacs.
Where can I recommend that Apple improve its compatibility issues with Pages?
This week I am going to receive a new iPad at my school (I am a teacher) but I am 100% certain that it will not be compatible with the older version of Pages on my classroom iMac. I also avoid using Keynote for the same reason. I have 15 year old Power Points that I can still open, but I am hesitant to switch over to Keynote because I want to be able to open my files any time, any where.
Please advise.Not sure what v5 is. Someone helped me and opened it through Pages 5.2, through the program, rather than the Finder. Thanks for making a suggestion!
-
Special charactors found in out put file of .xml file in file adapter
Hi ,
Dear all,
I am working on Sender File adapter picking files from the multiple Directories which are specified in a single CC and these files are placed in the different receiver directories in different CC's metained paths of the receivers
The Souce is XML.
When I use the receiver format as .csv,.txt it the out put is as excepted,when i give the receiver format as .XML the output file contents:PK (An invalid character was found in text content. Error processing resource 'file:).
Pl let me know how to tackle thsi situation.
Thanks,
SriniHi
Also try with the following UDF.
public class XmlUtil {
char[] specialCharacters = { '&', '<'>', '\'' };
String[] replacementStrings = { "&", "<">", "'" };
public static String sanitizeText( String text ) {
StringBuffer buffer = new StringBuffer( text );
for( int i = 0; i < buffer.length(); i++ ) {
for( int k = 0; i < specialCharacters.length; k++ ) {
if( buffer.charAt(i) == specialCharacters[k] ) ) {
buffer.replace( i, i + 1, replacementString[k] );
i += replaceString[k].length;
} else if( (int)buffer.charAt(i) > 128 ) {
String replacement = "&#" + (int)buffer.charAt(i) + ";";
buffer.replace( i, i + 1, replacement );
i += replacement.length();
return buffer.toString();
Regards
Abhishek Mahajan
Maybe you are looking for
-
How long for updates and bug fixes usually?
I'm new to Logic and even new to Macs. I'm just wondering how long does it usually take for Apple to release bug fixes and updates to Logic? Also, how long did Apple take to get around to providing worthwhile updates to Logic 7? Were there substantia
-
MIDLET working fine in emulator but not working on mobile!
hi, i have an application which sends http request (get), it works fine in an emulator but when i install that application onto P900 sonyerricson it doesnot send the request and after sometime gives symbian os error:-33 pls. let me know the solution!
-
PartDetail not showing for items
Hi, I'm having a strange issue where part detail isn't showing for items. [Here's what should be showing|http://img232.imageshack.us/img232/2007/partdetaildz5.png], but no information is returned. The add button is also missing. Does anyone know why
-
HOW TO USE MS-ACCESS IN JDBC...
GUYS...plz help me , i want to retrive the data from the database...stored using ms-access.
-
Hello all master...i have one question. I need to build an application and it is about modeling for landslide. So i need some advice from you all. Which one between java or fortran is suitable as programming language for my project. For example softw