cancel
Showing results for 
Search instead for 
Did you mean: 

UDF get MappingTrace

Former Member
0 Kudos

Hi everybody,

does anybody of you has a sample how to get the mapping trance via UDF?

java.util.Map map;

map = container.getTransformationParameters( ); 
MappingTrace mt = (MappingTrace) map.get(StreamTransformationConstants.MAPPING_TRACE);
return Const;

This does not work as the Inetrface MappingTrace has no get-Parameters.

Regards Mario

Accepted Solutions (0)

Answers (1)

Answers (1)

Shabarish_Nair
Active Contributor
0 Kudos

http://help.sap.com/saphelp_nw04/helpdata/en/c8/98e7d5c1620642973565ea3dd319d1/content.htm

you can use the Methods of the AbstractTrace Object to write out trace messages;

void addInfo(String message);

Adds a message message to the mapping trace with the trace level info.

void addWarning

(String message);

Adds a message message to the mapping trace with the trace level warning.

void addDebugMessage (String message);

Adds a message message to the mapping trace with the trace level debug.

Former Member
0 Kudos

Thx,

but as UI wrote: I want to read not write.

Regards Mario