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

Change ALV variant different between systems

Former Member
0 Likes
532

Hello,

I have a program that creates an ALV grid. In our QAS system, I have access to select, change, save & manage layouts. The exact same program in PRD only allows change layout. Is there an authorization object that controls how ALV grids can be controlled?

Thanks in advance.

Maggie

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
509

Check, what is the value of the parameter I_SAVE of the FM


  CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
      I_SAVE             = E_SAVE        

If it is a variable, you have to find how the variable is being populated.

Regards,

Naimesh Patel

Read only

0 Likes
509

I have two things in the program:

CALL METHOD grid1->set_table_for_first_display

EXPORTING i_structure_name = 'ZVIOLATIONREPORT'

i_buffer_active = 'X'

is_layout = gs_layout

is_variant = gs_variant

i_save = 'A'

  • IT_TOOLBAR_EXCLUDING = functions

CHANGING it_outtab = i_vbak_outtab

it_fieldcatalog = it_fieldcatalog.

AND

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

it_fieldcat = i_fieldcat

is_variant = i_variant

i_save = 'U'

TABLES

t_outtab = i_order.

Neither is a variable so why would the program react differently between the two systems?

Thanks.

Maggie