Sample Program On AT SELECTION-SCREEN ON HELP REQUEST FOR field- 1.


REPORT ztest.

PARAMETERS: field1 TYPE ztest_struct-zfield1,
field2 TYPE ztest_struct-zfield2.

AT SELECTION-SCREEN ON HELP-REQUEST FOR field1.

CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
EXPORTING
doklangu = sy-langu
doktitle = text-001
called_for_tab = 'ZTEST_STRUCT'
called_for_field = 'ZFIELD1'.

IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

AT SELECTION-SCREEN ON HELP-REQUEST FOR field2.

CALL FUNCTION 'HELP_OBJECT_SHOW_FOR_FIELD'
EXPORTING
doklangu = sy-langu
doktitle = text-001
called_for_tab = 'ZTEST_STRUCT'
called_for_field = 'ZFIELD2'.

IF sy-subrc <> 0.
   MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.

For This Program a structure was created:



OUTPUT:









On pressing "F1" button on field1 ,





















On pressing "F1" button on field2,

















ALSO READ:

- ABAP EVENTS During Runtime Of A Report Program.

- INITIALIZATION Event - Introduction With A Sample Code.

- AT SELECTION-SCREEN Event - Introduction With A Sample Code.

- AT SELECTION-SCREEN OUTPUT Event - Introduction With A Sample Code.

- AT SELECTION-SCREEN ON VALUE REQUEST- Introduction With A Sample Code.

- AT SELECTION-SCREEN ON HELP REQUEST- Introduction With A Sample Code.

- AT SELECTION-SCREEN ON - Introduction With A Sample Code.


- Sample Program On AT SELECTION-SCREEN OUTPUT - 1.

- Sample Program On AT SELECTION-SCREEN OUTPUT - 2.

- Sample Program On AT SELECTION-SCREEN OUTPUT - 3.

- Sample Program On AT SELECTION-SCREEN OUTPUT - 4.

- Sample Program On AT SELECTION-SCREEN ON VALUE REQUEST FOR field - 1.

- Sample Program On AT SELECTION-SCREEN ON VALUE REQUEST FOR field - 2.

- Sample Program On AT SELECTION-SCREEN ON HELP REQUEST FOR field- 1.


Your suggestions and comments are welcome in this section.

Please mail all your contributions to administrator@abapmadeeasy.com We request you to mention your Name, Designation, Experience & Organization you are working for. Your posts will be verified and posted in this site with your name.