SAP ABAP Class CL_WCB_CC_ARCHIVE (Condition Contract Archiving)
Hierarchy
EA-GLTRADE (Software Component) SAP Enterprise Extension Global Trade
   LO-GT-CHB (Application Component) Chargeback
     WCB_CC_PERS (Package) Condition Contract Persistence Layer
Properties
Class CL_WCB_CC_ARCHIVE  
Short Description Condition Contract Archiving    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package WCB_CC_PERS   Condition Contract Persistence Layer 
Created 20050606   SAP 
Last change 20050615   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CHBK Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_WCB_CC_ARCHIVE has no interface implemented.
Friends
Class CL_WCB_CC_ARCHIVE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 A_HANDLE Instance attribute Private Type reference (TYPE) SYTABIX Archive Handle 20050607
2 CO_ARCH_OBJECT Constant Public Type reference (TYPE) ARCH_OBJ-OBJECT 'WCB_COCO' Archiving Object 20050607
3 CO_KONDIND_STRUCT Constant Private Type reference (TYPE) ARC_BUFFER-RNAME 'KONDIND' Table Name 20050607
4 CO_KONH_STRUCT Constant Private Type reference (TYPE) ARC_BUFFER-RNAME 'KONH' Table Name 20050607
5 CO_KONM_STRUCT Constant Private Type reference (TYPE) ARC_BUFFER-RNAME 'KONM' Table Name 20050607
6 CO_KONP_STRUCT Constant Private Type reference (TYPE) ARC_BUFFER-RNAME 'KONP' Table Name 20050607
7 CO_KONW_STRUCT Constant Private Type reference (TYPE) ARC_BUFFER-RNAME 'KONW' Table Name 20050607
8 CO_MSGTYPE_MISC Constant Private Type reference (TYPE) C '3' Miscellaneous 20050608
9 CO_MSGTYPE_NOT_PROCESSED Constant Private Type reference (TYPE) C '2' Object Not Processed (Archived, Deleted etc) 20050608
10 CO_MSGTYPE_PROCESSED Constant Private Type reference (TYPE) C '1' Object Processed (Archived, Deleted etc) 20050608
11 CO_SDKONDARCH_STRUCT Constant Private Type reference (TYPE) ARC_BUFFER-RNAME 'SDKONDARCH' Table Name 20050607
12 CO_VFKONX_STRUCT Constant Private Type reference (TYPE) ARC_BUFFER-RNAME 'VFKONX' Table Name 20050607
13 CO_VFSCAR1_STRUCT Constant Private Type reference (TYPE) ARC_BUFFER-RNAME 'VFSCAR1' Table Name 20050607
14 CO_VFSCAR2_STRUCT Constant Private Type reference (TYPE) ARC_BUFFER-RNAME 'VFSCAR2' Table Name 20050607
15 CO_VFSCAR3_STRUCT Constant Private Type reference (TYPE) ARC_BUFFER-RNAME 'VFSCAR3' Table Name 20050607
16 CO_WCOCOF_STRUCT Constant Private Type reference (TYPE) ARC_BUFFER-RNAME 'WCOCOF' Table Name 20050607
17 CO_WCOCOH_STRUCT Constant Private Type reference (TYPE) ARC_BUFFER-RNAME 'WCOCOH' Table Name 20050607
18 CO_WCOCOI_STRUCT Constant Private Type reference (TYPE) ARC_BUFFER-RNAME 'WCOCOI' Table Name 20050607
19 CO_WCOCOP_STRUCT Constant Private Type reference (TYPE) ARC_BUFFER-RNAME 'WCOCOP' Table Name 20050607
20 S_PROTOCOL_INITIALIZED Static Attribute Private Type reference (TYPE) BVAL Boolean 20101208
Methods
# Method Level Visibility Method type Description Created on
1 CLOSE_ARCHIVE_FILE Instance method Private Method Close Archive File 20050607
2 CREATE_NEW_ARCHIVE_OBJECT Instance method Private Method Create New Archiving Object 20050607
3 DELETE Instance method Public Method Delete Archived Data 20050609
4 DELETE_PPF Instance method Private Method Delete PPF Entries 20050609
5 DEL_DATA_FROM_DB Instance method Private Method Delete Data Directly from the Database 20050606
6 DISPLAY_ONE_OBJECT Instance method Public Method Display Document from the Archive 20050610
7 GET_CONDITIONS Instance method Private Method Read Data from Condition Table 20050606
8 GET_DATA Instance method Private Method Read Data 20050606
9 GET_DATA_FOR_OBJECT Instance method Private Method Read All Data for an Object from the Archive 20050608
10 GET_DELETE_PARAMETERS Instance method Private Method Read Deletion Parameter 20050608
11 GET_TABLE Instance method Private Method Read Table from Archive 20050608
12 GIVE_STATISTICS Instance method Private Method Transfer Statistics to ADK 20050606
13 INIT_PROTOCOL Instance method Private Method Initialize Archiving Log 20050608
14 INSERT_INTO_PROTOCOL Instance method Private Method Add Entries to the Archiving Log 20050608
15 IS_READY_FOR_ARCHIVE Instance method Private Method Ready for Archiving? 20050608
16 OPEN_ARCHIVE_FOR_DEL Instance method Private Method Open Archive for Deletion 20050608
17 OPEN_ARCHIVE_FOR_WRITE Instance method Private Method Open Archive for Writing 20050607
18 PUT_DATA Instance method Private Method Write Data to Archive 20050607
19 PUT_TABLE Instance method Private Method Write Table to Archive 20050607
20 PUT_WCOCOH Instance method Private Method Write WCOCOH to Archive 20050607
21 READ_ONE_OBJECT Instance method Private Method Open Archive to Read 20050610
22 SAVE_OBJECT Instance method Private Method Write Archiving Object 20050607
23 WRITE_ARCHIVE_CLASS Instance method Private Method Call Archiving Classes 20050608
24 WRITE_STATISTICS Instance method Private Method Write Statistics 20050607
25 WRITE_TO_ARCHIVE Instance method Public Method Archive Documents 20050608
Events
Class CL_WCB_CC_ARCHIVE has no event.
Types
Class CL_WCB_CC_ARCHIVE has no local type.
Method Signatures

