Application Development 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: 

module pool program

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

You can use 'submit' command.

Regards,

Subhasish

madan_ullasa
Contributor
0 Kudos

Try copying this screen to p2. try doing this from

SE80...

regards,

Madan.

Former Member
0 Kudos

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

former_member181962
Active Contributor
0 Kudos

I think it is not possible.

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

call transaction 'ABC'.

Regards,

ravi

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

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

Regards.

former_member184619
Active Contributor
0 Kudos

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.

0 Kudos

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

0 Kudos

Hi Reddy,

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

Regards

-


Sachinh

0 Kudos

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

0 Kudos

hi

u can use statement

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

<scr no.>.

chetan vishnoi