Skip to Content
avatar image
Former Member

Notification Custom Fields Data Control & Check

Hello All,

Some new fields have been added in PM Notification screen. Those fields should be controlled during the transactions as follows.

Some of the fields should be mandatory at the time of creation

Some fields should be mandatory at the time of Release of Notification (Put in Process)

Some fields should be mandatory at the time of Notification completion

Referred the user exit QQMA0014, it is checking the values while saving the notification. But my problem is as follows.

During the save event, how to check the screen values? For example, by clicking Notification flag, system will set the status in JEST table only after saving the notification. The same case for other phase as well such as Release of notification.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Dec 22, 2016 at 11:38 AM

    If I understood correctly, you need to make use of function module STATUS_READ which returns you the status in the buffer. We have the previous status from field i_viqmel-phase (1 for OSNO, 2 for NOPO, 3 for NOPR, 4 for NOCO and 5 for DLFL).

    Using the above data we can control things. If you give some data and logic, I will give you the code, with the help of which you will be able derive the codes for other situations. Even I'll try to give you code for all your situations.

    Regards

    Jogeswara Rao

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 23, 2016 at 03:19 AM
    • Commitment Date - In IW21, this field is mandatory. In IW22 / IW28, it should be in display.
    • Revised Commitment Date
    • Recurrence - Mandatory at Notification Completion
    • Root Cause - Automatic from latest WHY field. Always in display mode.
    • WHY 1 to WHY 5 (5 fields) - WHY 1 is mandatory at Notification completion
    • HD Numbers - Mandatory at Completion
    • Completed HD Numbers - Mandatory at Completion
    • Pending HD Numbers – (HD Numbers – Completed HD Numbers). Always in display mode.

    Above details will give you the information about the requirement & it's control. Thanks for the support.

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 23, 2016 at 02:47 PM

    (JEST/JCDS) Beside STATUS_READ for current status in memory you should use STATUS_CHANGES_GET to get list of status changed during the transaction execution.

    Regards,
    Raymond

    Add comment
    10|10000 characters needed characters exceeded