Quantcast
Channel: SCN : Popular Discussions - ABAP和Java开发 (ABAP & Java Development)
Viewing all articles
Browse latest Browse all 4604

Unable to interpret "M" as a number.

$
0
0

data: l_period(6) type n.

data:        g_cols type i ,                     " number of columns

             g_rows type i,                      " Number of Lines

             g_dc(5) type c,                     " Date format

             g_count type n,                     "Period Value Count

             g_sta_col(6) type i.                   "Start Column

 

move g_sta_col to l_period.

      move g_sta_col to wa_colno.

  •      move wa_colno to wa_flname.

      concatenate g_dc wa_colno into wa_flname.

  • Set up fieldvalue

 

      read table it_total

          with key matnr = gk_final_ok-plantno customerno = gk_final_ok-customerno+gk_final_ok-custcolor spmon = l_period.

      if sy-subrc eq 0.

        fieldvalue = it_total-kwmeng.

      else.

        fieldvalue = ''.

      endif.

当我调试时此行报错,哪位大哥知道是什么原因呀?

read table it_total

          with key matnr = gk_final_ok-plantno customerno = gk_final_ok-customerno+gk_final_ok-custcolor spmon = l_period.


Viewing all articles
Browse latest Browse all 4604

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>