SAP ABAP Class CL_GRFN_DOCUMENTS_COLLECTION (Handler for set of documents belonging to one app. object)
Hierarchy
GRCFND_A (Software Component) GRC Foundation ABAP
   GRC (Application Component) Governance, Risk and Compliance
     GRFN_DOCUMENTS (Package) Documents
Properties
Class CL_GRFN_DOCUMENTS_COLLECTION  
Short Description Handler for set of documents belonging to one app. object    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class GRFND    
Program status     
Category 0   
Package GRFN_DOCUMENTS   Documents 
Created 20080318   SAP 
Last change 20141106    
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_GRFN_DOCUMENTS_COLLECTION Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 GRFND Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 SKWFC Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_GRFN_DOCUMENTS_COLLECTION has no interface implemented.
Friends
# Friend Modeled only Created on Description
1 CL_GRFN_DOCUMENTS_MANAGER 20080318 Main Document Subsystem Manager Class
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 APPL_OBJ_KEY Instance attribute Public Type reference (TYPE) GRFND_APPLICATION_OBJECT_KEY 20080318
2 C_CONTENT_HASH_ALG Constant Public Type reference (TYPE) HASHALG SPACE Document content hash type (MD5, SHA1, space = disabled) 20080318
3 C_NEW_DOCUMENT_DESCRIPTION Static Attribute Public Type reference (TYPE) SDOK_TITEL Component of Version Number 20080318
4 C_NEW_URLLINK_DESCRIPTION Static Attribute Public Type reference (TYPE) SDOK_TITEL Title of a document 20080318
5 TH_DOCUMENTS Instance attribute Public Type reference (TYPE) GRFND_TH_RUNTIME_DOCS 20080318
6 _TH_DOC_VERSIONS Static Attribute Private Type reference (TYPE) YTH_DOCUMENT_VERSION 20080318
7 _TH_DOC_VERSIONS_NUM Static Attribute Private Type reference (TYPE) YTH_DOCUMENT_VERSION_NUM 20080318
8 _TH_DOMAIN_VALUE_TEXT Static Attribute Private Type reference (TYPE) YTH_DOMAIN_VALUE_TEXT 20080318
Methods
# Method Level Visibility Method type Description Created on
1 ADD_DOCUMENT Instance method Public Method Adds runtime document to document collection 20080318
2 CHANGE_APPL_OBJ_KEY Instance method Public Method 20101213
3 CHECK_ALLOWED_TO_CHANGE Instance method Private Method Check if user is allowed to change or delete doc. via task 20080318
4 CLASS_CONSTRUCTOR Static method Public Constructor 20080318
5 COMPUTE_HASH Static method Public Method Computes hash code 20080318
6 CONSTRUCTOR Instance method Public Constructor 20080318
7 CONVERT_TIMESTAMP Static method Public Method Converts timestamp in UTC to time and date 20080318
8 CREATE_DOCUMENT Instance method Public Method Creates new document in collection 20080318
9 DELETE_ALL_DOCUMENTS Instance method Public Method 20080318
10 DELETE_DOCUMENT Instance method Public Method 20080318
11 FREE Instance method Public Method 20080318
12 GET_CHANGED_DOCUMENTS Instance method Public Method Returns All Changed Documents (Added/Modified/Deleted) 20080318
13 GET_DDIC_DOMAIN_VALUE_TEXT Static method Public Method 20080318
14 GET_DOCUMENT Instance method Public Method Returns Given Document from Collection 20080318
15 GET_DOCUMENT_DESCRIPTION Instance method Public Method 20080318
16 GET_DOCUMENT_LOIO_KEY Static method Public Method Retrieves document LOIO key 20080318
17 GET_DOCUMENT_PHIO_KEY Static method Public Method Retrieves document LOIO key 20080318
18 GET_DOCUMENT_PHYSICAL_VERSIONS Instance method Public Method Returns All Existing Physical (PHIO) Versions of Given Doc. 20080318
19 GET_DOCUMENT_VERSIONS Instance method Public Method Returns All Existing Physical (PHIO) Versions of Given Doc. 20080401
20 GET_DOC_ACCESS_TEXT Static method Public Method 20080318
21 GET_DOC_CATEGORY_TEXT Static method Public Method 20080318
22 GET_DOC_CLASS_TEXT Static method Public Method 20080318
23 GET_DOC_ORIGIN_TEXT Static method Public Method 20080318
24 GET_LOIO_CLASS_FROM_PHIO_CLASS Static method Public Method 20080318
25 GET_NUMBER_OF_VERSIONS Instance method Public Method Returns All Existing Physical (PHIO) Versions of Given Doc. 20080318
26 GET_PHIO_CLASS_FROM_LOIO_CLASS Static method Public Method 20080318
27 GET_STD_DOC_CREATION_HEADER Instance method Public Method Returns prefilled document KPro header for newly created doc 20080318
28 SET_NEW_DOCUMENT_DESCRIPTION Instance method Public Method 20080318
29 SYNCHRONIZE_WITH_DOC_STORAGE Instance method Public Method Synchronizes cached data with document storage system 20080318
30 UPDATE_DOCUMENT Instance method Public Method Updates document content and/or header in collection 20080318
31 WAS_ANY_DOCUMENT_CHANGED Instance method Public Method Returns whether the collection contains any changed docs 20080318
32 _DELETE_DOCUMENT_FROM_STORAGE Instance method Private Method 20080318
33 _FILL_DOCUMENT_CONTENT_INFO Instance method Private Method From KPro properties fills runtime document structure 20080318
34 _FILL_DOCUMENT_PROPERTIES Instance method Private Method From KPro properties fills runtime document structure 20080318
35 _FILL_LOIO_PHIO_PROPERTIES Instance method Private Method FIlls PHIO or LOIO object properties from runtime document 20080318
36 _INSERT_DOCUMENT_TO_STORAGE Instance method Private Method 20080318
37 _RAISE_ERROR_MSG_EXCEPTION Static method Private Method Raises CX_FOPC_DOCUMENTS_ERROR_MSG with given message 20080318
38 _RAISE_KPRO_S_ERROR Static method Private Method Raises CX_FOPC_DOCUMENTS_ERROR_MSG with given message 20080318
39 _RAISE_KPRO_T_ERROR Static method Private Method Raises CX_FOPC_DOCUMENTS_ERROR_MSG with given message 20080318
40 _REREAD_DOCUMENTS_FROM_STORAGE Instance method Private Method 20080318
41 _UPDATE_DOCUMENT_IN_STORAGE Instance method Private Method 20080318
42 _WRITE_DOCUMENTS_TO_STORAGE Instance method Private Method 20080318
Events
Class CL_GRFN_DOCUMENTS_COLLECTION has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_DOCUMENT_VERSION Public See coding 20080318 begin of ys_document_version, s_document_key type GRFND_S_KPRO_DOCUMENT_KEY, th_versions type GRFND_TH_RUNTIME_DOCS, end of ys_document_version
2 YS_DOCUMENT_VERSION_NUM Public See coding 20080318 begin of ys_document_version_num, s_document_key type GRFND_S_KPRO_DOCUMENT_KEY, num_of_versions type GRFN_DOCUMENT_VERSION, end of ys_document_version_num
3 YTH_DOCUMENT_VERSION Public See coding 20080318 yth_document_version type hashed table of ys_document_version with unique key s_document_key
4 YTH_DOCUMENT_VERSION_NUM Public See coding 20080318 yth_document_version_num type hashed table of ys_document_version_num with unique key s_document_key
Method Signatures

