Skip to Content

F1 Help documentation

Hi,

I have a checkbox using parameters statement on selection screen.I need to create Help documentation on F1.

Can anyone tell me how to do that.I read one of the thread and tried the goto->doc->data elem doc. on screen painter.but since the screen is not custom screen I get a warning as

"Selection Screen:Report generation makes changes ineffective". So I am not sure if i can do the documentation on the screen painter.Let me know the other way of doing.

Thanks

Suganya

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jan 08, 2008 at 03:46 PM

    Hi Suganya,

    PARAMETERS xyz type zxyz.

    Define a data element with the name ZXYZ. For this data element, use the domain XFELD or FLAG or create your own domain as copy of XFELD or FLAG. In the data element, create a documentation. This will be shown when you press F1 on the parameter with this type.

    This is fully SAP standard compliant. You may translate it if required for different logon language.

    Regards,

    Clemens

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 08, 2008 at 05:07 PM

    Hi Suganya,

    Do it like this.

    data:

    it_ef type standard table of TABLE_LINE,

    it_hl type standard table of tline,

    ws_help_infos type help_info.

    Parameters: p_help as checkbox.

    at selection-screen on help-request for p_help.

    Append:

    'text Line 1 for help' to it_hl,

    'test line 2 for help' to it_hl.

    Call Function 'HELP_DOCULINES_SHOW'

    exporting

    • CUCOL = 10

    • CUROW = 3

    help_infos = ws_help_infos

    • LINENR = 1

    • NOT_HELP = ' '

    • OVERLAY_HEADER = ' '

    • SUPPRESS_VIEWER = ' '

    • CLASSIC_SAPSCRIPT = ' '

    • IMPORTING

    • HELP_POPUP_CANCEL =

    tables

    excludefun = it_ef

    helplines = it_hl

    .

    It will work...

    Cheers!!!

    Lokesh

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.