SAP ABAP Class CL_DEF_IM_WRBAX_OUT_OF_STOCK (Default Implementation for BAdI Definition WRBAX_OUT_OF_STO)
Hierarchy
EA-RETAIL (Software Component) SAP Enterprise Extension Retail
   MM-PUR (Application Component) Purchasing
     WRBA (Package) Business Package Retail Buying: Additional Functions
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_WRBAX_OUT_OF_STOCK BAdI Interface IF_WRBAX_OUT_OF_STOCK 20030221
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_WRBA_CONSTANTS Constant Definitions 20030221
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_DEF_IM_WRBAX_OOS_SUBCLASS Demo Subordinate Class for BAdI Class 20030311
Properties
Class CL_DEF_IM_WRBAX_OUT_OF_STOCK  
Short Description Default Implementation for BAdI Definition WRBAX_OUT_OF_STO    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package WRBA   Business Package Retail Buying: Additional Functions 
Created 20030221   SAP 
Last change 20030326   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ICON Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 SLIS Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_WRBAX_OUT_OF_STOCK BAdI Interface IF_WRBAX_OUT_OF_STOCK 20030221
2 IF_WRBA_CONSTANTS Constant Definitions 20030221
Friends
Class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MC_FALSE Instance attribute Protected Attribute reference (LIKE) 20030221
2 MC_MAT_DISPLAY Instance attribute Protected Attribute reference (LIKE) 20030225
3 MC_MAT_GENERIC Instance attribute Protected Attribute reference (LIKE) 20030225
4 MC_MAT_PREPACK Instance attribute Protected Attribute reference (LIKE) 20030225
5 MC_MAT_SALES_SET Instance attribute Protected Attribute reference (LIKE) 20030225
6 MC_MAT_SINGLE Instance attribute Protected Attribute reference (LIKE) 20030225
7 MC_MAT_VARIANT Instance attribute Protected Attribute reference (LIKE) 20030225
8 MC_MM_STATUS_ERROR Constant Protected Type reference (TYPE) DEINK 'B' Message if material is used in Purchasing 20030616
9 MC_MM_STATUS_WARNING Constant Protected Type reference (TYPE) DEINK 'A' Message if material is used in Purchasing 20030616
10 MC_OOS_LINE_DISPLAY_DATA Instance attribute Protected Attribute reference (LIKE) 20030303
11 MC_OOS_LINE_DISPLAY_INFO Instance attribute Protected Attribute reference (LIKE) 20030303
12 MC_SITE_ALL Instance attribute Protected Attribute reference (LIKE) 20030225
13 MC_SITE_DC Instance attribute Protected Attribute reference (LIKE) 20030227
14 MC_SITE_EXTERNAL Instance attribute Protected Attribute reference (LIKE) 20030227
15 MC_SITE_STORE Instance attribute Protected Attribute reference (LIKE) 20030227
16 MC_STOCK_ALL Instance attribute Protected Attribute reference (LIKE) 20030227
17 MC_STOCK_EXCEPTIONAL Instance attribute Protected Attribute reference (LIKE) 20030227
18 MC_STOCK_OVERSTOCKS Instance attribute Protected Attribute reference (LIKE) 20030227
19 MC_STOCK_STATUS_FALSE Instance attribute Protected Attribute reference (LIKE) 20030227
20 MC_STOCK_STATUS_TRUE Instance attribute Protected Attribute reference (LIKE) 20030227
21 MC_STOCK_STOCKOUTS Instance attribute Protected Attribute reference (LIKE) 20030227
22 MC_TRUE Instance attribute Protected Attribute reference (LIKE) 20030221
23 MR_OOS_MAT_LIST Instance attribute Protected Object reference (TYPE REF TO) CL_WRBA_OOS_MAT_LIST Out-Of-Stock Material List 20030227
24 MR_SITE_LIST Instance attribute Protected Object reference (TYPE REF TO) CL_WRBA_SITE_LIST Plant List 20030227
25 MR_VENDOR_MAT_LIST Instance attribute Protected Object reference (TYPE REF TO) CL_WRBA_VENDOR_MAT_LIST Vendor-Related Material List 20030227
26 M_ICON_HEAD Static Attribute Protected Type reference (TYPE) WRBA_STATUS_ICON Status Icon for Stock List 20030408
27 M_ICON_INACTIVE Static Attribute Protected Type reference (TYPE) WRBA_STATUS_ICON Status Icon for Stock List 20030408
28 M_ICON_LED_GREEN Static Attribute Protected Type reference (TYPE) WRBA_STATUS_ICON Status Icon for Stock List 20030408
29 M_ICON_LED_RED Static Attribute Protected Type reference (TYPE) WRBA_STATUS_ICON Status Icon for Stock List 20030408
30 M_ICON_SPACE Static Attribute Protected Type reference (TYPE) WRBA_STATUS_ICON Status Icon for Stock List 20030408
Methods
# Method Level Visibility Method type Description Created on
1 ADD_DATA_FOR_LIST_DISPLAY Instance method Public Method 20030221
2 CHECK_AUTHORITY Instance method Public Method 20030221
3 CHECK_MM_STATUS Static method Protected Method Checks MM Purchasing Status 20030616
4 DO_ADD_LINES_FOR_DISPLAY Instance method Public Method Add Read Data for Output List 20030303
5 DO_CALC_STOCK_SITUATION Instance method Public Method Calculate Stock Situation 20030227
6 DO_CHECK_LISTING Instance method Public Method Listing Check 20030227
7 DO_READ_MATERIAL_FROM_RANGES Instance method Public Method Reads Material from RANGE Tables 20030225
8 DO_READ_PURCHASE_INFORECORDS Instance method Public Method Read Purchasing Info Records 20030225
9 DO_READ_STOCK_DATA Instance method Public Method Read Stock and Material Plant Data (MARC) 20030227
10 DO_READ_STRUC_ART_COMPONENTS Instance method Public Method Reads Components of Structured Articles 20030326
11 DO_READ_VENDOR_FROM_RANGES Instance method Public Method Read Vendor Master Data (LFA1) 20030225
12 DO_RESOLVE_GEN_AND_CHECK_MAT Instance method Public Method Explode Materials Into Variants and Check Consistency 20030225
13 GET_ALV_FIELDCAT Instance method Public Method 20030221
14 GET_ICONS_WITH_TOOLTIP Static method Protected Method Reads Icons with Tooltip Description 20030408
15 GET_MATERIAL_LIST Instance method Public Method 20030221
16 GET_SITES Instance method Public Method 20030221
17 GET_STOCKS_AND_CALC_OOS Instance method Public Method 20030221
18 INIT_OUT_OF_STOCKS Instance method Public Method 20030221
Events
Class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no event.
Types
Class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no local type.
Method Signatures

