cancel
Showing results for 
Search instead for 
Did you mean: 

QP02 -Header Level Screen grey out

former_member553099
Participant
0 Kudos


Dear all,

In QP02 T code at header of inspection plan changes, the access should be restricted to only one id and for rest of them it should to be in non editable mode for the following fields,

Parameters for dynamic modification/inspection points.

Dynamic mod. level

Modification rule

Regards,

U. Linganathan.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Linganathan,

I suggest to use transaction variant to map your requirement.

The T code is SHD0.

The variant can be made effective for the users for which you want to restrict the access to the fields mentioned above.

Please go through the below links to get more information on transaction variant.

http://scn.sap.com/docs/DOC-39667

Creating Variant Groups and Assigning Users (SAP Library - Changing the SAP Standard (BC))

I hope this will be easy for you to create & maintain.

Mangesh S

former_member211676
Contributor
0 Kudos

Hi Linganathan

For the above requirement use FM EXIT_SAPLCPAU_001 in user exit: CPAU0001 and take help with your technical team to write the restriction to specific fields for specific user.

Regards

Kesava

former_member211676
Contributor
0 Kudos

Hi Linganathan

Have you tried this exit. Try the code  below in include ZXCPAU01.

IF SY-UNAME EQ ' USER NAME'.

LOOP AT SCREEN.

    IF SCREEN-NAME EQ 'PLKOD-SLWBEZ'.

      SCREEN-INPUT = '0'.

      MODIFY SCREEN.

    ENDIF.

  ENDLOOP.

ENDIF.

Regards

Kesava

former_member553099
Participant
0 Kudos

Hi,

We have tried the above  include ZXCPAU01, but not ok,

Can You please confirm because it is at header level screen.

QP02

Change Inspection Plan: Header Details

Regards,

U.Linganathan

former_member211676
Contributor
0 Kudos

Hi Lingnathan

First create a new project in cmod(t-code) and write the above given code and activate the project in the include as well as in cmod.The above code is for blocking only one field SLWBEZ (Insp. Points) Please contact your technical consultant for implementation of the above similar for remaining fields.

Note: Instead of USER NAME area in above code you have to give your required User name.

Regards,

Keshava