2011 Mar 26 9:41 AM
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
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
2011 Mar 26 10:47 AM
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
2011 Mar 26 11:19 AM
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
2011 Mar 26 4:19 PM
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
2011 Mar 26 4:27 PM
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
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |