在表T588Z中,保存着 dynamic action 的 customizing。例如
-----------------------------------------------------------------------------
0000 04 11 p P0000-MASSN='01'
0000 04 12 p T001P-MOLGA='32'
0000 04 13 I INS,0041,,,(P0000-BEGDA),(P0000-ENDDA)/D
0000 04 14 w P0041-DAR01='01'
0000 04 15 w P0041-DAT01=P0000-BEGDA
0000 04 16 w P0041-DAR02='V1'
0000 04 17 w P0041-DAT02=P0000-BEGDA
-----------------------------------------------------------------------------
第二列的含义:
00 for Independent of the current function carried out
02 for Change
04 for Create
06 for Change and create
08 for Delete
10 for Change and delete
12 for Create and delete
Examples
If you enter 06, an action is carried out if the specified infotype was created or changed.
第四列的含义:
P - Check conditions
I - Maintain infotype record
W - Set default values when creating a new record
V - Reference to another step
F - Call routine
M - Send mail
If you enter 00, an action is carried out irrespective of whether the specified infotype was created, changed or deleted.
第五列的含义:
P行表示 需要满足的条件。即info0000(当前页面)中的某些字段要满足的条件。
I行表示 对infotype进行的操作。
1 在这里,INS表示 插入。实质上,除了后面的默认值,还会插入pernr和操作人id。
COP表示 复制。如果当前的pernr在0041中已经存在,就复制;如果不存在,则插入。
2 INS,0041,,,(P0000-BEGDA),(P0000-ENDDA)/D
这里,在0041后,空了两个位置,分别表示 subtype 和 objectID 为空。
/D表示 后台运行,用户看不到。如果去掉,用户会看到维护info0041的界面。
(P0000-BEGDA),(P0000-ENDDA) 依次出现在之后,我认为是约定俗成的符合了这两个字段在0041中的顺序。
W行表示 赋默认值。这里是根据名字来对应赋值的字段。(I行 是根据界面的字段出现顺序)
F, M行 没深入研究,以后再补充上。
.
.
.
=====================================================================
http://wiki.sdn.sap.com/wiki/display/Snippets/Dynamic+Action
http://it.toolbox.com/wiki/index.php/Dynamic_Action#Field_Name_.28FIELDN.29