09-29-2008 8:29 AM
Hi ,
iam getting a dump when executing an alv report it's upgrade from 4.7 to ecc 6.0
it's working well in 4.6 c version
the dump analysis is as follows
Error analysis
You attempted to access an unassigned field symbol
(data segment 100).
This error may occur if
- You address a typed field symbol before it has been set with
ASSIGN
- 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
longer exists
- 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.
2830 else.
2831 assign <fs05> to <field>.
2832 gs_fc = gs_sfc05.
2833 endif.
2834 when 006.
2835 if gs_out_flags-slave ne 'X'.
2836 assign <fm06> to <field>.
2837 gs_fc = gs_mfc06.
2838 else.
2839 assign <fs06> to <field>.
2840 gs_fc = gs_sfc06.
2841 endif.
2842 when 007.
2843 if gs_out_flags-slave ne 'X'.
2844 assign <fm07> to <field>.
2845 gs_fc = gs_mfc07.
2846 else.
2847 assign <fs07> to <field>.
2848 gs_fc = gs_sfc07.
2849 endif.
2850 when 008.
2851 if gs_out_flags-slave ne 'X'.
2852 assign <fm08> to <field>.
2853 gs_fc = gs_mfc08.
2854 else.
2855 assign <fs08> to <field>.
2856 gs_fc = gs_sfc08.
2857 endif.
2858 when 009.
2859 if gs_out_flags-slave ne 'X'.
>>>> assign <fm09> to <field>.
2861 gs_fc = gs_mfc09.
2862 else.
2863 assign <fs09> to <field>.
2864 gs_fc = gs_sfc09.
2865 endif.
please guide me
09-29-2008 8:46 AM
Hi Prakash,
This might because the structure used here might have been changed or enhanced,try to debug the code and check whether all the fields are there with the same name or no.
Check transaction SPDD where you will find this structure used in program here,which is used before upgrading.
Thanks
Sudharshan
09-29-2008 8:52 AM
Hi Thnaks for your reply a new field is added c_name2 commenting the old field
name2 but the same thing is done in 4.6 c also there it is not going dump.and also how to use spdd please guide
DATA: BEGIN OF st_output,
kunnr LIKE kna1-kunnr, "Customer Number
bukrs LIKE knb1-bukrs, "Company Code
name1 LIKE kna1-name1, "Customer Name
name2 LIKE kna1-name2, "Customer Name 2
stras LIKE kna1-stras, "Street
ort01 LIKE kna1-ort01, "City
regio LIKE kna1-regio, "State
pstlz LIKE kna1-pstlz, "Postcode
namev LIKE knvk-namev, "Contact's First Name
R3DK906182 - start rename the contact to use customer name 2
name2 LIKE knvk-name1, "Contact's Surname
cname2 LIKE knvk-name1, "Contact's Surname
R3DK906182 - end
telf1 LIKE sza5_d0700-tel_number, "Telephone No.
extn1 LIKE sza5_d0700-tel_extens, "Fax No.
current LIKE bseg-dmbtr, "Currently Overdue
30days LIKE bseg-dmbtr, "30 Days Overdue