12-23-2008 9:33 AM
Hi experts,
I am copying one program from 4.6c to ECC6.0.In ECC6.0 i enabled unicode checks in attributes.
In that program below code is available.
FORM XXL_CALL_F16 TABLES GT_FLD_XXL TYPE SLIS_T_FIELDCAT_ALV.
DATA: LS_FIELDCAT TYPE KKBLO_FIELDCAT.
.
.
.
LOOP AT GT_FLD_XXL INTO LS_FIELDCAT WHERE TABNAME = 'I_DATA'.
Here in loo statement iam getting error as GT_FLD_XXL and LS_FIELDCAT are not mutually
convertible because both structure is not same.
Can anyone help me to solve this error.....
Thanks and Regards,
Swetha.
12-23-2008 9:41 AM
Hi Swetha,
Change data type of LS_FIELDCAT to slis_fieldcat_alv. I suppose KKBLO_FIELDCAT is not compatable with slis_fieldcat_alv.
DATA: LS_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
Thanks,
Vinay
12-23-2008 9:48 AM
Hi,
We cannot change like that because in loop they are using some fields in KKBLO_FIELDCAT. For example they are using TOOLTIP field as below....
LS_FIELDCAT -TOOLTIP = ' 000040000000Maint.ITEM TEXT'.
like this they are using some fields. If we change the type then we will get error as "LS_FIELDCAT does not have a field tooltip".
Regards,
Swetha.