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

Error on Tabstrip Creation in module pool.

Former Member
0 Likes
2,554

Hi! I've created a Tabstrip control using dialog programming.My tabstrip has two tabs - One for Material and other for Vendor.

Screen has two buttons - Display and Exit.When I select Material Tab, it will show input fields like Client,Material,Created By etc for input.When I select Vendor Tab, it will show respective fields from KNA1 table for input.Selecting a particular tab and clicking display button will display the records from the respective table defined in the program.

Now my application is ready.After creating transaction for this dialog program and executing the transaction,system got dump giving an error message "Control Variable not found".Can anyone help me to solve this problem.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,659

hi,

check whether you have declared tabstrip in the TOP include

8 REPLIES 8
Read only

koolspy_ultimate
Active Contributor
0 Likes
1,659

please check whether the variant is active or not.

Read only

lijisusan_mathews
Active Contributor
0 Likes
1,659

First check if all your objects are active. foe this take the Object List and see if the whole program is active.

You would have probably done this already. In that case, check if you have selected transaction type as dialog program.

If that i also done., please check if you have checked the check boxes in transaction screen like inheriting GUI properties. etc.

Read only

Former Member
0 Likes
1,659

Hi,

Individually do a synatx check on the module pool program components (screen, includes, modules etc.)

Then activate the entire thing.

Read only

SureshRa
Active Participant
0 Likes
1,659

hi Sacheen,

Declare the control in ABAP program with the same name as in screen. For example: the screen name of your tabstrip control is "TAB1", then in the global declaration of ABAP program:


CONTROLS tab1 TYPE TABSTRIP.

Regards

Suresh

Read only

Former Member
0 Likes
1,659

Thank you for your suggestion. Now my application is working fine.

Read only

Former Member
0 Likes
1,659

hi,

check whether you have declared table control in the TOP include

Read only

Former Member
0 Likes
1,660

hi,

check whether you have declared tabstrip in the TOP include

Read only

0 Likes
1,659

Hi! Thank you. I made a mistake in declaring the tabstrip. Now I rectified my mistake and my application is working fine.