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

Short dump

Former Member
0 Likes
907

Hi all,

I am working on a program and while executing this I got this short dump

Termination occurred in the ABAP program "SAPLSLVC" - in "FILL_DATA_TABLE".

The main program was "ZTEST ".

In the source code you have the termination point in line 2734

of the (Include) program "LSLVCF36".

Can you please tell me what exactly is going wrong and how to correct this.

Thanks,

Rajeev

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
749

this is exactly where the error is coming:

2713 ************************************

2714 * Column per Fieldcat Entry

2715 ************************************

2716 ls_lvc_data-value = space.

2717 clear ls_lvc_data-style.

2718 loop at it_fcat_local assigning <ls_fcat>

2719 where tech ne 'X' and no_out ne 'X'.

2720 if l_invisible eq 'X'.

2721 clear l_invisible.

2722 if <ls_fcat>-do_sum is initial.

2723 continue.

2724 else.

2725 clear ls_lvc_data-col_pos.

2726 endif.

2727 endif.

2728

2729 add 1 to ls_lvc_data-col_pos.

2730

2731 assign component <ls_fcat>-fieldname

2732 of structure <ls_data> to <l_field_value>.

2733 if sy-subrc ne 0.

>>>>> message x000(0k).

4 REPLIES 4
Read only

Former Member
0 Likes
749

Hi Rajeev,

send me the code or error analysis please.

Read only

0 Likes
749

I have created a field catalog and till that time it's not giving me any short dump but as soon as use "display_alv_report" with the follwoing code it gives me a short dump:

call function 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

i_callback_program = gd_repid

i_callback_top_of_page = 'TOP-OF-PAGE'

is_layout = gd_layout

it_fieldcat = fieldcatalog[]

i_save = 'X'

TABLES

t_outtab = it_output

EXCEPTIONS

program_error = 1

others = 2.

if sy-subrc <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

endif.

error analysis doesn't say much it only says:

Error analysis

Short text of error message

Long text of error message:

Technical information about

Message class....... "0K"

Number.............. 000

Variable 1.......... " "

Variable 2.......... " "

Variable 3.......... " "

Variable 4.......... " "

Read only

Former Member
0 Likes
750

this is exactly where the error is coming:

2713 ************************************

2714 * Column per Fieldcat Entry

2715 ************************************

2716 ls_lvc_data-value = space.

2717 clear ls_lvc_data-style.

2718 loop at it_fcat_local assigning <ls_fcat>

2719 where tech ne 'X' and no_out ne 'X'.

2720 if l_invisible eq 'X'.

2721 clear l_invisible.

2722 if <ls_fcat>-do_sum is initial.

2723 continue.

2724 else.

2725 clear ls_lvc_data-col_pos.

2726 endif.

2727 endif.

2728

2729 add 1 to ls_lvc_data-col_pos.

2730

2731 assign component <ls_fcat>-fieldname

2732 of structure <ls_data> to <l_field_value>.

2733 if sy-subrc ne 0.

>>>>> message x000(0k).

Read only

0 Likes
749

Hi

Check how you fill the catalog table fieldcatalog, it seems there's some problem there.

Max