‎2010 Mar 10 3:49 PM
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
‎2010 Mar 10 4:03 PM
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.
‎2010 Mar 10 4:03 PM
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.
‎2010 Mar 10 4:49 PM
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.
‎2010 Mar 10 5:07 PM
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.
‎2010 Mar 10 5:14 PM
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..
‎2010 Mar 10 7:10 PM
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