on 12-29-2007 11:37 AM
Hello all,
is there a way how to store a XML file in Design Phase( Integration Repository ) somewhere and access that file via JAVA mapping in Interface mapping to do some logic there???
Many thanks,
Milan
can u store that as a part of xsl file and use a xslt mapping
what is the purpose of storing an xml file in IR
Edited by: Arvind Kumar on Dec 29, 2007 1:06 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I want to use it as a value mapping document, so for example if in incommming element table is value ETTIFN, then mapp that value to SAP_ABC... I prefere to store that mapping in XML file and do JavaMapping SAX for incomming message, DOM for that XML stored in design phase.
Many thanks,
Milan
Hi,
you can start reading this post https://www.sdn.sap.com/irj/sdn/profile?editmode=true&userid=3484793. Pay attention to this code
InputStream is = this.getClass().getClassLoader().getResourceAsStream(filename);
This is a way to get a file, as mr. muller said in that thread, and so you can handle the inputstream as you want to get the xml and make the mapping. I think there are better ways of doing it, search for "value mapping" and you will find lots of documentation about it.
regards.
roberti
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.