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

Function Module to get the Screen

Former Member
0 Likes
1,709

Hello All,

Can anybody provide me a Function Module to get the Screen by giving Program Name and Screen Number.

Thanks,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,220

You need to check the class

CL_WB_SCREEN_PAINTER

in this method

PROCESS_DYNPRO

SAP internally uses this method, so try to debug and find the information,

5 REPLIES 5
Read only

former_member745780
Active Participant
0 Likes
1,220

Hello

check FM RS_IMPORT_DYNPRO


   CALL FUNCTION 'RS_IMPORT_DYNPRO'
      EXPORTING
        dylang = pmlang
        dyname = programname
        dynumb = screen
      IMPORTING
        header = header
      TABLES
        ftab   = ifields
        pltab  = iflowlogic.

or you have to create join b/w table reposrc and tadir .

Thanks

Anirudh

Read only

0 Likes
1,220

Hello Anirudh,

But i need a FM to get a popup screen with the screen displaying in the popup screen by passing Program name and Screen Number.

I have awarded you points.Thanks a lot.

Thanks

Read only

Former Member
0 Likes
1,221

You need to check the class

CL_WB_SCREEN_PAINTER

in this method

PROCESS_DYNPRO

SAP internally uses this method, so try to debug and find the information,

Read only

0 Likes
1,220

Hello Vijay,

Thanks a lot. But i need to get the screen display of all the elements in the screen by giving program name and screen number.

Thanks

Read only

Former Member
0 Likes
1,220

hi

use this FM

GET_DYNPRO_LIST

Cheers

Snehi