‎2007 Mar 01 7:00 PM
Hello friends ,
I created a main menu with plant . I have a Para id set up in the user profile as WRK. The screenfield is zwerks. This screen field value also has a drop down to choose btw different plants .
My question here is When there is a para-id in the user profile for the plant WRK .When i go to main menu it should default it to the para-id and gray out the screenfield so that drop down is not available .
Right now it is working fine but it is not graying out the box when I enter the main menu throught the transaction zttr it still shows the option for all the 2 plants .
Please advise .
Thanks & Regards
‎2007 Mar 01 7:05 PM
Hi,
Grey out the field in the PBO..
GET PARAMETER ID 'WRK' FIELD v_value.
IF not v_value is initial.
LOOP AT SCREEN.
IF SCREEN-NAME = 'INPUT FIELD NAME'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Thanks,
Naren
‎2007 Mar 01 7:05 PM
Hi,
Grey out the field in the PBO..
GET PARAMETER ID 'WRK' FIELD v_value.
IF not v_value is initial.
LOOP AT SCREEN.
IF SCREEN-NAME = 'INPUT FIELD NAME'.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Thanks,
Naren