on 11-25-2009 10:39 AM
Hi Experts
This is regarding a specific scenario where I have to generate RTF files as reports on the output side of an interface invoving SAP Xi 3.0
the scenario is as follows
SAP XI receives data from an Outbound proxy and the files that have to be created are of the nature : 5 .txt and 5 .csv and 5 .RTF's , we have planned to use multi maping but i have two main questions
a) Can we use just one mapping for .txt and .csv files , since the source data is the same and both formats are almost the same , and one mapping seperately for RTF formats ??
Since we plan to create these 15 files only at the adapter level so i think File Content Conversion will be the main player
b) Do we have to use XSLT mapping for creating report files in RTF format ?? is the normal File adapter shipped with XI 3.0 unable to cater to this ..???
I am new to XSLT so wanted to know how difficult is it ...and the creation of these RTF files ...considering the fields in the mapping are just 7 ..which need to be written on to RTF files
Kindly help
Thanks
Dev
Hi Dev,
When you refer to multi-mapping, it means single mapping object which will generate different target structures... So in case there will be only one mapping, which will be generating 15 target structure... even if the structures (for csv and rtf) are almost same i would suggest to have different data type (and hence message type) so as to avoid confusion...
>>Do we have to use XSLT mapping for creating report files in RTF format ?? is the normal File adapter shipped with XI 3.0 unable to cater to this ..???
No File adapter cannot do this.. either use java module or XSLT in the receiver channel..
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Look for existing RTF java toolkit, like :
http://1t3xt.info/examples/browse/?page=example&id=416
maybe others exist if iText doesn't fulfill your requirements ...
Rgds
Chris
Hi Dev,
>>However it would be great if you can help me with some links on XSLT mapping specific to creating RTF documents
or otherwise
Try google, but just for start you can see these links
http://articles.techrepublic.com.com/5100-22_11-5078001.html
http://p2p.wrox.com/xslt/46457-xslt-rtf.html
>>I mean how can we use the same in receiver determination to create RTF format documents
Did you mean interface mapping used in Interface determination?? You need to use this XSLT mapping in the receiver communication channel... On how to call the XSLT mapping in receiver channel refer these blogs:
https://weblogs.sdn.sap.com/pub/wlg/3823 [original link is broken] [original link is broken] [original link is broken]
Regards
Suraj
Hi Dev,
> a) Can we use just one mapping for .txt and .csv files , since the source data is the same and both formats are almost the >same , and one mapping seperately for RTF formats ??
One Mapping is enough [the source and target structures are same], but we have to create 3 communication channels.
In the interface determination don't mention any condition if you want to generate all the files at a time.
> I am new to XSLT so wanted to know how difficult is it ...and the creation of these RTF files ...considering the fields in the mapping are just 7 ..which need to be written on to RTF files
I am not aware of RTF files, but XSLT mapping not difficult, in XSLT mapping some tags are there like HTML, so we have to know that tags.
Check this link
http://www.w3schools.com/xsl/xsl_for_each.asp
Regards
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.