‎2011 Jul 25 11:19 AM
Hi all
I am facing this problem: I have to write two programs similiar. In those I have an area is exactly the same, and I was thinking to use a subscreen to draw this area and relative modules and then to include the subscreen in the two programs.
I tried to create an I (Include) Program via SE38 and wanted to insert here the subscreen, but it tells me it's impossible to create a dynpro in Include programs. So the question is: how can I create something to include a subscreen into different programs?
Any hint is welcome.
Thank you
Gabriele
‎2011 Jul 25 11:30 AM
Hi,
Create a function group and create a sub-screen in that function group. From your PBO of the screen in which you have the subscreen area (as per your description, two separate screens), include the following screen flow logic statements:
CALL SUBSCREEN <subarea>
INCLUDING SAPL<function-group-name> <subscreen-number>.
Alternately, you can have the subscreen in one of the programs and use that program-name in the CALL SUBSCREEN statement of the other program's screen. Thanks
Regards
Suresh
Edited by: Suresh Radhakrishnan on Jul 25, 2011 8:32 PM
‎2011 Jul 26 10:04 AM