SAP ABAP Class CL_DEF_IM_WRBX_OUT_OF_STOCK (Default Implementation for BAdI Definition WRBX_OUT_OF_STOC)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-PUR (Application Component) Purchasing
     WRB (Package) Retail Buying
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_WRBX_OUT_OF_STOCK BAdI Interface IF_WRBX_OUT_OF_STOCK 20030117
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_WRB_CONSTANTS BP Retail Buying: General Constant Definition 20030121
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_DEF_IM_WRBX_OOS_SUBCLASS Subclass for CL_DEF_IM_WRBX_OUT_OF_STOCK 20030203
Properties
Class CL_DEF_IM_WRBX_OUT_OF_STOCK  
Short Description Default Implementation for BAdI Definition WRBX_OUT_OF_STOC    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package WRB   Retail Buying 
Created 20030117   SAP 
Last change 20100310   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_WRB_OOS_MAT_LIST Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
2 CL_WRB_VENDOR_MAT_LIST Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 IF_WRB_CONSTANTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_WRBX_OUT_OF_STOCK BAdI Interface IF_WRBX_OUT_OF_STOCK 20030117
2 IF_WRB_CONSTANTS BP Retail Buying: General Constant Definition 20030121
Friends
Class CL_DEF_IM_WRBX_OUT_OF_STOCK has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_FALSE Instance attribute Public Attribute reference (LIKE) 20030121
2 C_GENERIC_ARTICLE Instance attribute Private Attribute reference (LIKE) 20030121
3 C_RET_AUTHORITY_CHECK_FAILED Instance attribute Private Attribute reference (LIKE) 20030124
4 C_RET_EMPTY_RESULT_LIST Instance attribute Private Attribute reference (LIKE) 20030124
5 C_RET_ERROR_IN_BADI_CALL Instance attribute Private Attribute reference (LIKE) 20030124
6 C_RET_ILLEGAL_PARAMETER Instance attribute Private Attribute reference (LIKE) 20030124
7 C_RET_MAX_COMBINATIONS Instance attribute Private Attribute reference (LIKE) 20030124
8 C_RET_NO_MATERIALS_FOUND Instance attribute Private Attribute reference (LIKE) 20030124
9 C_RET_NO_SITES_FOUND Instance attribute Private Attribute reference (LIKE) 20030124
10 C_RET_NO_VENDORS_FOUND Instance attribute Private Attribute reference (LIKE) 20030124
11 C_RET_OK Instance attribute Private Attribute reference (LIKE) 20030121
12 C_RET_OTHERS Instance attribute Private Attribute reference (LIKE) 20030124
13 C_SALES_SET Instance attribute Private Attribute reference (LIKE) 20030121
14 C_SINGLE_ARTICLE Instance attribute Private Attribute reference (LIKE) 20030121
15 C_SITE_TYPE_DC Instance attribute Private Attribute reference (LIKE) 20030121
16 C_SITE_TYPE_STORE Instance attribute Private Attribute reference (LIKE) 20030121
17 C_TRUE Instance attribute Public Attribute reference (LIKE) 20030121
18 C_VARIANT Instance attribute Private Attribute reference (LIKE) 20030121
19 MR_MATERIAL_LIST Instance attribute Private Object reference (TYPE REF TO) CL_WRB_VENDOR_MAT_LIST Material List 20030122
20 MR_OUT_OF_STOCK_LIST Instance attribute Private Object reference (TYPE REF TO) CL_WRB_OOS_MAT_LIST Out-of-Stock List 20030122
21 MT_DB_FIELDS_MATERIAL Static Attribute Private Type reference (TYPE) WRB_CHAR_72_TABLE Database Fields Material 20030128
22 MT_DB_FIELDS_SITE_MAT Static Attribute Private Type reference (TYPE) WRB_CHAR_72_TABLE Database Fields Material Plants 20030128
23 MT_DB_FIELDS_SITE_MAT_GROUP Static Attribute Private Type reference (TYPE) WRB_CHAR_72_TABLE Grouping Fields Material Plants 20030128
24 MT_SITE Instance attribute Private Type reference (TYPE) WRB_T001W_TABLE Plant Data 20030124
25 M_CHECK_LISTING Instance attribute Private Type reference (TYPE) WRB_XCHAR 'X' Indicator: Check Listing 20030127
26 M_LFA1 Instance attribute Private Type reference (TYPE) LFA1 Vendor Master (General Section) 20030128
27 M_MAX_COMBINATIONS Instance attribute Private Type reference (TYPE) INT4 Maximum Number of Material Plant Combinations 20030121
28 M_MERCHANDISE_CATEGORY Instance attribute Private Type reference (TYPE) MATKL Material Group 20030121
29 M_REGULAR_VENDOR Instance attribute Private Type reference (TYPE) RELIF Indicator: Only Consider Regular Vendor 20030121
30 M_THRESHOLD_DCS Instance attribute Private Type reference (TYPE) WRB_OUT_OF_STOCK_THRESHOLD Out-of-Stock Threshold for Distribution Center 20030121
31 M_THRESHOLD_STORES Instance attribute Private Type reference (TYPE) WRB_OUT_OF_STOCK_THRESHOLD Out-of-Stock Threshold for Stores 20030121
32 M_VENDOR_NUMBER Instance attribute Private Type reference (TYPE) LIFNR Vendor (Creditor) Account Number 20030121
Methods
# Method Level Visibility Method type Description Created on
1 CALC_VENDOR_OOS_DETAIL_DEF Instance method Public Method 20030203
2 CALC_VENDOR_OOS_OVERVIEW_DEF Instance method Public Method 20030203
3 CHECK_AUTHORITY_DEF Instance method Public Method 20030203
4 DO_CALC_OUT_OF_STOCK_BY_MAT Instance method Public Method Calculates Out-of-Stock Situations per Material 20030127
5 DO_CHECK_LISTING Instance method Public Method Run Listing Check 20030127
6 DO_READ_EINA_INFORECORDS Instance method Protected Method Reads Purchasing Info Records for Vendor 20030127
7 DO_READ_MATERIAL_DATA Instance method Public Method Reads Master Data for Material 20030128
8 DO_READ_STOCK_DATA Instance method Public Method Reads stock levels and reference stock levels 20030127
9 FILL_DB_FIELD_TABLES Static method Private Method Fills Field Name Table 20030128
10 GET_DB_FIELD_NAME_TABLES Static method Protected Method Accessor Method for Database Field Tables 20030128
11 GET_MATERIALS_DEF Instance method Public Method 20030203
12 GET_MATERIAL_DATA Instance method Protected Method Accessor Method for Material List 20030127
13 GET_MAX_COMBINATIONS Instance method Protected Method Accessor Method for Number of Maximum Combinations 20030128
14 GET_SITES_BY_TYPE_DEF Instance method Public Method 20030203
15 GET_SITE_DATA Instance method Protected Method Accessor Method for Plant Data 20030127
16 GET_VENDOR_DATA Instance method Protected Method Accessor Methode for Vendor 20030128
17 GET_VENDOR_NAME_DEF Instance method Public Method 20030203
18 INIT_VENDOR_OUT_OF_STOCKS_DEF Instance method Public Method 20030203
19 IS_CHECK_LISTING Instance method Protected Method Accessor Methode for Indicator: Check Listing 20030128
20 MERCH_CAT_IS_NOT_VALID_DEF Instance method Public Method 20030203
21 SET_CHECK_LISTING Instance method Protected Method Mutator Method for Indicator: Check Listing 20030128
Events
Class CL_DEF_IM_WRBX_OUT_OF_STOCK has no event.
Types
Class CL_DEF_IM_WRBX_OUT_OF_STOCK has no local type.
Method Signatures

