Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Execute button

Former Member
0 Likes
1,616

Hi,

Can we run a report program without selecting EXECUTE button.

This report is having selection screen which is populated automatically using variant.

12 REPLIES 12
Read only

Former Member
0 Likes
1,262

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

Read only

Former Member
0 Likes
1,262

>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.

Read only

Former Member
0 Likes
1,262

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

Read only

Former Member
0 Likes
1,262

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.

Read only

0 Likes
1,262

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

Read only

0 Likes
1,262

Hi,

Where I must write the submit program without opening the program which I want to run.

Read only

0 Likes
1,262

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.

Read only

0 Likes
1,262

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.

Read only

0 Likes
1,262

i think ur requirement is not possible

Read only

0 Likes
1,262

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.

Read only

0 Likes
1,262

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

Read only

Former Member
0 Likes
1,262

hii

refer to following link

i hope it will give you some hint

regards

twinkal