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

Using screen from another program?

Former Member
0 Likes
1,990

Can I use a screen created in one module pool program for another report/module pool program?

Is that possible?

Thanks.

5 REPLIES 5
Read only

Former Member
0 Likes
1,647

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

Read only

Former Member
0 Likes
1,647

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

Read only

Former Member
0 Likes
1,647

Hi

Yes it's possible creating dialog module for that screen, see the statament CALL DIALOG.

Max

Read only

Former Member
0 Likes
1,647

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

Read only

Former Member
0 Likes
1,647

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