Application Development 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: 

Regarding navigation in tab in selection screen

Former Member
0 Kudos

Hi SAP Gurus,

I have created two tabs on selection screen using code,

                  TAB (20) B_PR USER-COMMAND PR,      

                  TAB (20) B_MR USER-COMMAND MR,     

Using this i am displaying two different ALV layouts in different screens.

The problem I am facing is as follows.

If I select second tab and run the report, i am getting the output, upon pressing back button from the screen,

I am getting first tab as default, how ever I need to get the current tab as default.

Please suggest,

Pavan.

2 REPLIES 2

Former Member
0 Kudos

hello,

Try this

The current PAI event, ACTIVETAB contains the function code of the last active tab title on the screen.

After that do this

<Tabstripctrl>-ACTIVETAB = <fcode>.

best regards,

swanand

0 Kudos

Thnx,

solved,

I used import export memory ID.