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

Toolbar buttons inactive with transaction code

Former Member
0 Likes
1,730

I have a program which has 4 buttons being displayed in the toolbar. It runs fine using /se38 and even in test mode in /se80.

There is a transaction code attached to this program. There is no security object attached to this transaction. If I run the program using the associated transaction code, the buttons for the toolbar do not appear and the rest of the selection screen for this program appears as it should. Just the toolbar buttons are missing when the program is launched via the transaction code. All the necessary text elements for the buttons are in place.

We have transported this program to 3 other environments and this behaviour does not occur in the other environments. The transaction code launches the program and the toolbar buttons appear as designed in all cases. The environment that is exhibiting the "invisible button" behaviour is DEV.

I've tried reactivating the code and the transaction in DEV but this has had no impact. The buttons are still a no show if the transaction code is used, but continue to appear if launched directly from SE38.

Any suggestions as to what can be done to have the transaction code properly execute the program and display the buttons in the toolbar?

Many thanks,

Points will not be awarded as always.

Edited by: Rob Burbank on Mar 10, 2010 11:55 AM

1 ACCEPTED SOLUTION
Read only

vinod_vemuru2
Active Contributor
0 Likes
1,229

Hi,

Please avoid statements like Points will be awarded as always.. Else your thread will be locked.

Open your program in SE80. Right click on main program name=>Other functions=>Rebuild object list.

Now try to execute.

By the way, how did you create the T-code? Did you select radio button Program and selection screen (report transaction )?

Thanks,

Vinod.

5 REPLIES 5
Read only

vinod_vemuru2
Active Contributor
0 Likes
1,230

Hi,

Please avoid statements like Points will be awarded as always.. Else your thread will be locked.

Open your program in SE80. Right click on main program name=>Other functions=>Rebuild object list.

Now try to execute.

By the way, how did you create the T-code? Did you select radio button Program and selection screen (report transaction )?

Thanks,

Vinod.

Read only

0 Likes
1,229

Thanks for the heads up.

I tried the rebuild object list as you suggested: Result - no change in behaviour

The T-Code [from se93 ] is a "Program and selection screen [report transaction]" type.

Thanks.

Read only

0 Likes
1,229

Hi,

Can you check, if in your program any statements like SET PF-STATUS exist based on some conditions?

Try to delete and recreate the T-code.

Thanks,

Vinod.

Read only

0 Likes
1,229

hi,

i created a below sample program with buttons on the application toolbar of the selection screen.

TABLES sscrfields.

PARAMETERS: p_carrid TYPE s_carr_id,

p_cityfr TYPE s_from_cit.

SELECTION-SCREEN: FUNCTION KEY 1,

FUNCTION KEY 2.

INITIALIZATION.

sscrfields-functxt_01 = 'LH'.

sscrfields-functxt_02 = 'UA'.

AT SELECTION-SCREEN.

CASE sscrfields-ucomm.

WHEN'FC01'.

p_carrid = 'LH'.

p_cityfr = 'Frankfurt'.

WHEN 'FC02'.

p_carrid = 'UA'.

p_cityfr = 'Chicago'.

ENDCASE.

START-OF-SELECTION.

WRITE / 'START-OF-SELECTION'.

And after i created a transaction code in the below manner.

SE93 -> create transaction -> Program and Selection Screen (report transaction).

and it worked.

Please try..

Read only

0 Likes
1,229

As it turns out we came to the same conclusion. I deleted the T-code and recreated it and the problem is resolved.

Thanks for all the input