Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9159

Re: How to navigate to ABAPDOCU

$
0
0

Hi Otto,

 

it seems that you have to call a dynpro screen, then the documentation is displayed.

 

 

REPORT z_test_abap_docu.

 

DATA: docu_container TYPEREFTO cl_gui_control.

 

cl_abap_docu=>show(

  EXPORTING

    area          = 'ABEN'

    name          = 'REGEX_SYNTAX'

  IMPORTING

    docu_container = docu_container ).

 

CALLSCREEN0100.

 

*&---------------------------------------------------------------------*

*&      Module  STATUS_0100  OUTPUT

*&---------------------------------------------------------------------*

*      text

*----------------------------------------------------------------------*

MODULE status_0100 OUTPUT.

  IF docu_container ISBOUND.

    cl_gui_control=>set_focus(

        EXPORTING

          control          = docu_container    " Control

        EXCEPTIONS

          cntl_error      = 1

          cntl_system_error = 2

          OTHERS          = 3).

 

    IF sy-subrc <>0.

      MESSAGEID sy-msgid TYPE'S' NUMBER sy-msgno

                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4

                DISPLAYLIKE sy-msgty.

    ENDIF.

  ENDIF.

ENDMODULE.                " STATUS_0100  OUTPUT

 

 

Regards Christian    


Viewing all articles
Browse latest Browse all 9159

Trending Articles