‎2007 Jan 18 10:28 AM
Dear All,
How can I call a dialog program with return value from another dialog program?
Regards,
Alok.
‎2007 Jan 18 12:17 PM
Hi Alok,
1. Insted of creating 2 different Dialog program. It's good to create as many screens as you want in same module pool program. Any way you can use the different TCODE for each screen.
2. Another and The best way is to create a function group and then inside function group use the function 2 module... In the function group define a global variable which will be present for both the function group if they are getting executed in sequence. and inside the Function Module call the screens using command " call screen <screenno>".
3. You can use set / get parameter to pass values of a field between two dynpro program.
‎2007 Jan 18 12:17 PM
Hi Alok,
1. Insted of creating 2 different Dialog program. It's good to create as many screens as you want in same module pool program. Any way you can use the different TCODE for each screen.
2. Another and The best way is to create a function group and then inside function group use the function 2 module... In the function group define a global variable which will be present for both the function group if they are getting executed in sequence. and inside the Function Module call the screens using command " call screen <screenno>".
3. You can use set / get parameter to pass values of a field between two dynpro program.
‎2007 Jan 18 3:28 PM
Hi Alok,
What Darshan advised is the best way to do it, but if you really cannot put them in a function group then you could also use export/import from memory id if the two transactions will be called in succession in the same session...or you could store the values in a temporary transparent table then delete after retrieval of the second program...
‎2007 Jan 19 5:01 AM
‎2007 Jan 19 6:24 AM