Method ADD_DATA_FOR_LIST_DISPLAY Signature

Method ADD_DATA_FOR_LIST_DISPLAY on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no parameter.
Method ADD_DATA_FOR_LIST_DISPLAY on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no exception.

Method CHECK_AUTHORITY Signature

Method CHECK_AUTHORITY on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no parameter.
Method CHECK_AUTHORITY on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no exception.

Method CHECK_MM_STATUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing PC_LINE_ITEM Call by reference Type reference (TYPE) ANY Workarea 20030616
2 Importing PI_DATE_FROM_FIELDNAME Call by reference Type reference (TYPE) WRBA_CHAR40 Feldname: Mat.status gültig ab 20030618
3 Importing PI_DELETION_FLAG_FIELDNAME Call by reference Type reference (TYPE) WRBA_CHAR40 Feldname: Löschflag 20030617
4 Importing PI_MMSTATUS_FIELDNAME Call by reference Type reference (TYPE) WRBA_CHAR40 Feldname: Materialstatus 20030618
5 Changing TC_LINE_ITEMS Call by reference Type reference (TYPE) STANDARD TABLE Tabelle mit Statusinformation 20030616

Method CHECK_MM_STATUS on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no exception.

Method DO_ADD_LINES_FOR_DISPLAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PI_STOCK_DISPLAY_MODE Call by reference Type reference (TYPE) WRBA_STOCK_DISPLAY_MODE '1' Anzeigeart für Bestandsliste 20030303
2 Importing PI_THRESHOLD_DC Call by reference Type reference (TYPE) WRBA_THRESHOLD_STRUC Schwellwerte für Bestimmung Fehlbestände 20030303
3 Importing PI_THRESHOLD_STORE Call by reference Type reference (TYPE) WRBA_THRESHOLD_STRUC Schwellwerte für Bestimmung Fehlbestände 20030303
4 Changing TC_STOCK_DISPLAY_DATA Call by reference Type reference (TYPE) WRBA_STOCK_DISPLAY_DATA_TABLE Anzeigestruktur für Bestandsdaten 20030303
5 Importing TI_MATERIAL_RANGE Call by reference Type reference (TYPE) WRBA_RANGE_MATNR_TABLE Ranges Material 20030303
6 Importing TI_MATNR_STOCK_IDX Call by reference Type reference (TYPE) WRBA_MATNR_IDX_TABLE Tabellentyp für WRB_MATNR_IDX_STRUC 20030303
7 Importing TI_STOCK_DATA Call by reference Type reference (TYPE) WRBA_MARC_MARD_V_TABLE Viewstruktur für Materialwerksdaten(MARC) und Bestände(MARD) 20030303

