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

multiple ALV reports using TAB

Former Member
0 Likes
3,782

Hi,

I need to develop a program which has lot of options to run. now the requiremnt is not to put those option in seleciton screen but to show different tabs in result screen, and when user click on any tab he can see the result.

Any idea or any example how to achieve this requirement?

Thanks,

Kamesh Bathla

1 ACCEPTED SOLUTION
Read only

narin_nandivada3
Active Contributor
0 Likes
1,772

Hi,

In layout of the screen include tabstrip control and in that include different subscreens. And for each subscreen include the Custom Container.

And use that Tabstrip control and the subscreen and the Custom control of that subscreen and proceed with your logic.

Please check this thread..

Hope this would help you.

Good luck

Narin

6 REPLIES 6
Read only

Former Member
0 Likes
1,772

hi,

In the Resultant Screen include one TAB control and on the tab control display the data in the table control depending on the value of the TAB control.

http://sap.niraj.tripod.com/id59.html

Regards

Sumit Agarwal

Read only

narin_nandivada3
Active Contributor
0 Likes
1,773

Hi,

In layout of the screen include tabstrip control and in that include different subscreens. And for each subscreen include the Custom Container.

And use that Tabstrip control and the subscreen and the Custom control of that subscreen and proceed with your logic.

Please check this thread..

Hope this would help you.

Good luck

Narin

Read only

0 Likes
1,772

do you have any example?

Read only

0 Likes
1,772

Hi Kamesh,

please check this thread for example

Refer to the code used in this question..

If TAB1 is active set flag as 1 and tab2 is active set flag as 2.

And flag = 1 then write some code to display the data in grid and if flag 2 is active then one more code.

Please go through these links

Go through this wiki... It almost solves your issue..

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/tabstripinALV(OOPS)

Hope this would help you.

Good luck

Narin

Read only

0 Likes
1,772

hi,

Check the link.

Regards

Sumit Agarwal

Read only

Former Member
0 Likes
1,772

Thanks guys for the fast reply