2012 Sep 12 7:16 PM
Hello ,
I am working with module pool program . in this screen one push button is there , when i am clicking push button in module pool screen then how to call report program selection screen . i am using gtable (my own fileds) .
thank & reg .
prasad g .
Moderator message : Not enough re-search before posting, discussion locked.
Message was edited by: Vinod Kumar
2012 Sep 13 4:31 AM
2012 Sep 13 4:49 AM
Hi
check the link which give information on your requiremnt, as per the above thread call submit in your user command. when button is clicked the required report is called.
2012 Sep 13 5:47 AM
Hi Prasad,
you can do one thing. Create a transaction code from SE93 for your report program selection screen. and call it from Module pool.
Case.
When 'GO'.
call transaction 'ZREPORT'.
Endcase.
Thanks,
Ashish
2012 Sep 13 6:14 AM
Hi Prasad,
I think ur best bet is to follow what Sravan said...
Under the fcode 'GO_TO_REPORT_SELNSCREEN' for that button...
case v_ok
when 'GO_TO_REPORT_SELNSCREEN'.
submit zreport via selection-screen <with...values> and return.
*will allow u to go to zreport seln screen and control/pgm flow will finally return to module-pool
endcase.
submmit zreport has mulitple extensions for various reasons...
1. You can pass values dynamically to the zreport selectn fields,
2. You can skip the seln screen,
3. You can BOTH skip the selection screen and pass dynamic values to seln screen
I personally recommend using "submit report" over "call transaction".
Tell me if this works for u.
Abraham