GETWA_NOT_ASSIGNED

来源:互联网 发布:淘宝差评申诉成功几率 编辑:程序博客网 时间:2024/06/06 01:08

在导出本地文件时报了ABAP错误:
Runtime Errors         GETWA_NOT_ASSIGNED

 发生了什么?
     Error in the ABAP Application Program

     The current ABAP program "SAPLSLVC" had to be terminated because it has
     come across a statement that unfortunately cannot be executed.

或者这样
Runtime Errors         GETWA_NOT_ASSIGNED

 发生了什么?
     Error in the ABAP Application Program

     The current ABAP program "SAPLKKBL" had to be terminated because it has
     come across a statement that unfortunately cannot be executed.

 

谷歌说两个原因:
1. ALV显示超过了99列,不被支持。
2. ALV字段名错误,定义输出ALV的字段名跟内表定义的字段名不一致。





FORM frm_fill_fldcat .

  DATA lw_fieldcat TYPE slis_fieldcat_alv.
  CLEAR lw_fieldcat  .
  lw_fieldcat-tabname 'GT_IFLO'.
  lw_fieldcat-fieldname 'SWERK'.
  lw_fieldcat-seltext_m '门店'.
  lw_fieldcat-outputlen '10'.
  APPEND lw_fieldcat TO gt_fieldcat .

endform.

引号里的小写就会出这种错