Skip to Content
0
Mar 29, 2007 at 08:35 PM

Unable to write monitor messages in DTP

690 Views

Hello all,

Has anybody been successful writing monitor messages into a DTP? I am using the code as documented in the online help and the document "How To...Routines within Transformations", as follows:

monitor_rec-msgid = 'ZBW'.

monitor_rec-msgty = 'E'.

monitor_rec-msgno = '001'.

monitor_rec-msgv1 = 'Test error'.

monitor_rec-msgv2 = 'Line 2'.

raise exception type CX_RSROUT_ABORT.

This causes the load to fail with an error, but the monitor only shows the following messages:

Error in substep

An exception has occurred

Exception CX_RS_STEP_FAILED logged

I know that my message type and class are set up correctly, because if

I insert the following code, I can get messages in the job log (but

still not the monitor):

message E001(ZBW) with

monitor_rec-msgv1

monitor_rec-msgv2

monitor_rec-msgv3

monitor_rec-msgv4.

Am I not looking in the right place in the DTP monitor? We are on the latest SP for BW 7.0.

I have opened a message with SAP on this but they have not replied after a month...

Thanks,

Bryan