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

Runtime Error MESSAGE_TYPE_X

Former Member
0 Likes
710

Hi All,

In ALV grid i am getting a runtime error whenevre i want a sum on column value or sort the column.

I am using a SET_TABLE_FOR_FIRST_DISPLAY in the report for alv.Can anyone provide a solution for it

T & R

Basu

4 REPLIES 4
Read only

Former Member
0 Likes
646

Hi Buddy,

Can you Please test the same thing for sap standard report BCALV_TEST_GRID and let me know the same runtime error is occured or not?

Please give the full error details ..

Thanks

Surender

Read only

0 Likes
646

This is the following 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

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

Read only

0 Likes
646

hi

I think you have not assigned values to ur Field symbol which you are using in this code.

please check the assignment of the field symbols before using them.

Thanks

LG

Read only

Former Member
0 Likes
646

Hi,

Can you plese post your code here. So that it can be determined why it is happening.

May be because of Wrong Field Type.

Regards

Sandipan