zoukankan      html  css  js  c++  java
  • 如何对MM Document的字段进行隐藏/显示/必输/可选

    目标:将me21n中的storage location字段隐藏

    1. 首先把断点设在FM MEX_FELDAUSWAHL

    2. 进入需要更改字段的文件,如ME21N..断点会停留进入Debug

    取得I_AUSWAHL0至I_AUSWAHL6的值.

    解释一下这些字段的含义:

     o  AUSWAHL0: contains the key for the transaction code
     o  AUSWAHL1: contains the key for the activity type (AKT + V/H/A;    where V = Change, H = Create, A = Display)
     o  AUSWAHL2: contains the field selection key of the document type    (Table T161)
     o  AUSWAHL3: contains the key for the item type
     o  AUSWAHL4: contains the key for deleted items
     o  AUSWAHL5: contains the key for the price display (Table T160D)
     o  AUSWAHL6: contains the key for the sub-item type

    在此例中,我们需要更改ME21N, AKTH, NBF这三个项目行.

    ###########以上是准备工作..接下来就可以去更改字段的隐藏/显示/必输/可选###########

    3. 进入对应的business object:使用SM30进入表T162

    4.对于MM,无非就如下这些对象.

    在此例中,我们选择VV_162_F

    5.分别更改如下三个行项目.

    6. 进入Basic data, item

    7. 将storage location 字段全不选: 即隐藏

    8. 效果如下:

    参考Note: 30316 Problems with fields that are not ready for input in purch.

    注意: 此Note针对的是4.7之前的版本..之后的版本基本逻辑不变,但note中的t-code已不可用..需要直接走SPRO,或T162表

  • 相关阅读:
    数据库开发及ADO.NET
    C#典型案例及分析
    Visual Studio 2017 常用快捷键
    C#方法(函数)
    Linux常用命令----RPM包管理
    Linux常用命令----VIM命令
    Linux常用命令----压缩解压命令
    Linux常用命令----用户管理命令
    文件搜索命令
    Linux常用命令----权限管理命令
  • 原文地址:https://www.cnblogs.com/lazymango/p/1837294.html
Copyright © 2011-2022 走看看