Skip to Content
0
Former Member
Sep 10, 2007 at 06:52 AM

URGENT ISSUE ! PLS SEE IT ( related to cureency field in field catalog)

17 Views

Hi Gurus,

I have populated the field catalog inf like this.

is_FIELDCATALOG-FIELDNAME = 'W_EXT_AMOUNT'.

is_FIELDCATALOG-SELTEXT_M = 'Extended Amount'.

is_FIELDCATALOG-COL_POS = 4.

IS_FIELDCATALOG-OUTPUTLEN = 16.

is_FIELDCATALOG-REF_FIELDNAME = 'WAERS'.

is_FIELDCATALOG-REF_TABNAME = 'T001'.

IS_FIELDCATALOG-CFIELDNAME = 'DMBTR'.

is_fieldcatalog-ctabname = 'BSIS'.

APPEND IS_FIELDCATALOG TO IT_FIELDCATALOG.

CLEAR IS_FIELDCATALOG.

Data : W_EXT_AMOUNT type DMBTR.

I calculated it using

W_EXT_AMOUNT = IS_ERROR-AMOUNT * P_NETAMT.( amount is of type

DMBTR)

in the out put Amount is displayed with value 0,00

W_EXT_AMOUNT displayed as blank

when i print it for spool generation, its giving following dump

DUMP analysis.

What happened?

Error in the ABAP Application Program

The current ABAP program "SAPLKKBL" had to be terminated because

come across a statement that unfortunately cannot be executed.

You attempted to access an unassigned field symbol

(data segment 95).

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.

SourceCde

2785 case gs_out-field_colcount.

2786 when 001.

2787 if gs_out_flags-slave ne 'X'.

2788 assign <fm01> to <field>.

2789 gs_fc = gs_mfc01.

2790 else.

2791 assign <fs01> to <field>.

2792 gs_fc = gs_sfc01.

2793 endif.

2794 when 002.

2795 if gs_out_flags-slave ne 'X'.

2796 assign <fm02> to <field>.

2797 gs_fc = gs_mfc02.

2798 else.

2799 assign <fs02> to <field>.

2800 gs_fc = gs_sfc02.

2801 endif.

2802 when 003.

2803 if gs_out_flags-slave ne 'X'.

2804 assign <fm03> to <field>.

2805 gs_fc = gs_mfc03.

2806 else.

2807 assign <fs03> to <field>.

2808 gs_fc = gs_sfc03.

2809 endif.

2810 when 004.

2811 if gs_out_flags-slave ne 'X'.

>>>> assign <fm04> to <field>.2813 gs_fc = gs_mfc04.

2814 else.

2815 assign <fs04> to <field>.

2816 gs_fc = gs_sfc04.

2817 endif.

Note : problem may be with field catalog population since if i remove W_EXT_AMOUNT it is working fine, not giving any dump.

Pls see.

Thanks & Regards

Srinivas Rao