‎2009 Sep 17 10:05 AM
Hi all
when i run my abap program i got a below error which is disply in text format.
in my program output is customer detail as an user input date or cust. no.. But when i fire this program and in debug mode when control goes in CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' this time it's error occurs so please help me out as soon as possible. please .
thanks
ERROR
Runtime Errors MESSAGE_TYPE_X
Date and Time 17.09.2009 14:32:16
Short text
The current application triggered a termination with a short dump.
What happened?
The current application program detected a situation which really
should not occur. Therefore, a termination with a short dump was
triggered on purpose by the key word MESSAGE (type X).
Error analysis
Short text of error message:
Long text of error message:
Technical information about the message:
Message class....... "0K"
Number.............. 000
Variable 1.......... " "
Variable 2.......... " "
Variable 3.......... " "
Variable 4.......... " "
Trigger Location of Runtime Error
Program SAPLSLVC
Include LSLVCF36
Row 2,738
Module type (FORM)
Module Name FILL_DATA_TABLE
2719 ************************************
2720 ls_lvc_data-value = space.
2721 clear ls_lvc_data-style.
2722 loop at it_fcat_local assigning <ls_fcat>
2723 where tech ne 'X' and no_out ne 'X'.
2724 if l_invisible eq 'X'.
2725 clear l_invisible.
2726 if <ls_fcat>-do_sum is initial.
2727 continue.
2728 else.
2729 clear ls_lvc_data-col_pos.
2730 endif.
2731 endif.
2732
2733 add 1 to ls_lvc_data-col_pos.
2734
2735 assign component <ls_fcat>-fieldname
2736 of structure <ls_data> to <l_field_value>.
2737 if sy-subrc ne 0.
>>>>> message x000(0k).
2739 endif.
2740
2741 *... work on average
2742 if <ls_fcat>-do_sum eq 'C'.
2743 * Initialize average result and entries
2744 <l_field_value> = 0.
2745 clear l_entries.
2746
2747 * retrive unit from fieldcatalog
2748 assign space to <l_unit>.
2749 if not <ls_fcat>-cfieldname is initial.
2750 assign component <ls_fcat>-cfieldname
2751 of structure <ls_data> to <l_unit>.
2752 endif.
2753 if not <ls_fcat>-qfieldname is initial.
2754 assign component <ls_fcat>-qfieldname
2755 of structure <ls_data> to <l_unit>.
2756 endif.
‎2009 Sep 17 12:17 PM
I think you have add a field name into Fieldcatalog which is not a field of the internal table
‎2009 Sep 17 10:14 AM
‎2009 Sep 17 10:18 AM
The MESSAGE_TYPE_X error usually occurs due to lack of resources. Try running from another computer or restarting.
‎2009 Sep 17 10:31 AM
Hi,
I believe that it has some problem with fieldcatalog internal table. Can you paste some portion of your fieldcatalog itab building and your itab which is displayed .
Thanks
Venkat.O
‎2009 Sep 17 12:17 PM
I think you have add a field name into Fieldcatalog which is not a field of the internal table