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

Run the program with out selection screen

Former Member
0 Likes
2,231

I am doing a HR report(One time report) and am using LDBs.

I dont want to display the selection screen. The moment User executes the tcode, it shud give him output. How can I do this.

Thanks

Kiran

5 REPLIES 5
Read only

MarcinPciak
Active Contributor
0 Likes
982

Hi Kiran,

- create variant for program you want to run (HR report)

- create another program (without selection screen) wherein you only submit this HR report using


SUBMIT 'MY_REP' USING SELECTION-SET variant.  "give here variant name

- create transaction code and attached your new created program to it

Once transaction is called by user, new program is executed which only executes your HR report together with predefined selection screen variant (without showing it).

Regards

Marcin

Read only

0 Likes
982

Is there any other ways, as I dont want to create a separate program and submit .

Thanks

Kiran

Read only

0 Likes
982

Hi ,

you can create a transaction with variant via tcode SE93

regards,

karim

Read only

former_member194669
Active Contributor
0 Likes
982

Instead of Adding LDB in the attributes of the report, use function module LDB_PROCESS, Check demo program DEMO_LOGICAL_DATABASE

a®

Read only

Former Member
0 Likes
982

You can also do this

SET PARAMETER ID 'YOURPARAMETER' FIELD your_variable.

CALL TRANSACTION 'YOURTRANSACCTION' AND SKIP FIRST SCREEN.

Hope it helps.