SAP ABAP Class CL_SD_ARCHIVED_SALES_DOCUMENTS (Handle archived sales documents)
Hierarchy
BBPCRM (Software Component) BBPCRM
   CRM-BTX-BF-IF (Application Component) R/3 Interface for Business Transactions
     VA (Package) Application development R/3 Sales
Properties
Class CL_SD_ARCHIVED_SALES_DOCUMENTS  
Short Description Handle archived sales documents    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package VA   Application development R/3 Sales 
Created 20080213   SAP 
Last change 20130531   SAP 
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)
Interfaces
Class CL_SD_ARCHIVED_SALES_DOCUMENTS has no interface implemented.
Friends
Class CL_SD_ARCHIVED_SALES_DOCUMENTS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CV_ARCHIVE_HDL Constant Private Type reference (TYPE) SY-TABIX 999 Archive handle 20080402
2 MT_ADDR1_VAL Static Attribute Private Type reference (TYPE) SD_T_ADDR1_VAL Address return table type 20080218
3 MT_ASH_SELECT_OPTIONS Static Attribute Private Type reference (TYPE) ASH_TABFIELDS_T All possible select fields for archive info structure 20080410
4 MT_FPLA Static Attribute Private Type reference (TYPE) VA_FPLAVB_T Table for structure FPLAVB 20080218
5 MT_FPLT Static Attribute Private Type reference (TYPE) VA_FPLTVB_T Table for structure FPLTVB 20080218
6 MT_INFO_ARCHIVED_SALES_DOCS Static Attribute Private Type reference (TYPE) SDINFO_T_ARCHIVED_SALES_DOCS Info of archived sales documents 20080215
7 MT_JEST Static Attribute Private Type reference (TYPE) JEST_TTY Individual Object Status 20080218
8 MT_JSTO Static Attribute Private Type reference (TYPE) JSTO_TTY Status object information 20080218
9 MT_KONV Static Attribute Private Type reference (TYPE) KONV_TTY Conditions (Transaction Data) 20080218
10 MT_NAST Static Attribute Private Type reference (TYPE) NAST_T Table: Message Status 20080218
11 MT_SELOPT Static Attribute Private Type reference (TYPE) DDSHSELOPS Selection Options for Search Helps 20080410
12 MT_VBAK Static Attribute Private Type reference (TYPE) VBAK_T Table Type for Structure VBAK 20080218
13 MT_VBAP Static Attribute Private Type reference (TYPE) VBAP_TTY Table Type for Structure VBAP 20080218
14 MT_VBEP Static Attribute Private Type reference (TYPE) VBEP_ARCH_TTY Sales Document: Schedule Line Data (Archiving) 20080218
15 MT_VBFA Static Attribute Private Type reference (TYPE) VA_VBFAVB_T Table for structure VBFAVB 20080218
16 MT_VBKD Static Attribute Private Type reference (TYPE) VA_VBKDVB_T Table for structure VBKDVB 20080218
17 MT_VBPA Static Attribute Private Type reference (TYPE) VA_VBPAVB_T Table for structure VBPAVB 20080218
18 MT_VBUK Static Attribute Private Type reference (TYPE) VA_VBUKVB_T Table for structure VBUKBV 20080218
19 MT_VBUP Static Attribute Private Type reference (TYPE) VA_VBUPVB_T Table for structure VBUPVB 20080218
20 MT_VEDA Static Attribute Private Type reference (TYPE) VEDA_TTY Contract Data 20080218
21 MV_ARCH_SALES_ALREADY_SELECT Static Attribute Private Type reference (TYPE) BOOLE_D Arch. sales docs were already selected (at least one time) 20080602
22 MV_VBELN Static Attribute Private Type reference (TYPE) VBELN Sales and Distribution Document Number 20080218
23 MV_VBELN_NOT_ARCHIVED Static Attribute Private Type reference (TYPE) VBELN Sales and Distribution Document Number 20130111
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_SALES_DOC_ARCHIVED Static method Public Method Check if sales document is archived 20080407
2 DETERM_READ_SALES_DOCS_NEWLY Static method Private Method Determine flag if sales documents shall be read newly 20080407
3 GET_ACTIVE_ARCH_INFO_STRUC Static method Private Method Get active archived info structures 20080214
4 GET_ADDITIONAL_FIELDS Static method Private Method Get additional fields of info of archived sales documents 20080214
5 GET_ALL_VALID_ARCH_INFO_STRUC Static method Private Method Get all valid archived info structures 20080604
6 GET_ARCHIVED_SALES_DOCS Static method Public Method Get archived sales documents 20080213
7 GET_ARCH_INFO_FROM_AIS Static method Private Method Get sales document from arch info structure 20080331
8 GET_ARCH_SALES_DOCS Static method Private Method Read archived sales documents according selection values 20080215
9 GET_DATA_OF_ARCHIVED_SALES_DOC Static method Public Method Get data e.g. Header data of archived sales document 20080213
10 GET_REQUIRED_FIELDS Static method Private Method Get required fields due to different conditions 20080402
11 GET_SELECTION_TABLE Static method Public Method Get selection tables for selection fields 20080424
12 GET_SUPPORTED_SELECT_FIELDS Static method Private Method Get supported select fields 20080410
13 GET_VALID_ARCH_INFO_STRUC Static method Private Method Get valid archived info structures 20080604
Events
Class CL_SD_ARCHIVED_SALES_DOCUMENTS has no event.
Types
Class CL_SD_ARCHIVED_SALES_DOCUMENTS has no local type.
Method Signatures

