2009 Feb 11 2:50 PM
Hi, All
I am using three different table like mara, marc, makt. In select statement i am using only one table
that is mc29v. then i am calling these function module
REUSE_ALV_FIELDCATALOG_MERGE,
REUSE_ALV_BLOCK_LIST_INIT,
REUSE_ALV_BLOCK_LIST_APPEND,
REUSE_ALV_BLOCK_LIST_DISPLAY.
After calling these function module at run time error occured.
the error is "type conflict when calling a function module".
2009 Feb 11 2:55 PM
Hi
It means u're transfering a variable based on uncorrect type to a fm you're calling in your report: use the Extended Program Check in order to find out the error.
Max
2009 Feb 11 2:55 PM
Hi,
Some parameter which you have passed is diffrent data type. It should be the same as function module parameter. Please verify your parameter's data type.
2009 Feb 11 2:58 PM
Hi,
IF you are suing only one table for getting all the data y do u need to go for blocked display simply go for grid display or list display.
Please teel me in whcih function moudle it is giving runtime error.
Better to use
REUSE_ALV_BLOCK_LIST_INIT,
REUSE_ALV_FIELDCATALOG_MERGE,
REUSE_ALV_BLOCK_LIST_APPEND,
REUSE_ALV_BLOCK_LIST_DISPLAY.
Thanks
2009 Feb 12 3:57 AM
Hi, tarangani
this error occered at REUSE_ALV_FIELDCATALOG_MERGE function module.
what to do.
could i use "like" instead of "type" while define field in types.
2009 Feb 12 4:22 AM
Hi Mohamad,
It is not like that, you use like instead of type.
Just check data types of all the parameters which you are passing to fm reuse_alv_fieldcatalog_merge.
And compare it with parametes in fm itself.
hope it helps,
Pratik
2009 Feb 12 5:08 AM
Hi,
check data types of all the parameters which you are passing to fm reuse_alv_fieldcatalog_merge.
And compare it with fm parameters .
Regards
2009 Feb 11 3:03 PM
2009 Feb 12 4:59 AM
Hi Mohammad,
You can use 'LIKE' instead of 'TYPE'.
Please post your code so that we can give you the exact solution.
2009 Feb 12 5:21 AM
Hi Mohammed,
While declare the field string use the TYPE not LIKE These ALV's are compatible with the TYPE not LIKE data types for that reason its throwing error type conflict when calling a function module
Regards,
Sravanthi
2009 Feb 15 8:47 AM
Hi, sarvanthi
I create two program one with like and othe with type. both programs are had same error. but that error has gone.
well, I am using three different tables, but i am fetching data with two table.
Know i am getting error inside the merge fm. In debugger, controller at this stage: read report l_prog_tab_local into l_abap_source.
In runtime error short text is this (the ABAP program lines are wider than the internal table).
what to do here.
Regards,
mohammed.
2009 Feb 12 5:25 AM
Mohammed,
chk this ex.....
tables:vbak.
type-pools:slis.
data: vbak_b type slis_t_fieldcat_alv .
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
exporting
i_structure_name = 'VBAK'
changing
ct_fieldcat = vbak_b.
Regards,
Mdi.Deeba
2009 Feb 12 5:52 AM
hello,
when you are using three tables,3 tables fields must be inner joined in an single table,define work area(WA) properly. fm u need to call is reuse_alv_grid_display for grid....if u wanna get in alv list
reuse_alv_list_display.
with regards,
sumanth reddy
2009 Feb 12 5:55 AM
Hi,
Check all the data type parameters you have declared for this REUSE_ALV_FIELDCATALOG_MERGE,
FM.
Regards,
Jyothi CH
2009 Feb 12 6:05 AM
I hope there is type mismatch in the parameters of the function Modules used.
Regards,
Joan