给ALV表格添加单元格状态,测试中dump,系统提示插入或者修改一个排序表时产生错误。

Error when inserting or changing in a sorted table

 

 

检查错误位置:内表添加数据时发生错误。

1 DATA: gt_styl  TYPE lvc_t_styl,
2       gs_styl  TYPE lvc_s_styl.
3 
4 APPEND GS_STYL TO GT_STYL.

 

检查类型 LVC_T_STYL, 系统设置的是排序表。

Error when inserting or changing in a sorted table

 

 

调整数据写入方式,数据写入正常。

1 INSERT GS_STYL INTO TABLE GT_STYL.

 

相关文章:

  • 2022-01-17
  • 2021-09-13
  • 2022-01-27
  • 2021-06-30
  • 2021-12-15
  • 2022-12-23
  • 2021-11-14
  • 2021-11-01
猜你喜欢
  • 2022-12-23
  • 2022-03-07
  • 2021-09-02
  • 2021-10-06
  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案