Method CLOSE_ARCHIVE_FILE Signature

Method CLOSE_ARCHIVE_FILE on class CL_WCB_CC_ARCHIVE has no parameter.
# Exception Resumable Description Created on
1 CX_WCB_ERROR Fehler 20050607

Method CREATE_NEW_ARCHIVE_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NUM Call by reference Type reference (TYPE) WCB_COCO_NUM Konditionskontraktnummer 20050607
# Exception Resumable Description Created on
1 CX_WCB_ERROR Fehler 20050607

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TEST Call by reference Type reference (TYPE) ARCH_PROCESSING_OPTIONS-WRITE_TESTMODE Ablaufsteuerung im Schreibprogramm: Testmodus 20050609

Method DELETE on class CL_WCB_CC_ARCHIVE has no exception.

Method DELETE_PPF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_WCOCOH Call by reference Type reference (TYPE) WCB_WCOCOH_STAB sortierte Tabelle über WCOCOH gemäß Primärschlüssel 20050609
2 Importing I_TEST Call by reference Type reference (TYPE) ARCH_PROCESSING_OPTIONS-WRITE_TESTMODE 20050610

Method DELETE_PPF on class CL_WCB_CC_ARCHIVE has no exception.

Method DEL_DATA_FROM_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CH_PROTOCOL Call by reference Object reference (TYPE REF TO) CL_WCB_PROTOCOL Protokoll 20050606
2 Exporting E_DOC_COUNT Call by reference Type reference (TYPE) I Anzahl von Konditionskontrakten 20050609
3 Importing IT_WCOCOH Call by reference Type reference (TYPE) WCB_WCOCOH_STAB sortierte Tabelle über WCOCOH gemäß Primärschlüssel 20050606
4 Importing I_DATA Call by reference Type reference (TYPE) WCB_DOC_DATA_SORTED Belegdaten 20050607
5 Importing I_TEST Call by reference Type reference (TYPE) ARCH_PROCESSING_OPTIONS-WRITE_TESTMODE Ablaufsteuerung im Schreibprogramm: Testmodus 20050609

Method DEL_DATA_FROM_DB on class CL_WCB_CC_ARCHIVE has no exception.

Method DISPLAY_ONE_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ARCHIVEKEY Call by reference Type reference (TYPE) ADMI_FILES-ARCHIV_KEY Schlüssel einer Archivdatei 20050610
2 Importing I_OFFSET Call by reference Type reference (TYPE) ADMI_OFFST Offset des Datenobjekts in der Archivdatei 20050610

Method DISPLAY_ONE_OBJECT on class CL_WCB_CC_ARCHIVE has no exception.

Method GET_CONDITIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CH_PROTOCOL Call by reference Object reference (TYPE REF TO) CL_WCB_PROTOCOL Protokoll 20050606
2 Exporting ET_SDCONDARCH Call by reference Type reference (TYPE) WCB_SDKONDARCH_STAB SD Archivierung von Koditionen: Objektstruktur für Kond.Tabs 20050606
3 Importing IT_KONH Call by reference Type reference (TYPE) WCB_KONH_STAB Konditionen (Kopf) 20050606
4 Importing I_NUM Call by reference Type reference (TYPE) WCB_COCO_NUM Konditionskontraktnummer 20050607

Method GET_CONDITIONS on class CL_WCB_CC_ARCHIVE has no exception.

