on 03-24-2010 7:30 AM
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.
gk_final_ok-customerno+gk_final_ok-custcolor 问题应该出在这里
不知道你的 gk_final_ok-custcolor 是个什么东西,为什么要把颜色字段当作一个偏移量来使用?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.