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

IW52- Reference Date - to make non editable

Dear all,

I want to make the Completion date( reference date & time) non editable while clicking on completion flag.

I searched through SCN & I've done the following settings according to that.

I have tried through SPRO Configuration. But it is not reflecting in IW51/52. The fields are still editable even the configuration is done.

I tried with Set screen templates for notification type. But i did not find any screen areas related to reference date and time.

Kindly suggest to do the above requirement.

Waiting for the reply.

Regards,

Dhivya N.

Untitled.png (40.5 kB)
Untitled1.png (28.5 kB)
Untitled3.png (56.0 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Dec 17, 2015 at 05:32 AM

    Dhivya,

    Solution

    Put the following code in the include ZXQQMU20 of user-exit QQMA0014.

    IF i_viqmel-phase = '4'.
    IF i_viqmel-bezdt <> sy-datum.
    MESSAGE 'Changes to the Reference Date/Time not allowed.' TYPE 'I'.
    RAISE exit_from_save.
    ENDIF.
    ENDIF
    .

    This gives rise to the error popup shown below when we change the Reference date value of the NOCO popup.

    Note

    1. System proposes the current date as reference date which you do not want to get altered. Above code compares the value in the Reference date field with current date and throws the above error in case it is different.
    2. If your requirement is for a particular Notification type (say M2) then the first line of the code becomes..
    IF i_viqmel-phase = '4' and i_viqmel-qmart = 'M2'.

    Hope this resolves the issue.

    Good luck

    KJogeswaraRao


    Capture.JPG (18.4 kB)
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 17, 2015 at 04:42 AM

    Dear,

    It has to be active.Kindly check whether changes have been moved to your system where you perfomed.I mean all transport requests moved or not?

    Regards,

    pardhu

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 17, 2015 at 05:17 AM

    Dihvya,

    Your observation is right. This can not be set to Display mode through OIAL setting. We may have to explore user-exit like QQMA0014 to prevent changes to the proposed values of this pop-up.

    The reason why you can not achieve this through OIAL is the field names where you are expecting this Display effect belong to different structure namely RIWO1, whereas you are setting the display setting to fields of VIQMEL. Hope you'll cross check the same. (Possible that this is a product error from SAP side)

    KJogeswaraRao

    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.