‎2010 Oct 18 3:38 PM
Hello Frieds,
Can any one help me how to call a screen in another program (Say "test2") from exsisting program(say "test1')
If above case is possible then how to access the fields in the target screen?
Your responce is greatly appreciated.
Best Regards,
Rakesh
‎2010 Oct 18 6:21 PM
Hi,
It´s only possible to screens of the current program group.
So, the called screen must be some think like a include in your program.
Best regards,
Leandro Mengue
‎2010 Oct 19 4:47 AM
Hello Mengue,
Thanks for replying back.
But we have statements like "call transaction","call report" does this statements are not helpfull?
Best Regards,
Rakesh
‎2010 Oct 19 6:45 AM
Hi rakesh,
If you are having two program one is program1 and other program2, and u want to call screen 9000 of program1 from program2 and a tcode is assigned to 9000 screen then u can use call transaction in program2.
Regards,
Madhukar Shetty
‎2010 Oct 19 3:12 PM
Hi Rakesh,
If you wish to use ONLY the screen of another program, call transaction will not help you, because the called transaction will be fully executed (and not only the screen), and the acess to screen field wil be difficult.
When you wish to access the same screen from more than one program, you can create this screen in a function module and in this way you can call the function (to display the screen) in many programs.
Best regards,
Leandro Mengue
‎2010 Oct 19 5:41 AM
Hi Rakesh
Call Transaction is a method used in BDC where you can call a transaction code from your abap program as we do we in recording. Call Report is used to Call another Report program. If you are using module pool programming you can transfer data from one screen to other screen that too it will be in the same program only.
Regards
Vinodh