1、使用function触发事件DATA: lt_messages TYPE TABLE OF swr_messag, lt_mess_struct TYPE TABLE OF swr_mstruc.DATA: ld_object_type TYPE swr_struct-object_typ VALUE 'ZBO22RHRWF', ld_object_key TYPE swr_struct-object_key,ld_event TYPE swr_struct-event
2、 VALUE 'CREAT'.REFRESH gt_con. gs_con-element = 'US'. gs_con-value = ls_rzzz-pmzhz. IF gs_con-value IS INITIAL. gs_con-value = sy-uname. ENDIF. APPEND gs_con TO gt_con. ld_object_key = lv_objid. CALL FUNCTI
8、on. CONCATENATE '实例号' c_instanceid '流程启动成功' INTO l_message. IF rc EQ 0. MESSAGE s001(00) WITH l_message. ELSE. MESSAGE s001(00) WITH l_message DISPLAY LIKE 'E'. ENDIF. LEAVE TO