‎2008 Aug 11 7:04 PM
Dear Experts,
I am writing a program that updates the variants of other programs. Some of the programs need to be called once a week and while others need to be called several weeks in my program.
I am desinging a radio button with a T-Code beside in the selection screen area. When I point the T-code and press F1, I need to see a pop up window explainning the information of this program.
Is that possible to do this?
Thanks for your help!
Anna
Edited by: Anna Smith on Aug 11, 2008 8:05 PM
‎2008 Aug 11 7:11 PM
Try like this:
PARAMETERS: P_R1 RADIOBUTTON GROUP RD1,
P_R2 RADIOBUTTON GROUP RD1.
AT SELECTION-SCREEN ON HELP-REQUEST FOR P_R1.
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
EXPORTING
TITEL = 'Help'
TEXTLINE1 = 'This is test'
* TEXTLINE2 = ' '
START_COLUMN = 25
START_ROW = 6
.
Regards,
Naimesh Patel
‎2008 Aug 11 7:11 PM
Try like this:
PARAMETERS: P_R1 RADIOBUTTON GROUP RD1,
P_R2 RADIOBUTTON GROUP RD1.
AT SELECTION-SCREEN ON HELP-REQUEST FOR P_R1.
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
EXPORTING
TITEL = 'Help'
TEXTLINE1 = 'This is test'
* TEXTLINE2 = ' '
START_COLUMN = 25
START_ROW = 6
.
Regards,
Naimesh Patel
‎2008 Aug 12 1:54 PM
Hi Naimesh,
Your solution is what I want. Thanks for your help!
I would like to extend my question as follow.
I have created a instance method which pops up a F1 Help window in a global class. I want to call this method in Selection-Screen area. For example:
AT SELECTION-SCREEN ON HELP-REQUEST FOR p_r1.
call method Z_UPDATE_VAR=>F1HELP
EXPORTING
title_in = 'Title'
content_in = 'This is a test'.
The F1HELP is defined as a static and public method. However, it always complains that the method is unknown or protected or private.
I tried to declare an object of Z_UPDATE_VAR before calling this method, it still complains.
Your help is greatly appreciated.
Thanks,
Anna.
‎2008 Aug 11 7:22 PM
Why don't you maintain the program documentation. So that you will get standard 'i' button on the application tool bar.
‎2008 Aug 12 3:21 PM