61706
Code:
interface IF_SMOI_WS_REGISTER_TASK
public .
interfaces IF_SMOI_WS_STATUS_LOG .
data MV_LOG_SUBOBJECT type BALSUBOBJ read-only .
data MV_TASKRESULT type SMOI_WS_TASKRESULT .
data MV_TASKNAME type STRING .
methods VALIDATE_INPUT
importing
!IR_COMPONENT type ref to CL_SMOI_WS_MONCOMP
returning
value(RT_RESULT) type SMOI_WS_INPUTVAL_RES_TT .
methods EXECUTE
importing
!IR_COMPONENT type ref to CL_SMOI_WS_MONCOMP .
endinterface.
Code:
class CL_SMOI_WS_TSK_BASE definition
public
abstract
create public .
public section.
interfaces IF_SMOI_WS_REGISTER_TASK .
interfaces IF_SMOI_WS_STATUS_LOG .
Code:
protected section.
methods DO_TASK
importing
!IR_COMPONENT type ref to CL_SMOI_WS_MONCOMP .
methods UNDO_TASK
importing
!IR_COMPONENT type ref to CL_SMOI_WS_MONCOMP .
methods SET_LOG_LEVEL
importing
!IR_COMPONENT type ref to CL_SMOI_WS_MONCOMP .
Code:
private section.
Code:
class IDREPFW_CL_EVENTS definition
public
final
create public .
public section.
methods CALL_EVENT_ALV
importing
!IV_EVENT type IDREPFW_EVENT
!IV_REP_SECT type IDREPFW_REP_SECTION_ID
!IS_REP_KEY type IDREPFW_STR_REP_KEY
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_ALVDATA type IDREPFW_STR_ALVDATA .
methods CALL_EVENT_CORE
importing
!IV_EVENT type IDREPFW_EVENT
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_RUNDATA type IDREPFW_STR_RUNDATA .
methods CONSTRUCTOR
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY optional .
methods EVENT_0011
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY
changing
!CS_SECT_VALUES type IDREPFW_STR_SECT_VALUES
!CT_RETURN type BAPIRETTAB .
methods EVENT_0023
importing
!IT_USR_ADDFIELDS type IDREPFW_TAB_USR_ADDFIELDS
changing
!CV_FUNCTXT_02 type RSFUNC_TXT
!CV_FUNCTXT_03 type RSFUNC_TXT
!CV_FUNCTXT_04 type RSFUNC_TXT .
methods EVENT_0015
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY
changing
!CV_DOCU_CLASS type DOKU_CLASS
!CV_DOCU_NAME type DOKU_ONAME .
methods EVENT_0024
importing
!IV_USER_COMMAND type SYUCOMM default SY-UCOMM
changing
!CT_USR_ADDFIELDS type IDREPFW_TAB_USR_ADDFIELDS .
methods EVENT_0090
importing
!IS_RUNDATA type IDREPFW_STR_RUNDATA
exporting
!ET_RETURN type BAPIRETTAB .
methods EVENT_0070
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IS_RUN_SECT type IDREPFW_STR_RUN_SECT
!IS_ALV_DATA type IDREPFW_STR_ALVDATA
changing
!CR_ALV_TREE type ref to CL_GUI_ALV_TREE
!CT_RETURN type BAPIRETTAB .
methods EVENT_1050
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IV_RUNID type IDREPFW_RUNID
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_GUI_STATUS type IDREPFW_STR_GUI_STATUS .
methods EVENT_1060
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY
exporting
!ET_RETURN type BAPIRETTAB
changing
!CV_UC_FORM type C
!CV_REPID type REPID .
methods EVENT_1070
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IV_REP_SECT type IDREPFW_REP_SECTION_ID
!IR_GRID type ref to CL_GUI_ALV_GRID
!IS_COLUMN type LVC_S_COL
!IS_ROW_NO type LVC_S_ROW
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_RUN_SECT type IDREPFW_STR_RUN_SECT .
methods EVENT_1080
importing
!IT_PDF_VERSN type IDREPFW_TAB_PDF_VERSN optional
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_RUNDATA type IDREPFW_STR_RUNDATA .
methods EVENT_1090
importing
!IT_XML_VERSN type IDREPFW_TAB_XML_VERSN
exporting
!ET_XML_OUT type IDREPFW_TAB_XML_OUT
!ET_RETURN type BAPIRETTAB
changing
!CS_RUNDATA type IDREPFW_STR_RUNDATA .
methods EVENT_2000
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IV_REP_SECT type IDREPFW_REP_SECTION_ID
!IV_REP_STRUC type IDREPFW_REP_STRUC
!IS_DATA_ROW type ANY
changing
!CT_CELLTAB type LVC_T_STYL
!CT_COLORTAB type LVC_T_SCOL .
methods EVENT_2010
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IS_DIR_SETTINGS type IDREPFW_STR_RUN_SETTINGS_1
!IV_FILENAME type STRING
!IV_FILE_X type XSTRING
changing
!CT_RETURN type BAPIRETTAB .
methods EVENT_1081
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IS_RUN_VALUES type IDREPFW_STR_RUN_VALUES
!IT_RUN_SECT type IDREPFW_TAB_RUN_SECT
!IV_PDF_VERSN type IDREPFW_PDF_VERSN
!IV_FUNCNAME type FUNCNAME
!IS_PDF_OUTPUT type IDREPFW_O_PDF_C
changing
!CT_RETURN type BAPIRETTAB .
methods EVENT_2020
importing
!IS_RUNDATA_1 type IDREPFW_STR_RUNDATA
!IS_RUNDATA_2 type IDREPFW_STR_RUNDATA
exporting
!ET_RETURN type BAPIRETTAB .
methods EVENT_2030
importing
!IV_XML_VERSN type IDREPFW_XML_VERSN
!IV_DIV_COUNT type I
!IS_XSLT_DATA type DATA
exporting
!ET_RETURN type BAPIRETTAB
!ET_XSLT_DATA type STANDARD TABLE .
methods EVENT_1055
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IP_RUNID type IDREPFW_RUNID
!IS_RUN_SETTINGS type IDREPFW_STR_RUN_SETTINGS
!IS_RUN_VALUES type IDREPFW_STR_RUN_VALUES
!IT_SELPARAMS_T type IDREPFW_TAB_SELPARAMS
!IT_USR_ADDFIELDS type IDREPFW_TAB_USR_ADDFIELDS .
methods EVENT_1074
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IV_REP_SECT type IDREPFW_REP_SECTION_ID
!IS_RUN_SECT type IDREPFW_STR_RUN_SECT
!IS_ALV_DATA type IDREPFW_STR_ALVDATA
changing
!CV_NODE_SELECTION_MODE type I default 0
!CV_ITEM_SELECTION type AS4FLAG default 'X'
!CV_NO_TOOLBAR type AS4FLAG default ''
!CV_NO_HTML_HEADER type AS4FLAG default 'X'
!CS_HIERARCHY_HEADER type TREEV_HHDR optional
!CS_EXCEPTION_FIELD type LVC_S_L004 optional
!CT_SPECIAL_GROUPS type LVC_T_SGRP optional
!CT_RETURN type BAPIRETTAB optional .
methods EVENT_1075
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IV_REP_SECT type IDREPFW_REP_SECTION_ID
!IR_ALV_TREE type ref to CL_GUI_ALV_TREE
!IV_NODE_KEY type LVC_NKEY
changing
!CS_RUN_SECT type IDREPFW_STR_RUN_SECT
!CT_RETURN type BAPIRETTAB .
type-pools ABAP .
class-methods EVENT_2061
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IV_REP_SECT type IDREPFW_REP_SECTION_ID
!IP_SHOW_ALL_COLS type ABAP_BOOL
!IT_CHANGED_COLS type FIELDNAME_TAB
!IP_SECT_STRUCTURE type IDREPFW_REP_STRUC
exporting
!ET_RETURN type BAPIRETTAB
changing
!CT_FCAT type LVC_T_FCAT .
methods EVENT_1076
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IV_REP_SECT type IDREPFW_REP_SECTION_ID
!IR_ALV_TREE type ref to CL_GUI_ALV_TREE
!IV_NODE_KEY type LVC_NKEY
!IV_FIELD_NAME type LVC_FNAME
changing
!CS_RUN_SECT type IDREPFW_STR_RUN_SECT
!CT_RETURN type BAPIRETTAB .
class-methods GET_EVENT_FUNCTIONS_LIST
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IV_EMPTY type BOOLE_D
returning
value(RT_EVENTS) type IDREPFW_TAB_EVE_FUNC .
methods EVENT_2080
importing
!IV_FILENAME type STRING
!IS_CSV_OUTPUT type IDREPFW_O_CSV_E
changing
!CT_RETURN type BAPIRETTAB
!CS_RUNDATA type IDREPFW_STR_RUNDATA .
methods EVENT_2040
importing
!IV_REP_SECT type IDREPFW_REP_SECTION_ID
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_RUNDATA type IDREPFW_STR_RUNDATA .
methods EVENT_2081
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IS_RUN_VALUES type IDREPFW_STR_RUN_VALUES
!IS_CSV_OUTPUT type IDREPFW_O_CSV_E
!IT_RUN_SECT type IDREPFW_TAB_RUN_SECT
!IS_SECTION_HDR type ANY optional
!IT_SECTION_TAB type ANY TABLE optional
exporting
!ET_CSV_TABLE type ANY TABLE
changing
!CT_RETURN type BAPIRETTAB .
methods EVENT_2090
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IV_FILE_TYPE type CHAR3
!IS_RUNDATA type IDREPFW_STR_RUNDATA
changing
!CV_FILENAME type STRING .
Code:
protected section.
data MS_REP_KEY type IDREPFW_STR_REP_KEY .
data MT_EVENTS type IDREPFW_TAB_EVE_FUNC .
methods EVENT_0010
importing
!IT_FNAM type FBNAME
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_RUNDATA type IDREPFW_STR_RUNDATA .
methods EVENT_0020
importing
!IT_FNAM type FBNAME
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_RUNDATA type IDREPFW_STR_RUNDATA .
methods EVENT_0030
importing
!IT_FNAM type FBNAME
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_RUNDATA type IDREPFW_STR_RUNDATA .
methods EVENT_0040
importing
!IT_FNAM type FBNAME
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_RUNDATA type IDREPFW_STR_RUNDATA .
methods EVENT_0025
importing
!IT_FNAM type FBNAME
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_RUNDATA type IDREPFW_STR_RUNDATA .
methods EVENT_0050
importing
!IT_FNAM type FBNAME
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_RUNDATA type IDREPFW_STR_RUNDATA .
methods EVENT_0060
importing
!IT_FNAM type FBNAME
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_RUNDATA type IDREPFW_STR_RUNDATA .
methods EVENT_0039
importing
!IT_FNAM type FBNAME
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_RUNDATA type IDREPFW_STR_RUNDATA .
methods EVENT_0080
importing
!IT_FNAM type FBNAME
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_RUNDATA type IDREPFW_STR_RUNDATA .
methods EVENT_0100
importing
!IT_FNAM type FBNAME
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_RUNDATA type IDREPFW_STR_RUNDATA .
methods EVENT_1010
importing
!IT_FNAM type FBNAME
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IV_SECT type IDREPFW_REP_SECTION_ID
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_ALVDATA type IDREPFW_STR_ALVDATA .
methods EVENT_1020
importing
!IT_FNAM type FBNAME
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IV_SECT type IDREPFW_REP_SECTION_ID
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_ALVDATA type IDREPFW_STR_ALVDATA .
methods EVENT_1030
importing
!IT_FNAM type FBNAME
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IV_SECT type IDREPFW_REP_SECTION_ID
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_ALVDATA type IDREPFW_STR_ALVDATA .
methods EVENT_1040
importing
!IT_FNAM type FBNAME
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IV_SECT type IDREPFW_REP_SECTION_ID
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_ALVDATA type IDREPFW_STR_ALVDATA .
methods EVENT_1025
importing
!IT_FNAM type FBNAME
!IS_REP_KEY type IDREPFW_STR_REP_KEY
!IV_SECT type IDREPFW_REP_SECTION_ID
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_ALVDATA type IDREPFW_STR_ALVDATA .
methods EVENT_2050
importing
!IT_FNAM type FBNAME
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_RUNDATA type IDREPFW_STR_RUNDATA .
methods EVENT_2060
importing
!IT_FNAM type FBNAME
exporting
!ET_RETURN type BAPIRETTAB
changing
!CS_RUNDATA type IDREPFW_STR_RUNDATA .
methods GET_EVENT_FUNC
importing
!IV_EVENT type IDREPFW_EVENT
returning
value(RT_FNAME) type FBNAME .
methods GET_LIST_OF_EVENTS
returning
value(RT_EVENTS) type IDREPFW_TAB_EVE_FUNC .
methods PREPARE_ACTIVE_EVENT_FUNCTIONS
importing
!IS_REP_KEY type IDREPFW_STR_REP_KEY .
Code:
private section.
methods ADD_NEW_EVENT_FUNC
importing
!IV_EVENT type IDREPFW_EVENT
!IV_FNAM type RS38L_FNAM
!IV_SEQNO type IDREPFW_SEQNO .