cancel
Showing results for 
Search instead for 
Did you mean: 

Trace info in XI

Former Member
0 Kudos

Hi All,

What are the necessary configurations to be done in XI to get all trace info in

SXMB_MONI. Has anybody used a user defined function to get the trace level info during message mapping. Any help is appreciated.

Thanks

Ricky

Accepted Solutions (0)

Answers (2)

Answers (2)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Sure we have

in your UDF use the following code,


AbstractTrace trace= container.getTrace();
trace.addWarning("Trace will be now seen using trace object");

The trace can be seen in MONI under the Trace window under "Application Trace"

More on this link,

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

Also, in SXMB_ADM , you can set the TRACE_LEVEl parameters to 1 , 2 or 3. 3 will give you all info all pipeline steps. But, the problem will happen in the fact that memory gets filled up when trace is 3 and so make it 3 only for debugging!

Regards

Bhavesh

Former Member
0 Kudos

Thanks Bhavesh. I am not getting request message mapping node in MONI.

Could I able to see the same after setting the trace_level in MONI.

Do i need to set it to 3.

thanks

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

yes you can see the node Request Message Mapping only after you set the trace Level to 3.

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh,

I dont have any udf defined in the current message mapping. If I want to add the trace info UDF, where should I add or create it in XI repository.

Thanks

bhavesh_kantilal
Active Contributor
0 Kudos

Hi,

Any trace that you want to add has to be inside an UDF.

Write a dummy UDF with the same input and put and then add the trace as you want and use the UDF within your source and target fields!

Regards

Bhavesh

Former Member
0 Kudos

Hi,

For getting trace info in SXMB_MONI you need to set MAPPING_TRACELEVEL parameter in SXMB_ADM and then configuration.

Also using MappingTrace object in UDF you can get trace info.

Thanks.