We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE: [sap-abap] Run time error in alv interactive report

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Posted by Ben Meijs Ctac (Product Manager SAP Developments)
on May 5 at 6:56 AM
Hi Karthe,

I think we need a little bit more information here. The problem seems to be that a return code was returned somewhere (but where?) that should be 0. We need to know the lines of code before the IF statement.
Met vriendelijke groeten/ kind regards,

Ben Meijs
www.ctac.nl

---------------Original Message---------------
From: karthe16
Sent: Thursday, May 05, 2011 6:50 AM
Subject: Run time error in alv interactive report

Dear all,

My interactive report is working fine, and I'm getting the correct output which has various columns.

While I'm selecting order quantity column fully for checking the total of the entire quantity I'm getting following dumb.

if sy-subrc ne 0.
message x000(ok)
endif.

this is my sample code
perform field_catelogue.
perform display_alv.

form field_catelogue.
perform add_fcat using 'bmeng' 'it_final' 'confirmqty' '' '' '' '' '15'.
perform add_fcat using 'kwmeng' 'it_final' 'order qty' '' '' '' '' '15'.
endform.

form add_fcat using
fieldname
tabname
seltext_l
do_sum
emphasize
decimals_out
edit_mask
outputlen.

ya_fieldcat-fieldname = fieldname.
ya_fieldcat-tabname = tabname.
ya_fieldcat-seltext_l = seltext_l.
ya_fieldcat-do_sum = do_sum.
ya_fieldcat-emphasize = emphasize.
ya_fieldcat-decimals_out = decimals_out.
ya_fieldcat-edit_mask = edit_mask.
ya_fieldcat-outputlen = outputlen.

append ya_fieldcat to t_fieldcat.
clear ya_fieldcat.
endform.

I have worked in many reports this is the first time I'm getting this dump.
Kindly help me with the same

regards
karthe

__.____._
Copyright © 2011 Toolbox.com and message author.

Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Mark as helpful
View this online
  
Ben Meijs Ctac
SAP ABAP Helper

Posted helpful replies on 5 threads in a group to earn a Bronze Achievement
Popular White Papers

In the Spotlight
SAP Enterprise Mobility Webcast Watch today!
_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language