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

function help_start

Former Member
0 Likes
1,088

I have create a documentation for my program. Furthermore I have create a button on the dynpro where I execute the dunction help_start. But when I look to the window which will be open after the click on the button I only see an empty window for the documentation only with the title.

How can I add the documentation of the program to the function?

I use following coding:


    WHEN 'INFO'.

      DATA: ls_help_info LIKE help_info,
            lt_dselc     LIKE dselc OCCURS 0,
            lt_dval      LIKE dval OCCURS 0.

      ls_help_info-call   = 'D'.
      ls_help_info-object = 'N'.
      ls_help_info-spras  = sy-langu.
      ls_help_info-docuid = 'RE'.
      ls_help_info-report = text-001.
    

      CALL FUNCTION 'HELP_START'
        EXPORTING
          help_infos   = ls_help_info
        TABLES
          dynpselect   = lt_dselc
          dynpvaluetab = lt_dval
        EXCEPTIONS
          OTHERS       = 1.

  ENDCASE.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
614

Hi,

Check this Fm

CALL FUNCTION 'DSYS_SHOW_FOR_F1HELP'
           EXPORTING
                DOKCLASS           = 'RE'
                DOKNAME            = <Reportname>
                SHORT_TEXT         = 'X'
           EXCEPTIONS
                OTHERS             = 1.

1 REPLY 1
Read only

Former Member
0 Likes
615

Hi,

Check this Fm

CALL FUNCTION 'DSYS_SHOW_FOR_F1HELP'
           EXPORTING
                DOKCLASS           = 'RE'
                DOKNAME            = <Reportname>
                SHORT_TEXT         = 'X'
           EXCEPTIONS
                OTHERS             = 1.