SAP ABAP Class CL_DMF_SOS_DB (DB Access to Source of Supply Data)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-MD (Application Component) Logistics Basic Data
     DMF_DB_ACCESS (Package) Data Base accesses
Properties
Class CL_DMF_SOS_DB  
Short Description DB Access to Source of Supply Data    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package DMF_DB_ACCESS   Data Base accesses 
Created 20090202   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_DMF_SOS_DB has no forward declaration.
Interfaces
Class CL_DMF_SOS_DB has no interface implemented.
Friends
Class CL_DMF_SOS_DB has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_KUNNR Static Attribute Private Type reference (TYPE) LTY_KUNNR_BUFFER_TB Single-Character Indicator 20111031
Methods
# Method Level Visibility Method type Description Created on
1 CLOSE_KUNNR_BUFFER Static method Public Method 20111031
2 CONVERT_CURR_SAP2ISO Static method Public Method determine ISO code for a currency 20090217
3 CONVERT_UOM_SAP2ISO Static method Public Method determine ISO code for a unit of measure 20090217
4 DETERMINE_INFNR_FOR_MATNR Static method Public Method Determine INFNR for MATNR 20120831
5 DETERMINE_INTERNAL_VENDORS Static method Public Method determine internal vendors by DB access (LFA1) 20090511
6 DETERMINE_MATKL_FROM_MARA Static method Public Method Select merch. category from article master (table MARA) 20090202
7 DETERMINE_SITE Static method Public Method Select KNA1-WERKS 20090225
8 SELECT_INFORECORD_DATA Static method Public Method Select inforecord data from DB (EINA, EINE) 20090202
9 SELECT_NUM_REC_INIT_VALUE Static method Public Method Select the limit for initial fetch of art_site entries 20130225
10 SELECT_SITE_DATA Static method Public Method Select site data from DB (T001W) 20090202
11 SELECT_WRF3_DATA Static method Public Method Select supplying sites from DB (WRF3) 20090202
Events
Class CL_DMF_SOS_DB has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LTY_KUNNR_BUFFER Private See coding 20111031 BEGIN OF lty_kunnr_buffer, kunnr TYPE kunnr, werks TYPE werks_d, END OF lty_kunnr_buffer
2 LTY_KUNNR_BUFFER_TB Private See coding 20111031 lty_kunnr_buffer_tb TYPE SORTED TABLE OF lty_kunnr_buffer WITH UNIQUE KEY kunnr
3 MATNR_INFNR_STY Public See coding Structure of MATNR, INFNR 20120831 begin of MATNR_INFNR_STY, MATNR type MATNR, INFNR type INFNR, end of MATNR_INFNR_STY
4 MATNR_INFNR_TTY Public See coding Table type of MATNR_INFNR_STY 20120831 MATNR_INFNR_TTY type table of MATNR_INFNR_STY
5 MATNR_STY Public See coding Structure of MATNR 20120831 begin of MATNR_STY, MATNR type MATNR, end of MATNR_STY
6 MATNR_TTY Public See coding Table type of MATNR_STY 20120831 MATNR_TTY type table of MATNR_STY
Method Signatures

Method CLOSE_KUNNR_BUFFER Signature

Method CLOSE_KUNNR_BUFFER on class CL_DMF_SOS_DB has no parameter.
Method CLOSE_KUNNR_BUFFER on class CL_DMF_SOS_DB has no exception.

Method CONVERT_CURR_SAP2ISO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_BAL_REF Call by reference Object reference (TYPE REF TO) CL_DRF_BAL Application Log for Data Replication Framework 20090304
2 Importing IV_SAP_CODE Call by reference Type reference (TYPE) WAERS Currency Key 20090217
3 Returning RV_ISO_CODE Value transfer Type reference (TYPE) ISOCD ISO currency code 20090217

Method CONVERT_CURR_SAP2ISO on class CL_DMF_SOS_DB has no exception.

Method CONVERT_UOM_SAP2ISO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_BAL_REF Call by reference Object reference (TYPE REF TO) CL_DRF_BAL Application Log for Data Replication Framework 20090304
2 Importing IV_SAP_CODE Call by reference Type reference (TYPE) MSEHI Unit of Measurement 20090217
3 Returning RV_ISO_CODE Value transfer Type reference (TYPE) ISOCD_UNIT ISO code for unit of measurement 20090217

Method CONVERT_UOM_SAP2ISO on class CL_DMF_SOS_DB has no exception.

