06-29-2006 11:24 AM
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
06-29-2006 11:28 AM
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
06-29-2006 11:26 AM
06-29-2006 11:28 AM
Try copying this screen to p2. try doing this from
SE80...
regards,
Madan.
06-29-2006 11:28 AM
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
06-29-2006 11:29 AM
I think it is not possible.
But you can call a transaction in which the screen is there.
call transaction 'ABC'.
Regards,
ravi
06-29-2006 11:33 AM
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
06-29-2006 1:58 PM
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.
06-29-2006 2:25 PM
Go to SE80 with P1, look for dinpro 103, right click over dinpro -> copy, and copy to P2 porgram.
Regards.
06-29-2006 2:48 PM
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.
06-30-2006 6:52 AM
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
06-30-2006 7:05 AM
Hi Reddy,
Can u make it more clear.Which data is not coming Or Screen is not coming....
Regards
-
Sachinh
07-03-2006 6:05 AM
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
07-03-2006 6:42 AM
hi
u can use statement
call subscreen <scr no.> including <progname name>
<scr no.>.
chetan vishnoi