如何对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表

posted on 2010-09-28 09:34  懒芒果  阅读(881)  评论(0编辑  收藏  举报