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

F1 Help

Former Member
0 Likes
1,013

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

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
936

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

4 REPLIES 4
Read only

naimesh_patel
Active Contributor
0 Likes
937

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

Read only

0 Likes
936

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.

Read only

Former Member
0 Likes
936

Why don't you maintain the program documentation. So that you will get standard 'i' button on the application tool bar.

Read only

Former Member
0 Likes
936

Thanks for your help!