10-18-2012 2:14 PM
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.
10-18-2012 2:32 PM
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
10-19-2012 7:01 AM