I need to send the ALV output to the printer. I built the ALV in OOps. The printer button is enabled in the scrren and when I give print it is goint to dump
Below I have pasted the dump.
Help me to solve this.
Points will be rewarded.
Field symbol has not yet been assigned.
Error in the ABAP Application Program
The current ABAP program "SAPLKKBL" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
You attempted to access an unassigned field symbol
(data segment 81).
This error may occur if
- You address a typed field symbol before it has been set with
- You address a field symbol that pointed to the line of an
internal table that was deleted
- You address a field symbol that was previously reset using
UNASSIGN or that pointed to a local field that no
- You address a global function interface, although the
respective function module is not active - that is, is
not in the list of active calls. The list of active calls
can be taken from this short dump.
rigger Location of Runtime Error
Module type (FORM)
Module Name CHECKBOX_OUT
ource Code Extract
1285 "<<Unicode/Doublebyte 1
1287 write at (rs_fieldcat-outputlen) <hf> as icon no-gap quickinfo
1291 g_tabname = l_tabname.
1293 format hotspot off.
1294 *End of Orginalcoding 4.6c
1296 endform. " HEADER_FIELD_OUT
1298 *& Form CHECKBOX_OUT
1300 * text *
1302 form checkbox_out using rs_layout type kkblo_layout
1303 r_tabname type stack-i_tabname
1304 r_sum type c.
1306 data: l_mark(1) type c.
1308 if not rs_layout-box_tabname is initial and
1309 rs_layout-box_tabname ne r_tabname.
1310 format color off.
1311 write at (2) space no-gap.
>>>>> if not r_sum is initial or <box> = '-'.
1316 format color off.
1317 write at (2) space no-gap.
1319 format color off.
1320 if <box> = ' ' or <box> = 'X'.
1321 g_mark = <box>.
1322 if rs_layout-no_input = 'X'.
1323 write g_mark as checkbox no-gap input off.