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

improper message

Former Member
0 Likes
473

hi,

i am getting an improper message using tab strips in dialog program . The details of the tabstrip is :

name- > TS_PO_HEADER

number of tabs -> 5

first tab name-> tab_description.

etc.

when i set all the fields of the tabs in output mode that is input = 0. i got the this message :

" Protected tab titles are not supported (tab TS_PO_HEADER title TAB_DISCRIPTION) "

i want to remove this message but unable to fix it . so please help me for this.

regards,

Deepak Rana.

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
419

I guess you are doing a LOOP statement in tht PBO to turn fields off, right?

Loop at screen. 
   screen-input = 0.
   modify screen.
endloop.

You must be careful not to do this for all elements in the screen, it appears that you are since the system is telling you that you are doing it for the tabstrip element. Make sure to check the SCREEN-NAME for the fields that you want to turn off, or use the GROUP1 field.

Regards,

Rich Heilman

Read only

0 Likes
419

Hi Rich,

thanks for your kind help, i am doing the same way

but if i am using GROUP now it will be very combersom

for manage the application, could you plz suggest any alternative for this.

thanks and regards,

Deepak Rana.

Read only

0 Likes
419

Well, you need to do something, because you are modifing parts of the tabstrip which I don't think you want to do. If you assign a group to all of the fields on your screen which you want to make not ready for input, you can simply do this.

Loop at screen.
   if screen-group1 = 'GP1'.
     screen-input = 0.
     modify screen.
   endif.
endloop.

So all you need to do is set the group1 field in the screen elements table for all of the fields on that screen which you want to turn off.

Regards,

Rich Heilman