Method ADD_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RUNTIME_DOC Value transfer Type reference (TYPE) GRFND_S_RUNTIME_DOCS 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318

Method CHANGE_APPL_OBJ_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APPL_OBJ_KEY Call by reference Type reference (TYPE) GRFND_APPLICATION_OBJECT_KEY 20101213

Method CHANGE_APPL_OBJ_KEY on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method CHECK_ALLOWED_TO_CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOCUMENT Call by reference Type reference (TYPE) GRFND_S_RUNTIME_DOCS 20080318
2 Importing I_DELETE Value transfer Type reference (TYPE) AS4FLAG SPACE Indicator (X or Blank) 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_GRFN_DOCUMENTS_COLLECTION has no parameter.
Method CLASS_CONSTRUCTOR on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method COMPUTE_HASH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATA_LENGTH Call by reference Type reference (TYPE) I 0 0: strlenx(i_raw_data) 20080318
2 Importing I_HASH_ALG Call by reference Type reference (TYPE) HASHALG C_CONTENT_HASH_ALG Hash Algorithm: 20080318
3 Importing I_RAW_DATA Call by reference Type reference (TYPE) XSTRING 20080318
4 Returning R_HASH Value transfer Type reference (TYPE) STRING 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_APPL_OBJ_KEY Call by reference Type reference (TYPE) GRFND_APPLICATION_OBJECT_KEY 20080318

