zoukankan      html  css  js  c++  java
  • SAP ALV报表导出本地文件报错:GETWA_NOT_ASSIGNED 解决办法

    SAP 报表导出本地文件时报错:

    报错文档如下:

    Runtime Errors GETWA_NOT_ASSIGNED
    Date and Time 2020-10-15 14:59:42

    Short text
    Field symbol has not yet been 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.
    Note down which actions and inputs caused the error.

    To process the problem further, contact you SAP system
    administrator.

    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.

    错误分析
    You attempted to access an unassigned field symbol
    (data segment 136).

    This error may occur if
    - You address a typed field symbol before it has been set with
    ASSIGN
    - You address a field symbol that pointed to the line of an
    internal table that was deleted
    - You address a field symbol that was previously reset using
    UNASSIGN or that pointed to a local field that no
    longer exists
    - You address a global function interface, although the
    respective function module is not active - that is, is
    not in the list of active calls. The list of active calls
    can be taken from this short dump.

    经查:有两个原因

    1. ALV显示超过了99列,不被支持。
    2. ALV字段名错误,定义输出ALV的字段名跟内表定义的字段名不一致。(Fieldcat-fieldname 赋值的时候是小写字母)

    我这里的情况是第一种,使用部门导出的是xls格式的Excel文件

     

     然后我用 MHTML 格式导出,发现可以,一百多列也可以导出

    问题解决,升级office,导出时选择 Excel(MHTML格式)即可!可以另存为.xlsx格式!。 

    我的Office版本是:MS Office 2016专业版

     

    每天学习一个知识点,累积就是财富。
  • 相关阅读:
    Python Requests-学习笔记(9)-错误与异常
    .NET C# 创建WebService服务简单的例子
    10个免费开源的JS音乐播放器插件
    7款高颜值HTML5播放器:让你的音乐有声有色
    Asp.net基于session实现购物车的方法
    ASP.NET用GridView控件实现购物车功能
    jquery鼠标跟随流体吸引特效
    jquery鼠标跟随特效
    JQUERY互动星空粒子背景效果
    jQuery插件库常用前端库引用地址
  • 原文地址:https://www.cnblogs.com/buduzhiren/p/13821542.html
Copyright © 2011-2022 走看看