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

F1 Documentation - Fields

former_member194669
Active Contributor
0 Likes
677

All,

Here is the issue.

I have custom dialog application, contains 100 screens , and within these screens some of the fields don't have F1 documentation. Now i need list down all fields that don't have F1 documentation. Go each screen and check whether the fields have F1 documentation or not checking is difficult. I am looking for easier way to do this?

All fields declared in the screen are made of type DDIC fields references .

4 REPLIES 4
Read only

former_member125661
Contributor
0 Likes
601

I don't know if this helps. But all the filed attributes of all screens in a module pool are stored in a table.

Click on element list of any screen in SE51. Go to Mod.group/Functions tab.There is a column called 'Entry help'. If this is checked, it tells that an F1 help is available for this screen field. Now the big qn, what table stores all these..I do not know..Do a SQL trace perhaps to see how this check box is filled.

Read only

MarcinPciak
Active Contributor
0 Likes
601

Hi a®s,

You may try to use internal statement IMPORT dynpro to get screen fields and then use i.e fm DDIF_FIELDINFO_GET (or other DD_* fm) for each field and check if F1 help applies to it.

I think it should imported like this:


  DATA: BEGIN OF L_DYNNAME,
          PROGRAM LIKE DYNPROFIELDS-PROGNAME,
          DYNPRO  LIKE DYNPROFIELDS-DYNPRO,
        END OF L_DYNNAME.

  DATA: H LIKE D020S OCCURS 0 WITH HEADER LINE,
        F LIKE D021S OCCURS 0 WITH HEADER LINE,
        E LIKE D022S OCCURS 0 WITH HEADER LINE,
        M LIKE D023S OCCURS 0 WITH HEADER LINE.

      L_DYNNAME-PROGRAM = DYNPROFIELDS-PROGNAME = DYNPROTAB-PROGRAM.
      L_DYNNAME-DYNPRO  = DYNPROFIELDS-DYNPRO  = DYNPROTAB-DYNPRO.
      IMPORT DYNPRO H F E M ID L_DYNNAME.  "F table should hold field list

Regards

Marcin

Read only

0 Likes
601

Thanks Marcin,

Your reply give a hint.

There will be sap table tells you that a data element have documentation or not with how many lines that contains documentation.

Please check table DOKIL

Read only

0 Likes
601

Thank you too for sharing that info, might be useful in the future

Regards

Marcin