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 | 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 | Constant | Private | Type reference (TYPE) | SY-TABIX | 999 | Archive handle | 20080402 | ||
| 2 | Static Attribute | Private | Type reference (TYPE) | SD_T_ADDR1_VAL | Address return table type | 20080218 | |||
| 3 | Static Attribute | Private | Type reference (TYPE) | ASH_TABFIELDS_T | All possible select fields for archive info structure | 20080410 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | VA_FPLAVB_T | Table for structure FPLAVB | 20080218 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | VA_FPLTVB_T | Table for structure FPLTVB | 20080218 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | SDINFO_T_ARCHIVED_SALES_DOCS | Info of archived sales documents | 20080215 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | JEST_TTY | Individual Object Status | 20080218 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | JSTO_TTY | Status object information | 20080218 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | KONV_TTY | Conditions (Transaction Data) | 20080218 | |||
| 10 | Static Attribute | Private | Type reference (TYPE) | NAST_T | Table: Message Status | 20080218 | |||
| 11 | Static Attribute | Private | Type reference (TYPE) | DDSHSELOPS | Selection Options for Search Helps | 20080410 | |||
| 12 | Static Attribute | Private | Type reference (TYPE) | VBAK_T | Table Type for Structure VBAK | 20080218 | |||
| 13 | Static Attribute | Private | Type reference (TYPE) | VBAP_TTY | Table Type for Structure VBAP | 20080218 | |||
| 14 | Static Attribute | Private | Type reference (TYPE) | VBEP_ARCH_TTY | Sales Document: Schedule Line Data (Archiving) | 20080218 | |||
| 15 | Static Attribute | Private | Type reference (TYPE) | VA_VBFAVB_T | Table for structure VBFAVB | 20080218 | |||
| 16 | Static Attribute | Private | Type reference (TYPE) | VA_VBKDVB_T | Table for structure VBKDVB | 20080218 | |||
| 17 | Static Attribute | Private | Type reference (TYPE) | VA_VBPAVB_T | Table for structure VBPAVB | 20080218 | |||
| 18 | Static Attribute | Private | Type reference (TYPE) | VA_VBUKVB_T | Table for structure VBUKBV | 20080218 | |||
| 19 | Static Attribute | Private | Type reference (TYPE) | VA_VBUPVB_T | Table for structure VBUPVB | 20080218 | |||
| 20 | Static Attribute | Private | Type reference (TYPE) | VEDA_TTY | Contract Data | 20080218 | |||
| 21 | Static Attribute | Private | Type reference (TYPE) | BOOLE_D | Arch. sales docs were already selected (at least one time) | 20080602 | |||
| 22 | Static Attribute | Private | Type reference (TYPE) | VBELN | Sales and Distribution Document Number | 20080218 | |||
| 23 | Static Attribute | Private | Type reference (TYPE) | VBELN | Sales and Distribution Document Number | 20130111 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check if sales document is archived | 20080407 | |
| 2 | Static method | Private | Method | Determine flag if sales documents shall be read newly | 20080407 | |
| 3 | Static method | Private | Method | Get active archived info structures | 20080214 | |
| 4 | Static method | Private | Method | Get additional fields of info of archived sales documents | 20080214 | |
| 5 | Static method | Private | Method | Get all valid archived info structures | 20080604 | |
| 6 | Static method | Public | Method | Get archived sales documents | 20080213 | |
| 7 | Static method | Private | Method | Get sales document from arch info structure | 20080331 | |
| 8 | Static method | Private | Method | Read archived sales documents according selection values | 20080215 | |
| 9 | Static method | Public | Method | Get data e.g. Header data of archived sales document | 20080213 | |
| 10 | Static method | Private | Method | Get required fields due to different conditions | 20080402 | |
| 11 | Static method | Public | Method | Get selection tables for selection fields | 20080424 | |
| 12 | Static method | Private | Method | Get supported select fields | 20080410 | |
| 13 | 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 | EV_ARCHIVED | Call by reference | Type reference (TYPE) | XFELD | Checkbox | 20080407 | |||
| 2 | IV_ARCHIVEKEY | Call by reference | Type reference (TYPE) | ARKEY | Key for Archive File | 20080407 | |||
| 3 | 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 | EV_FLAG_READ_SALES_DOCS | Call by reference | Type reference (TYPE) | ABAP_BOOL | Flag if sales documents shall be read newly | 20080407 | |||
| 2 | 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 | ET_AIND_STR2 | Call by reference | Type reference (TYPE) | SDAIND_STR2_T | Table for system information of Archive information structur | 20080403 | |||
| 2 | IV_SALES_DOCUMENT | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20080403 | |||
| 3 | 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 | 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 | ET_AIND_STR1_ALL_VALID | Call by reference | Type reference (TYPE) | VA_AIND_STR1_T | Table of Archive Info Structures | 20080604 | |||
| 2 | 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 | ET_ARCHIVED_SALES_DOCS | Call by reference | Type reference (TYPE) | SDINFO_T_ARCHIVED_SALES_DOCS | Info of archived sales documents | 20080215 | |||
| 2 | IT_SELOPT | Call by reference | Type reference (TYPE) | DDSHSELOPS | List of Alternative Elementary Search Helps | 20080408 | |||
| 3 | IV_ARCHIVEKEY | Call by reference | Type reference (TYPE) | ARKEY | Key for Archive File | 20080410 | |||
| 4 | IV_AUART | Call by reference | Type reference (TYPE) | AUART | Sales Document Type | 20080410 | |||
| 5 | IV_BSTNK | Call by reference | Type reference (TYPE) | BSTNK | Customer purchase order number | 20080410 | |||
| 6 | IV_KUNNR | Call by reference | Type reference (TYPE) | KUNAG | Sold-to party | 20080410 | |||
| 7 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20080410 | |||
| 8 | 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 | EV_ARCHIVED | Call by reference | Type reference (TYPE) | XFELD | Checkbox | 20080331 | |||
| 2 | IV_ARCHIVEKEY | Call by reference | Type reference (TYPE) | ARKEY | Key for Archive File | 20080407 | |||
| 3 | IV_SALES_DOCUMENT | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20080403 | |||
| 4 | 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 | 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 | CV_HANDLE | Call by reference | Type reference (TYPE) | SY-TABIX | Index of Internal Tables | 20080218 | |||
| 2 | ES_VBAK | Call by reference | Type reference (TYPE) | VBAK | Table Type for Structure VBAK | 20080218 | |||
| 3 | ET_ADDR1_VAL | Call by reference | Type reference (TYPE) | SD_T_ADDR1_VAL | Address return table type | 20080218 | |||
| 4 | ET_FPLA | Call by reference | Type reference (TYPE) | VA_FPLAVB_T | Table for structure FPLAVB | 20080218 | |||
| 5 | ET_FPLT | Call by reference | Type reference (TYPE) | VA_FPLTVB_T | Table for structure FPLTVB | 20080218 | |||
| 6 | ET_FXVBAP | Call by reference | Type reference (TYPE) | VA_VBAPVB_T | Document Structure for XVBAP/YVBAP | 20080304 | |||
| 7 | ET_JEST | Call by reference | Type reference (TYPE) | JEST_TTY | Individual Object Status | 20080218 | |||
| 8 | ET_JSTO | Call by reference | Type reference (TYPE) | JSTO_TTY | Status object information | 20080218 | |||
| 9 | ET_KOMV | Call by reference | Type reference (TYPE) | KOMV_TAB | Conditions (Transaction Data) | 20080303 | |||
| 10 | ET_NAST | Call by reference | Type reference (TYPE) | NAST_T | Table: Message Status | 20080218 | |||
| 11 | ET_VBEPVB | Call by reference | Type reference (TYPE) | VA_VBEPVB_T | Table for structure VBEPVB | 20080304 | |||
| 12 | ET_VBFA | Call by reference | Type reference (TYPE) | VA_VBFAVB_T | Table for structure VBFAVB | 20080218 | |||
| 13 | ET_VBKD | Call by reference | Type reference (TYPE) | VA_VBKDVB_T | Table for structure VBKDVB | 20080218 | |||
| 14 | ET_VBPA | Call by reference | Type reference (TYPE) | VA_VBPAVB_T | Table for structure VBPAVB | 20080218 | |||
| 15 | ET_VBUK | Call by reference | Type reference (TYPE) | VA_VBUKVB_T | Table for structure VBUKBV | 20080218 | |||
| 16 | ET_VBUP | Call by reference | Type reference (TYPE) | VA_VBUPVB_T | Table for structure VBUPVB | 20080218 | |||
| 17 | ET_VEDA | Call by reference | Type reference (TYPE) | VEDA_TTY | Contract Data | 20080218 | |||
| 18 | EV_ARCHIVED | Call by reference | Type reference (TYPE) | XFELD | Checkbox | 20080303 | |||
| 19 | IV_ARCHIVEKEY | Call by reference | Type reference (TYPE) | ARKEY | HAS NO EFFECT: Key for Archive File | 20080410 | |||
| 20 | IV_KPOSN | Call by reference | Type reference (TYPE) | KPOSN | Condition item number | 20080304 | |||
| 21 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20080218 | |||
| 22 | IV_POSNR | Call by reference | Type reference (TYPE) | POSNR_VA | Sales Document Item | 20080218 | |||
| 23 | IV_VBELN | Call by reference | Type reference (TYPE) | VBELN | Sales and Distribution Document Number | 20080218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Document is invalid | 20080403 | ||
| 2 | No data found | 20080403 |
Method GET_REQUIRED_FIELDS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_REQUIRED_FIELDS | Call by reference | Type reference (TYPE) | ASH_TABFIELDS_T | Check Info Structure Fields | 20080402 | |||
| 2 | IV_SALES_DOCUMENT | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20080402 | |||
| 3 | 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 | ET_RANGE_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20080424 | ||||
| 2 | IT_SELOPT | Call by reference | Type reference (TYPE) | DDSHSELOPS | Table for system information of Archive information structur | 20080424 | |||
| 3 | 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 | 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 | CT_AIND_STR1_CHECK_IF_VALID | Call by reference | Type reference (TYPE) | VA_AIND_STR1_T | Table of Archive Info Structures | 20080604 | |||
| 2 | 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 |