Fonction SAP WORKITEM_READ_ARCHIVE_OBJ - Archiving Class WORKITEM: Read Work Items from Archive

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ARCHIVE_HANDLE SYST-TABIX I 4 Archive handle

Paramètre Reférence Long. Facultatif Description
WORKITEM_AIENTRY_RECORDS SWWARCH_L 152 X Work queue lines from archive
WORKITEM_AIRET_RECORDS SWWARCH_Z 372 X Return data for WQ lines from archive
WORKITEM_AI_RECORDS SWWARCH_A 156 X Additional data for work queues from archive
WORKITEM_CONTOB_RECORDS SWWARCH_O 152 X Container object data for WIs from archive
WORKITEM_CONTXML_RECORDS SWWARCH_M 1052 X XML Container Data from Archive
WORKITEM_CONT_RECORDS SWWARCH_C 316 X Container data for work items from archive
WORKITEM_DEADL_RECORDS SWWARCH_D 384 X Deadline data for work items from archive
WORKITEM_EI_RECORDS SWWARCH_E 28 X Additional data for event items from archive
WORKITEM_FLOW_RECORDS SWWARCH_F 548 X Additional data for flow items from archive (SWP)
WORKITEM_HEADER_RECORDS SWWARCH_H 664 Header data for work items from archive
WORKITEM_LOGHIST_RECORDS SWWARCH_Y 620 X Action log for work items from archive
WORKITEM_LOGPARA_RECORDS SWWARCH_P 188 X Parameter log for work items from archive
WORKITEM_NODELOG_RECORDS SWWARCH_N 1156 X Node log for flow items from archive (SWP)
WORKITEM_NODEWI_RECORDS SWWARCH_Q 104 X Structure for Type WORKITEM_NODEWI_REC from FG SWWX
WORKITEM_NODE_RECORDS SWWARCH_T 132 X Structure for Type WORKITEM_NODE_REC from FG SWWX
WORKITEM_OBJCONT_RECORDS SWWARCH_3 344 X Structure for WORKITEM_OBJCONT_REC from FG SWWX
WORKITEM_OBJHEAD_RECORDS SWWARCH_4 344 X Structure for WORKITEM_OBJHEAD_REC from FG SWWX
WORKITEM_OBJPARA_RECORDS SWWARCH_5 180 X Structure for WORKITEM_OBJPARA_REC from FG SWWX
WORKITEM_OBJPARB_RECORDS SWWARCH_6 372 X Structure for WORKITEM_OBJPARB_REC from FG SWWX
WORKITEM_RETURN_RECORDS SWWARCH_R 388 X Return data for work items from archive
WORKITEM_SOFM_RECORDS SWWARCH_2 228 X Structure for WORKITEM_SOFM_REC from FG SWWX
WORKITEM_SOOD_RECORDS SWWARCH_1 624 X Structure for WORKITEM_SOOD_REC from FG SWWX
WORKITEM_STEPLOG_RECORDS SWWARCH_S 492 X Step log for flow items from archive (SWP)
WORKITEM_WI2OBJ_RECORDS SWWARCH_W 184 X Relation Work Item for Object from the Archive

Exception Description
WRONG_ACCESS_TO_ARCHIVE Archive handle unknown or incorrect access

Functionality
The function module reads all the work item data of the current dataobject from the archive with the handle ARCHIVE_HANDLE. For the returnof the work item data, those tables described in the interface whosestructures are oriented to the underyling database tables, are filled.The data is actually read from the archive coordinating the formroutines of this function group with the routines of the ADK (ArchiveDevelopment Kit).

Further information
For further information, see the documentation on archiving, the ADKmanuals, the documentation on the programs RSWWARCA and RSWWARCD, andthe hints on the archiving object WORKITEM.

Description
The table parameter is used to return all lines of all work queue workitems (type A), which are stored in the archive represented by thehandle ARCHIVE_HANDLE. In addition to the archive handle, theunderlying structure SWWARCH_L also contains the table SWZAIENTRY, inwhich the lines of the work queue work items (type A) are stored, as aninclude.
The function module WORKITEM_READ_ARCHIVE_OBJ does not delete thevalues contained in the table when the call is made. The values read inthe function module are appended to the table.

Default
From the viewpoint of the function module WORKITEM_READ_ARCHIVE_OBJ,this is an output parameter. Values already in the table when the callis made are not read.

Description
The table parameter is used to return all header data of all work itemsthat are stored in the archive represented by the handleARCHIVE_HANDLE. In addition to the archive handle, the underlyingstructure SWWARCH_H also contains the table SWWWIHEAD, in which theheader data of the work item is stored, as an include.
The function module WORKITEM_READ_ARCHIVE_OBJ does not delete thevalues contained in the table when the call is made. The values read inthe function module are appended to the table.

Default
From the viewpoint of the function module WORKITEM_READ_ARCHIVE_OBJ,this is an output parameter. Values already in the table when the callis made are not read.