Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dialog Programming Question

Former Member
0 Likes
323

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
300

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

1 REPLY 1
Read only

Former Member
0 Likes
301

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