Method DO_ADD_LINES_FOR_DISPLAY on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no exception.

Method DO_CALC_STOCK_SITUATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PI_STOCK_DISPLAY_MODE Call by reference Type reference (TYPE) WRBA_STOCK_DISPLAY_MODE '1' Anzeigeart für Bestandsliste 20030227
2 Importing PI_THRESHOLD_DC Call by reference Type reference (TYPE) WRBA_THRESHOLD_STRUC Schwellwerte für Bestimmung Fehlbestände 20030227
3 Importing PI_THRESHOLD_STORE Call by reference Type reference (TYPE) WRBA_THRESHOLD_STRUC Schwellwerte für Bestimmung Fehlbestände 20030227
4 Changing TC_STOCK_DISPLAY_DATA Call by reference Type reference (TYPE) WRBA_STOCK_DISPLAY_DATA_TABLE Anzeigestruktur für Bestandsdaten 20030227

Method DO_CALC_STOCK_SITUATION on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no exception.

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 20030227
2 Importing PI_DATE Call by reference Type reference (TYPE) DATAB Datum gültig ab 20030227
3 Importing PI_ITEM Call by reference Type reference (TYPE) MATNR Materialnummer 20030227
4 Importing PI_MATERIAL_SITE_MASTER_DATA Call by reference Type reference (TYPE) WRBA_MARC_MARD_V_STRUC Viewstruktur über Werksartikelstamm(MARC) und Bestände(MARD) 20030227
5 Importing PI_SHOP_LOCNR Call by reference Type reference (TYPE) KUNNR_WK Kundennummer des Werkes 20030227
6 Importing PI_SHOP_WERKS Call by reference Type reference (TYPE) WERKS_D Werk 20030227
7 Importing PI_SITE_MASTER_DATA Call by reference Type reference (TYPE) WRBA_T001W_STRUC T001W Extraktsruktur 20030227
# Exception Resumable Description Created on
1 EXISTING_EXCLUSION_LISTING es gibt eine "überdeckende" Exclusion -> Langtxt 20030227
2 LISTING_ONLY_AS_COMPONENT Listung nur als Komponente - nicht bestellbar 20030227
3 NO_COMPLETE_LISTING_IN_TIME nur Inklusionen, aber nicht vollst. Zeitraum 20030227
4 NO_LISTING gar keine Listung im Betrieb 20030227
5 NO_LISTING_FOR_PROMOTION keine Listung für diese Aktion 20030227
6 NO_LISTING_IN_TIME keine zeitlich passende Listung im Betrieb 20030227
7 NO_OPEN_TIME_SHOP_IN_TIME Betriebs-Schließ-Zeiten überdecken Zeitpunkt 20030227
8 WRONG_LOCATION Betrieb unzulässig 20030227
9 WRONG_PARAMETERS fehlerhafte Parameter-Kombination (->Quelltext) 20030227
10 WRONG_RACKJOBBER vorgeg. Lieferant ist <> eingetrag. Rack-Jobber 20030227

Method DO_READ_MATERIAL_FROM_RANGES 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) WRBA_MAX_COMBINATIONS 1000 Max. Anzahl an Kombinationen 20030225
2 Exporting TE_MAT_VENDOR_LIST Call by reference Type reference (TYPE) WRBA_MAT_VENDOR_OOS_TABLE Materialdaten für lieferantenbezogene Fehlbestände 20030225
3 Importing TI_MATERIAL_FILTER Call by reference Type reference (TYPE) WRBA_RANGE_MATNR_TABLE Ranges Material 20030225
4 Importing TI_MATERIAL_RANGE Call by reference Type reference (TYPE) WRBA_RANGE_MATNR_TABLE Ranges Material 20030225
5 Importing TI_MERCHANDISE_GROUP_FILTER Call by reference Type reference (TYPE) WRBA_RANGE_MATKL_TABLE Ranges Warengruppe 20030225
6 Importing TI_MERCHANDISE_GROUP_RANGE Call by reference Type reference (TYPE) WRBA_RANGE_MATKL_TABLE Ranges Warengruppe 20030225
7 Importing TI_SATNR_RANGE Call by reference Type reference (TYPE) WRBA_RANGE_MATNR_TABLE Ranges Material für Kopf Sammelartikel 20030225
# Exception Resumable Description Created on
1 NO_RANGES Keine Selektionsoptionen 20030225
2 NO_SEARCH_RESULT Keine Materialien gefunden 20030225

