SAP ABAP Class CL_GRFN_OWP_DELIVER (Offline Working Process deliver)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC (Application Component) Governance, Risk and Compliance
     GRFN_WORKFLOW (Package) GRC Workflow Inbox and feeder classes
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_INBOUND_EXIT_BCS BCS: Exit for Inbound Processing 20100906
Properties
Class CL_GRFN_OWP_DELIVER  
Short Description Offline Working Process deliver    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package GRFN_WORKFLOW   GRC Workflow Inbox and feeder classes 
Created 20100906   SAP 
Last change 20141106    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_GRFN_OWP_DELIVER has no forward declaration.
Interfaces
# Interface Abstract Final Description Created on
1 IF_INBOUND_EXIT_BCS BCS: Exit for Inbound Processing 20100906
Friends
Class CL_GRFN_OWP_DELIVER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CV_CLASSNAME Constant Private Type reference (TYPE) GRFN_CLASS_NAME 'CL_GRFN_OWP_DELIVER' Class Name 20110104
2 CV_SCENARIO_LEVEL Constant Public Type reference (TYPE) GRFN_OWP_ENBL_LVL '20' OWP enable level 20110110
3 CV_TASK_LEVEL Constant Public Type reference (TYPE) GRFN_OWP_ENBL_LVL '10' OWP enable level 20110110
4 GC_SUB_JOB_STATUS_DONE Constant Public Type reference (TYPE) CHAR1 'D' Sub Job Status: Ready 20120209
5 GC_SUB_JOB_STATUS_FAILED Constant Public Type reference (TYPE) CHAR1 'F' Sub Job Status: Ready 20120209
6 GC_SUB_JOB_STATUS_IN_PROCESS Constant Public Type reference (TYPE) CHAR1 'I' Sub Job Status: In Process 20120209
7 GC_SUB_JOB_STATUS_READY Constant Public Type reference (TYPE) CHAR1 'R' Sub Job Status: Ready 20120209
8 MO_APPLOG Instance attribute Private Object reference (TYPE REF TO) CL_GRFN_APPLOG_OWP GRC Offline Working Process Logging 20110104
9 MO_INSTANCE Static Attribute Private Object reference (TYPE REF TO) CL_GRFN_OWP_DELIVER Offline Working Process deliver 20100906
10 MO_SESSION Instance attribute Private Object reference (TYPE REF TO) CL_GRFN_API_SESSION Session Management for GRC APIs 20110118
11 MT_SCENARIO_INFO Instance attribute Private Type reference (TYPE) GRFNV_T_OWPBS Enable the scenario information 20110110
12 MT_TASK_INFO Instance attribute Private Type reference (TYPE) GRFNV_T_OWPTASK Enable the task information on task level 20110110
13 MT_TASK_LEVEL Instance attribute Private Type reference (TYPE) YT_TASK_LEVEL The task to load, and its level 20110110
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Public Constructor 20110104
2 DELIVER_WORKITEM Instance method Public Method [outbound] deliver for workitem 20120209
3 INBOUND_SAVE Instance method Public Method [inbound] Load and process PDF 20110113
4 START_DELIVER Instance method Public Method [outbound] Main Method for outbound process 20110111
5 TEST Instance method Public Method [outbound] Unit Test 20110113
6 TEST_PDF_ONLY Instance method Public Method [outbound] Unit Test for PDF generating ONLY 20110209
7 _CHECK_SENDER Instance method Public Method [inbound] Check and determinte sender 20110111
8 _CHECK_SUPPORTED_SCENARIO Instance method Private Method [outbound] Check Supported Scenarios 20120209
9 _CHECK_WF_AVAILABLE Instance method Private Method Check the workflow item is available for not 20110114
10 _CLEAR_DUPLICATE_IN_DMS Instance method Private Method [inbound] Clear Duplicate PDF File in DMS 20110824
11 _DELIVER_BY_SUB_JOB Instance method Private Method Deliver Workitem by Sub Job 20120209
12 _FILL_SUB_JOB_INDEX_TABLE Instance method Private Method Fill Sub Job Index Table 20120209
13 _LOAD_PDF Instance method Private Method [inbound] Load PDF file from DMS based on workitem ID 20110112
14 _LOAD_REGISTER_TASK Instance method Private Method [outbound] Load workflow tasks to be delivered by mail 20110111
15 _QUERY_WORKITEM Instance method Private Method [outbound] Query workitems 20110111
16 _READ_LAST_EXETIM Instance method Private Method [outbound] Read last OWP execution time 20110112
17 _READ_OWP_INFO Instance method Private Method [inbound] Read Form Name base and Handler Class Name 20110113
18 _READ_WORKITEM_ID Instance method Private Method [inbound] Extract Workitem ID from PDF 20110112
19 _SAVE_PDF Instance method Private Method [inbound] Save PDF file, then job will read it out 20110111
20 _TRIGGER_JOB Instance method Private Method [inbound] Trigger the job to save DB 20110113
21 _TRIGGER_SUB_JOB_FOR_DELIVER Instance method Private Method Trigger Sub Job for Delivering OWP Work Item 20120209
22 _UPDATE_LAST_EXETIM Instance method Private Method [outbound] Update OWP execution time 20110112
Events
Class CL_GRFN_OWP_DELIVER has no event.
Types
Class CL_GRFN_OWP_DELIVER has no local type.
Method Signatures

