2009 Jul 28 2:47 PM
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 .
a®
2009 Jul 28 4:37 PM
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.
2009 Jul 28 5:29 PM
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
2009 Jul 28 9:49 PM
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
a®
2009 Jul 28 9:54 PM
Thank you too for sharing that info, might be useful in the future
Regards
Marcin