‎2008 Apr 09 1:05 PM
Hi,
can anyone tell me why ami gettng this error?
it states type conflict when calling a function module.??
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_GRID_SETTINGS =
IS_LAYOUT =
it_fieldcat = it_fcat
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = it_output
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.
‎2008 Apr 09 1:07 PM
Hi,
give call back program
data : i_repid like sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = i_repid
i_structure_name = 'IT_RETDISP'
it_fieldcat = i_fieldcat
i_default = 'X'
i_save = 'X'
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
tables
t_outtab = it_retdisp[]
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.Reward if usefull
‎2008 Apr 09 3:12 PM
hi,
i tried giving call back prgm bt its not working,
please help me.
‎2008 Apr 09 1:10 PM
Hi,
Check ur declarations once.
i think u not declared it_fcat as it_fcat type SLIS_T_FIELDCAT_ALV.
Thanks,
Ananth
‎2008 Apr 09 3:13 PM
‎2008 Apr 09 3:17 PM
it_fcat is not type SLIS_T_FIELDCAT_ALV
or you are passing the header line of it_output, try passing it as
it_output[]
‎2008 Apr 09 3:18 PM