Method DETERMINE_INFNR_FOR_MATNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MATNR_INFNR Call by reference Type reference (TYPE) MATNR_INFNR_TTY Table type of MATNR_INFNR_STY 20120831
2 Importing IT_MATNR Call by reference Type reference (TYPE) MATNR_TTY Table type of MATNR_STY 20120831

Method DETERMINE_INFNR_FOR_MATNR on class CL_DMF_SOS_DB has no exception.

Method DETERMINE_INTERNAL_VENDORS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_VENDOR_DATA Call by reference Type reference (TYPE) DMF_T_SOS_VENDOR_DATA vendor data (LFA1) for Source of Supply IF 20090511
2 Importing IT_VENDOR_WORKLIST Call by reference Type reference (TYPE) DMF_T_VENDOR Vendors 20090511

Method DETERMINE_INTERNAL_VENDORS on class CL_DMF_SOS_DB has no exception.

Method DETERMINE_MATKL_FROM_MARA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_MATNR_MATKL Call by reference Type reference (TYPE) DMF_T_MATNR_MATKL article - merchandise category assignments from MARA 20090206
2 Importing ITS_ART_SITE_WORKLIST Call by reference Type reference (TYPE) DMF_TS_ART_SITE Article/Site Combinations (sorted) 20090206
3 Importing IT_MATKL_ONLY Call by reference Type reference (TYPE) DMF_T_MATNR_MATKL article - merchandise category assignments from MARA 20090305

Method DETERMINE_MATKL_FROM_MARA on class CL_DMF_SOS_DB has no exception.

Method DETERMINE_SITE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_CUSTOMER Call by reference Type reference (TYPE) KUNNR Customer Number 1 20090225
2 Returning RV_SITE Value transfer Type reference (TYPE) WERKS_D Plant 20090225

Method DETERMINE_SITE on class CL_DMF_SOS_DB has no exception.

Method SELECT_INFORECORD_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_EINA_DATA Call by reference Type reference (TYPE) DMF_T_SOS_EINA_DATA EINA data (inforecord) for Source of Supply IF 20090206
2 Exporting ET_EINE_DATA Call by reference Type reference (TYPE) DMF_T_SOS_EINE_DATA EINE data (inforecord) for Source of Supply IF 20090206
3 Importing ITS_ART_SITE_WORKLIST Call by reference Type reference (TYPE) DMF_TS_ART_SITE Article/Site Combinations (sorted) 20090206
4 Importing IT_EINA_KEY Call by reference Type reference (TYPE) DMF_T_SOS_EINA_KEY EINA keys (inforecords) to read DB 20090225
5 Importing IT_EINE_KEY Call by reference Type reference (TYPE) DMF_T_SOS_EINE_KEY EINE keys (purch. inforecords) to read DB 20090302
6 Importing IV_READ_KEY_ONLY Call by reference Type reference (TYPE) XFLAG Indicator that only keys from EINA/EINE needed 20090225
# Exception Resumable Description Created on
1 CX_DMF_BASE_CALL_NOT_ALLOWED Call of method not allowed for interface and replication mod 20090304

Method SELECT_NUM_REC_INIT_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_NUM_RECORDS Value transfer Type reference (TYPE) INT4 Natural Number 20130225

Method SELECT_NUM_REC_INIT_VALUE on class CL_DMF_SOS_DB has no exception.

Method SELECT_SITE_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SITE_DATA Call by reference Type reference (TYPE) DMF_T_STORE_DATA table with store data 20090206
2 Importing ITS_ART_SITE_WORKLIST Call by reference Type reference (TYPE) DMF_TS_ART_SITE Article/Site Combinations (sorted) 20090206

Method SELECT_SITE_DATA on class CL_DMF_SOS_DB has no exception.

Method SELECT_WRF3_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_WRF3_DATA Call by reference Type reference (TYPE) DMF_T_SOS_WRF3_DATA WRF3 data (supplying sites) for Source of Supply IF 20090206
2 Importing IT_MATKL_WORKLIST Call by reference Type reference (TYPE) DMF_T_MATNR_MATKL article - merchandise category assignments from MARA 20090206
3 Importing IT_SITE_WORKLIST Call by reference Type reference (TYPE) DMF_T_STORE_DATA table with store data 20090206
4 Importing IT_WRF3_KEY Call by reference Type reference (TYPE) DMF_T_SOS_WRF3_KEY WRF3 keys (supplying sites) to read DB 20090302

Method SELECT_WRF3_DATA on class CL_DMF_SOS_DB has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 605