SAP ABAP Class /SCMB/CL_DF_ARCHIVE (Archiving Document Flow)
Hierarchy
☛
PI_BASIS (Software Component) Basis Plug-In
⤷
SCM-BAS-DF (Application Component) Cross-System and Cross-Partner Document Flow
⤷
/SCMB/FLOW_NET (Package) Document Flow, Link
⤷
⤷
Properties
| Class | /SCMB/CL_DF_ARCHIVE | |
| Short Description | Archiving Document Flow | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /SCMB/FLOW_NET | Document Flow, Link |
| Created | 20051215 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class /SCMB/CL_DF_ARCHIVE has no interface implemented.
Friends
Class /SCMB/CL_DF_ARCHIVE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | See coding | Archive access mode (Read or Write) | 20090324 | ||||
| 2 | Constant | Public | Type reference (TYPE) | ARCH_CLAS_ | '/SCMB/DF' | DocFlow Archiving class name | 20090324 | ||
| 3 | Constant | Private | Type reference (TYPE) | XFELD | SPACE | Boolean false | 20090324 | ||
| 4 | Constant | Public | Type reference (TYPE) | SEOCLSNAME | '/SCMB/DF_NODE_ARCHIVE_STR' | Document structure | 20060106 | ||
| 5 | Constant | Private | Type reference (TYPE) | XFELD | 'X' | Checkbox | 20060110 | ||
| 6 | Static Attribute | Private | See coding | Archive instance buffer table | 20090324 | ||||
| 7 | Static Attribute | Private | See coding | Read buffer for DocFlow data | 20090324 | ||||
| 8 | Static Attribute | Private | See coding | Write buffer for DocFlow keys | 20090324 | ||||
| 9 | Static Attribute | Private | Type reference (TYPE) | FLAG | Indicator for register table | 20060110 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | ADK: Select and Buffer Keys of DocFlow Data to be Archived | 20090324 | |
| 2 | Static method | Private | Method | Check Validity of the Archive Handle for Chosen Access Mode | 20090324 | |
| 3 | Static method | Public | Method | ADK: Delete Document Flow Objects from Database | 20090324 | |
| 4 | Static method | Public | Method | Delete Document Flow Objects from Database | 20060109 | |
| 5 | Static method | Public | Method | ADK: Clear Archiving Class Buffers | 20090324 | |
| 6 | Static method | Public | Method | ADK: Supply DocFlow Node Data for Writing into Archive | 20090324 | |
| 7 | Static method | Public | Method | ADK: Get DF Relevant Data of Specified Structure from Archiv | 20090324 | |
| 8 | Static method | Public | Method | ADK: Initialize Archiving Class for Reading Session | 20090324 | |
| 9 | Static method | Public | Method | ADK: Initialize Archiving Class for Write Session | 20090324 | |
| 10 | Static method | Public | Method | ADK: Fill Read Buffers with Data Received from Archive (ADK) | 20090324 | |
| 11 | Static method | Public | Method | Reading Document Flow from Archive File | 20060109 | |
| 12 | Static method | Public | Method | Read Generated Tables of Document Flow | 20051230 | |
| 13 | Static method | Public | Method | ADK: Reload DF Node Data from Archive into DB Tables | 20090324 | |
| 14 | Static method | Public | Method | ADK: Release Data Buffered of a Single Archiving Object | 20090324 | |
| 15 | Static method | Public | Method | ADK: Rollback Results of Delete or Reload; Delete Buffers | 20090324 | |
| 16 | Static method | Public | Method | Writing to Archive by Document | 20051215 |
Events
Class /SCMB/CL_DF_ARCHIVE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TYP_S_ARC_INSTANCE | Private | See coding | Archive instance structure (ADK compliant) | 20090324 | BEGIN OF typ_s_arc_instance,
handle TYPE sytabix,
accessmode TYPE c LENGTH 1,
code_page TYPE tcp00-cpcodepage,
number_format TYPE tcp00-cpcodepage,
convert TYPE REF TO cl_abap_conv_in_ce,
END OF typ_s_arc_instance
|
|
| 2 | TYP_S_READ_BUFFER | Private | See coding | Archive read buffer for DF node data (ADK compliant) | 20090324 | BEGIN OF typ_s_read_buffer,
handle TYPE sytabix,
delflg TYPE arch_flags,
data TYPE /scmb/df_node_archive_str,
END OF typ_s_read_buffer
|
|
| 3 | TYP_S_WRITE_BUFFER | Private | See coding | Archive write buffer for DF node keys (ADK compliant) | 20090324 | BEGIN OF typ_s_write_buffer,
handle TYPE sytabix,
df_guid TYPE /scmb/df_guid,
df_category TYPE /scmb/df_category,
delete_flag TYPE c LENGTH 1,
END OF typ_s_write_buffer
|
Method Signatures
Method ARCHIVE_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DOCUMENT | Call by reference | Type reference (TYPE) | /SCMB/DF_DOCUMENT_TBL | Document node selection information | 20090324 | |||
| 2 | IT_DOCUMENTX | Call by reference | Type reference (TYPE) | /SCMB/DF_DOCUMENTX_TBL | Document Flow: Document | 20130211 | |||
| 3 | IT_RELATION_TYPE | Call by reference | Type reference (TYPE) | /SCMB/DF_RELATION_TYPE_TBL | Categories of SOBL links to be read | 20090324 | |||
| 4 | IV_ARCHIVE_HANDLE | Call by reference | Type reference (TYPE) | SYTABIX | Archive file handle | 20090324 | |||
| 5 | IV_COMPLETENESS | Call by reference | Type reference (TYPE) | /SCMB/DF_COMPLETENESS | /SCMB/CL_DF_RELATION_TYPE=>GC_COMPLETE | Indicator: Read complete network | 20090324 | ||
| 6 | IV_DIRECTION | Call by reference | Type reference (TYPE) | /SCMB/DF_DIRECTION | Network Read Direction | 20090324 | |||
| 7 | IV_OBJECT_DELETE_FLAG | Call by reference | Type reference (TYPE) | BOOLE_D | Delete indicator for ADK | 20090324 | |||
| 8 | IV_RELATION_BACKWARD | Call by reference | Type reference (TYPE) | /SCMB/DF_RELATION_CNT | /SCMB/CL_DF_RELATION_TYPE=>GC_MAX_RELATION_CNT | Number of Links - backward | 20090324 | ||
| 9 | IV_RELATION_FORWARD | Call by reference | Type reference (TYPE) | /SCMB/DF_RELATION_CNT | /SCMB/CL_DF_RELATION_TYPE=>GC_MAX_RELATION_CNT | Number of Links - forward | 20090324 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Document flow: Archiving error | 20090324 |
Method CHECK_HANDLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACCESS_MODE | Call by reference | Type reference (TYPE) | CHAR1 | access mode indicator | 20090324 | |||
| 2 | IV_ARCHIVE_HANDLE | Call by reference | Type reference (TYPE) | SYTABIX | archive file handle | 20090324 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Document flow: Archiving error | 20090324 |
Method DELETE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARCHIVE_HANDLE | Call by reference | Type reference (TYPE) | SYTABIX | Archive Handle | 20090324 | |||
| 2 | IV_DELTST | Call by reference | Type reference (TYPE) | BOOLE_D | SPACE | Delete = FALSE; Test = TRUE | 20090324 |
Method DELETE on class /SCMB/CL_DF_ARCHIVE has no exception.
Method DELETE_FROM_DB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARCHIVE_HANDLE | Call by reference | Type reference (TYPE) | SYTABIX | Archive Handle | 20060109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Document flow: Archiving error | 20060112 | ||
| 2 | Belegfluss: Attributfehler | 20060112 | ||
| 3 | Belegfluss: Belegfehler | 20060112 | ||
| 4 | Belegfluss: Verknüpfungsfehler | 20060112 |
Method FREE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARCHIVE_HANDLE | Call by reference | Type reference (TYPE) | SYTABIX | archive file handle | 20090324 |
Method FREE_DATA on class /SCMB/CL_DF_ARCHIVE has no exception.
Method GET_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARCHIVE_HANDLE | Call by reference | Type reference (TYPE) | SYTABIX | archive file handle | 20090324 |
Method GET_DATA on class /SCMB/CL_DF_ARCHIVE has no exception.
Method GET_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DATA | Call by reference | Type reference (TYPE) | STANDARD TABLE | Records of the chosen structure | 20090324 | |||
| 2 | IV_ARCHIVE_HANDLE | Call by reference | Type reference (TYPE) | SYTABIX | archive file handle | 20090324 | |||
| 3 | IV_RECORD_STRUCTURE | Call by reference | Type reference (TYPE) | RKZ_DBNA | Structure of data to be read | 20090324 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Document flow: Archiving error | 20090324 |
Method INIT_READ Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARCHIVE_HANDLE | Call by reference | Type reference (TYPE) | SYTABIX | archive file handle | 20090324 | |||
| 2 | IV_CODE_PAGE | Call by reference | Type reference (TYPE) | TCP00-CPCODEPAGE | Codepage ID valid at file write time | 20090324 | |||
| 3 | IV_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Date of file write | 20090324 | |||
| 4 | IV_NUMBER_FORMAT | Call by reference | Type reference (TYPE) | TCP00-CPCODEPAGE | Number format valid at file write time | 20090324 | |||
| 5 | IV_RELEASE_NUMBER | Call by reference | Type reference (TYPE) | SYSAPRL | SAP BASIS release number valid at file write time | 20090324 |
Method INIT_READ on class /SCMB/CL_DF_ARCHIVE has no exception.
Method INIT_WRITE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARCHIVE_HANDLE | Call by reference | Type reference (TYPE) | SYTABIX | archive file handle | 20090324 |
Method INIT_WRITE on class /SCMB/CL_DF_ARCHIVE has no exception.
Method PUT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARCHIVE_HANDLE | Call by reference | Type reference (TYPE) | SYTABIX | archive file handle | 20090324 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Document flow: Archiving error | 20090324 |
Method READ_FROM_ARCHIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARCHIVE_HANDLE | Call by reference | Type reference (TYPE) | SYTABIX | Archive handle | 20060109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Document flow: Archiving error | 20060112 | ||
| 2 | Document flow: Archiving error | 20060112 |
Method REGISTER_TABLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARCHIVE_HANDLE | Call by reference | Type reference (TYPE) | SY-TABIX | Internal Table, Current Line Index | 20051230 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Document flow: Archiving error | 20060109 |
Method RELOAD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARCHIVE_HANDLE | Call by reference | Type reference (TYPE) | SYTABIX | archive file handle | 20090324 | |||
| 2 | IV_TEST | Call by reference | Type reference (TYPE) | BOOLE_D | SPACE | Test indicator | 20090324 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Document flow: Archiving error | 20090731 |
Method RENEW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARCHIVE_HANDLE | Call by reference | Type reference (TYPE) | SYTABIX | archive file handle | 20090324 |
Method RENEW on class /SCMB/CL_DF_ARCHIVE has no exception.
Method ROLLBACK_WORK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ARCHIVE_HANDLE | Call by reference | Type reference (TYPE) | SYTABIX | archive file handle | 20090324 |
Method ROLLBACK_WORK on class /SCMB/CL_DF_ARCHIVE has no exception.
Method WRITE_BY_DOC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DOCUMENT | Call by reference | Type reference (TYPE) | /SCMB/DF_DOCUMENT | Document Flow: Document Identification | 20051215 | |||
| 2 | IT_DOCUMENT | Call by reference | Type reference (TYPE) | /SCMB/DF_DOCUMENT_TBL | Document Flow: Document | 20051215 | |||
| 3 | IV_ARCHIVE_HANDLE | Call by reference | Type reference (TYPE) | SYTABIX | Handle | 20051215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Document flow: Archiving error | 20051230 | ||
| 2 | Belegfluss: Attributfehler | 20060103 | ||
| 3 | Belegfluss: Belegfehler | 20060103 | ||
| 4 | Belegfluss: Verknüpfungsfehler | 20060103 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 2006_1_620 |