SAP ABAP Class CL_GRFN_DOWNLOADER (Alternative Downloader)
Hierarchy
☛
GRCFND_A (Software Component) GRC Foundation ABAP
⤷
GRC (Application Component) Governance, Risk and Compliance
⤷
GRFN_DOCUMENTS (Package) Documents
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_HTTP_EXTENSION | HTTP Framework (iHTTP) HTTP Request Handler | 20080408 |
Properties
| Class | CL_GRFN_DOWNLOADER | |
| Short Description | Alternative Downloader | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | GRFND | |
| Program status | ||
| Category | 0 | |
| Package | GRFN_DOCUMENTS | Documents |
| Created | 20080408 | SAP |
| Last change | 20141106 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_HTTP_EXTENSION | HTTP Framework (iHTTP) HTTP Request Handler | 20080408 |
Friends
Class CL_GRFN_DOWNLOADER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'object-id' | Parameter Name | 20080408 | ||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'object-type' | Parameter Name | 20080408 | ||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'task-id' | Parameter Name | 20080408 | ||
| 4 | Constant | Public | Type reference (TYPE) | I | 6 | Default Own Compression Level, Basis < 640 | 20080408 | ||
| 5 | Constant | Public | Type reference (TYPE) | I | 80 | Minimal Required Ratio (in %) for Own Compression | 20080408 | ||
| 6 | Constant | Public | Type reference (TYPE) | STRING | 'attachment-disposition' | Parameter Name | 20080408 | ||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'docClass' | Parameter Name | 20080408 | ||
| 8 | Constant | Public | Type reference (TYPE) | STRING | 'compId' | Parameter Name | 20080408 | ||
| 9 | Constant | Public | Type reference (TYPE) | STRING | 'docId' | Parameter Name | 20080408 | ||
| 10 | Constant | Public | Type reference (TYPE) | STRING | 'auth-ticket' | Parameter Name | 20080408 | ||
| 11 | Constant | Public | Type reference (TYPE) | STRING | ':&ext' | Variable Name for File Extension | 20080408 | ||
| 12 | Constant | Public | Type reference (TYPE) | STRING | ':&name' | Variable Name for File Name | 20080408 | ||
| 13 | Constant | Public | Type reference (TYPE) | TIMESTAMP | '99991231235959' | Maximum Timestamp | 20080408 | ||
| 14 | Constant | Public | Type reference (TYPE) | TIMESTAMP | '00000101000000' | Minimum Timestamp | 20080408 | ||
| 15 | Constant | Public | Type reference (TYPE) | SY-UNAME | '*' | Value Representing Any User | 20080408 | ||
| 16 | Constant | Public | Type reference (TYPE) | INT4 | 7200 | Default Validity of Ticket in Seconds | 20080408 | ||
| 17 | Constant | Public | Type reference (TYPE) | INT4 | 10 | # of Retries to Get Ticket | 20080408 | ||
| 18 | Constant | Public | Type reference (TYPE) | INT4 | 600 | DB Update Rate of Reused Tickets in Seconds | 20080408 | ||
| 19 | Constant | Public | Type reference (TYPE) | INT4 | 10 | Wait Time If Ticket Is Currently Locked | 20080408 | ||
| 20 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20080408 | ||||
| 21 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_HTTP_REQUEST | HTTP Framework (iHTTP) HTTP Request | 20080408 | |||
| 22 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_HTTP_RESPONSE | HTTP Framework (iHTTP) HTTP Response | 20080408 | |||
| 23 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Use Own Compression Instead of Automat. Response Compression | 20080408 |
Methods
Events
Class CL_GRFN_DOWNLOADER has no event.
Types
Class CL_GRFN_DOWNLOADER has no local type.
Method Signatures
Method CHECK_DOWNLOAD_TICKET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DOCUMENT_TICKET | Value transfer | Type reference (TYPE) | GRFN_DOC_TICKETS | Permission to Download the Document | 20080408 | |||
| 2 | ES_KPRO_DOCUMENT | Value transfer | Type reference (TYPE) | SKWF_IO | Indicator (X or Blank) | 20080408 | |||
| 3 | IS_APPL_OBJ_KEY | Call by reference | Type reference (TYPE) | GRFND_APPLICATION_OBJECT_KEY | 20080408 | ||||
| 4 | I_TICKET_GUID | Call by reference | Type reference (TYPE) | GRFN_DOC_TICKETS-TICKET_GUID | Permission to Download the Document | 20080408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080408 |
Method CREATE_DOWNLOAD_TICKET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_TICKET | Call by reference | Type reference (TYPE) | GRFN_DOC_TICKETS | Permission to Download the Document | 20080408 | |||
| 2 | IS_PHIO | Call by reference | Type reference (TYPE) | SKWF_IO | KW Framework: Object Key | 20080408 | |||
| 3 | I_GENERATE_DEFAULTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Fill not specified properties with default values | 20080408 | ||
| 4 | I_PREFER_VALIDITY_THEN_COUNTER | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20080408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080408 |
Method DEQUEUE_TICKET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_COLLECT | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20080408 | |||
| 2 | I_TICKET_GUID | Call by reference | Type reference (TYPE) | GRFN_DOC_TICKETS-TICKET_GUID | GUID in 'CHAR' Format in Upper Case | 20080408 |
Method DEQUEUE_TICKET on class CL_GRFN_DOWNLOADER has no exception.
Method ENQUEUE_TICKET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_COLLECT | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20080408 | |||
| 2 | I_TICKET_GUID | Call by reference | Type reference (TYPE) | GRFN_DOC_TICKETS-TICKET_GUID | GUID in 'CHAR' Format in Upper Case | 20080408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080408 |
Method GENERATE_DOCUMENT_DOWNLOAD_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_APPL_OBJ_KEY | Call by reference | Type reference (TYPE) | GRFND_APPLICATION_OBJECT_KEY | MIC Application Object Key | 20080408 | |||
| 2 | IS_PHIO_KEY | Call by reference | Type reference (TYPE) | SKWF_IO | KW Framework: Object Key | 20080408 | |||
| 3 | I_COMPONENT_ID | Call by reference | Type reference (TYPE) | SDOK_FILNM | Relative Storage Location of Physical Document | 20080408 | |||
| 4 | I_CONT_DISP_AS_ATTACHMENT | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Use 'Attachment' Instead of 'Inline' in Content Disposition | 20080408 | ||
| 5 | I_USE_RELATIVE_URL | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20080408 | ||||
| 6 | I_WITH_CLIENT | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20080408 | |||
| 7 | I_WITH_LANGUAGE | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20080408 | |||
| 8 | R_URL | Value transfer | Type reference (TYPE) | STRING | 20080408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080408 |
Method GET_DOWNLOADER_CONFIGURATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ONLY_IF_ACTIVE | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Ignore If Configuration Is Disabled | 20080408 | ||
| 2 | I_PHIO_CLASS | Call by reference | Type reference (TYPE) | SKWF_IO-CLASS | Document Class | 20080408 | |||
| 3 | RS_DOWNLOAD_CFG | Value transfer | Type reference (TYPE) | GRFNDOCDOWNLCFG | Alternate MIC Downloader Configuration | 20080408 |
Method GET_DOWNLOADER_CONFIGURATION on class CL_GRFN_DOWNLOADER has no exception.
Method GET_DOWNLOADER_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APPLNAME | Call by reference | Type reference (TYPE) | O2PAGKEY-APPLNAME | Name of BSP Application | 20080408 | |||
| 2 | I_WITH_CLIENT | Value transfer | Type reference (TYPE) | SEU_BOOL | ABAP_TRUE | Boolean | 20080408 | ||
| 3 | R_URL | Value transfer | Type reference (TYPE) | STRING | 20080408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080408 |
Method GET_REQUEST_PARAMETER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NAME | Call by reference | Type reference (TYPE) | STRING | 20080408 | ||||
| 2 | R_VALUE | Value transfer | Type reference (TYPE) | STRING | 20080408 |
Method GET_REQUEST_PARAMETER on class CL_GRFN_DOWNLOADER has no exception.
Method MIX_ASTERIKS_FILENAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ASTERIKS_PATTERN | Call by reference | Type reference (TYPE) | STRING | 20080408 | ||||
| 2 | I_ORIGINAL_FILE_NAME | Call by reference | Type reference (TYPE) | STRING | 20080408 | ||||
| 3 | R_NEW_FILENAME | Value transfer | Type reference (TYPE) | STRING | 20080408 |
Method MIX_ASTERIKS_FILENAME on class CL_GRFN_DOWNLOADER has no exception.
Method RELEASE_DOWNLOAD_TICKET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_COUNTER_INCREMENT | Value transfer | Type reference (TYPE) | I | 1 | 20080408 | |||
| 2 | I_TICKET_GUID | Call by reference | Type reference (TYPE) | GRFN_DOC_TICKETS-TICKET_GUID | Permission to Download the Document | 20080408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080408 |
Method WRITE_ERROR_TO_APPL_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_DOC_EX | Call by reference | Object reference (TYPE REF TO) | CX_GRFN_DOCUMENTS | Document Subsystem Exception | 20080408 | |||
| 2 | IS_RESPONSE_DATA | Call by reference | Type reference (TYPE) | YS_RESPONSE_DATA | 20080408 |
Method WRITE_ERROR_TO_APPL_LOG on class CL_GRFN_DOWNLOADER has no exception.
Method _FIND_EXISTING_TICKET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_TICKET | Call by reference | Type reference (TYPE) | GRFN_DOC_TICKETS | Permission to Download the Document | 20080408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080408 |
Method _GET_DOCUMENT_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_CONTENT | Call by reference | Type reference (TYPE) | GRFND_T_KPRO_PHIO_CONTENT | 20080408 | ||||
| 2 | ET_PROPERTIES | Call by reference | Type reference (TYPE) | SDOKPROPTYS | SDOK: List of Pairs of Name and Value | 20080408 | |||
| 3 | IS_RESPONSE_DATA | Call by reference | Type reference (TYPE) | YS_RESPONSE_DATA | 20080408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080408 |
Method _GET_X_FIELDS_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_CONTENT | Call by reference | Type reference (TYPE) | GRFND_S_KPRO_PHIO_CONTENT | 20080408 | ||||
| 2 | IT_PROPERTIES | Call by reference | Type reference (TYPE) | SDOKPROPTYS | SDOK: List of Pairs of Name and Value | 20080408 | |||
| 3 | RS_HTTP_X_FIELDS | Value transfer | Type reference (TYPE) | YS_HTTP_HEADER_X_FIELDS | 20080408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080408 |
Method _PARSE_REQUEST_PARAMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_RESPONSE_INFO | Value transfer | Type reference (TYPE) | YS_RESPONSE_DATA | 20080408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080408 |
Method _SEND_RESPONSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_RESPONSE_DATA | Call by reference | Type reference (TYPE) | YS_RESPONSE_DATA | 20080408 | ||||
| 2 | IT_CONTENT | Call by reference | Type reference (TYPE) | GRFND_T_KPRO_PHIO_CONTENT | 20080408 | ||||
| 3 | IT_PROPERTIES | Call by reference | Type reference (TYPE) | SDOKPROPTYS | SDOK: List of Pairs of Name and Value | 20080408 | |||
| 4 | I_SEND_X_FIELDS | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20080408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20080408 |
Method _WRITE_ERROR_HTML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MSG_STR | Call by reference | Type reference (TYPE) | STRING | 20080408 | ||||
| 2 | I_MSG_STR_LONG | Call by reference | Type reference (TYPE) | STRING | 20080408 |
Method _WRITE_ERROR_HTML on class CL_GRFN_DOWNLOADER has no exception.
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | 300 |