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

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 TYPE REF TO cl_gui_control.

 

 

cl_abap_docu=>show(

  EXPORTING

    area           = 'ABEN'

    name           = 'REGEX_SYNTAX'

  IMPORTING

    docu_container =  docu_container ).

 

 

CALL SCREEN 0100.

 

 

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

*&      Module  STATUS_0100  OUTPUT

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

*       text

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

MODULE status_0100 OUTPUT.

  IF docu_container IS BOUND.

    cl_gui_control=>set_focus(

        EXPORTING

          control           = docu_container    " Control

        EXCEPTIONS

          cntl_error        = 1

          cntl_system_error = 2

          OTHERS            = 3 ).

 

 

    IF sy-subrc <> 0.

      MESSAGE ID sy-msgid TYPE 'S' NUMBER sy-msgno

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

                DISPLAY LIKE sy-msgty.

    ENDIF.

  ENDIF.

ENDMODULE.                 " STATUS_0100  OUTPUT        

                

Regards Christian         


Viewing all articles
Browse latest Browse all 8573

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>