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

TABSTRIP Problem

Former Member
0 Likes
809

Hi,

This is the first time I am working on a tab-strip.

My only problem is that when i input something in the one of the tab of tabstrip and then go to some other tab , on coming to the same tab the values dissapear.

In every PAI event, the values are cleared.

I want the values to stay while scrolling the tabs.

Regards,

R

4 REPLIES 4
Read only

Former Member
0 Likes
596

Make sure that screen fields in which you are entering values are declared in TOP include.

Check this demo tabstrip program.....

http://saptechnical.com/Tutorials/ABAP/Tabstrips/page1.htm

Read only

vinod_vemuru2
Active Contributor
0 Likes
596

Hi,

Probably u r clearing all the screen fields in PBO of the screen.

So when ever u go to next tab and comeback it calls PBO of the earlier screen. So check this in debug mode and see.

Thanks,

Vinod.

Read only

Former Member
0 Likes
596

Make sure that in the PAI the variables that store the value are also declared in the TOP-INCLUDE of the module pool programming.These variables must be populated in the PAI and store the current as well as the previous values.

Thanks and REgards ,

Debojyoti.

Read only

Former Member
0 Likes
596

Hi Ravi,

For tabstrips there are two options : Scroling at Application server & at Presentation server.

For the first case, PAI is triggered, which seems to be your case. And somewhere in the PBO you are reinitialising things..

But if you wish to not trigger PAI when navigating between tabs, you need to go for the second case. Here you just need to assign function code of type 'P' to the tabs.

So if you requirement is not to trigger PAI, you can change the function code of tabs to type 'P' in which case your data will still be intact...

~Piyush