‎2006 Jun 29 2:37 PM
Can I use a screen created in one module pool program for another report/module pool program?
Is that possible?
Thanks.
‎2006 Jun 29 2:46 PM
CALL SUBSCREEN b INCLUDING prog dynnr .
Read about taht, if it will be useful for you.
BR, Jacek
P.S
Plesa reward if it is useful
‎2006 Jun 29 2:56 PM
If it is NORMAL Screen, it is not possible use in another program.
If it is SUBSCREEN, we can use it any program
like this way.
In Process Before Output event,
CALL SUBSCREEN <Subscreen area> using <screen no> in
<program Name>.
In Process After Input event,
CALL SUBSCREEN <Subscreen area>.
- Selvapandian Arunachalam
‎2006 Jun 29 2:58 PM
Hi
Yes it's possible creating dialog module for that screen, see the statament CALL DIALOG.
Max
‎2006 Jun 29 3:00 PM
Hi nuren,
U can do it this way.
Create a Transaction for for program P1.
In SE80 - Maintain Transaction (say zprog1)
Here u have to pass program name(p1) and screen No. (103)
and use CALL TRANSACTION in PAI of p2 to call it.
CALL TRANSACTION zprog1. "as created above
If u want the execution to completely on p1- 103
use
LEAVE TO TRANSACTION zprog1. "as created above
Hope this will help.
Reward if helpful.
Regards
-
Sachin Dhingra
‎2006 Jun 29 3:10 PM
hi
good
i think it is possible to use a screen developed for the one program for another program, but it also depnds upon what kind of screen you have develop and what kind of data you r going to display in it.
if it is only screen than it is ok , but if you consider about the flow logic you have to change the flow logic according to the new report .
thanks
mrutyun