Method CHECK_SALES_DOC_ARCHIVED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ARCHIVED Call by reference Type reference (TYPE) XFELD Checkbox 20080407
2 Importing IV_ARCHIVEKEY Call by reference Type reference (TYPE) ARKEY Key for Archive File 20080407
3 Importing IV_VBELN Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20080407

Method CHECK_SALES_DOC_ARCHIVED on class CL_SD_ARCHIVED_SALES_DOCUMENTS has no exception.

Method DETERM_READ_SALES_DOCS_NEWLY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_FLAG_READ_SALES_DOCS Call by reference Type reference (TYPE) ABAP_BOOL Flag if sales documents shall be read newly 20080407
2 Importing IT_SELOPT Call by reference Type reference (TYPE) DDSHSELOPS Selection Options for Search Helps 20080410

Method DETERM_READ_SALES_DOCS_NEWLY on class CL_SD_ARCHIVED_SALES_DOCUMENTS has no exception.

Method GET_ACTIVE_ARCH_INFO_STRUC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_AIND_STR2 Call by reference Type reference (TYPE) SDAIND_STR2_T Table for system information of Archive information structur 20080403
2 Importing IV_SALES_DOCUMENT Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20080403
3 Importing IV_SELECTION_FIELDS Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20080403

Method GET_ACTIVE_ARCH_INFO_STRUC on class CL_SD_ARCHIVED_SALES_DOCUMENTS has no exception.

Method GET_ADDITIONAL_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FCAT_ADDITIONAL_FDS Call by reference Type reference (TYPE) LVC_T_FCAT Field Catalog for List Viewer Control 20080602

Method GET_ADDITIONAL_FIELDS on class CL_SD_ARCHIVED_SALES_DOCUMENTS has no exception.

Method GET_ALL_VALID_ARCH_INFO_STRUC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_AIND_STR1_ALL_VALID Call by reference Type reference (TYPE) VA_AIND_STR1_T Table of Archive Info Structures 20080604
2 Importing IT_REQUIRED_FIELDS Call by reference Type reference (TYPE) ASH_TABFIELDS_T Check Info Structure Fields 20080604

Method GET_ALL_VALID_ARCH_INFO_STRUC on class CL_SD_ARCHIVED_SALES_DOCUMENTS has no exception.

Method GET_ARCHIVED_SALES_DOCS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_ARCHIVED_SALES_DOCS Call by reference Type reference (TYPE) SDINFO_T_ARCHIVED_SALES_DOCS Info of archived sales documents 20080215
2 Importing IT_SELOPT Call by reference Type reference (TYPE) DDSHSELOPS List of Alternative Elementary Search Helps 20080408
3 Importing IV_ARCHIVEKEY Call by reference Type reference (TYPE) ARKEY Key for Archive File 20080410
4 Importing IV_AUART Call by reference Type reference (TYPE) AUART Sales Document Type 20080410
5 Importing IV_BSTNK Call by reference Type reference (TYPE) BSTNK Customer purchase order number 20080410
6 Importing IV_KUNNR Call by reference Type reference (TYPE) KUNAG Sold-to party 20080410
7 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20080410
8 Importing IV_VBTYP Call by reference Type reference (TYPE) VBTYP SD document category 20080410

Method GET_ARCHIVED_SALES_DOCS on class CL_SD_ARCHIVED_SALES_DOCUMENTS has no exception.

Method GET_ARCH_INFO_FROM_AIS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_ARCHIVED Call by reference Type reference (TYPE) XFELD Checkbox 20080331
2 Importing IV_ARCHIVEKEY Call by reference Type reference (TYPE) ARKEY Key for Archive File 20080407
3 Importing IV_SALES_DOCUMENT Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20080403
4 Importing IV_VBELN Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20080331

Method GET_ARCH_INFO_FROM_AIS on class CL_SD_ARCHIVED_SALES_DOCUMENTS has no exception.

Method GET_ARCH_SALES_DOCS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_AIND_STR2 Call by reference Type reference (TYPE) SDAIND_STR2_T Table for system information of Archive information structur 20080403

Method GET_ARCH_SALES_DOCS on class CL_SD_ARCHIVED_SALES_DOCUMENTS has no exception.

