10-03-2008 1:04 PM
hi,
i use alv block display for my report.In that i have checkbox in my first block inorder to select few lines from my output and perform a user command(i want to post those documents).
but when i click on my user command i get the dump 'Field symbol not assigned' from some standard program.Kindly guide me on what it is.
Regards,
Subasree
10-03-2008 1:08 PM
10-03-2008 1:07 PM
it is known error, the error causing from the fieldcatalog or layout.
show the code related to fieldcatalog and function call.
10-03-2008 1:07 PM
hi..
check whether u hav declared a variable for the box in final internal table as A(1) TYPE C.
regards,
padma
10-03-2008 1:08 PM
10-03-2008 1:11 PM
if you provide the wrong fieldname or if you mention it in small letters then chances of getting the dump.just check it once.
10-03-2008 1:20 PM
layout : p_t_layout-box_fieldname = 'CHK'.
fieldcatalog : wa_fieldcat-fieldname = 'CHK'.
wa_fieldcat-reptext_ddic = 'IDOC SELECTED'.
wa_fieldcat-tabname = 'T_MISC_OUTPUT1'.
wa_fieldcat-outputlen = 2.
APPEND wa_fieldcat TO t_fieldcat.
CLEAR wa_fieldcat.
The field chk is present in my output internal table.
Not sure why the error is occuring.
10-03-2008 1:24 PM
you want check box or box_field ? which one you want.
if you want box field ,then use only one.
p_t_layout-box_fieldname = 'CHK'.
if you want check box then use this.
wa_fieldcat-fieldname = 'CHK'.
wa_fieldcat-reptext_ddic = 'IDOC SELECTED'.
wa_fieldcat-tabname = 'T_MISC_OUTPUT1'.
wa_fieldcat-outputlen = 2.
wa_fieldcat-checkbox = 'X'.
wa_fieldcat-input = 'X'.
wa_fielcat-edit = 'X'.
APPEND wa_fieldcat TO t_fieldcat.
CLEAR wa_fieldcat.
Don't use both together.
10-03-2008 2:25 PM
the line selected by using the checkbox does not have value 'X' in the chk field.
03-22-2011 5:23 AM
Hi Subhashree,
I am also having a similar requirement to edit the IDOC from AVL.
Could you please share the code of it?.I will use it as base template.
Regards
Elini.P