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: 

Required assistance in ALV filter

Former Member
0 Kudos

Hi Experts,

I am not very good in ALV's I have an issue with REUSE_ALV_GRID_DISPLAY function module.The issue is on the initial output if I select the 1st field BOM Header and click on filter it is working fine.I am getting a selection screen and if I press F4 on select -low I am getting the values.But if I choose another field Recepie do the same exercise I could see only 00000 when I clicked on F4 for the selection screen.For information the BOM Header is char30 and Receipe is N 30 .In the below code I am unable to understand the purpose of passing i_default,I_save and I_variant.Can some tell me the root cause for this issue.Thanks in advance.

Call ALV grid display.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_callback_program = sy-repid

is_layout = i_layout

it_fieldcat = g_fieldcat[]

it_sort = gi_sort[]

i_default = 'X'

i_save = 'A'

is_variant = i_variant

TABLES

t_outtab = i_final_list

EXCEPTIONS

program_error = 1

OTHERS = 2.

IF sy-subrc <> 0.

MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF.

2 REPLIES 2

Former Member
0 Kudos

Hi,

Unable to understand your issue, Can you please through some more light on this issue, so that i can help you to resolve this..

Thanks

Former Member
0 Kudos

hi,

The fields I_default, I_Save and IS_variant are used for variant purpose.

I guess no relation with the fields and the issue that you are facing now.