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

System status of notification in IW21 before save

Dear Experts,

I have to check the system status of the notification while doing IW21 transaction to make a specific field mandatory. If system status will be NOPR, then only the specific field should be filled by the user mandatorily. How to get the system status of notification if OBJNR not created.

Please suggest solution for the enhancement.

Regards,

Tushar

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Oct 30, 2013 at 02:31 AM

    Hi Tushar,

    I am trying to understand your post because of the mention of OBJNR.

    As you've rightly observed that it can be available only in IW22 stage and not in IW21.

    Now I will try to phrase your query as under:

    While creating a Notification,

    1. If some one saves the Notification in OSNO without filling a particular field, then system should allow to Save, as it does always.

    2. But during this phase itself (IW21), if the Notification is set to NOPR status, and the particular field

    is not filled, system should stop this from saving, giving a message to fill it.

    If I got you right, it is interesting one to address.

    If we invoke user-exit QQMA0014 the code here can not have the OBJNR support (from JEST table), hence can not identify the system status.

    This results in forcing the user to fill the particular field in OSNO status also.

    If my understanding is right, then acknowledge, so that chances of help coming in would improve.

    Regards

    Jogeswara Rao K


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 29, 2013 at 05:41 PM

    Hello

    Please use User exit QQMA0014 QM/PM/SM: Checks before saving a notification.

    When user create the Notification via TC IW21 and having status NOPR this user exit will called up and make your specific field mandatory while saving this notification,Your Notification will not saved until unless this specific field is filled.Only after saving your notification number will generate.so here Don't worry about the OBJNR .

    Please take help of abaper to write code in this user exit as per above logic.

    Br

    Rakesh

    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.