‎2007 Sep 11 3:40 PM
Hi all,
If i do not give the layout name in selection-screen . The report is giving dump.
Here I am giving the details .Conversion of type "SLIS_T_SPECIALCOL_ALV" to type "C" not supported.
Code:
data : lw_char(50).
field-symbols: <fs> type any.
ASSIGN COMPONENT SY-INDEX OF
STRUCTURE P_IT_ALV_DATA TO <LF
IF SY-SUBRC = 0.
IF SY-INDEX IN R_DISP.
LW_CHAR = <LFS>.----
Error here
CONCATENATE IT_DLFILE-TABLE LW_CHAR I
SEPARATED BY CL_ABAP_CHAR_UTILITIES=>
CONDENSE IT_DLFILE-TABLE NO-GAPS.
ENDIF.
ELSE.
regards,
Ram
Message was edited by:
Akshat
‎2007 Sep 11 5:16 PM
IF SY-INDEX IN R_DISP.
IF <LFS> IS ASSIGNED. " Ins Goutham
LW_CHAR = <LFS>.----
Error here
CONCATENATE IT_DLFILE-TABLE LW_CHAR I
SEPARATED BY CL_ABAP_CHAR_UTILITIES=>
CONDENSE IT_DLFILE-TABLE NO-GAPS.
ENDIF.
ENDIF. "Ins Goutham
my changes are with pointer GOUTHAM. Try this and let me know if it works.
Regards,
Goutham.
‎2007 Sep 11 5:19 PM
If it's not entered on the selection screen, then assign a default layout in the program.
Rob