Method CALC_VENDOR_OOS_DETAIL_DEF Signature

Method CALC_VENDOR_OOS_DETAIL_DEF on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no parameter.
Method CALC_VENDOR_OOS_DETAIL_DEF on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no exception.

Method CALC_VENDOR_OOS_OVERVIEW_DEF Signature

Method CALC_VENDOR_OOS_OVERVIEW_DEF on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no parameter.
Method CALC_VENDOR_OOS_OVERVIEW_DEF on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no exception.

Method CHECK_AUTHORITY_DEF Signature

Method CHECK_AUTHORITY_DEF on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no parameter.
Method CHECK_AUTHORITY_DEF on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no exception.

Method DO_CALC_OUT_OF_STOCK_BY_MAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting PE_NUM_OUT_OF_STOCKS Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20030127
2 Exporting PE_NUM_SITES Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20030127
3 Exporting PE_OUT_OF_STOCK_PERCENTAGE Call by reference Type reference (TYPE) WRB_PERC_OUT_OF_STOCK Struktur zum Speichern der Artikel-Fehlbestandsstatistik 20030127
4 Importing PI_MATNR Call by reference Type reference (TYPE) MATNR Materialnummer 20030127
5 Importing PI_THRESHOLD Call by reference Type reference (TYPE) WRB_OUT_OF_STOCK_THRESHOLD Obere Schwelle für Fehlbestand 20030127
6 Importing TI_STOCKS Call by reference Type reference (TYPE) WRB_MARC_MARD_V_TABLE Bestandsdaten 20030127
# Exception Resumable Description Created on
1 NO_SITES Keine gültigen Betriebe in Liste 20030127
2 WRONG_MATERIAL_NUMBER Bestandsdaten enthalten Sätze zu verschiedenem Material 20030127