Method CONSTRUCTOR Signature

Method CONSTRUCTOR on class CL_GRFN_OWP_DELIVER has no parameter.
Method CONSTRUCTOR on class CL_GRFN_OWP_DELIVER has no exception.

Method DELIVER_WORKITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_WF_ID Value transfer Type reference (TYPE) SWW_WIID Work item ID 20120209
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120209

Method INBOUND_SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_WF_ID Value transfer Type reference (TYPE) SWW_WIID 20110113
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110113

Method START_DELIVER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SUB_JOB_NUM Call by reference Type reference (TYPE) INT1 Dummy for B20 int1 (Local Everywhere) 20120209

Method START_DELIVER on class CL_GRFN_OWP_DELIVER has no exception.

Method TEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_WF_ID Value transfer Type reference (TYPE) SWW_WIID Work item ID 20110113

Method TEST on class CL_GRFN_OWP_DELIVER has no exception.

Method TEST_PDF_ONLY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_FPFORMOUTPUT Call by reference Type reference (TYPE) FPFORMOUTPUT Form Output (PDF, PDL) 20110209
2 Importing IV_WF_ID Value transfer Type reference (TYPE) SWW_WIID Work item ID 20110209
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110216

Method _CHECK_SENDER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_OTHER_AGENT_ADDR Call by reference Type reference (TYPE) GRFN_T_RECIPIENT_EMAIL String table 20120209
2 Importing IV_ADDRESS Call by reference Type reference (TYPE) STRING 20110111
3 Importing IV_WF_ID Value transfer Type reference (TYPE) SWW_WIID Work item ID 20110111
4 Exporting RV_USER Value transfer Type reference (TYPE) UNAME User Name 20110111
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110112

Method _CHECK_SUPPORTED_SCENARIO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_API_ID Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Object ID 20120209
2 Importing IV_REGULATION_ID Value transfer Type reference (TYPE) GRFN_API_OBJECT_ID Regulation Configuration 20120209
3 Importing IV_WF_ID Value transfer Type reference (TYPE) SWW_WFID Work item ID 20120209
4 Importing IV_WF_TASK Value transfer Type reference (TYPE) SWW_TASK Task ID 20120209
5 Returning RV_VALUE Value transfer Type reference (TYPE) GRFN_BOOLEAN Indicator 20120209
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120209

Method _CHECK_WF_AVAILABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DONE_BY Value transfer Type reference (TYPE) UNAME User Name 20110520
2 Importing IV_WF_ID Value transfer Type reference (TYPE) SWW_WIID Work item ID 20110114
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110114

Method _CLEAR_DUPLICATE_IN_DMS Signature

Method _CLEAR_DUPLICATE_IN_DMS on class CL_GRFN_OWP_DELIVER has no parameter.
Method _CLEAR_DUPLICATE_IN_DMS on class CL_GRFN_OWP_DELIVER has no exception.

