步骤1:在component里引用OVS component
DEPT_OVS WDR_OVS System Component for OVS Input Help
OVS WDR_OVS System Component for OVS Input Help
步骤2:在context 里的对应字段比如Z_CENTER_CD 的属性input help mode改为object value selector 在OVS component usage里选择你刚才添加的OVS 名字
步骤3:在对应的view里引用刚才的OVS component
步骤4:增加OVS事件EVENT hander
步骤5:修改自动生成的代码
*****申請人事件*********
method OVS_APMAN_A .
* TYPES:* BEGIN OF LTY_STRU_INPUT, " 弹出框用于输入查询
* KUNNR_TR TYPE LIFNR,
* KUNNRTXT TYPE NAME1_GP,
* END OF LTY_STRU_INPUT.
*******************