Skip to Content
0
Former Member
Jul 23, 2010 at 06:19 PM

How to write more fields into 'monitor_rec-msgv' of the start routine?

162 Views

Hello Guys,

how is it possible to populate 2 fields of the source package into an error message monitor_rec-msgv2?

LOOP AT SOURCE_PACKAGE ASSIGNING <source_fields>.

IF <source_fields>-tctsysid = '12'.

monitor_rec-msgid = 'RSM'.

monitor_rec-msgty = 'W'.

monitor_rec-msgno = '799'.

monitor_rec-msgv1 = 'SystemID' <source_fields>-tctsysid .

monitor_rec-msgv2 = <source_fields>-TCTOWNER <source_fields>-CALMONTH.

APPEND monitor_rec TO MONITOR.

ENDIF.

ENDLOOP.

Regards, Stephan