Method CONSTRUCTOR on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method CONVERT_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_CONVERSION_FAILED Value transfer Type reference (TYPE) AS4FLAG Indicator (X or Blank) 20080318
2 Exporting E_DATE Value transfer Type reference (TYPE) D 20080318
3 Exporting E_TIME Value transfer Type reference (TYPE) T 20080318
4 Importing I_DO_ZONE_CONVERSION Value transfer Type reference (TYPE) AS4FLAG 'X' Convert according user local time zone? 20080318
5 Importing I_TIMESTAMP Value transfer Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20080318

Method CONVERT_TIMESTAMP on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method CREATE_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOCUMENT_CONTENT Call by reference Type reference (TYPE) GRFND_S_KPRO_DOCUMENT_CONTENT 20080318
2 Importing IS_DOCUMENT_HEADER Call by reference Type reference (TYPE) GRFND_S_KPRO_DOCUMENT_HEADER 20080318
3 Importing I_CLONING Value transfer Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20080318
4 Importing I_DOCUMENT_CATEGORY Call by reference Type reference (TYPE) GRFN_DOCUMENT_CATEGORY Document category 20080318
5 Importing I_DOCUMENT_LOIO_CLASS Call by reference Type reference (TYPE) GRFN_DOCUMENT_CLASS Document Class 20080318
6 Returning RS_RUNTIME_DOCUMENT Value transfer Type reference (TYPE) GRFND_S_RUNTIME_DOCS 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318

Method DELETE_ALL_DOCUMENTS Signature

Method DELETE_ALL_DOCUMENTS on class CL_GRFN_DOCUMENTS_COLLECTION has no parameter.
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318

Method DELETE_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOCUMENT_KEY Call by reference Type reference (TYPE) GRFND_S_KPRO_DOCUMENT_KEY 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318

Method FREE Signature

Method FREE on class CL_GRFN_DOCUMENTS_COLLECTION has no parameter.
Method FREE on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method GET_CHANGED_DOCUMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_CHANGED_DOCS Value transfer Type reference (TYPE) GRFND_TH_RUNTIME_DOCS 20080318

Method GET_CHANGED_DOCUMENTS on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method GET_DDIC_DOMAIN_VALUE_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CACHE_VALUES_AHEAD Value transfer Type reference (TYPE) ABAP_BOOL ABAP_TRUE Cache also Unrequested Domain Values 20080318
2 Importing I_DOMAIN_NAME Call by reference Type reference (TYPE) DDOBJNAME Name of an ABAP Dictionary Object 20080318
3 Importing I_DOMAIN_VALUE Call by reference Type reference (TYPE) DOMVALUE_L Values for domains: Single value/upper limit 20080318
4 Importing I_LANGU Value transfer Type reference (TYPE) SYLANGU SY-LANGU SAP R/3 System, Current Language 20080318
5 Importing I_NO_EMPTY_DESCRIPTION Value transfer Type reference (TYPE) ABAP_BOOL ABAP_FALSE If text is initial -> replace it with technical name 20080318
6 Importing I_USE_CACHING Value transfer Type reference (TYPE) ABAP_BOOL ABAP_TRUE Use Cache Table 20080318
7 Returning R_TEXT Value transfer Type reference (TYPE) STRING 20080318

Method GET_DDIC_DOMAIN_VALUE_TEXT on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method GET_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOCUMENT_KEY Call by reference Type reference (TYPE) GRFND_S_KPRO_DOCUMENT_KEY 20080318
2 Returning RR_DOCUMENT Value transfer Object reference (TYPE REF TO) GRFND_S_RUNTIME_DOCS 20080318

Method GET_DOCUMENT on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method GET_DOCUMENT_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOCUMENT_KEY Call by reference Type reference (TYPE) GRFND_S_KPRO_DOCUMENT_KEY 20080318
2 Returning R_DESCRIPTION Value transfer Type reference (TYPE) SDOK_TITEL Title of a document 20080318

Method GET_DOCUMENT_DESCRIPTION on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method GET_DOCUMENT_LOIO_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOCUMENT Call by reference Type reference (TYPE) GRFND_S_RUNTIME_DOCS 20080318
2 Returning R_KPRO_KEY Value transfer Type reference (TYPE) SKWF_IO KW Framework: Object Key 20080318

