on 02-20-2012 10:33 AM
Hi Experts,
I am new to PI, my secnario is file to MAIL.... i need to convert the xml doument in to txt file there is no FCC,i have used messageTansformBean and PayloadSwapBean..... i am bit coufusing with the parameter value Transform.ContentType if i need to convert into text i need to give the parameter as text/plan;charset=utf-8, if i need to covert in to word doc or xls which parameter value i need to use.
Is there any particular parameter values for the contentType and conversionType like for text it is like text/plan and for xml "text/xml"
If any particular parameter values please send me the solution.
content type for word document will be application/msword
for excel it is application/ms-excel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
MessageTransformBean parametrs and values:
Transform.contentType has the value charset=utf-8 and xml.conversionType has the value either StructPlain2XML/SimplePlain2XML
and refer below doc:
[MessageTransformBean |http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/16969]
..................................................
PayloadSwapBean:
swap.keyName where the attribute of payload-name is entered and swap.keyValue which holds the value of attribute
Hi,
Thanks,
only one charset is used or any other charcset if some thing else is used where can i find the charset list and also i need the list of contentType and conversionType paramenter values and we will use the StructPlain2XML/SimplePlain2XML only for convert the xml to falt file or xml file. pls corrcet me if am wrong
where can i find the charset list and also i need the list of contentType and conversionType paramenter values and we will use the StructPlain2XML/SimplePlain2XML only for convert the xml to falt file or xml file. pls corrcet me if am wrong
StructPlain2XML/SimplePlain2XML :
this can be used for converting text to xml format but you need to convert xml to plain so u can use below parameters.
1.Simple Conversion:
The XML structure of the source file should follow the same structure as the result of the SimplePlain2XML conversion.
xml.conversionType SimpleXML2Plain
2.Complex Conversion
xml.conversionType StructXML2Plain
please refer last point in below link:
http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
ex:
http://forums.sdn.sap.com/thread.jspa?threadID=1979947
Edited by: bhavanisankar.solasu on Feb 20, 2012 5:32 PM
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.