‎2008 May 14 10:22 PM
Hi
I am getting a run time error like this:
You attempted to access an unassigned field symbol
(data segment 93).
This error may occur for any of the following reasons:
- You address a typed field symbol before it is set using ASSIGN
- You address a field symbol that points to a line in an internal table
that has been deleted
- You address a field symbol that had previously been reset using
UNASSIGN, or that pointed to a local field that no longer exists
- You address a global function interface parameter, even
though the relevant function module is not active,
that is it is not in the list of active calls. You can get the list
of active calls from the this short dump.
i think its coming the following are:
START-OF-SELECTION.
PERFORM data_retrieve USING lt_vendor.
LOOP AT lt_vendor INTO wa_vendor.
wa_output-name1 = wa_vendor-name1.
wa_output-duedate = wa_vendor-zfbdt + wa_vendor-zterm.
delay = wa_output-duedate - p_audat.
IF delay LE 30.
wa_output-days30 = wa_vendor-dmbtr + wa_vendor-mwsts.
ENDIF.
IF delay GE 31 AND delay LE 60.
wa_output-days60 = wa_vendor-dmbtr + wa_vendor-mwsts.
ENDIF.
IF delay GE 61 AND delay LE 90.
wa_output-days90 = wa_vendor-dmbtr + wa_vendor-mwsts.
ENDIF.
IF delay GE 91 AND delay LE 180.
wa_output-days180 = wa_vendor-dmbtr + wa_vendor-mwsts.
ENDIF.
IF delay GE 180.
wa_output-days = wa_vendor-dmbtr + wa_vendor-mwsts.
ENDIF.
APPEND wa_output TO lt_output.
ENDLOOP.
in the debugger i can see data is coming into all the tables
‎2008 May 14 11:06 PM
Hi ,
Are you using REUSE_ALV_GRID_DISPALY?If so,then check the field catalog internale is having a proper field names.If the field name is mistyped in field catelog,then this kind of unassigend fieldsymbol dump will come.
Check it.
Regards
Vigneswaran S
‎2008 May 14 10:28 PM
somewhere in your coding you are accessing a field symbols which has not yet been assigned!! can't see it in the coding your are giving, but that would be the problem!
‎2008 May 14 10:41 PM
Search for all of Fileds symbols and before use them, make the follow check:
If <> is assigned.
your code
else.
skip this code
endif.
Regards,
Alexandre
‎2008 May 14 11:06 PM
Hi ,
Are you using REUSE_ALV_GRID_DISPALY?If so,then check the field catalog internale is having a proper field names.If the field name is mistyped in field catelog,then this kind of unassigend fieldsymbol dump will come.
Check it.
Regards
Vigneswaran S
‎2008 May 15 12:25 AM
There you go vigneswaran. You are correct.
In the fieldcatalog I have given field name in small letters.
Thanks
Vigneswaran