Question:
Hi all,
I'm a little confused as I can't find such a simple table.
We are using the monitor statements in update rules
MONITOR-msgv1 = "Pls. Check Master Data for RTYUU".
Monitor is defined as a structure and I want to know the table the entries are located. I want to check how many
records has been added to the monitor table with msgv1 = "Pls. Check Master Data for RTYUU". but I do not know which table keeps
the data.
Any idea,
Regards,
whusten
Answer:
Have you looked at the how to guide titled - 'How to…
Create monitor entries from an update routine'. The sampe code is -
* Check cost center
* Hard-coded as an example
IF COMM_STRUCTURE-costcenter = '0000003105'. "=> Wrong Cost Center
* Create monitor message, 'E' mess in Monitor, others in Appl.log
RETURNCODE = 1.
MONITOR-MSGID = 'RSM'.
MONITOR-MSGTY = 'W'.
MONITOR-MSGNO = '799'.
MONITOR-MSGV1 = 'Cost Center '.
MONITOR-MSGV2 = COMM_STRUCTURE-costcenter.
append MONITOR.
EXIT.
ENDIF.
The message will then appear in the normal monitor you use to monitor loads.
Answer:
Hi PJ,
I know the coding, but what I'm looking for is the table where the update routine save the entries.
Monitor is a structure, but I can't find the appropriate table.
Cheers,
whusten