Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all articles
Browse latest Browse all 8332

Dynamic adding and removing of function keys

$
0
0

Hi Experts,

 

I'm using tabbed block, I have created two tabs, tab1 and tab2.

when i click on tab2, function keys will be added automatically.

Now the problem is i dont want the function keys when i switch back to tab1, The function keys should be removed when i switch to tab1. how can i do this???

 

My code is:

data: lv_button type smp_dyntxt.

 

at selection-screen.

case sscrfields-ucom.

when 'TAB1'.

**** here i want the function keys to be removed.

when 'TAB2'.

        lv_button-icon_id  = '@0D@'.

       lv_button-text     = 'Back'.

       sscrfields-functxt_01 lv_button.

       lv_button-icon_id  = '@0E@'.

       lv_button-text     = 'Next'.

       sscrfields-functxt_02 = lv_button.


Viewing all articles
Browse latest Browse all 8332

Trending Articles