on 04-24-2012 7:03 AM
Hi experts,
I have a text format file. i need to convert the text file to xml file. but i dont have the access to trigger the text file. User has just sent me the text file and asking me to give xml file and there is a file content conversion in the communication channel but dont know how to get the xml file. Please help me out.
Hi Srinivas,
I assume, you have already a scenario in place, where you put source text file and get the desired output. Or in case of error, you can monitor that in SXMB_MONI txn. Now, once you place your text file in source folder, go SXMB_MONI and open your message for that particular interface and open the step - click on payload. you will get XML payload after content conversion. Copy it and send it to whoever you want to send.
Thanks
Aashish Sinha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Srinivas,
Please study the file content conversion first to find out the format of the output XML file.
In your case you need to create file to file scenario with input as text fiel and output as XML file.
This should not be very tough. Please follow the link http://wiki.sdn.sap.com/wiki/display/XI/Basic+File+Adapter+Content+Conversion
Hope this helps.
Regards
Anupam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ANUPAM,
you can check following link for fcc.
http://www.saptechnical.com/Tutorials/XI/Contentconversion/page1.htm
Regards
Gagandeep
create a file-to-file scenario. in source comm channel, pick your source file text file and using file content conversion convert it to xml format in source msg. just output that without involving any mapping to target xml file using file receiver comm channel. you can take a dummy interface and dummy interface namespace to configure this scenario in ID.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.