Hierarchy
⤷
⤷
Properties
| Class | CL_WSD_MATERIAL | |
| Short Description | Material object used in lean material creation. | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | WSD_MESSAGE | |
| Program status | ||
| Category | 0 | |
| Package | WSD_CS_FU | Functionality Enhanced Material Search |
| Created | 20060531 | SAP |
| Last change | 20110908 | 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_WSD_MATERIAL has no interface implemented.
Friends
Class CL_WSD_MATERIAL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | WSD_MATERIAL_STY | Lean material structure | 20060531 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | MATNR | Reference Material | 20060712 | |||
| 3 | Static Attribute | Public | Type reference (TYPE) | WSD_MATERIAL_SOURCE | The source from where data of material is retrieved | 20061208 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Fill the structures used in creating plant data | 20060824 | |
| 2 | Instance method | Private | Method | Calculate sales price | 20060601 | |
| 3 | Static method | Public | Method | Change an existing retail material | 20090116 | |
| 4 | Static method | Public | Method | Change an existing standard material | 20090116 | |
| 5 | Static method | Private | Method | Check if the material number is valid as external nr. | 20060629 | |
| 6 | Instance method | Public | Constructor | CONSTRUCTOR | 20060531 | |
| 7 | Static method | Public | Method | Create material object | 20060531 | |
| 8 | Static method | Public | Method | Create material from Catalog | 20081229 | |
| 9 | Static method | Public | Method | Create material using an existing material | 20081229 | |
| 10 | Static method | Public | Method | Create a plant specific data for an existing material | 20060704 | |
| 11 | Static method | Public | Method | Creates sales organization data (MVKE) | 20070220 | |
| 12 | Instance method | Private | Method | Gets client data of material to be saved | 20061211 | |
| 13 | Static method | Private | Method | Get internal material number of the given material type | 20060601 | |
| 14 | Static method | Private | Method | Gets a possible purch org for vendor and plant specified | 20070131 | |
| 15 | Static method | Private | Method | Get the reference material | 20060711 | |
| 16 | Static method | Private | Method | Get the ref. plant from the customizing table | 20060825 | |
| 17 | Instance method | Private | Method | Gets the sales data of material to be saved | 20061211 | |
| 18 | Instance method | Private | Method | Gets the tax data of material to be saved | 20061211 | |
| 19 | Static method | Private | Method | Merge the structures | 20060823 | |
| 20 | Instance method | Private | Method | Post info record | 20060531 | |
| 21 | Instance method | Private | Method | Rollback and raise the bapi result an an exception | 20060717 | |
| 22 | Instance method | Private | Method | Fill wsd_message_sty for the internal table | 20060717 | |
| 23 | Static method | Public | Method | Read the material data of the given matnr | 20060802 | |
| 24 | Static method | Private | Method | Read the mara table to get the material basic data | 20060802 | |
| 25 | Static method | Private | Method | Read the material description from the MAKT table | 20060802 | |
| 26 | Static method | Private | Method | Read plant and valuation reference data | 20060704 | |
| 27 | Static method | Private | Method | Read the material purchasing data from EINA and EINE tables | 20060802 | |
| 28 | Static method | Private | Method | Read the material sales data from MVKE table | 20060802 | |
| 29 | Static method | Private | Method | Get the valuation data using the reference | 20060825 | |
| 30 | Instance method | Public | Method | Save the new material data | 20060704 | |
| 31 | Instance method | Public | Method | Save the new retail material data | 20070305 | |
| 32 | Instance method | Public | Method | Save plant specific data for the given material | 20060704 | |
| 33 | Instance method | Public | Method | Saves the sales org data (MVKE) for given material | 20070220 | |
| 34 | Instance method | Private | Method | Sets the flag for update in the checkbox table | 20061211 | |
| 35 | Instance method | Public | Method | Set attibute ms_material | 20060720 |
Events
Class CL_WSD_MATERIAL has no event.
Types
Class CL_WSD_MATERIAL has no local type.
Method Signatures
Method BUILD_PLANT_SPECIFIC_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_PLANT | Call by reference | Type reference (TYPE) | BAPIE1MARC | Material Data at Plant Level | 20060825 | |||
| 2 | CS_PLANT_X | Call by reference | Type reference (TYPE) | BAPIE1MARCX | Checkbox Structure for BAPIE1MARC | 20060825 | |||
| 3 | CS_VALUATION | Call by reference | Type reference (TYPE) | BAPIE1MBEW | Valuation Data | 20060825 | |||
| 4 | CS_VALUATION_X | Call by reference | Type reference (TYPE) | BAPIE1MBEWX | Checkbox Structure for BAPIE1MBEW | 20060825 |
Method BUILD_PLANT_SPECIFIC_DATA on class CL_WSD_MATERIAL has no exception.
Method CALCULATE_SALES_PRICE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NAME | Call by reference | Type reference (TYPE) | WSD_APPLICATION | Application name | 20070201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Material creation exception class | 20060626 |
Method CHANGE_MATERIAL_RETAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MATERIAL | Call by reference | Type reference (TYPE) | BAPIMATINR | Material Number | 20090116 | |||
| 2 | ET_ERRORLIST | Call by reference | Type reference (TYPE) | BAPIRET2_TAB | Error Messages | 20090116 | |||
| 3 | IS_MATERIAL | Call by reference | Type reference (TYPE) | WSD_CREATESCREENVALUES | Material change/create structure | 20090123 | |||
| 4 | IV_CHANGE_FROM_MAT | Call by reference | Type reference (TYPE) | WSD_CHANGE_MATERIAL | '01' | Change Method For Retail Articles | 20090116 |
Method CHANGE_MATERIAL_RETAIL on class CL_WSD_MATERIAL has no exception.
Method CHANGE_MATERIAL_STANDARD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MATERIAL | Call by reference | Type reference (TYPE) | BAPIMATINR | Material Number | 20090116 | |||
| 2 | ET_ERRORLIST | Call by reference | Type reference (TYPE) | BAPIRET2_TAB | Error Messages | 20090116 | |||
| 3 | IS_MATERIAL | Call by reference | Type reference (TYPE) | WSD_CREATESCREENVALUES | Header Structure: Core Article Master Data Maintenance Copy | 20090116 |
Method CHANGE_MATERIAL_STANDARD on class CL_WSD_MATERIAL has no exception.
Method CHECK_EX_NUMBER_RANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_IS_VALID | Value transfer | Type reference (TYPE) | XFELD | Return value. X=valid, space=invalid | 20060629 | |||
| 2 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060629 | |||
| 3 | I_MAT_TYPE | Call by reference | Type reference (TYPE) | MTART | Material Type | 20060629 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Material creation exception class | 20060629 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_MATERIAL | Call by reference | Type reference (TYPE) | WSD_MATERIAL_STY | Lean material structure | 20060531 |
Method CONSTRUCTOR on class CL_WSD_MATERIAL has no exception.
Method CREATE_MATERIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_MATERIAL | Call by reference | Object reference (TYPE REF TO) | CL_WSD_MATERIAL | Material object used in lean material creation. | 20060531 | |||
| 2 | IS_MAT_DATA | Call by reference | Type reference (TYPE) | WSD_MATERIAL_STY | Lean material structure | 20060531 | |||
| 3 | I_APP_NAME | Call by reference | Type reference (TYPE) | WSD_APPLICATION | Application name | 20070201 | |||
| 4 | I_SOURCE | Call by reference | Type reference (TYPE) | WSD_MATERIAL_SOURCE | The source from where data of material is retrieved | 20061208 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20060828 | ||
| 2 | Material creation exception class | 20060626 | ||
| 3 | General exception for data-not-found errors | 20060810 |
Method CREATE_MATERIAL_FROM_CATALOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ERRORLIST | Call by reference | Type reference (TYPE) | BAPIRET2_TAB | Error Messages | 20081229 | |||
| 2 | ET_MATERIALLIST | Call by reference | Type reference (TYPE) | WSD_MAT_CREATION_PRICAT_TTY | List of newly created materials | 20081229 | |||
| 3 | IS_CATALOGDATA | Call by reference | Type reference (TYPE) | WSD_MATERIAL_STY | Lean material structure | 20081229 | |||
| 4 | IV_BACKGROUND | Call by reference | Type reference (TYPE) | WSD_BACKGROUND_CREATE | Flag for using background creation process | 20081229 | |||
| 5 | IV_CREATE_FROM_CAT | Call by reference | Type reference (TYPE) | WSD_CREATE_FROM_CATALOG | Creation Method based on Catalog | 20090417 |
Method CREATE_MATERIAL_FROM_CATALOG on class CL_WSD_MATERIAL has no exception.
Method CREATE_MATERIAL_FROM_MATERIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MATERIAL | Call by reference | Type reference (TYPE) | BAPIMATINR | Material Number | 20081229 | |||
| 2 | ET_ERRORLIST | Call by reference | Type reference (TYPE) | BAPIRET2_TAB | Error Messages | 20081229 | |||
| 3 | IS_REFERENCE_DATA | Call by reference | Type reference (TYPE) | WSD_CREATESCREENVALUES | Header Structure: Core Article Master Data Maintenance Copy | 20081229 | |||
| 4 | IV_BACKGROUND | Call by reference | Type reference (TYPE) | WSD_BACKGROUND_CREATE | Flag for using background creation process | 20090123 | |||
| 5 | IV_CREATE_FROM_MAT | Call by reference | Type reference (TYPE) | WSD_CREATE_FROM_MATERIAL | Creation Method Based on Material | 20081229 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20081231 | ||
| 2 | Material creation exception class | 20081231 | ||
| 3 | General exception for data-not-found errors | 20081231 |
Method CREATE_PLANT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_MATERIAL | Call by reference | Object reference (TYPE REF TO) | CL_WSD_MATERIAL | Material object used in lean material creation. | 20060704 | |||
| 2 | I_APP_NAME | Call by reference | Type reference (TYPE) | WSD_APPLICATION | Application name | 20070201 | |||
| 3 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060704 | |||
| 4 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20060711 | |||
| 5 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20061207 | |||
| 6 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20061207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20060828 | ||
| 2 | Material creation exception class | 20060825 | ||
| 3 | General exception for data-not-found errors | 20060830 |
Method CREATE_SALES_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_MATERIAL | Call by reference | Object reference (TYPE REF TO) | CL_WSD_MATERIAL | Material object used in lean material creation. | 20070220 | |||
| 2 | I_APP_NAME | Call by reference | Type reference (TYPE) | WSD_APPLICATION | Application name | 20070220 | |||
| 3 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20070220 | |||
| 4 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20070221 | |||
| 5 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20070220 | |||
| 6 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20070220 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20070221 | ||
| 2 | Material creation exception class | 20070221 | ||
| 3 | General exception for data-not-found errors | 20070221 |
Method GET_CLIENT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_MATERIAL | Call by reference | Type reference (TYPE) | BAPIE1MARA | Material Data at Client Level | 20071129 | |||
| 2 | CS_MATERIAL_X | Call by reference | Type reference (TYPE) | BAPIE1MARAX | Checkbox Structure for BAPIE1MARA | 20071129 | |||
| 3 | CS_MAT_UOM | Call by reference | Type reference (TYPE) | BAPIE1MARM | Units of Measure | 20071129 | |||
| 4 | CS_MAT_UOM_X | Call by reference | Type reference (TYPE) | BAPIE1MARMX | Checkbox Structure for BAPIE1MARM | 20071129 |
Method GET_CLIENT_DATA on class CL_WSD_MATERIAL has no exception.
Method GET_INTERNAL_MAT_NR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060601 | |||
| 2 | I_MAT_TYPE | Call by reference | Type reference (TYPE) | MTART | Material type | 20060628 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Material creation exception class | 20060629 |
Method GET_PURCH_ORG 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 | Plant | 20070131 | |||
| 2 | I_VENDOR | Call by reference | Type reference (TYPE) | LIFNR | Account Number of Vendor or Creditor | 20070131 | |||
| 3 | R_PURCH_ORG | Value transfer | Type reference (TYPE) | EKORG | Purchasing Organization | 20070131 |
Method GET_PURCH_ORG on class CL_WSD_MATERIAL has no exception.
Method GET_REFERENCE_MATERIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060711 | |||
| 2 | R_REF_MATERIAL | Value transfer | Type reference (TYPE) | MATNR | Material Number | 20060712 |
Method GET_REFERENCE_MATERIAL on class CL_WSD_MATERIAL has no exception.
Method GET_REFERENCE_PLANT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NAME | Call by reference | Type reference (TYPE) | WSD_APPLICATION | Application name | 20070201 | |||
| 2 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20060825 | |||
| 3 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20060825 | |||
| 4 | R_REF_PLANT | Value transfer | Type reference (TYPE) | VLGFI | Reference Plant of the Category "Store" (Material Master) | 20060825 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20060828 | ||
| 2 | General exception for data-not-found errors | 20060825 |
Method GET_SALES_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_SALES_DATA | Call by reference | Type reference (TYPE) | BAPIE1MVKE | Sales Data | 20071129 | |||
| 2 | CS_SALES_DATA_X | Call by reference | Type reference (TYPE) | BAPIE1MVKEX | Checkbox Structure for BAPIE1MVKE | 20071129 |
Method GET_SALES_DATA on class CL_WSD_MATERIAL has no exception.
Method GET_TAX_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_TAX_DATA | Call by reference | Type reference (TYPE) | BAPIE1MLAN_LTTY | Control Data | 20080818 | |||
| 2 | I_NAME | Call by reference | Type reference (TYPE) | WSD_APPLICATION | Application | 20070313 |
Method GET_TAX_DATA on class CL_WSD_MATERIAL has no exception.
Method MERGE_STRUCTURES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_RESULT | Value transfer | Type reference (TYPE) | ANY | 20060823 | ||||
| 2 | IS_FIRST | Call by reference | Type reference (TYPE) | ANY | 20060823 | ||||
| 3 | IS_SECOND | Call by reference | Type reference (TYPE) | ANY | 20060823 |
Method MERGE_STRUCTURES on class CL_WSD_MATERIAL has no exception.
Method POST_INFORECORD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NAME | Call by reference | Type reference (TYPE) | WSD_APPLICATION | Application name | 20070201 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Material creation exception class | 20060626 |
Method RAISE_BAPI_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_RETURNS | Call by reference | Type reference (TYPE) | WSD_BAPIE1RET2_TTY | Return Parameter | 20060717 | |||
| 2 | I_WHEREABOUT | Call by reference | Type reference (TYPE) | STRING | 20060717 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Material creation exception class | 20060811 |
Method RAISE_FM_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_WHEREABOUT | Call by reference | Type reference (TYPE) | STRING | 20060717 | ||||
| 2 | X_MSG_TBL | Call by reference | Type reference (TYPE) | WSD_MESSAGE_TTY | Internal table for WSD exception text | 20060717 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Material creation exception class | 20060811 |
Method READ_MATERIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EKORG | Call by reference | Type reference (TYPE) | EKORG | Purchasing Organization | 20061218 | |||
| 2 | I_KZRFB | Call by reference | Type reference (TYPE) | KZRFB | Indicator: reset buffer for Material_Pre_Fetch | 20090320 | |||
| 3 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060802 | |||
| 4 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20060802 | |||
| 5 | I_VENDOR | Call by reference | Type reference (TYPE) | LIFNR | Account Number of Vendor or Creditor | 20060929 | |||
| 6 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20060929 | |||
| 7 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20060929 | |||
| 8 | RS_MATERIAL | Value transfer | Type reference (TYPE) | WSD_MATERIAL_STY | Lean material structure | 20061002 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20060828 | ||
| 2 | General exception for data-not-found errors | 20060830 |
Method READ_MATERIAL_BASIC_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_MAT_DATA | Call by reference | Type reference (TYPE) | WSD_BASIC_MAT_STY | Basic material data | 20060802 | |||
| 2 | I_KZRFB | Call by reference | Type reference (TYPE) | KZRFB | Indicator: reset buffer for Material_Pre_Fetch | 20090320 | |||
| 3 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20060828 | ||
| 2 | General exception for data-not-found errors | 20060825 |
Method READ_MAT_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_DESCRIPTION | Value transfer | Type reference (TYPE) | WSD_MAT_DESC_STY | Material description | 20060802 | |||
| 2 | I_KZRFB | Call by reference | Type reference (TYPE) | KZRFB | 20090320 | ||||
| 3 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060802 | |||
| 4 | I_SPRAS | Call by reference | Type reference (TYPE) | SPRAS | Language Key | 20061002 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20060828 | ||
| 2 | General exception for data-not-found errors | 20060825 |
Method READ_PLANT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_PLANT | Call by reference | Type reference (TYPE) | MARC | Material | 20060825 | |||
| 2 | I_KZRFB | Call by reference | Type reference (TYPE) | KZRFB | Indicator: reset buffer for Material_Pre_Fetch | 20090320 | |||
| 3 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060704 | |||
| 4 | I_OPTIONAL | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | The return data for the given plant can be empty | 20060928 | ||
| 5 | I_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant Table for National (Centrally Agreed) Contracts | 20060711 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20060828 | ||
| 2 | Material creation exception class | 20060825 |
Method READ_PURCHASING_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_PURCHASING_GENERAL | Call by reference | Type reference (TYPE) | WSD_PURCHASING_GEN_STY | Purchasing data | 20060821 | |||
| 2 | CS_PURCHASING_ORG | Call by reference | Type reference (TYPE) | WSD_PURCHASING_ORG_STY | Purchasing Info Record: Purchasing Organization Data | 20060821 | |||
| 3 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20060828 | ||
| 2 | General exception for data-not-found errors | 20060825 |
Method READ_SALES_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_SALES | Call by reference | Type reference (TYPE) | WSD_SALES_STY | Sales data | 20060802 | |||
| 2 | I_KZRFB | Call by reference | Type reference (TYPE) | KZRFB | Indicator: reset buffer for Material_Pre_Fetch | 20090320 | |||
| 3 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060802 | |||
| 4 | I_VKORG | Call by reference | Type reference (TYPE) | VKORG | Sales Organization | 20060824 | |||
| 5 | I_VTWEG | Call by reference | Type reference (TYPE) | VTWEG | Distribution Channel | 20060824 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20060828 | ||
| 2 | General exception for data-not-found errors | 20060825 |
Method READ_VALUATION_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_VALUATION | Value transfer | Type reference (TYPE) | MBEW | Material Valuation | 20060825 | |||
| 2 | I_KZRFB | Call by reference | Type reference (TYPE) | KZRFB | Indicator: reset buffer for Material_Pre_Fetch | 20090320 | |||
| 3 | I_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20060825 | |||
| 4 | I_OPTIONAL | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | retuen data can be empty if this is true. | 20060928 | ||
| 5 | I_VALUATION_AREA | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20060825 | |||
| 6 | I_VALUATION_TYPE | Call by reference | Type reference (TYPE) | BWTAR_D | Valuation Type | 20060825 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20060828 | ||
| 2 | General exception for data-not-found errors | 20060825 |
Method SAVE_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_MAT_CREATE | Call by reference | Type reference (TYPE) | WSD_MAT_CREATE | Type of materials that are created | 20070313 | |||
| 3 | R_MATERIAL | Value transfer | Type reference (TYPE) | MATNR | Material Number | 20060803 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | WSD basic exception class | 20060928 | ||
| 2 | Material creation exception class | 20060706 | ||
| 3 | General exception for data-not-found errors | 20060928 |
Method SAVE_MATERIAL_RT 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 | 20070305 | |||
| 2 | R_MATERIAL | Value transfer | Type reference (TYPE) | MATNR | Material Number | 20070305 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Material creation exception class | 20070412 |
Method SAVE_PLANT_DATA 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 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Material creation exception class | 20060706 |
Method SAVE_SALES_DATA 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 | 20070220 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Material creation exception class | 20070221 |
Method SET_CHECKBOX_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CS_TABLE | Call by reference | Type reference (TYPE) | ANY | Check Table | 20061211 | |||
| 2 | IS_TABLE | Call by reference | Type reference (TYPE) | ANY | Table | 20061211 | |||
| 3 | I_TABNAME | Call by reference | Type reference (TYPE) | DDOBJNAME | Table name | 20061211 |
Method SET_CHECKBOX_TABLE on class CL_WSD_MATERIAL has no exception.
Method SET_MATERIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_MAT_DATA | Call by reference | Type reference (TYPE) | WSD_MATERIAL_STY | Lean material structure | 20060720 |
Method SET_MATERIAL on class CL_WSD_MATERIAL has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 700 |