Application Development 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: 

Dialog Program - Custom Table Field - F1 Help in the Screen Filed

Former Member
0 Kudos

Hi,

I am not getting the F1 Help on the Screen Field in a Dialog Program. The Dictionary Reference is a Custom Table Field. Can any one please Help me?

Thanks,

Kannnan

1 ACCEPTED SOLUTION

former_member194669
Active Contributor
0 Kudos

Hi,

Please use the translation menu with transaction SE63.

Maintain the documentation for domain and data element for the custom field, After that system system automatically give you F1 documentation.

Following are the translation object types domain (DOM), data elements (DTEL)

in SE63

aRs

Points are always welcome

2 REPLIES 2

Former Member
0 Kudos

check the demo program demo_dynpro_f1_help for fi help.

There are three ways of displaying field help for screen elements:

Data Element Documentation

If you place a field on the screen in the Screen Painter by copying a ABAP Dictionary field, the corresponding data element documentation from the ABAP Dictionary is automatically displayed when the user chooses field help (as long as the help has not been overridden in the screen flow logic).

For further information about creating data element documentation, refer to data elements.

Data Element Supplement Documentation

If the data element documentation is insufficient, you can expand it by writing a data element supplement

Data element supplement documentation contains the heading Definition, as well as the following others:

Use

Procedure

Examples

Dependencies

To create data element supplement documentation for a screen, choose Goto ® Documentation ® DE supplement doc. from the element list of the screen. A dialog box appears in which the system proposes a number as the identified for the data element supplement. You can then enter help texts for the above headings using the SAPscript editor.

Data element supplement documentation created in this way is program- and screen-specific. Any data element supplement documentation created in the ABAP Dictionary with the same number is overridden by the screen-specific documentation. You can link existing data element supplement documentation created in the ABAP Dictionary with a screen field by using the table THLPF. To do this, crate a new row in THLPF containing the following data: Program name, screen name, field name, and number of the data element supplement documentation.

To display data element supplement documentation, you must code the following screen flow logic in the POH event:

PROCESS ON HELP-REQUEST.

...

FIELD 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.

former_member194669
Active Contributor
0 Kudos

Hi,

Please use the translation menu with transaction SE63.

Maintain the documentation for domain and data element for the custom field, After that system system automatically give you F1 documentation.

Following are the translation object types domain (DOM), data elements (DTEL)

in SE63

aRs

Points are always welcome