‎2009 Jul 28 3:31 PM
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
‎2009 Jul 28 3:38 PM
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
‎2009 Jul 28 3:41 PM
Is there any other ways, as I dont want to create a separate program and submit .
Thanks
Kiran
‎2009 Jul 28 4:36 PM
Hi ,
you can create a transaction with variant via tcode SE93
regards,
karim
‎2009 Jul 28 3:47 PM
Instead of Adding LDB in the attributes of the report, use function module LDB_PROCESS, Check demo program DEMO_LOGICAL_DATABASE
a®
‎2009 Jul 28 4:23 PM
You can also do this
SET PARAMETER ID 'YOURPARAMETER' FIELD your_variable.
CALL TRANSACTION 'YOURTRANSACCTION' AND SKIP FIRST SCREEN.
Hope it helps.