PROCESS BEFORE OUTPUT.
*&SPWIZARD: PBO FLOW LOGIC FOR TABLECONTROL 'TBL2'
MODULE TBL2_CHANGE_TC_ATTR.
*&SPWIZARD: MODULE TBL2_CHANGE_COL_ATTR.
LOOP AT SP1
WITH CONTROL TBL2
CURSOR TBL2-CURRENT_LINE.
*&SPWIZARD: MODULE TBL2_CHANGE_FIELD_ATTR
ENDLOOP.
MODULE STATUS_0100.
*
PROCESS AFTER INPUT.
*&SPWIZARD: PAI FLOW LOGIC FOR TABLECONTROL 'TBL2'
LOOP AT SP1.
CHAIN.
FIELD SP1-CARRID.
FIELD SP1-CONNID.
FIELD SP1-COUNTRYFR.
FIELD SP1-CITYFROM.
FIELD SP1-AIRPFROM.
FIELD SP1-COUNTRYTO.
FIELD SP1-CITYTO.
FIELD SP1-AIRPTO.
MODULE TBL2_MODIFY ON CHAIN-REQUEST.
endchain.
ENDLOOP.
*&SPWIZARD: MODULE TBL2_CHANGE_TC_ATTR.
*&SPWIZARD: MODULE TBL2_CHANGE_COL_ATTR.
MODULE CANCEL AT EXIT-COMMAND.
* MODULE USER_COMMAND_0100.
自動建立Table Control
最新推荐文章于 2022-07-13 20:22:53 发布
本文概述了模块对表格TBL2的操作流程,包括改变属性、字段修改及输入输出处理。重点展示了MODULETBL2_CHANGE_TC_ATTR、MODULETBL2_CHANGE_COL_ATTR和MODULETBL2_CHANGE_FIELD_ATTR等关键步骤,并提到了模块状态处理和请求修改的细节。
摘要由CSDN通过智能技术生成