Method DO_READ_PURCHASE_INFORECORDS 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) WRBA_MAX_COMBINATIONS 1000 Max. Anzahl an Kombinationen 20030225
2 Importing PI_REGULAR_VENDOR Call by reference Type reference (TYPE) RELIF 'X' Regellieferant 20030225
3 Exporting TE_EINA Call by reference Type reference (TYPE) WRBA_EINA_TABLE Tabelle für Einkaufsinfosätze 20030225
4 Importing TI_MAT_LIST Call by reference Type reference (TYPE) WRBA_MAT_VENDOR_OOS_TABLE Materialdaten für lieferantenbezogene Fehlbestände 20030225
5 Importing TI_VENDOR_LIST Call by reference Type reference (TYPE) WRBA_VENDOR_OOS_VENDOR_TABLE Lieferantenstammdaten und Daten aus EK-Infosatz 20030225
# Exception Resumable Description Created on
1 NO_RECORDS_FOUND Keine Einkaufsinfosätze gefunden 20030225

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) WRBA_MAX_COMBINATIONS Max. Anzahl an Kombinationen 20030227
2 Exporting TE_MATNR_IDX_TABLE Call by reference Type reference (TYPE) WRBA_MATNR_IDX_TABLE Indextabelle für Bestände zum Material 20030303
3 Exporting TE_STOCK_TABLE Call by reference Type reference (TYPE) WRBA_MARC_MARD_V_TABLE Viewstruktur für Materialwerksdaten(MARC) und Bestände(MARD) 20030227
4 Importing TI_MATNR_RANGE Call by reference Type reference (TYPE) WRBA_RANGE_MATNR_TABLE Ranges Material 20030227
5 Importing TI_SITE_RANGE Call by reference Type reference (TYPE) WRBA_RANGE_WERKS_TABLE Ranges Werk 20030227

Method DO_READ_STOCK_DATA on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no exception.

Method DO_READ_STRUC_ART_COMPONENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PI_PACKET_SIZE Call by reference Type reference (TYPE) INT4 100 Natürliche Zahl 20030326
2 Changing TC_MAT_STRUC_COMP Call by reference Type reference (TYPE) WRBA_MAT_VENDOR_OOS_TABLE Komponenten strukturierte Artikel 20030327
3 Importing TI_MAT_STRUC_HEAD Call by reference Type reference (TYPE) WRBA_MAT_VENDOR_OOS_TABLE Kopfdaten strukturierte Artikel 20030327

Method DO_READ_STRUC_ART_COMPONENTS on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no exception.

Method DO_READ_VENDOR_FROM_RANGES 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) WRBA_MAX_COMBINATIONS 1000 Max. Anzahl an Kombinationen 20030225
2 Exporting TE_VENDOR_MASTER_DATA Call by reference Type reference (TYPE) WRBA_VENDOR_OOS_VENDOR_TABLE Lieferantenstammdaten und Daten aus EK-Infosatz 20030225
3 Importing TI_LIFNR_FILTER Call by reference Type reference (TYPE) WRBA_RANGE_LIFNR_TABLE Filter für Lieferant 20030225
4 Importing TI_RANGE_LIFNR Call by reference Type reference (TYPE) WRBA_RANGE_LIFNR_TABLE Ranges Lieferant 20030225
# Exception Resumable Description Created on
1 EMPTY_RANGE leere Rangeliste übergeben 20030225
2 NO_SEARCH_RESULT keine Einträge von Tabelle LFA1 gelesen 20030225

Method DO_RESOLVE_GEN_AND_CHECK_MAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing TC_MATERIAL Call by reference Type reference (TYPE) WRBA_MAT_VENDOR_OOS_TABLE Tabellentype für lief.bezogene Artikelstammdaten 20030225

Method DO_RESOLVE_GEN_AND_CHECK_MAT on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no exception.

Method GET_ALV_FIELDCAT Signature

Method GET_ALV_FIELDCAT on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no parameter.
Method GET_ALV_FIELDCAT on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no exception.

Method GET_ICONS_WITH_TOOLTIP Signature

Method GET_ICONS_WITH_TOOLTIP on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no parameter.
Method GET_ICONS_WITH_TOOLTIP on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no exception.

Method GET_MATERIAL_LIST Signature

Method GET_MATERIAL_LIST on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no parameter.
Method GET_MATERIAL_LIST on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no exception.

Method GET_SITES Signature

Method GET_SITES on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no parameter.
Method GET_SITES on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no exception.

Method GET_STOCKS_AND_CALC_OOS Signature

Method GET_STOCKS_AND_CALC_OOS on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no parameter.
Method GET_STOCKS_AND_CALC_OOS on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no exception.

Method INIT_OUT_OF_STOCKS Signature

Method INIT_OUT_OF_STOCKS on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no parameter.
Method INIT_OUT_OF_STOCKS on class CL_DEF_IM_WRBAX_OUT_OF_STOCK has no exception.
History
Last changed by/on SAP  20030326 
SAP Release Created in 200