‎2009 Apr 01 7:42 PM
HI Friends,
i want to develop the custom report from standard report (RFITEMAP) in ths report we have to remove the dynamic selection screen from our custom report.
how to remove the dynamic selection screen from the custom report.
plz help me on ths issue........
Regards
Venkat Boddu
<< Personal information removed >>
Edited by: venkat boddu on Apr 2, 2009 12:13 AM
Edited by: Rob Burbank on Apr 1, 2009 2:48 PM
‎2009 Apr 01 8:37 PM
Hm...Strange..I copied the program RFITEMAP and create a ZRFITEMAP....and added this code in the initialization event....and it worked..
Not sure...what you are missing..
Thanks
Naren
‎2009 Apr 01 7:49 PM
HI,
The standard report RFITEMAP uses the LDB KDF..so the dynamic selection comes from the LDB..check the LDB has any more screen options. You can do that from Program attributes where you specify the LDB.
‎2009 Apr 01 7:56 PM
HI Avinash,
thnx ur message.........
just i want remove the Dynamic selection screen button from the application tool bar.........
regards
Venkat Boddu
‎2009 Apr 01 8:03 PM
Hi,
This is not possible to hide the button from application toolbar of LDB selection screen. to do that you need to remove the LDB from the program attributes and re-write the logic again.
‎2009 Apr 01 8:04 PM
I think this is custom program uses the LDB , then
you need to use fm SELECT_OPTIONS_RESTRICT (please check the documentation of this fm, there will be a example associated with this)
PS . The program RFITEMAP use LDB to fetch data from LFA1, LFB1,BSIK. if you remove then for getting data will be a problem, in that case you need to fm LDB_PROCESS in your program to get data from LDB
How to use fm LDB_PROCESS check program DEMO_LOGICAL_DATABASE
a®
‎2009 Apr 01 7:54 PM
It uses logical database KDF, so th eonly way to eliminate the dynamic selections is to remove the LD. If you are going to do that, you might as well start over with fresh user requirements.
Rob
‎2009 Apr 01 8:10 PM
Hi,
In the initialization event...use the function module RS_SET_SELSCREEN_STATUS to remove the dynamic selection screen function code.
INTIALIZATION.
DATA: t_exclude TYPE STANDARD TABLE OF sypfkey.
APPEND 'DYNS' TO t_exclude.
"DYNS is the dynamic selection screen function code.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
TABLES
p_exclude = t_exclude
.Thanks
Naren
‎2009 Apr 01 8:31 PM
HI Naredran,
Thnax for ur message......
I tried that code in my program but it's not removing the dynamic selection screen.......
Regards
Venkat Bboddu
‎2009 Apr 01 8:52 PM
HI Narendran,
Thnx for help. now it's working fine..... i missed to comment one change_status subroutine.......
thnx a lot.
Regards
Venkat Boddu.
‎2009 Apr 01 8:37 PM
Hm...Strange..I copied the program RFITEMAP and create a ZRFITEMAP....and added this code in the initialization event....and it worked..
Not sure...what you are missing..
Thanks
Naren
‎2009 Apr 01 10:41 PM
I really ought to follow my own advice: never say something cannot be done.
Rob