Method _DELIVER_BY_SUB_JOB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SUB_JOB_NUM Call by reference Type reference (TYPE) INT1 Dummy for B20 int1 (Local Everywhere) 20120209
2 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) 20120209

Method _DELIVER_BY_SUB_JOB on class CL_GRFN_OWP_DELIVER has no exception.

Method _FILL_SUB_JOB_INDEX_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_WI_LIST Call by reference Type reference (TYPE) SWRTWIHDR WAPI: Table Type for Work Item Header 20120209
2 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) 20120209
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20120209

Method _LOAD_PDF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_PDF Call by reference Type reference (TYPE) FPCONTENT Form Processing: Content from XFT, XFD, PDF, and so on 20110113
2 Importing IV_WF_ID Value transfer Type reference (TYPE) SWW_WIID Work item ID 20110113
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110113

Method _LOAD_REGISTER_TASK Signature

Method _LOAD_REGISTER_TASK on class CL_GRFN_OWP_DELIVER has no parameter.
Method _LOAD_REGISTER_TASK on class CL_GRFN_OWP_DELIVER has no exception.

Method _QUERY_WORKITEM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SWR_WIHDR Call by reference Type reference (TYPE) SWRTWIHDR WAPI: Table Type for Work Item Header 20110111
2 Exporting EV_NEWQRY_TIME Value transfer Type reference (TYPE) TIMESTAMPL Current Query Time 20110111
3 Importing IV_LSTQRY_TIME Value transfer Type reference (TYPE) TIMESTAMPL Last Query Time 20110111
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110111

Method _READ_LAST_EXETIM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_TIMESTAMP Value transfer Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20110113

Method _READ_LAST_EXETIM on class CL_GRFN_OWP_DELIVER has no exception.

Method _READ_OWP_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FORMNAME Value transfer Type reference (TYPE) FPNAME Name of Form Object 20110113
2 Exporting EV_HANDLER Value transfer Type reference (TYPE) GRFN_CLASS_NAME Class Name 20110118
3 Importing IV_WF_ID Value transfer Type reference (TYPE) SWW_WIID Form Processing: Content from XFT, XFD, PDF, and so on 20110113
4 Importing IV_WF_TASK Value transfer Type reference (TYPE) SWW_TASK Task ID 20110113
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110113

Method _READ_WORKITEM_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PDF Call by reference Type reference (TYPE) FPCONTENT Form Processing: Content from XFT, XFD, PDF, and so on 20110112
2 Returning RV_WF_ID Value transfer Type reference (TYPE) SWW_WIID Work item ID 20110112
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110112

Method _SAVE_PDF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PDF Call by reference Type reference (TYPE) FPCONTENT Form Processing: Content from XFT, XFD, PDF, and so on 20110113
2 Importing IV_WF_ID Value transfer Type reference (TYPE) SWW_WIID Work item ID 20110113
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110113

Method _TRIGGER_JOB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_SADDR Call by reference Type reference (TYPE) AD_SMTPADR E-Mail Address 20120209
2 Importing IV_USER Call by reference Type reference (TYPE) UNAME User Name 20110113
3 Importing IV_WF_ID Call by reference Type reference (TYPE) SWW_WIID Work item ID 20110113
# Exception Resumable Description Created on
1 CX_GRFN_EXCEPTION Generic GRC API exception 20110113

Method _TRIGGER_SUB_JOB_FOR_DELIVER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun) 20120209
2 Importing IV_WI_ID Call by reference Type reference (TYPE) SWW_WIID Work item ID 20120209

Method _TRIGGER_SUB_JOB_FOR_DELIVER on class CL_GRFN_OWP_DELIVER has no exception.

Method _UPDATE_LAST_EXETIM Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_GRFNOWPTIMESTAMP Call by reference Type reference (TYPE) GRFNOWPTIMESTAMP Offine Working Process execution record 20110113

Method _UPDATE_LAST_EXETIM on class CL_GRFN_OWP_DELIVER has no exception.
History
Last changed by/on SAP  20141106 
SAP Release Created in V1000