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

module pool program

Former Member
0 Likes
1,284

Hi Friends,

i have 2 programs p1, p2, in p1 having screen 103, i want this screen( in p1 103) calling in P2,how to calling screen 103 in P2.

Thanks,

santha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,249

Hi

You have two possibilities:

- Create a trx for program P2, screen 103 and in PAI of screen 103 of program P1 insert the CALL TRANSACTION to go there:

CALL TRANSACTION <TCODE>.

- Create a dialog module (trx SE80) for screen 103 of P2, and P1 insert the statament CALL DIALOG:

CALL DIALOG <ZDIALOG>.

If the screen 103 isn't the first screen for P2 and so you can't create a trx, you can use a dialog module but in this case you make sure to can transfer all data to trigger that screen.

Max

12 REPLIES 12
Read only

Former Member
0 Likes
1,249

You can use 'submit' command.

Regards,

Subhasish

Read only

madan_ullasa
Contributor
0 Likes
1,249

Try copying this screen to p2. try doing this from

SE80...

regards,

Madan.

Read only

Former Member
0 Likes
1,250

Hi

You have two possibilities:

- Create a trx for program P2, screen 103 and in PAI of screen 103 of program P1 insert the CALL TRANSACTION to go there:

CALL TRANSACTION <TCODE>.

- Create a dialog module (trx SE80) for screen 103 of P2, and P1 insert the statament CALL DIALOG:

CALL DIALOG <ZDIALOG>.

If the screen 103 isn't the first screen for P2 and so you can't create a trx, you can use a dialog module but in this case you make sure to can transfer all data to trigger that screen.

Max

Read only

Former Member
0 Likes
1,249

I think it is not possible.

But you can call a transaction in which the screen is there.

call transaction 'ABC'.

Regards,

ravi

Read only

Former Member
0 Likes
1,249

Hai Reddy

Use the following Statement

DATA REPID like sy-repid VALUE 'RSPFPAR'.

SET PARAMETER ID 'RID' FIELD REPID.

<b>call subscreen <subscreen> including <progname>

<scrname>.</b>

called program:

since only the PBO of the subscreen will be called so i write the GET parameter code here

DATA : REPID LIKE SY-REPID.

GET PARAMETER ID 'RID' FIELD REPID.

and finally use the parameter for use in the subscreen called.

Thanks & regards

Sreenivasulu P

Read only

Former Member
0 Likes
1,249

Hi Santha,

If u jus want to cal screen in ur p2 prog then u can jus write-

CALL SCREEN 103.

Hope this helps.

Seema.

Read only

0 Likes
1,249

Go to SE80 with P1, look for dinpro 103, right click over dinpro -> copy, and copy to P2 porgram.

Regards.

Read only

Former Member
0 Likes
1,249

Hi Reddy,

U can do it this way.

Create a Transaction for for program P1.

In <b>SE80 - Maintain Transaction</b> (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.

Read only

0 Likes
1,249

hi,

i created transaction for screen 103 in p1, i called transaction in P2, but when i click on button for call the transaction, data is not coming, how to data fectching. please give solution.

Thanks,

santha

Read only

0 Likes
1,249

Hi Reddy,

Can u make it more clear.Which data is not coming Or Screen is not coming....

Regards

-


Sachinh

Read only

0 Likes
1,249

Hi Friends,

i have solved my problem with ur help, i have given to points 3 members, once again Thanks for all of you.

Thanks,

santha

Read only

0 Likes
1,249

hi

u can use statement

call subscreen <scr no.> including <progname name>

<scr no.>.

chetan vishnoi