Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Run time error

Former Member
0 Likes
651

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

1 ACCEPTED SOLUTION
Read only

former_member491305
Active Contributor
0 Likes
628

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

4 REPLIES 4
Read only

Sm1tje
Active Contributor
0 Likes
628

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!

Read only

0 Likes
628

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

Read only

former_member491305
Active Contributor
0 Likes
629

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

Read only

0 Likes
628

There you go vigneswaran. You are correct.

In the fieldcatalog I have given field name in small letters.

Thanks

Vigneswaran