Method DO_CHECK_LISTING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PI_ASSORTMENT Call by reference Type reference (TYPE) WRS1 Sortiment 20030127
2 Importing PI_DATE Call by reference Type reference (TYPE) DATAB Datum gültig ab 20030127
3 Importing PI_ITEM Call by reference Type reference (TYPE) MATNR Materialnummer 20030127
4 Importing PI_MATERIAL_SITE_MASTER_DATA Call by reference Type reference (TYPE) WRB_MARC_MARD_V_STRUC Struktur über Werksartikelstamm(MARC) und Bestände(MARD) 20030127
5 Importing PI_SHOP_LOCNR Call by reference Type reference (TYPE) KUNNR_WK Debitorennummer 20030127
6 Importing PI_SHOP_WERKS Call by reference Type reference (TYPE) WERKS_D Werkstabelle für National Contracts 20030127
7 Importing PI_SITE_MASTER_DATA Call by reference Type reference (TYPE) WRB_T001W_STRUC Betriebestammdaten 20030127
# Exception Resumable Description Created on
1 EXISTING_EXCLUSION_LISTING es gibt eine "überdeckende" Exclusion -> Langtxt 20030127
2 LISTING_ONLY_AS_COMPONENT Listung nur als Komponente - nicht bestellbar 20030127
3 NO_COMPLETE_LISTING_IN_TIME nur Inklusionen, aber nicht vollst. Zeitraum 20030127
4 NO_LISTING gar keine Listung im Betrieb 20030127
5 NO_LISTING_FOR_PROMOTION keine Listung für diese Aktion 20030127
6 NO_LISTING_IN_TIME keine zeitlich passende Listung im Betrieb 20030127
7 NO_OPEN_TIME_SHOP_IN_TIME Betriebs-Schließ-Zeiten überdecken Zeitpunkt 20030127
8 WRONG_LOCATION Betrieb unzulässig 20030127
9 WRONG_PARAMETERS fehlerhafte Parameter-Kombination (->Quelltext) 20030127
10 WRONG_RACKJOBBER vorgeg. Lieferant ist <> eingetrag. Rack-Jobber 20030127

Method DO_READ_EINA_INFORECORDS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PI_VENDOR Call by reference Type reference (TYPE) LIFNR Kontonummer des Lieferanten bzw. Kreditors 20030127
2 Exporting TE_EINA Call by reference Type reference (TYPE) WRB_EINA_TABLE Tabellentyp zu EINA (Einkaufsinfosatz) 20030127
3 Importing TI_MATNR Call by reference Type reference (TYPE) WRB_MATNR_TABLE Materialliste als Filter für Artikel 20030213

Method DO_READ_EINA_INFORECORDS on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no exception.

Method DO_READ_MATERIAL_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PI_MAX_COMBINATIONS Call by reference Type reference (TYPE) INT4 1000 Maximale Materialanzahl 20030128
2 Importing PI_MERCHANDISE_CATEGORY Call by reference Type reference (TYPE) MATKL Warengruppe als Filter 20030128
3 Exporting TE_MATERIAL_TABLE Call by reference Type reference (TYPE) WRB_MATERIAL_VENDOR_TABLE Daten aus Materialstamm 20030128
4 Importing TI_EINA_MATNR Call by reference Type reference (TYPE) WRB_EINA_TABLE EINA Sätze mit MATNR 20030128
5 Importing TI_GENERIC_MATERIAL Call by reference Type reference (TYPE) WRB_MATERIAL_VENDOR_TABLE Name des Sammelmaterials 20030128
# Exception Resumable Description Created on
1 INVALID_METHOD_CALL Ungültiger Methodenaufruf 20030128

Method DO_READ_STOCK_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PI_MAX_COMBINATIONS Call by reference Type reference (TYPE) INT4 1000 Maximalanzahl zu lesender Material-Betriebskombinationen 20030127
2 Exporting TE_STOCK_TABLE Call by reference Type reference (TYPE) WRB_MARC_MARD_V_TABLE Exporttabelle mit Stammdaten und Bestandsdaten 20030127
3 Importing TI_MATNR_RANGE Call by reference Type reference (TYPE) WRB_MATNR_RANGE_TABLE Materialliste 20030127
4 Importing TI_SITE_RANGE Call by reference Type reference (TYPE) WRB_SITE_RANGE_TABLE Betriebeliste 20030127

Method DO_READ_STOCK_DATA on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no exception.

Method FILL_DB_FIELD_TABLES Signature

Method FILL_DB_FIELD_TABLES on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no parameter.
Method FILL_DB_FIELD_TABLES on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no exception.