Method GET_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CH_PROTOCOL Call by reference Object reference (TYPE REF TO) CL_WCB_PROTOCOL Protokoll 20050606
2 Exporting E_DATA Call by reference Type reference (TYPE) WCB_DOC_DATA Belegdaten 20050607
3 Exporting E_WCOCOH Call by reference Type reference (TYPE) WCOCOH Konditionskontrakt: Kopf 20050607
4 Importing I_NUM Call by reference Type reference (TYPE) WCB_COCO_NUM Konditionskontraktnummer 20050607

Method GET_DATA on class CL_WCB_CC_ARCHIVE has no exception.

Method GET_DATA_FOR_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_DATA Call by reference Type reference (TYPE) WCB_DOC_DATA_SORTED Belegdaten sortiert 20050608
2 Exporting E_WCOCOH Call by reference Type reference (TYPE) WCOCOH Konditionskontrakt: Kopf 20050609
3 Changing T_WCOCOH Call by reference Type reference (TYPE) WCB_WCOCOH_STAB sortierte Tabelle über WCOCOH gemäß Primärschlüssel 20050608
# Exception Resumable Description Created on
1 CX_WCB_ERROR Fehler 20050608

Method GET_DELETE_PARAMETERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_COMMIT_CNT Call by reference Type reference (TYPE) ARCH_USR-ARCH_COMIT Anzahl der Datenobjekte je Commit in Programm 20050608
2 Exporting E_OBJECTS_TO_DELETE Call by reference Type reference (TYPE) I Anzahl zu löschender Belege 20050608
# Exception Resumable Description Created on
1 CX_WCB_ERROR Fehler 20050608

Method GET_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DATA Call by reference Type reference (TYPE) STANDARD TABLE Tabelle aus Archiv 20050608
2 Importing I_RECORD_STRUCTURE Call by reference Type reference (TYPE) ARC_BUFFER-RNAME Name der Tabelle 20050608
# Exception Resumable Description Created on
1 CX_WCB_ERROR Fehler 20050608

Method GIVE_STATISTICS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DOC_COUNT Call by reference Type reference (TYPE) I Anzahl archivierter Belege 20050606
2 Importing I_LINE_COUNT Call by reference Type reference (TYPE) WCB_LINE_COUNT Anzahl von DB Einträgen 20050606
# Exception Resumable Description Created on
1 CX_WCB_ERROR Fehler 20050606

Method INIT_PROTOCOL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DETAIL_PROTOCOL Call by reference Type reference (TYPE) ARCH_DETAIL_LOG Archivierung: Detailprotokoll 20050608
2 Importing I_PROTOCOL_OUTPUT Call by reference Type reference (TYPE) ARCH_OBJ_PROT_OUTPUT Archivierung: Ausgabe des Protokolls 20050608

Method INIT_PROTOCOL on class CL_WCB_CC_ARCHIVE has no exception.

Method INSERT_INTO_PROTOCOL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_MSG_TYPE Call by reference Type reference (TYPE) C Angabe der Nachrichtenart 20050608
2 Importing I_NUM Call by reference Type reference (TYPE) WCB_COCO_NUM Konditionskontraktnummer 20050608
3 Importing I_PROTOCOL Call by reference Object reference (TYPE REF TO) CL_WCB_PROTOCOL Protokoll 20050608

Method INSERT_INTO_PROTOCOL on class CL_WCB_CC_ARCHIVE has no exception.

Method IS_READY_FOR_ARCHIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CH_PROTOCOL Call by reference Object reference (TYPE REF TO) CL_WCB_PROTOCOL Protokoll 20050608
2 Importing I_GUID Call by reference Type reference (TYPE) WCB_GUID GUID eines Konditionskontraktes 20050608
3 Importing I_NUM Call by reference Type reference (TYPE) WCB_COCO_NUM Konditionskontraktnummer 20050608
4 Returning RE_READY Value transfer Type reference (TYPE) BVAL Boolean 20050608

Method IS_READY_FOR_ARCHIVE on class CL_WCB_CC_ARCHIVE has no exception.

Method OPEN_ARCHIVE_FOR_DEL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TEST Call by reference Type reference (TYPE) ARCH_PROCESSING_OPTIONS-DELETE_TESTMODE Ablaufsteuerung im Löschprogramm: Testmodus 20050608
# Exception Resumable Description Created on
1 CX_WCB_ERROR Fehler 20050608

