2007 Nov 30 9:32 AM
Hi experts,
I have a copy of the following program: RPTBAL00
when I'm trying to export to local file, it gives me an error, that GETWA_NOT_ASSIGNED. When I look at it on I find: "The termination occurred in the ABAP program "SAPLKKBL" in "GEN_FIELD_OUT2""
037900 if gs_out_flags-mcoltab = 'X' and gs_out_flags-slave ne 'X' and
037910 gs_out_flags-sum ne 'X'.
037920 lr_tabledescr ?= cl_abap_typedescr=>describe_by_name( 'LVC_T_SCOL'
> if lr_tabledescr->applies_to_data( <coltab_any> ) eq 'X'.
037940 loop at <coltab_lvc> into ls_lvc_color.
037950 move-corresponding ls_lvc_color to ls_kkbl_color.
037960 ls_kkbl_color-fieldname = ls_lvc_color-fname.
037970 append ls_kkbl_color to lt_kkbl_color.
What is the cause of this error?
2007 Dec 17 7:50 AM
Hi White Stripes,
Just came across your forum topic...Has this been resolved?
If not, here goes...
Please check if there is any 'COLOR_CELL' assigned in your program.
If it exist, eliminate this line of code.
If you need to use the color scheme in your ALV, make sure you declare your internal table with:
color_cell TYPE lvc_t_scol,
Example:
data: begin of itab occurs 0,
werks like mseg-werks, "Plant
matnr like mseg-matnr, "Raw Material
maktx1 like makt-maktx, "Material Desc. (RM)
dispo1 like marc-dispo, "MRP Controller(RM)
ekgrp like marc-ekgrp, "Purchasing Group
lifnr like mseg-lifnr, "Supplier
color_cell TYPE lvc_t_scol,
end of itab.
Please give rewards if it resolved your problem.
Thanks.
2007 Dec 17 7:50 AM
Hi White Stripes,
Just came across your forum topic...Has this been resolved?
If not, here goes...
Please check if there is any 'COLOR_CELL' assigned in your program.
If it exist, eliminate this line of code.
If you need to use the color scheme in your ALV, make sure you declare your internal table with:
color_cell TYPE lvc_t_scol,
Example:
data: begin of itab occurs 0,
werks like mseg-werks, "Plant
matnr like mseg-matnr, "Raw Material
maktx1 like makt-maktx, "Material Desc. (RM)
dispo1 like marc-dispo, "MRP Controller(RM)
ekgrp like marc-ekgrp, "Purchasing Group
lifnr like mseg-lifnr, "Supplier
color_cell TYPE lvc_t_scol,
end of itab.
Please give rewards if it resolved your problem.
Thanks.
2022 Jul 07 8:31 PM
2007 Dec 17 8:24 AM
Hi White Stripes,
Until now I did not come over an ALV dump not caused by a faulty field catalog.
To eliminate this risk, you should create a dictionary structure for the itab displayed, declare the itab as type of this structure and create the field catalog using REUSE_ALV_FIELDCATALOG_MERGE or LVC_FIELDCATALOG_MERGE.
This will save time.
Regards,
Clemens
2008 Jan 03 9:22 AM