cancel
Showing results for 
Search instead for 
Did you mean: 

IW52- Reference Date - to make non editable

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

jogeswararao_kavala
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thank you so much Mr. Rao.

It helps me a lot. My issue is resolved.

Thread is closed.

Answers (2)

Answers (2)

jogeswararao_kavala
Active Contributor
0 Kudos

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

pardhreddyc
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Dear,

I've done in Development server and checking in Development server only.

Not yet moved.