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

Module Pool Programming - F1 help

Former Member
0 Likes
936

hi how to add field help(i.e f1 help) to the custom fields added to the standard transaction as well as to the standard fields in the standard transaction

3 REPLIES 3
Read only

vikram_maduri2
Explorer
0 Likes
727

Hi Kiran,

in POH,

CALL THE FN MODULE

POPUP_DISPLAY_TEXT.

EXAMPLE

DATA: info_msg LIKE DOKHL-OBJECT

VALUE 'BC_SEC_USR_GUM_INFO'.

************************************************************************

  • Deaktivation of Golbal User Manager note 433941 *

************************************************************************

CALL FUNCTION 'POPUP_DISPLAY_TEXT'

EXPORTING

LANGUAGE = SY-LANGU

POPUP_TITLE = 'Wichtige Systeminformation'

  • START_COLUMN = 10

  • START_ROW = 3

TEXT_OBJECT = info_msg

  • HELP_MODAL = 'X'

  • IMPORTING

  • CANCELLED =

EXCEPTIONS

TEXT_NOT_FOUND = 1

OTHERS = 2.

Reward If Useful.

Regards,

Vikram.M

Read only

former_member673464
Active Contributor
0 Likes
727

hi..

check the demo program is defined in the ABAP program like a normal PAI module. The processing logic of the module must ensure that adequate help is displayed for the field in question. Instead of calling an extra screen with text fields, you should use one of the following function modules to display a suitable SAPscript document:

HELP_OBJECT_SHOW_FOR_FIELD

This function module displays the data element documentation for components of any structure or database table from the ABAP Dictionary. You pass the name of the component and structure or table to the import parameters FIELD and TABLE.

HELP_OBJECT_SHOW

Use this function module to display any SAPscript document. You must pass the document class (for example, TX for general texts, DE for data element documentation) and the name of the document to the import parameters DOKCLASS and DOKNAME. For technical reasons, you must also pass an empty internal table with the line type TLINE to the tables parameter of the function module.

For further information about how to create SAPscript documents, refer to the Documentation of System Objects documentation.

regards,

veeresh

Read only

Former Member
0 Likes
727

hey i need the other possible ways.

the screen contains many custom fields and standard fields. for all the fields i have to get the corresponding field help(f1 help) when i press f1. how this can be attached only by using POH (using the that many number of fields for each a module) or any other alternate is there