Method GET_DB_FIELD_NAME_TABLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting TE_DB_FIELDS_MATERIAL Value transfer Type reference (TYPE) WRB_CHAR_72_TABLE Tabellentyp für Char 72 Datenelement 20030128
2 Exporting TE_DB_FIELDS_SITE_MAT Value transfer Type reference (TYPE) WRB_CHAR_72_TABLE Tabellentyp für Char 72 Datenelement 20030128
3 Exporting TE_DB_FIELDS_SITE_MAT_GROUP Value transfer Type reference (TYPE) WRB_CHAR_72_TABLE Tabellentyp für Char 72 Datenelement 20030128

Method GET_DB_FIELD_NAME_TABLES on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no exception.

Method GET_MATERIALS_DEF Signature

Method GET_MATERIALS_DEF on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no parameter.
Method GET_MATERIALS_DEF on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no exception.

Method GET_MATERIAL_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting PE_MERCHANDISE_CATEGORY Value transfer Type reference (TYPE) MATKL Artikelfilter: Warengruppe 20030128
2 Exporting TE_MATERIAL_LIST Value transfer Type reference (TYPE) WRB_MATERIAL_VENDOR_TABLE Materialstammdaten 20030127
3 Exporting TE_MATNR_RANGE_TABLE Value transfer Type reference (TYPE) WRB_MATNR_RANGE_TABLE Artikel Rangetabelle 20030127
# Exception Resumable Description Created on
1 MATERIAL_LIST_NOT_FILLED Materialliste wurde noch nicht gelesen 20030127
2 MATERIAL_LIST_NOT_INSTANCIATED Materialliste wurde noch nicht instanziiert 20030127

Method GET_MAX_COMBINATIONS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning PE_MAX_COMBINATIONS Value transfer Type reference (TYPE) INT4 Anzahl Maximale Kombinationen 20030128

Method GET_MAX_COMBINATIONS on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no exception.

Method GET_SITES_BY_TYPE_DEF Signature

Method GET_SITES_BY_TYPE_DEF on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no parameter.
Method GET_SITES_BY_TYPE_DEF on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no exception.

Method GET_SITE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting PE_THRESHOLD_DCS Value transfer Type reference (TYPE) WRB_OUT_OF_STOCK_THRESHOLD Fehlbestandsschwelle für Verteilzentren 20030127
2 Exporting PE_THRESHOLD_STORES Value transfer Type reference (TYPE) WRB_OUT_OF_STOCK_THRESHOLD Fehlbestandsschwelle für Filialen 20030127
3 Exporting TE_ASSORTMENT Value transfer Type reference (TYPE) WRB_WRS1_TABLE Sortimentsdaten 20030127
4 Exporting TE_SITE Value transfer Type reference (TYPE) WRB_T001W_TABLE Stammdaten Betrieb 20030127
# Exception Resumable Description Created on
1 OOS_LIST_NOT_FILLED Fehlbestandsliste wurde noch nicht gelesen 20030127
2 OOS_LIST_NOT_INSTANCIATED Fehlbestandsliste wurde noch nicht instanziiert 20030127

Method GET_VENDOR_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting PE_LFA1 Value transfer Type reference (TYPE) LFA1 Lieferantenstamm (allgemeiner Teil) 20030128
2 Exporting PE_REGULAR_VENDOR Value transfer Type reference (TYPE) RELIF Kennzeichen: Nur Artikel als Regellieferant 20030128
3 Exporting PE_VENDOR_NAME Value transfer Type reference (TYPE) WRB_NAME1 DDIC Wrapper: Name bzw. Langtext Entität 20030128
4 Exporting PE_VENDOR_NUMBER Value transfer Type reference (TYPE) WRB_LIFNR DDIC Wrapper: LIFNR (Lieferantennummer) 20030128

Method GET_VENDOR_DATA on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no exception.

Method GET_VENDOR_NAME_DEF Signature

Method GET_VENDOR_NAME_DEF on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no parameter.
Method GET_VENDOR_NAME_DEF on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no exception.

Method INIT_VENDOR_OUT_OF_STOCKS_DEF Signature

Method INIT_VENDOR_OUT_OF_STOCKS_DEF on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no parameter.
Method INIT_VENDOR_OUT_OF_STOCKS_DEF on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no exception.

Method IS_CHECK_LISTING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning PE_CHECK_LISTING Value transfer Type reference (TYPE) RELIF Regellieferant 20030128

Method IS_CHECK_LISTING on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no exception.

Method MERCH_CAT_IS_NOT_VALID_DEF Signature

Method MERCH_CAT_IS_NOT_VALID_DEF on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no parameter.
Method MERCH_CAT_IS_NOT_VALID_DEF on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no exception.

Method SET_CHECK_LISTING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PI_CHECK_LISTING Call by reference Type reference (TYPE) RELIF 'X' Regellieferant 20030128

Method SET_CHECK_LISTING on class CL_DEF_IM_WRBX_OUT_OF_STOCK has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in 2002_1_46C