Skip to Content
0
Former Member
Jul 08, 2009 at 06:10 AM

Table / FM which stores element list for a screen number

328 Views

Hi everyone,

I have a module pool program, with a few screens. I want to make a list of all screen fields used in my program. Is there a table or Function Module which maps this? Say progname-dynpro-fieldname?

For example, my module pool program is SAPMZPROG, and my screens are 9001 and 9002. In 9001, my fields are ZTAB1-ZFIELD1 and ZTAB1-ZFIELD2. In 9002, fields are ZTAB2-ZFIELD1, ZTAB2-ZFIELD2 and ZTAB2-ZFIELD3. Then my output will be something like:

"9001" "ZTAB1-ZFIELD1"

"9001" "ZTAB1-ZFIELD2"

"9002" "ZTAB2-ZFIELD1"

"9002" "ZTAB2-ZFIELD2"

"9002" "ZTAB2-ZFIELD3".

(the output does not give field values, they are actual screen numbers and field names)

Thanks,

Shailesh.

Edited by: Shailesh S Kamath on Jul 8, 2009 8:11 AM

Edited by: Shailesh S Kamath on Jul 8, 2009 8:12 AM