Application Development 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: 

How to Suppress Find Variants screen when pressing variant button

Former Member
0 Kudos
211

Hi Experts,

I have a problem when i am pressing the variants button in the selection-screen of a report, Find Variants subscreen is coming with parameters Variant, Environment, Created by, Changed by and Original Language. My requirement is to suppress this Find Variants screen. How can it possible please suggest.

Cheers,

Bujji.......

3 REPLIES 3

gopi_narendra
Active Contributor
0 Kudos
124

you can make use of the 'excluding' option for the pf-status.

Regards

Gopi

Former Member
0 Kudos
124

DATA: IT_EXTAB TYPE SLIS_T_EXTAB.

DATA: WA_EXTAB LIKE LINE OF IT_EXTAB.

WA_EXTAB-FCODE = 'APEN'.

APPEND WA_EXTAB TO IT_EXTAB.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

I_BUFFER_ACTIVE = ' '

I_CALLBACK_PROGRAM = G_PROGRAM

I_CALLBACK_PF_STATUS_SET = G_PF_STATUS

I_CALLBACK_USER_COMMAND = G_USER_COMMAND

IS_LAYOUT = GS_LAYOUT

I_SAVE = 'X'

I_GRID_TITLE = G_TITULO

IT_FIELDCAT = I_FIELDCAT

IT_EXCLUDING = IT_EXTAB

IT_SORT = GS_SORT[]

TABLES

T_OUTTAB = OPERATIONS_DATA

EXCEPTIONS

PROGRAM_ERROR = 1

OTHERS = 2.

IT_EXCLUDING = IT_EXTAB is the key for exclude buttons -:)

Former Member
0 Kudos
124

Hi Experts,

No need to suppress the selection-screen fields or buttons in the selection-screen, when i am pressing the variants button next another pop-up screen is coming, just want to suppress that pop-up screen. Can any one suggest......