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

Disable custom container for tcode va03

Former Member
0 Likes
820

Hi experts,

I have created custom container in header at additional data b for va01,va02,va03 .

now i have to disable that custom container for tcode va03 .

i tried of using screen group option by providing unique name to group but in case of container its group section is grey out.

code i have done in pbo is

if sy-tcode = 'VA03'.

LOOP AT SCREEN.

  IF screen-group1 = 'Z1'.

    screen-input = 0.

    MODIFY SCREEN.

   ENDIF.

ENDLOOP.

ENDIF.

so kindly provide me some some solution or syntax so that i can grey out my custom container field for tcode va03.

regards,

viraj

3 REPLIES 3
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
604

Containers are GUI controls and it cannot be hidden by loop..endloop statements. Supporting this comment , you can view this wonderful suggestion by our friends Marcin & Naimesh http://scn.sap.com/thread/1356543

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
604

What are you displaying in the container ?

Nabheet

Read only

0 Likes
604

I have done enhancement for tcode va01,va02, va03 at header level.

so user can write in custom container in va01,va02 and in va03 it should be in display mode

so i want to grey out container for tcode va03