Method GET_DOCUMENT_LOIO_KEY on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method GET_DOCUMENT_PHIO_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOCUMENT Call by reference Type reference (TYPE) GRFND_S_RUNTIME_DOCS 20080318
2 Returning R_KPRO_KEY Value transfer Type reference (TYPE) SKWF_IO KW Framework: Object Key 20080318

Method GET_DOCUMENT_PHIO_KEY on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method GET_DOCUMENT_PHYSICAL_VERSIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOCUMENT_KEY Call by reference Type reference (TYPE) GRFND_S_KPRO_DOCUMENT_KEY 20080318
2 Importing I_USE_CACHING Value transfer Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20080318
3 Returning RTH_DOC_VERSIONS Value transfer Type reference (TYPE) GRFND_TH_RUNTIME_DOCS 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318

Method GET_DOCUMENT_VERSIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOCUMENT_KEY Call by reference Type reference (TYPE) GRFND_S_KPRO_DOCUMENT_KEY 20080401
2 Importing IV_USE_CACHING Value transfer Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20080401
3 Returning RTH_DOC_VERSIONS Value transfer Type reference (TYPE) GRFND_TH_RUNTIME_DOCS 20080401
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080401

Method GET_DOC_ACCESS_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DOC_ACCESS Call by reference Type reference (TYPE) GRFN_DOCUMENT_ACCESS Document category 20080318
2 Importing I_LANGU Value transfer Type reference (TYPE) SYLANGU SY-LANGU SAP R/3 System, Current Language 20080318
3 Importing I_NO_EMPTY_DESCRIPTION Value transfer Type reference (TYPE) ABAP_BOOL ABAP_FALSE If text is initial -> replace it with technical name 20080318
4 Returning R_TEXT Value transfer Type reference (TYPE) STRING 20080318

Method GET_DOC_ACCESS_TEXT on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method GET_DOC_CATEGORY_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DOC_CATEGORY Call by reference Type reference (TYPE) GRFN_DOCUMENT_CATEGORY Document category 20080318
2 Importing I_LANGU Value transfer Type reference (TYPE) SYLANGU SY-LANGU SAP R/3 System, Current Language 20080318
3 Importing I_NO_EMPTY_DESCRIPTION Value transfer Type reference (TYPE) ABAP_BOOL ABAP_FALSE If text is initial -> replace it with technical name 20080318
4 Returning R_TEXT Value transfer Type reference (TYPE) STRING 20080318

Method GET_DOC_CATEGORY_TEXT on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method GET_DOC_CLASS_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DOC_CLASS Call by reference Type reference (TYPE) GRFN_DOCUMENT_CLASS Document category 20080318
2 Importing I_LANGU Value transfer Type reference (TYPE) SYLANGU SY-LANGU SAP R/3 System, Current Language 20080318
3 Importing I_NO_EMPTY_DESCRIPTION Value transfer Type reference (TYPE) ABAP_BOOL ABAP_FALSE If text is initial -> replace it with technical name 20080318
4 Returning R_TEXT Value transfer Type reference (TYPE) STRING 20080318

Method GET_DOC_CLASS_TEXT on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method GET_DOC_ORIGIN_TEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DOC_ORIGIN Call by reference Type reference (TYPE) GRFN_DOCUMENT_ORIGIN Document Origin 20080318
2 Importing I_LANGU Value transfer Type reference (TYPE) SYLANGU SY-LANGU SAP R/3 System, Current Language 20080318
3 Importing I_NO_EMPTY_DESCRIPTION Value transfer Type reference (TYPE) ABAP_BOOL ABAP_FALSE If text is initial -> replace it with technical name 20080318
4 Returning R_TEXT Value transfer Type reference (TYPE) STRING 20080318

Method GET_DOC_ORIGIN_TEXT on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method GET_LOIO_CLASS_FROM_PHIO_CLASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PHIO_CLASS Call by reference Type reference (TYPE) SDOK_CLASS Document Class 20080318
2 Returning R_LOIO_CLASS Value transfer Type reference (TYPE) SDOK_CLASS Document Class 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318

Method GET_NUMBER_OF_VERSIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DOC_VERSIONS Value transfer Type reference (TYPE) GRFN_DOCUMENT_VERSION Version 20080401
2 Exporting EV_NEW_VERSION_IN_MEM Value transfer Type reference (TYPE) ABAP_BOOL 20080401
3 Importing IS_DOCUMENT_KEY Call by reference Type reference (TYPE) GRFND_S_KPRO_DOCUMENT_KEY 20080318
4 Importing IV_USE_CACHING Value transfer Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20080401
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318

