2007 Feb 27 11:31 AM
Hi all,
After displaying the list in ALV grid, when i total the value of particular column then its giving me dump.
By giving message as
Runtime errors: MESSAGE_TYPE_X
Please help to resolve this issue.
Thanks in advance
Hi all,
After displaying the list in ALV grid, when i total the value of particular column then its giving me dump.
By giving message as
Runtime errors: MESSAGE_TYPE_X
Please help to resolve this issue.
Thanks in advance
2007 Feb 27 11:34 AM
How did you fill the fieldcatalog for that quantity, the field's type should be a numeric one like QUAN.
Regards,
Ravi
2007 Feb 27 11:36 AM
Refer this link, whetehr u have followed this way of coding.
http://www.sapdevelopment.co.uk/reporting/alvhome.htm
Reward if this helps,
2007 Feb 27 11:37 AM
hi,
try to set the sum field type is like bseg-dmbtr. ( currency or number type )
set ALV_CATALOG-DO_SUM = 'X'.
result will be with sum.
regards
raj
2007 Feb 27 11:43 AM
2007 Feb 27 11:50 AM
i am not getting any problem while displaying the list...List of a report is displaying fine...but after that when click on Total Button of ALV Grid List then its giving me Short Dump.
2007 Feb 27 11:52 AM
hi,
for getting the total, the field shuld be a numeric type.kindly chk that.
Regards
anver
2007 Feb 27 11:57 AM
2007 Mar 09 1:54 PM
hello,
i face the similar problem like u i got the proper solution for that,
u shud look care fully towards urs alv field catalog str. where u populate the fields for output there u might somthing wrong with fields like..
wa_fieldcat-fieldname = 'MENGE'.
wa_fieldcat-seltext_m = 'QUANTITY'.
wa_fieldcat-col_pos = '12'.
wa_fieldcat-just = 'L'.
wa_fieldcat-DO_SUM = 'X'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
instead of this u might b somthing wrong while typing..
like that..
wa_fieldcat-fieldname = 'MANGE'.************************WRONG CAUSE IT IS *********************************NOT IN DB.
wa_fieldcat-seltext_m = 'QUANTITY'.
wa_fieldcat-col_pos = '12'.
wa_fieldcat-just = 'L'.
wa_fieldcat-DO_SUM = 'X'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
BYE..
2007 Mar 10 6:05 AM
Thanks to all for the help.
i was getting a short dump due to one of the field name not added in my final internal table which was getting displayed in the output.
i had added the filed name & my problem was solved
2007 Mar 10 6:31 AM
hi Heta,
kindly assaign points to all peoplr who helped u.
Regards
Anver