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

Remove the dynamic selection screen.......

Former Member
0 Likes
2,247

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,613

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

10 REPLIES 10
Read only

Former Member
0 Likes
1,613

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.

Read only

0 Likes
1,613

HI Avinash,

thnx ur message.........

just i want remove the Dynamic selection screen button from the application tool bar.........

regards

Venkat Boddu

Read only

0 Likes
1,613

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.

Read only

0 Likes
1,613

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®

Read only

Former Member
0 Likes
1,613

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

Read only

Former Member
1,613

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

Read only

0 Likes
1,613

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

Read only

0 Likes
1,613

HI Narendran,

Thnx for help. now it's working fine..... i missed to comment one change_status subroutine.......

thnx a lot.

Regards

Venkat Boddu.

Read only

Former Member
0 Likes
1,614

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

Read only

Former Member
0 Likes
1,613

I really ought to follow my own advice: never say something cannot be done.

Rob