Method GET_PHIO_CLASS_FROM_LOIO_CLASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LOIO_CLASS Call by reference Type reference (TYPE) SDOK_CLASS Document Class 20080318
2 Returning R_PHIO_CLASS Value transfer Type reference (TYPE) SDOK_CLASS Document Class 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318

Method GET_STD_DOC_CREATION_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DOCUMENT_CATEGORY Call by reference Type reference (TYPE) GRFN_DOCUMENT_CATEGORY GRFND_C_DOCUMENT_CATEGORY-GENERIC Document category 20080318
2 Importing I_DOCUMENT_LOIO_CLASS Call by reference Type reference (TYPE) GRFN_DOCUMENT_CLASS Document Class 20080318
3 Returning RS_KPRO_HEADER Value transfer Type reference (TYPE) GRFND_S_KPRO_DOCUMENT_HEADER 20080318

Method GET_STD_DOC_CREATION_HEADER on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method SET_NEW_DOCUMENT_DESCRIPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOCUMENT_KEY Call by reference Type reference (TYPE) GRFND_S_KPRO_DOCUMENT_KEY 20080318
2 Importing I_DESCRIPTION Call by reference Type reference (TYPE) SDOK_TITEL Title of a document 20080318

Method SET_NEW_DOCUMENT_DESCRIPTION on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method SYNCHRONIZE_WITH_DOC_STORAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DELETED_DOCUMENTS Value transfer Type reference (TYPE) I 20080318
2 Exporting E_INSERTED_DOCUMENTS Value transfer Type reference (TYPE) I 20080318
3 Exporting E_UPDATED_DOCUMENTS Value transfer Type reference (TYPE) I 20080318
4 Importing IR_APPL_LOG Call by reference Object reference (TYPE REF TO) CL_GRFN_APPLICATION_LOG Application Log for Service Messages 20080318
5 Importing I_OVERRIDE_TASK_ID Value transfer Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20080318
6 Importing I_WRITE_BACK_TO_STORAGE Value transfer Type reference (TYPE) AS4FLAG SPACE Cached data are most recent -> write them into storage 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318

Method UPDATE_DOCUMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOCUMENT_CONTENT Call by reference Type reference (TYPE) GRFND_S_KPRO_DOCUMENT_CONTENT 20080318
2 Importing IS_DOCUMENT_HEADER Call by reference Type reference (TYPE) GRFND_S_KPRO_DOCUMENT_HEADER 20080318
3 Importing IS_DOCUMENT_KEY Call by reference Type reference (TYPE) GRFND_S_KPRO_DOCUMENT_KEY 20080318
4 Importing I_OVERWITE_CURRENT_VERSION Value transfer Type reference (TYPE) ABAP_BOOL ABAP_FALSE Update Existing Version/Create New Version 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318

Method WAS_ANY_DOCUMENT_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning R_WAS_ANY_CHANGED Value transfer Type reference (TYPE) ABAP_BOOL 20080318

Method WAS_ANY_DOCUMENT_CHANGED on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method _DELETE_DOCUMENT_FROM_STORAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_APPL_LOG Call by reference Object reference (TYPE REF TO) CL_GRFN_APPLICATION_LOG Application Log for Service Messages 20080318
2 Importing IS_DOCUMENT Call by reference Type reference (TYPE) GRFND_S_RUNTIME_DOCS 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318

Method _FILL_DOCUMENT_CONTENT_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_CONTENT_INFO Call by reference Type reference (TYPE) GRFND_S_KPRO_DOCUMENT_CONTENT 20080318
2 Importing IS_APPL_OBJ_KEY Call by reference Type reference (TYPE) GRFND_APPLICATION_OBJECT_KEY 20080318
3 Importing IS_PHIO_KEY Call by reference Type reference (TYPE) SKWF_IO KW Framework: Object Key 20080318
4 Importing I_ALT_DOWNLOADER_RELATIVE_URL Call by reference Type reference (TYPE) ABAP_BOOL 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318

Method _FILL_DOCUMENT_PROPERTIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CS_DOCUMENT Call by reference Type reference (TYPE) GRFND_S_RUNTIME_DOCS 20080318
2 Importing IS_LOIO_KEY Call by reference Type reference (TYPE) SKWF_IO KW Framework: Object Key 20080318
3 Importing IS_PHIO_KEY Call by reference Type reference (TYPE) SKWF_IO KW Framework: Object Key 20080318
4 Importing IT_PROPERTIES_VALUES Call by reference Type reference (TYPE) SDOKPROPTLS 20080318