Method OPEN_ARCHIVE_FOR_WRITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CALL_DELETE_JOB_IN_TEST_MODE Call by reference Type reference (TYPE) ARCH_PROCESSING_OPTIONS-WRITE_AND_DELETETESTMODE Ablaufsteuerung im Schreibprogramm: Löschen mit Testvariante 20050608
2 Importing I_COMMENTS Call by reference Type reference (TYPE) ADMI_RUN-COMMENTS Vermerk zum Archivierungslauf 20050610
3 Importing I_TEST Call by reference Type reference (TYPE) ARCH_PROCESSING_OPTIONS-WRITE_TESTMODE Ablaufsteuerung im Schreibprogramm: Testmodus 20050607
# Exception Resumable Description Created on
1 CX_WCB_ERROR Fehler 20050607

Method PUT_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DATA Call by reference Type reference (TYPE) WCB_DOC_DATA Belegdaten 20050607
2 Importing I_TEST Call by reference Type reference (TYPE) BVAL Testlauf 20050607
3 Importing I_WCOCOH Call by reference Type reference (TYPE) WCOCOH Konditionskontrakt: Kopf 20050607
# Exception Resumable Description Created on
1 CX_WCB_ERROR Fehler 20050607

Method PUT_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA Call by reference Type reference (TYPE) STANDARD TABLE Datentabelle 20050607
2 Importing I_NUM Call by reference Type reference (TYPE) WCB_COCO_NUM Konditionskontraktnummer 20050607
3 Importing I_RECORD_STRUCTURE Call by reference Type reference (TYPE) ARC_BUFFER-RNAME Name der Tabelle 20050607
# Exception Resumable Description Created on
1 CX_WCB_ERROR Fehler 20050607

Method PUT_WCOCOH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_NUM Call by reference Type reference (TYPE) WCB_COCO_NUM Konditionskontraktnummer 20050607
2 Importing I_WCOCOH Call by reference Type reference (TYPE) WCOCOH Konditionskontrakt: Kopf 20050607
# Exception Resumable Description Created on
1 CX_WCB_ERROR Fehler 20050607

Method READ_ONE_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_ARCHIVEKEY Call by reference Type reference (TYPE) ADMI_FILES-ARCHIV_KEY Schlüssel einer Archivdatei 20050610
2 Importing I_OFFSET Call by reference Type reference (TYPE) ADMI_OFFST Offset des Datenobjekts in der Archivdatei 20050610
# Exception Resumable Description Created on
1 CX_WCB_ERROR Fehler 20050610

Method SAVE_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting E_TERMINATED Call by reference Type reference (TYPE) BVAL Bearbeitung abgebrochen 20050608
2 Importing I_NUM Call by reference Type reference (TYPE) WCB_COCO_NUM Konditionskontraktnummer 20050607
# Exception Resumable Description Created on
1 CX_WCB_ERROR Fehler 20050607

Method WRITE_ARCHIVE_CLASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_KONH Call by reference Type reference (TYPE) WCB_KONH_TAB Konditionen (Kopf) 20050608
2 Importing IT_WCOCOI Call by reference Type reference (TYPE) WCB_WCOCOI_TAB Tabelle über WCOCOI 20050608
3 Importing I_GUID Call by reference Type reference (TYPE) WCB_GUID GUID eines Konditionskontraktes 20050608
4 Importing I_NUM Call by reference Type reference (TYPE) WCB_COCO_NUM Konditionskontraktnummer 20050608
# Exception Resumable Description Created on
1 CX_WCB_ERROR Fehler 20050608

Method WRITE_STATISTICS Signature

Method WRITE_STATISTICS on class CL_WCB_CC_ARCHIVE has no parameter.
# Exception Resumable Description Created on
1 CX_WCB_ERROR Fehler 20050607

Method WRITE_TO_ARCHIVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CALL_DELETE_JOB_IN_TEST_MODE Call by reference Type reference (TYPE) ARCH_PROCESSING_OPTIONS-WRITE_AND_DELETETESTMODE Ablaufsteuerung im Schreibprogramm: Löschen mit Testvariante 20050608
2 Importing I_COMMENTS Call by reference Type reference (TYPE) ADMI_RUN-COMMENTS Vermerk zum Archivierungslauf 20050610
3 Importing I_DETAIL_PROTOCOL Call by reference Type reference (TYPE) ARCH_DETAIL_LOG Archivierung: Detailprotokoll 20050608
4 Importing I_PROTOCOL_OUTPUT Call by reference Type reference (TYPE) ARCH_OBJ_PROT_OUTPUT Archivierung: Ausgabe des Protokolls 20050608
5 Importing I_RANGE Call by reference Type reference (TYPE) WCB_SELECTION_RANGE Selektionsranges 20050608
6 Importing I_TEST Call by reference Type reference (TYPE) ARCH_PROCESSING_OPTIONS-WRITE_TESTMODE Ablaufsteuerung im Schreibprogramm: Testmodus 20050608

Method WRITE_TO_ARCHIVE on class CL_WCB_CC_ARCHIVE has no exception.
History
Last changed by/on SAP  20050615 
SAP Release Created in 600