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

Dynamic Tabstrips

Former Member
0 Likes
467

Hi all,

Could some one explain how to code dynamic tabstrip functionality.Based on a variable value the tab strip should change . Number of tabstrip can vary from 1 or 2 or 3.

Thanks in advance,

dan.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
434

You should be able to set up your tabstrip with 3 tabs, and then just inactivate those you don't want to see in your PBO logic e.g.

loop at screen.
  if screen-name = 'GTAB01'.  "name of the pushbutton in tabstrip
    screen-active = 0.
    modify screen.
  endif.
endloop.

You can see the names of the tabstrip pushbuttons in the element list for the dynpro.

Jonathan

2 REPLIES 2
Read only

Former Member
0 Likes
435

You should be able to set up your tabstrip with 3 tabs, and then just inactivate those you don't want to see in your PBO logic e.g.

loop at screen.
  if screen-name = 'GTAB01'.  "name of the pushbutton in tabstrip
    screen-active = 0.
    modify screen.
  endif.
endloop.

You can see the names of the tabstrip pushbuttons in the element list for the dynpro.

Jonathan

Read only

0 Likes
434

Thanks Jonathan.It worked.

dan