Method _FILL_DOCUMENT_PROPERTIES on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method _FILL_LOIO_PHIO_PROPERTIES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_LOIO_PROPERTIES Call by reference Type reference (TYPE) SDOKPROPTYS SDOK: List of Pairs of Name and Value 20080318
2 Exporting ET_PHIO_PROPERTIES Call by reference Type reference (TYPE) SDOKPROPTYS SDOK: List of Pairs of Name and Value 20080318
3 Importing IS_DOCUMENT Call by reference Type reference (TYPE) GRFND_S_RUNTIME_DOCS 20080318
4 Importing I_FOR_UPDATE Value transfer Type reference (TYPE) AS4FLAG Attributes relevant only for update 20080318
5 Importing I_OVERRIDE_TASK_ID Value transfer Type reference (TYPE) ABAP_BOOL 20080318

Method _FILL_LOIO_PHIO_PROPERTIES on class CL_GRFN_DOCUMENTS_COLLECTION has no exception.

Method _INSERT_DOCUMENT_TO_STORAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOCUMENT Call by reference Type reference (TYPE) GRFND_S_RUNTIME_DOCS 20080318
2 Importing I_OVERRIDE_TASK_ID Value transfer Type reference (TYPE) ABAP_BOOL 20080318
3 Returning RS_DOCUMENT_NEW_KEY Value transfer Type reference (TYPE) GRFND_S_KPRO_DOCUMENT_KEY 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318

Method _RAISE_ERROR_MSG_EXCEPTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MSGID Value transfer Type reference (TYPE) SY-MSGID Messages, Message Class 20080318
2 Importing I_MSGNO Value transfer Type reference (TYPE) SY-MSGNO Messages, Message Number 20080318
3 Importing I_MSGV1 Value transfer Type reference (TYPE) SIMPLE Messages, Message Variable 20080318
4 Importing I_MSGV2 Value transfer Type reference (TYPE) SIMPLE Messages, Message Variable 20080318
5 Importing I_MSGV3 Value transfer Type reference (TYPE) SIMPLE Messages, Message Variable 20080318
6 Importing I_MSGV4 Value transfer Type reference (TYPE) SIMPLE Messages, Message Variable 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS_ERROR_MSG 20080318

Method _RAISE_KPRO_S_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_KPRO_ERROR Value transfer Type reference (TYPE) SKWF_ERROR KW Framework: Error Object 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS_ERROR_MSG 20080318

Method _RAISE_KPRO_T_ERROR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_KPRO_ERROR Call by reference Type reference (TYPE) SKWF_IOERRS KW Framework: Error Object 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS_ERROR_MSG 20080318

Method _REREAD_DOCUMENTS_FROM_STORAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CHECK_CONTENT_HASH Value transfer Type reference (TYPE) AS4FLAG SPACE Indicator (X or Blank) 20080318
2 Importing I_CHECK_HEADER_HASH Value transfer Type reference (TYPE) AS4FLAG SPACE Indicator (X or Blank) 20080318
3 Importing I_SORT_BY_NAME Value transfer Type reference (TYPE) AS4FLAG 'X' Indicator (X or Blank) 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318

Method _UPDATE_DOCUMENT_IN_STORAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DOCUMENT Call by reference Type reference (TYPE) GRFND_S_RUNTIME_DOCS 20080318
2 Importing I_OVERRIDE_TASK_ID Value transfer Type reference (TYPE) ABAP_BOOL 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318

Method _WRITE_DOCUMENTS_TO_STORAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_DELETED_DOCUMENTS Call by reference Type reference (TYPE) I 20080318
2 Exporting E_INSERTED_DOCUMENTS Call by reference Type reference (TYPE) I 20080318
3 Exporting E_UPDATED_DOCUMENTS Call by reference Type reference (TYPE) I 20080318
4 Importing IR_APPL_LOG Call by reference Object reference (TYPE REF TO) CL_GRFN_APPLICATION_LOG Application Log for Service Messages 20080318
5 Importing I_OVERRIDE_TASK_ID Value transfer Type reference (TYPE) ABAP_BOOL 20080318
# Exception Resumable Description Created on
1 CX_GRFN_DOCUMENTS 20080318
History
Last changed by/on SAP  20141106 
SAP Release Created in 300