‎2008 Aug 08 6:51 AM
Hi,
Can we run a report program without selecting EXECUTE button.
This report is having selection screen which is populated automatically using variant.
‎2008 Aug 08 7:00 AM
Hi
you need to assign follwoing.
SY-UCOMM = 'STRT'.
at any button or event or enter.
rgds
rajesh
Edited by: RAJESH KUMAR on Aug 8, 2008 11:30 AM
‎2008 Aug 08 7:01 AM
>Can we run a report program without selecting EXECUTE >button.
>This report is having selection screen which is populated >automatically using variant.
Schedule a job for that program using the Variant.
Transaction code to schedule the job is SM36.
‎2008 Aug 08 7:19 AM
Hi,
you can do it by Scheduling the job for that program using the Variant in the background.the Transaction codes to schedule the job is SM36.
fareed
‎2008 Aug 08 7:38 AM
Hi,
Thanks for your sugesstion.
My requirement is when you enter Tcode in SAP it will get selection screen populated automatically using variant and automatically it should run the program.
I need to run it in foreground.
‎2008 Aug 08 7:48 AM
hi ,
Use the follwing code
write this in your program submit <program name> using selection-set <variant name> and return . Assign a transaction code to this.
Edited by: A kumar on Aug 8, 2008 8:49 AM
‎2008 Aug 08 7:55 AM
Hi,
Where I must write the submit program without opening the program which I want to run.
‎2008 Aug 08 7:59 AM
Hi ,
Create a Zprogram . In this write submit program. Here Give the name of the program for which you want to execute . Assign a tcode for this zprogram.whenever you run this , this will call the program that you wanted to execute along with its variant.
‎2008 Aug 08 8:14 AM
Hi,
Then one must execute that Zprogram in which submit program is written.
We must not press execute for Zprogram if this is the case.
‎2008 Aug 08 8:18 AM
‎2008 Aug 08 8:32 AM
You can do that using Parameter Transaction.
Go to SE93 ,
Create a Tcode.
Choose Transaction with Parameters
In Default Values Give the transaction as START_REPORT
Check the checkbox Skip Initial screen.
Check all the Gui support checkboxes.
D_SREPOVARI-REPORTTYPE "Give report Type
D_SREPOVARI-REPORT "Report name
D_SREPOVARI-VARIANT "Variant
D_SREPOVARI-NOSELSCRN "X to bypass your selection screen.
‎2008 Aug 08 8:56 AM
Hi Vijay,
Thanks for your suggestion. I think it may work but I couldn't find all the check boxes which you mentioned in SE93 can you send the screenshot of that to my personnel id - g.v.krishnamurthy to gmail
‎2008 Aug 08 8:29 AM