on 03-13-2008 9:12 PM
Hello ,
I have a Mapping program using java class type (Java SAX in this case). I need to access some Runtime constants and the mapping trace object.
In message mapping is simple. We can use the container object that is pass to a UDF and the GlobalContainer Object.
But how can I access the Runtime constants and mapping trace without a container object ?.
Any ideas...?
Thanks in advance.
Yuvan D.
in Your java mapping class
you should import import com.sap.aii.mapping.api.*;
public void execute(InputStream input, OutputStream output)
throws StreamTransformationException {
AbstractTrace trace = null;
String RESULT = new String();
trace =
(AbstractTrace) param.get(
StreamTransformationConstants.MAPPING_TRACE);
..........
trace.addInfo(doc.toString());
}
http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.