【问题标题】:Unhide a column in ALV grid取消隐藏 ALV 网格中的列
【发布时间】:2019-04-01 09:31:41
【问题描述】:

我有两个使用相同程序的 SAP 系统。

The column Nome 2 is displayed in the ALV grid of the system1 but in the ALV grid of the system2 is hidden and when select the details you could see the Nome 2 两个系统的价值。

程序使用字段目录传递字段列表以显示在 ALV 中,并且还使用函数 'REUSE_ALV_GRID_DISPLAY'。

如果有人有任何可以解决它的建议,我将非常高兴。

问候,

娜塔莉

【问题讨论】:

  • 可见性可能会受到登录属性(语言或命令)的影响,您也可以检查是否有一些变体影响此行为

标签: sap field catalog alv


【解决方案1】:

检查系统1中fieldcatalog的no-out属性。那里似乎启用了:

你想像这样搜索行:

IF T_FIELDCAT-FIELDNAME = 'NOME1'.
    T_FIELDCAT-NO_OUT = 'X'.
    MODIFY T_FIELDCAT INDEX sy-tabix.
ENDLOOP.

删除NO-OUT 行,瞧!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-12-25
    • 1970-01-01
    • 1970-01-01
    • 2022-01-09
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多