Skip to Content
author's profile photo Former Member
Former Member

Create Monitor Entries from Update Routine..

Hi,

There used to be a How to guide with name " How to.... Create monitor entries from update routine". I used to have that but I have deleted it by mistake. I am not finding on marketplace.

If anybody is having that please let me knwo.

Thanks for help.

Su

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 28, 2005 at 05:31 PM

    Hi,

    I don't know about the How To guide you are referring to, but here is some sample code that might help...

    • Check to see if the Resp CCTR is blank in the record being loaded

    if COMM_STRUCTURE-RESP_CCTR EQ space .

    • Create monitor message, 'E' mess in Monitor, others in Appl.log

    RETURNCODE = 1.

    MONITOR-MSGID = 'RSM'.

    MONITOR-MSGTY = 'E'.

    MONITOR-MSGNO = '799'.

    MONITOR-MSGV1 = 'Responsible Cost Center not found.' .

    MONITOR-MSGV2 = 'Order number = ' .

    MONITOR-MSGV3 = COMM_STRUCTURE-COORDER.

    append MONITOR.

    EXIT.

    ENDIF.

    • Check to see if the Sales Disrict is blank in the record being loaded

    if COMM_STRUCTURE-SALES_DIST EQ space .

    • Create monitor message, 'E' mess in Monitor, others in Appl.log

    RETURNCODE = 1.

    MONITOR-MSGID = 'RSM'.

    MONITOR-MSGTY = 'E'.

    MONITOR-MSGNO = '799'.

    MONITOR-MSGV1 = 'Sales District not found.' .

    MONITOR-MSGV2 = 'Cost Center = ' .

    MONITOR-MSGV3 = COMM_STRUCTURE-RESP_CCTR.

    append MONITOR.

    EXIT.

    ENDIF.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.