SAP ABAP Class CL_WSD_MAT_INFO (Class responsible of retrieving material detail data)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
SD-MD-MM-CS (Application Component) Additional Material Functions
⤷
WSD_CS_FU (Package) Functionality Enhanced Material Search
⤷
⤷
Properties
| Class | CL_WSD_MAT_INFO | |
| Short Description | Class responsible of retrieving material detail data | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | WSD_CS_FU | Functionality Enhanced Material Search |
| Created | 20060801 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_WSD_MAT_INFO has no forward declaration.
Interfaces
Class CL_WSD_MAT_INFO has no interface implemented.
Friends
Class CL_WSD_MAT_INFO has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | WSD_MV_BASIC_STY | Structure for material view basic data | 20060802 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | WSD_MV_LAST_SO_STY | Internal table for customer's last orders | 20060802 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | WSD_MV_SALES_STY | Structure for material view - sales price data | 20060802 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | WSD_MV_VENDOR_STY | Structure for material view - regular vendor data | 20060802 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | WSD_MV_ATP_TTY | Internal table for material availability | 20060802 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | 20060801 | ||
| 2 | Instance method | Public | Method | Get all listprices for a material | 20070410 | |
| 3 | Instance method | Public | Method | Get alternate materials for the material | 20061121 | |
| 4 | Instance method | Public | Method | Get the material's availability of close-by plants | 20060801 | |
| 5 | Instance method | Public | Method | Retrieve material basic data | 20060801 | |
| 6 | Instance method | Public | Method | Get cross selling materials for the material | 20061121 | |
| 7 | Instance method | Public | Method | Get the last orders of the customer | 20060801 | |
| 8 | Instance method | Public | Method | Get regular vendor data | 20060801 | |
| 9 | Instance method | Public | Method | Get the material's sales prices | 20060801 | |
| 10 | Instance method | Public | Method | Get up and down selling materials for the material | 20061121 |
Events
Class CL_WSD_MAT_INFO has no event.
Types
Class CL_WSD_MAT_INFO has no local type.
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_WSD_MAT_INFO has no parameter.
Method CONSTRUCTOR on class CL_WSD_MAT_INFO has no exception.
Method GET_ALL_LIST_PRICES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_KUNNR | Call by reference | Type reference (TYPE) | KUNNR | Customer Number 1 | 20071114 | |||
| 2 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20070410 | |||
| 3 | I_ORDER_TYPE | Call by reference | Type reference (TYPE) | AUART | Sales Document Type | 20070504 | |||
| 4 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20070410 | |||
| 5 | I_SPART | Call by reference | Type reference (TYPE) | SPART | Division | 20070410 | |||
| 6 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Quantity | 20070410 | |||
| 7 | I_VRKME | Value transfer | Type reference (TYPE) | KOMP-VRKME | SPACE | Sales unit | 20101126 | ||
| 8 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Sales unit | 20070410 | |||
| 9 | RT_PRICE_LIST | Value transfer | Type reference (TYPE) | WSD_MV_MAT_PRICE_TTY | Material Price list | 20070410 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20070410 |
Method GET_ALTERNATE_MATERIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_AUART | Call by reference | Type reference (TYPE) | AUART | Sales Document Type | 20061121 | |||
| 2 | I_KUNNR | Call by reference | Type reference (TYPE) | KUNNR | Customer Number 1 | 20061121 | |||
| 3 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20061121 | |||
| 4 | I_ORDER_DATE | Call by reference | Type reference (TYPE) | DATE_TO | Date | 20061121 | |||
| 5 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20061121 | |||
| 6 | I_SPART | Call by reference | Type reference (TYPE) | SPART | Division | 20070214 | |||
| 7 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20061130 | |||
| 8 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20061130 | |||
| 9 | RT_WSD_MV_ALT_MAT_TTY | Call by reference | Type reference (TYPE) | WSD_MV_ALT_MAT_TTY | Structure for alternate materials | 20061122 |
Method GET_ALTERNATE_MATERIAL on class CL_WSD_MAT_INFO has no exception.
Method GET_AVAILABILITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APP_NAME | Call by reference | Type reference (TYPE) | WSD_APPLICATION | Application name | 20070201 | |||
| 2 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060801 | |||
| 3 | I_ORDER_TYPE | Call by reference | Type reference (TYPE) | AUART | Sales Document Type | 20071217 | |||
| 4 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20060801 | |||
| 5 | I_PLANT_AREA | Call by reference | Type reference (TYPE) | WSD_PLANTS_DISPLAY | WSD displaying plants | 20060803 | |||
| 6 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20071217 | |||
| 7 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20071217 | |||
| 8 | RT_ATP | Value transfer | Type reference (TYPE) | WSD_MV_ATP_TTY | Internal table for material availability | 20060802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20060801 |
Method GET_BASIC_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_KUNNR | Value transfer | Type reference (TYPE) | KUNNR | Customer Number 1 | 20070413 | |||
| 2 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060801 | |||
| 3 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20060801 | |||
| 4 | I_VKORG | Value transfer | Type reference (TYPE) | VKORG | Sales Organization | 20061113 | |||
| 5 | I_VTWEG | Value transfer | Type reference (TYPE) | VTWEG | Distribution Channel | 20061113 | |||
| 6 | RS_BASIC_DATA | Value transfer | Type reference (TYPE) | WSD_MV_BASIC_STY | Structure for material view basic data | 20060802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen mit statischer und dynamischer Prüfung von RAISING | 20060801 | ||
| 2 | WSD basic exception class | 20060801 | ||
| 3 | General exception for data-not-found errors | 20060801 |
Method GET_CROSS_SELLING_MATERIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APP_NAME | Call by reference | Type reference (TYPE) | WSD_APPLICATION | Application name | 20070201 | |||
| 2 | I_AUART | Call by reference | Type reference (TYPE) | AUART | Sales Document Type | 20061123 | |||
| 3 | I_KUNNR | Call by reference | Type reference (TYPE) | KUNNR | Customer Number 1 | 20061121 | |||
| 4 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20061121 | |||
| 5 | I_ORDER_DATE | Call by reference | Type reference (TYPE) | DATE_TO | To date | 20061123 | |||
| 6 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20061121 | |||
| 7 | I_SPART | Call by reference | Type reference (TYPE) | SPART | Division | 20070214 | |||
| 8 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20061130 | |||
| 9 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20061130 | |||
| 10 | RT_WSD_MV_ALT_MAT_TTY | Call by reference | Type reference (TYPE) | WSD_MV_ALT_MAT_TTY | Structure for alternate materials | 20061123 |
Method GET_CROSS_SELLING_MATERIAL on class CL_WSD_MAT_INFO has no exception.
Method GET_LAST_ORDERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_APP_NAME | Call by reference | Type reference (TYPE) | WSD_APPLICATION | Application name | 20070201 | |||
| 2 | I_DATE_FROM | Call by reference | Type reference (TYPE) | DATE_FROM | Date from | 20060801 | |||
| 3 | I_DATE_TO | Call by reference | Type reference (TYPE) | DATE_TO | To date | 20060801 | |||
| 4 | I_KUNNR | Call by reference | Type reference (TYPE) | KUNNR | Customer Number 1 | 20060801 | |||
| 5 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060801 | |||
| 6 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20060801 | |||
| 7 | I_SPART | Call by reference | Type reference (TYPE) | SPART | Division | 20070214 | |||
| 8 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20070130 | |||
| 9 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20070130 | |||
| 10 | RS_ORDERS | Value transfer | Type reference (TYPE) | WSD_MV_LAST_SO_STY | Internal table for customer's last orders | 20060802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen mit statischer und dynamischer Prüfung von RAISING | 20060801 | ||
| 2 | WSD basic exception class | 20060801 | ||
| 3 | General exception for data-not-found errors | 20060801 |
Method GET_REG_VENDOR_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FUNCTION | Call by reference | Type reference (TYPE) | SYUCOMM | Function code that PAI triggered | 20090309 | |||
| 2 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060801 | |||
| 3 | I_OPEN_QTY_DATE | Call by reference | Type reference (TYPE) | WSD_EFFECTIVE_DATE | Date from | 20060802 | |||
| 4 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20060801 | |||
| 5 | I_PRICE_DATE | Call by reference | Type reference (TYPE) | WSD_EFFECTIVE_DATE | SY-DATUM | WSD effective date | 20060802 | ||
| 6 | I_VENDOR | Call by reference | Type reference (TYPE) | LIFNR | Account Number of Vendor or Creditor | 20070426 | |||
| 7 | I_VENDOR_BEFORE | Call by reference | Type reference (TYPE) | ELIFN | Vendor Account Number | 20090309 | |||
| 8 | RS_VENDOR | Value transfer | Type reference (TYPE) | WSD_MV_VENDOR_STY | Structure for material view - regular vendor data | 20060802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen mit statischer und dynamischer Prüfung von RAISING | 20060801 | ||
| 2 | WSD basic exception class | 20060801 | ||
| 3 | General exception for data-not-found errors | 20060801 |
Method GET_SALES_PRICES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CUST_PRICE | Call by reference | Type reference (TYPE) | WSD_PRICE_STY | WSD general structure to hold price information | 20070309 | |||
| 2 | I_DATE | Call by reference | Type reference (TYPE) | DATE_TO | To date | 20060801 | |||
| 3 | I_KUNNR | Call by reference | Type reference (TYPE) | KUNNR | Customer Number 1 | 20060801 | |||
| 4 | I_LIST_PRICE | Call by reference | Type reference (TYPE) | WSD_PRICE_STY | WSD general structure to hold price information | 20070309 | |||
| 5 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060801 | |||
| 6 | I_MGAME | Call by reference | Type reference (TYPE) | MENGE_D | Quantity | 20061205 | |||
| 7 | I_ORDER_TYPE | Call by reference | Type reference (TYPE) | AUART | Sales Document Type | 20060802 | |||
| 8 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20060801 | |||
| 9 | I_SPART | Call by reference | Type reference (TYPE) | SPART | Division | 20070214 | |||
| 10 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Quantity | 20061121 | |||
| 11 | I_VRKME | Call by reference | Type reference (TYPE) | VRKME | Sales unit | 20061205 | |||
| 12 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Sales unit | 20061121 | |||
| 13 | RS_SALES_PRICE | Value transfer | Type reference (TYPE) | WSD_MV_SALES_STY | Structure for material view - sales price data | 20060802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20060801 |
Method GET_UP_DOWN_SELLING_MATERIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_AUART | Call by reference | Type reference (TYPE) | AUART | Sales Document Type | 20061124 | |||
| 2 | I_KUNNR | Call by reference | Type reference (TYPE) | KUNNR | Customer Number 1 | 20061121 | |||
| 3 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20061121 | |||
| 4 | I_ORDER_DATE | Call by reference | Type reference (TYPE) | DATE_TO | To date | 20061124 | |||
| 5 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20061121 | |||
| 6 | I_SPART | Call by reference | Type reference (TYPE) | SPART | Division | 20070214 | |||
| 7 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20061130 | |||
| 8 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20061130 | |||
| 9 | RT_WSD_MV_ALT_MAT_TTY | Call by reference | Type reference (TYPE) | WSD_MV_ALT_MAT_TTY | Structure for alternate materials | 20061124 |
Method GET_UP_DOWN_SELLING_MATERIAL on class CL_WSD_MAT_INFO has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 700 |