Method GET_DATA_OF_ARCHIVED_SALES_DOC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CV_HANDLE Call by reference Type reference (TYPE) SY-TABIX Index of Internal Tables 20080218
2 Exporting ES_VBAK Call by reference Type reference (TYPE) VBAK Table Type for Structure VBAK 20080218
3 Exporting ET_ADDR1_VAL Call by reference Type reference (TYPE) SD_T_ADDR1_VAL Address return table type 20080218
4 Exporting ET_FPLA Call by reference Type reference (TYPE) VA_FPLAVB_T Table for structure FPLAVB 20080218
5 Exporting ET_FPLT Call by reference Type reference (TYPE) VA_FPLTVB_T Table for structure FPLTVB 20080218
6 Exporting ET_FXVBAP Call by reference Type reference (TYPE) VA_VBAPVB_T Document Structure for XVBAP/YVBAP 20080304
7 Exporting ET_JEST Call by reference Type reference (TYPE) JEST_TTY Individual Object Status 20080218
8 Exporting ET_JSTO Call by reference Type reference (TYPE) JSTO_TTY Status object information 20080218
9 Exporting ET_KOMV Call by reference Type reference (TYPE) KOMV_TAB Conditions (Transaction Data) 20080303
10 Exporting ET_NAST Call by reference Type reference (TYPE) NAST_T Table: Message Status 20080218
11 Exporting ET_VBEPVB Call by reference Type reference (TYPE) VA_VBEPVB_T Table for structure VBEPVB 20080304
12 Exporting ET_VBFA Call by reference Type reference (TYPE) VA_VBFAVB_T Table for structure VBFAVB 20080218
13 Exporting ET_VBKD Call by reference Type reference (TYPE) VA_VBKDVB_T Table for structure VBKDVB 20080218
14 Exporting ET_VBPA Call by reference Type reference (TYPE) VA_VBPAVB_T Table for structure VBPAVB 20080218
15 Exporting ET_VBUK Call by reference Type reference (TYPE) VA_VBUKVB_T Table for structure VBUKBV 20080218
16 Exporting ET_VBUP Call by reference Type reference (TYPE) VA_VBUPVB_T Table for structure VBUPVB 20080218
17 Exporting ET_VEDA Call by reference Type reference (TYPE) VEDA_TTY Contract Data 20080218
18 Exporting EV_ARCHIVED Call by reference Type reference (TYPE) XFELD Checkbox 20080303
19 Importing IV_ARCHIVEKEY Call by reference Type reference (TYPE) ARKEY HAS NO EFFECT: Key for Archive File 20080410
20 Importing IV_KPOSN Call by reference Type reference (TYPE) KPOSN Condition item number 20080304
21 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20080218
22 Importing IV_POSNR Call by reference Type reference (TYPE) POSNR_VA Sales Document Item 20080218
23 Importing IV_VBELN Call by reference Type reference (TYPE) VBELN Sales and Distribution Document Number 20080218
# Exception Resumable Description Created on
1 DOC_IS_INVALID Document is invalid 20080403
2 NO_DATA_FOUND No data found 20080403

Method GET_REQUIRED_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_REQUIRED_FIELDS Call by reference Type reference (TYPE) ASH_TABFIELDS_T Check Info Structure Fields 20080402
2 Importing IV_SALES_DOCUMENT Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20080402
3 Importing IV_SELECTION_FIELDS Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20080402

Method GET_REQUIRED_FIELDS on class CL_SD_ARCHIVED_SALES_DOCUMENTS has no exception.

Method GET_SELECTION_TABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RANGE_TABLE Call by reference Type reference (TYPE) STANDARD TABLE 20080424
2 Importing IT_SELOPT Call by reference Type reference (TYPE) DDSHSELOPS Table for system information of Archive information structur 20080424
3 Importing IV_SHLPFIELD Call by reference Type reference (TYPE) SHLPFIELD Name of a Search Help 20080424

Method GET_SELECTION_TABLE on class CL_SD_ARCHIVED_SALES_DOCUMENTS has no exception.

Method GET_SUPPORTED_SELECT_FIELDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SUPPORTED_SELECT_FIELDS Call by reference Type reference (TYPE) ASH_TABFIELDS_T Check Info Structure Fields 20080410

Method GET_SUPPORTED_SELECT_FIELDS on class CL_SD_ARCHIVED_SALES_DOCUMENTS has no exception.

Method GET_VALID_ARCH_INFO_STRUC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_AIND_STR1_CHECK_IF_VALID Call by reference Type reference (TYPE) VA_AIND_STR1_T Table of Archive Info Structures 20080604
2 Importing IT_AIND_STR1_ALL_VALID Call by reference Type reference (TYPE) VA_AIND_STR1_T Table of Archive Info Structures 20080604

Method GET_VALID_ARCH_INFO_STRUC on class CL_SD_ARCHIVED_SALES_DOCUMENTS has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 604