ARCHIVE_OBJECT SAP Method ADK: Select and Buffer Keys of DocFlow Data to be Archived









Below is documentation, parameters and attributes of ABAP Method ARCHIVE_OBJECT within SAP class /SCMB/CL_DF_ARCHIVE. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMB/CL_DF_ARCHIVE into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method ARCHIVE_OBJECT can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method ARCHIVE_OBJECT

.

NameTypeData TypeDescriptionDefault Value
IT_DOCUMENTImportingTYPE
/SCMB/DF_DOCUMENT_TBL
Document node selection information
IT_DOCUMENTXImportingTYPE
/SCMB/DF_DOCUMENTX_TBL
Document Flow: Document
IT_RELATION_TYPEImportingTYPE
/SCMB/DF_RELATION_TYPE_TBL
Categories of SOBL links to be read
IV_ARCHIVE_HANDLEImportingTYPE
SYTABIX
Archive file handle
IV_COMPLETENESSImportingTYPE
/SCMB/DF_COMPLETENESS
Indicator: Read complete network
IV_DIRECTIONImportingTYPE
/SCMB/DF_DIRECTION
Network Read Direction
IV_OBJECT_DELETE_FLAGImportingTYPE
BOOLE_D
Delete indicator for ADK
IV_RELATION_BACKWARDImportingTYPE
/SCMB/DF_RELATION_CNT
Number of Links - backward
IV_RELATION_FORWARDImportingTYPE
/SCMB/DF_RELATION_CNT
Number of Links - forward



Exceptions of Method ARCHIVE_OBJECT

/SCMB/CX_DF_ARCHIVE - Document flow: Archiving error

Example ABAP coding


DATA: lv_IT_DOCUMENT TYPE /SCMB/DF_DOCUMENT_TBL,
lv_IT_DOCUMENTX TYPE /SCMB/DF_DOCUMENTX_TBL,
lv_IT_RELATION_TYPE TYPE /SCMB/DF_RELATION_TYPE_TBL,
lv_IV_ARCHIVE_HANDLE TYPE SYTABIX,
lv_IV_COMPLETENESS TYPE /SCMB/DF_COMPLETENESS,
lv_IV_DIRECTION TYPE /SCMB/DF_DIRECTION,
lv_IV_OBJECT_DELETE_FLAG TYPE BOOLE_D,
lv_IV_RELATION_BACKWARD TYPE /SCMB/DF_RELATION_CNT,
lv_IV_RELATION_FORWARD TYPE /SCMB/DF_RELATION_CNT,
lv_other TYPE c.

CALL METHOD /SCMB/CL_DF_ARCHIVE=>ARCHIVE_OBJECT(
EXPORTING
IT_DOCUMENT = lv_IT_DOCUMENT
IT_DOCUMENTX = lv_IT_DOCUMENTX
IT_RELATION_TYPE = lv_IT_RELATION_TYPE
IV_ARCHIVE_HANDLE = lv_IV_ARCHIVE_HANDLE
IV_COMPLETENESS = lv_IV_COMPLETENESS
IV_DIRECTION = lv_IV_DIRECTION
IV_OBJECT_DELETE_FLAG = lv_IV_OBJECT_DELETE_FLAG
IV_RELATION_BACKWARD = lv_IV_RELATION_BACKWARD
IV_RELATION_FORWARD = lv_IV_RELATION_FORWARD ).

Links to Related Class(s)

/SCMB/CL...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!