SAP ABAP Class CL_WPOSP_SALES_QUERY (Query for Processed and Unprocessed Sales Transactions)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
SD-POS (Application Component) POS Interface
⤷
WPOS_PIPE (Package) Interface to PIPE / POS Data Management
⤷
⤷
Properties
| Class | CL_WPOSP_SALES_QUERY | |
| Short Description | Query for Processed and Unprocessed Sales Transactions | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WPOS_PIPE | Interface to PIPE / POS Data Management |
| Created | 20060621 | SAP |
| Last change | 20100310 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_WPOSP_SALES_QUERY has no forward declaration.
Interfaces
Class CL_WPOSP_SALES_QUERY has no interface implemented.
Friends
Class CL_WPOSP_SALES_QUERY has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | BADI_WPOSP_SALES_QUERY | 20060724 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Add Storage Location to Results Table | 20061108 | |
| 2 | Static method | Private | Method | Check Storage Location and Filter Out Items | 20061108 | |
| 3 | Static method | Private | Method | Determine Customer Number of Plant (= RetailStoreID) | 20061108 | |
| 4 | Static method | Public | Method | Access Query for Sales Transactions | 20060621 | |
| 5 | Static method | Private | Method | Add Base Unit of Measure if Unit of Measure Missing | 20061010 |
Events
Class CL_WPOSP_SALES_QUERY has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_STORAGE_LOCATION | Private | See coding | 20061110 | begin of TY_STORAGe_LOCATION,
materialnumber type matnr,
locationid type lgort_d,
end of ty_storage_location
|
||
| 2 | TY_TT_STORAGE_LOCATION | Private | See coding | 20061110 | ty_tt_storage_location
type hashed table of ty_storage_location
with unique key materialnumber
|
Method Signatures
Method ADD_STORAGE_LOCATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_SALES_DATA | Call by reference | Type reference (TYPE) | WPOSP_SALES_QUERY_DATA_TTY | Rückgabestruktur der Verkaufs-Query | 20061108 | |||
| 2 | I_LOCATIONID | Call by reference | Type reference (TYPE) | LGORT_D | Werksbezogene Kundennummer | 20080728 | |||
| 3 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20080728 | |||
| 4 | I_RETAILSTOREID | Call by reference | Type reference (TYPE) | KUNNR_WK | Kundennummer des Werkes | 20080728 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Aufruf der Query für POS-Transaktionen | 20080728 |
Method CHECK_STORAGE_LOCATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ITEMS | Call by reference | Type reference (TYPE) | WPOSP_SALES_QUERY_SEL_TTY | Selektionskriterien für Query mit Verkaufstransaktionen | 20061108 | |||
| 2 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Returntabelle | 20061108 | |||
| 3 | ET_STORAGE_LOCATION | Call by reference | Type reference (TYPE) | TY_TT_STORAGE_LOCATION | 20061110 | ||||
| 4 | IT_ITEMS | Call by reference | Type reference (TYPE) | WPOSP_SALES_QUERY_SEL_TTY | Selektionskriterien für Query mit Verkaufstransaktionen | 20061108 | |||
| 5 | I_LOCATIONID | Call by reference | Type reference (TYPE) | LGORT_D | Lagerort | 20061109 | |||
| 6 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20061109 | |||
| 7 | I_REQUEST_BY_STORAGE_LOC | Call by reference | Type reference (TYPE) | BOOLE_D | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20061108 | |||
| 8 | I_RETAILSTOREID | Call by reference | Type reference (TYPE) | KUNNR_WK | Kundennummer des Werkes | 20061109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Aufruf der Query für POS-Transaktionen | 20061109 |
Method DETERMINE_STORE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20061109 | |||
| 2 | R_RETAILSTOREID | Value transfer | Type reference (TYPE) | KUNNR_WK | Kundennummer des Werkes | 20061108 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Aufruf der Query für POS-Transaktionen | 20061108 |
Method GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2_T | Returntabelle | 20060621 | |||
| 2 | ET_SALES_DATA | Call by reference | Type reference (TYPE) | WPOSP_SALES_QUERY_DATA_TTY | Rückgabestruktur der Verkaufs-Query | 20060621 | |||
| 3 | IR_BUSINESSDAYDATE | Call by reference | Type reference (TYPE) | WPOSP_RT_BUSINESSDAYDATE | Range für Buchungsdatum | 20060621 | |||
| 4 | IT_ITEMS | Call by reference | Type reference (TYPE) | WPOSP_SALES_QUERY_SEL_TTY | Selektionskriterien für Query mit Verkaufstransaktionen | 20060621 | |||
| 5 | I_CONTROL | Call by reference | Type reference (TYPE) | WPOSP_SALES_QUERY_CONTROL_STY | Kontrollstruktur für Abfrage der Abverkaufstransaktionen | 20060830 | |||
| 6 | I_LOCATIONID | Call by reference | Type reference (TYPE) | LGORT_D | Materialstammview für Lagerort- und Chargenauswahl | 20061109 | |||
| 7 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Werk | 20061109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei Aufruf der Query für POS-Transaktionen | 20060724 |
Method SET_DEFAULT_UOM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XT_SALES_DATA | Call by reference | Type reference (TYPE) | WPOSP_SALES_QUERY_DATA_TTY | Rückgabestruktur der Verkaufs-Query | 20061010 |
Method SET_DEFAULT_UOM on class CL_WPOSP_SALES_QUERY has no exception.
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in | 700 |