SAP ABAP Class CL_FIP_BUFFER_MD_PERSIST (Read from and save to DB of buffer master data)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   MM-PUR-FIP (Application Component) Perishables Procurement
     FIP_BUSINESS_LOGIC (Package) Business Logic for Fresh Item Procurement
Properties
Class CL_FIP_BUFFER_MD_PERSIST  
Short Description Read from and save to DB of buffer master data    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package FIP_BUSINESS_LOGIC   Business Logic for Fresh Item Procurement 
Created 20080429   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_FIP_BUFFER_MD_PERSIST has no forward declaration.
Interfaces
Class CL_FIP_BUFFER_MD_PERSIST has no interface implemented.
Friends
Class CL_FIP_BUFFER_MD_PERSIST has no friend class.
Attributes
Class CL_FIP_BUFFER_MD_PERSIST has no attribute.
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_BUFFER_CUSTOMIZING Static method Private Method Check buffer customizing settings 20080612
2 DELETE_DRD Static method Protected Method Delete DRD for one supplying plant 20080429
3 DELETE_FORECAST Static method Protected Method Delete Forecast data for one supplying plant 20080508
4 DELETE_PDT Static method Protected Method Delete DRD for one supplying plant 20080513
5 DELETE_PROMOTION Static method Protected Method Delete DRD for one supplying plant 20080513
6 DELETE_QUOTA Static method Protected Method Delete Quotation data for one supplying plant 20080502
7 DELETE_SALES_PRICE Static method Protected Method Delete Quotation data for one supplying plant 20080502
8 READ_DRD_BY_RANGE Static method Public Method Read DRD by range of supplplts, materials and recipients 20080430
9 READ_FORECAST_BY_RANGE Static method Public Method Read DRD by range of supplplts, materials and recipients 20080508
10 READ_PDT Static method Public Method Read planned delivery time 20080612
11 READ_PROMO_BY_RANGE Static method Public Method Read Promotion by range of dcs and materials 20080513
12 READ_QUOTA_BY_RANGE Static method Public Method Read Quota by range of dates, materials and plants 20080509
13 READ_S_PRICES_BY_RANGE Static method Public Method Read Sales Prices by range of plants and materials 20080514
14 UPDATE_DRD Static method Public Method Update DRD (delete old entries and write new ones) 20080429
15 UPDATE_FORECAST Instance method Public Method Update Forecast 20080508
16 UPDATE_PDT Static method Public Method Update DRD (delete old entries and write new ones) 20080513
17 UPDATE_PROMOTION Static method Public Method Update DRD (delete old entries and write new ones) 20080513
18 UPDATE_QUOTA Static method Public Method Update Quota (delete old entries and write new ones) 20080502
19 UPDATE_SALES_PRICE Static method Public Method Update Sales Prices (delete old entries and write new ones) 20080502
Events
Class CL_FIP_BUFFER_MD_PERSIST has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 LTYPE_DATE_RANGE Public See coding 20080508 LTYPE_DATE_RANGE type range of DATS
2 LTYPE_MATNR_RANGE Public See coding 20080430 ltype_matnr_range type range of matnr
3 LTYPE_RCPT_RANGE Public See coding 20080501 ltype_rcpt_range type range of fip_recipient_num
4 LTYPE_S_PROMO Public See coding 20080513 begin of ltype_s_promo, MATNR type matnr, AKTNR type WAKTION, WERKS type WERKS_D, CUSTOMER type KUNNR, LIFNR type LIFNR, VALIDFROM type DATAB, VALIDTO type DATBI, SPRAS type SPRAS, AKTKT type FIP_AKTBEZ, end of ltype_s_promo
5 LTYPE_T_PROMO Public See coding 20080513 ltype_t_promo type standard table of ltype_s_promo
6 LTYPE_WERKSD_RANGE Public See coding 20080430 ltype_werksd_range type range of werks_d
Method Signatures

Method CHECK_BUFFER_CUSTOMIZING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_LOGGER Call by reference Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080612
2 Exporting ES_IMG_BUFFERING Call by reference Type reference (TYPE) FIP_C_BUFFERING Customizing table for buffering data 20080612

Method CHECK_BUFFER_CUSTOMIZING on class CL_FIP_BUFFER_MD_PERSIST has no exception.

Method DELETE_DRD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SP Call by reference Type reference (TYPE) WERKS_D Plant 20080429
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080515
2 CX_FIP_RUNTIME FIP execution error 20080515

Method DELETE_FORECAST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VALIDFROM Call by reference Type reference (TYPE) DATAB Valid-From Date 20100526
2 Importing IV_VALIDTO Call by reference Type reference (TYPE) DATBI Valid To Date 20100526
3 Importing I_SP Call by reference Type reference (TYPE) WERKS_D Plant 20080508
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080515
2 CX_FIP_RUNTIME FIP execution error 20080515

Method DELETE_PDT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SP Call by reference Type reference (TYPE) WERKS_D Plant 20080513
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080515
2 CX_FIP_RUNTIME FIP execution error 20080515

Method DELETE_PROMOTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_VALIDFROM Call by reference Type reference (TYPE) DATAB Valid-From Date 20100526
2 Importing IV_VALIDTO Call by reference Type reference (TYPE) DATBI Valid To Date 20100526
3 Importing I_SP Call by reference Type reference (TYPE) WERKS_D Plant 20080513
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080515
2 CX_FIP_RUNTIME FIP execution error 20080515

Method DELETE_QUOTA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_SP Call by reference Type reference (TYPE) WERKS_D Plant 20080502
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080515
2 CX_FIP_RUNTIME FIP execution error 20080515

Method DELETE_SALES_PRICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_DATAB Call by reference Type reference (TYPE) DATAB Valid-From Date 20100526
2 Importing IV_DATBI Call by reference Type reference (TYPE) DATBI Valid To Date 20100526
3 Importing I_SELLING_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20080528
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080515
2 CX_FIP_RUNTIME FIP execution error 20080515

Method READ_DRD_BY_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_DRD Call by reference Type reference (TYPE) FIP_T_DRD Return Structure for DRD 20080509
2 Importing IR_MATNR Call by reference Type reference (TYPE) LTYPE_MATNR_RANGE 20080430
3 Importing IR_RCPTNR Call by reference Type reference (TYPE) LTYPE_RCPT_RANGE 20080501
4 Importing IR_SPLT Call by reference Type reference (TYPE) LTYPE_WERKSD_RANGE Plant 20080430
# Exception Resumable Description Created on
1 CX_FIP_DATA_NOT_FOUND Value does not exist 20080501
2 CX_FIP_RUNTIME 20080501

Method READ_FORECAST_BY_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_FORECAST Call by reference Type reference (TYPE) FIP_T_FORECAST Return Structure for DRD 20080509
2 Importing IR_ERTAG Call by reference Type reference (TYPE) LTYPE_DATE_RANGE 20080508
3 Importing IR_MATNR Call by reference Type reference (TYPE) LTYPE_MATNR_RANGE 20080508
4 Importing IR_WERKS Call by reference Type reference (TYPE) LTYPE_WERKSD_RANGE Plant 20080508
# Exception Resumable Description Created on
1 CX_FIP_DATA_NOT_FOUND Value does not exist 20080508
2 CX_FIP_RUNTIME 20080508

Method READ_PDT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_LOGGER Call by reference Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080612
2 Exporting ET_PDT_TO_CUS Call by reference Type reference (TYPE) FIP_T_PDT_TO_CUS Internal planned delivery time from DC to customer 20080612
3 Exporting ET_PDT_TO_DC Call by reference Type reference (TYPE) FIP_T_PDT_TO_DC External planned delivery time from vendor to DC 20080612
4 Exporting ET_PDT_TO_ST Call by reference Type reference (TYPE) FIP_T_PDT_TO_ST Internal planned delivery time from DC to store 20080612
5 Importing IT_INPUT_PDT_EXT Call by reference Type reference (TYPE) FIP_T_INPUT_PDT_EXT Input data to determin the external planned delivery time 20080612
6 Importing IT_INPUT_PDT_INT Call by reference Type reference (TYPE) FIP_T_INPUT_PDT_INT Input data to determin the internal planned delivery time 20080612
# Exception Resumable Description Created on
1 CX_FIP_DATA_NOT_FOUND Value does not exist 20080612
2 CX_FIP_RUNTIME 20080612

Method READ_PROMO_BY_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_PROMO_ASSIGN Call by reference Type reference (TYPE) FIP_T_PROMOTION_ASSIGNMENT Return Structure for DRD 20080513
2 Importing IR_MATNR Call by reference Type reference (TYPE) LTYPE_MATNR_RANGE Material range 20080513
3 Importing IR_SPLT Call by reference Type reference (TYPE) LTYPE_WERKSD_RANGE Plant range 20080513
4 Importing IV_SPRAS Call by reference Type reference (TYPE) SPRAS Language Key 20080513
5 Importing IV_VALIDFROM Call by reference Type reference (TYPE) DATAB Valid-From Date 20080513
6 Importing IV_VALIDTO Call by reference Type reference (TYPE) DATBI Valid To Date 20080513
# Exception Resumable Description Created on
1 CX_FIP_DATA_NOT_FOUND Value does not exist 20080513
2 CX_FIP_RUNTIME 20080513

Method READ_QUOTA_BY_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_EQUK Call by reference Type reference (TYPE) FIP_T_EQUK Return Structure for DRD 20080509
2 Importing IR_MATNR Call by reference Type reference (TYPE) LTYPE_MATNR_RANGE Material range 20080509
3 Importing IR_WERKS Call by reference Type reference (TYPE) LTYPE_WERKSD_RANGE 20080509
4 Importing IV_BDATU Call by reference Type reference (TYPE) DATAB Valid-From Date 20080509
5 Importing IV_VDATU Call by reference Type reference (TYPE) DATBI Valid To Date 20080509
# Exception Resumable Description Created on
1 CX_FIP_DATA_NOT_FOUND Value does not exist 20080509
2 CX_FIP_RUNTIME 20080509

Method READ_S_PRICES_BY_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_S_PRICES Call by reference Type reference (TYPE) FIP_T_SALES_PRICE Return Structure for sales prices 20080514
2 Importing IR_MATNR Call by reference Type reference (TYPE) LTYPE_MATNR_RANGE Materials range 20080514
3 Importing IR_WERKS Call by reference Type reference (TYPE) LTYPE_WERKSD_RANGE Plants range 20080514
4 Importing IV_VALIDFROM Call by reference Type reference (TYPE) DATS Valid from date 20080514
5 Importing IV_VALIDTO Call by reference Type reference (TYPE) DATS Valid to date 20080514
# Exception Resumable Description Created on
1 CX_FIP_DATA_NOT_FOUND Value does not exist 20080514
2 CX_FIP_RUNTIME 20080514

Method UPDATE_DRD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_LOGGER Call by reference Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080429
2 Importing IT_DRD Call by reference Type reference (TYPE) FIP_T_DRD Return type for DRD 20080429
3 Importing I_SP Call by reference Type reference (TYPE) WERKS_D Plant 20080429
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080515
2 CX_FIP_RUNTIME FIP execution error 20080515

Method UPDATE_FORECAST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_LOGGER Call by reference Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080508
2 Importing IT_FORECAST Call by reference Type reference (TYPE) FIP_T_FORECAST Forecast 20080508
3 Importing IV_VALIDFROM Call by reference Type reference (TYPE) DATAB Valid-From Date 20100526
4 Importing IV_VALIDTO Call by reference Type reference (TYPE) DATBI Valid To Date 20100526
5 Importing I_SP Call by reference Type reference (TYPE) WERKS_D Plant 20080508
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080515
2 CX_FIP_RUNTIME FIP execution error 20080515

Method UPDATE_PDT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_LOGGER Call by reference Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080513
2 Importing IT_PDT_TO_CUS Call by reference Type reference (TYPE) FIP_T_PDT_TO_CUS Return type for DRD 20080513
3 Importing IT_PDT_TO_DC Call by reference Type reference (TYPE) FIP_T_PDT_TO_DC Return type for DRD 20080513
4 Importing IT_PDT_TO_ST Call by reference Type reference (TYPE) FIP_T_PDT_TO_ST Return type for DRD 20080513
5 Importing I_SP Call by reference Type reference (TYPE) WERKS_D Plant 20080513
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080515
2 CX_FIP_RUNTIME FIP execution error 20080515

Method UPDATE_PROMOTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_LOGGER Call by reference Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080513
2 Importing IT_PROMOTION Call by reference Type reference (TYPE) FIP_T_PROMOTION_ASSIGNMENT Return type for DRD 20080513
3 Importing IT_PROMOTION_TXT Call by reference Type reference (TYPE) FIP_T_PROMOTION Table type for promotions and their descriptions 20080514
4 Importing IV_VALIDFROM Call by reference Type reference (TYPE) DATAB Valid-From Date 20100526
5 Importing IV_VALIDTO Call by reference Type reference (TYPE) DATBI Valid To Date 20100526
6 Importing I_SP Call by reference Type reference (TYPE) WERKS_D Plant 20080513
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080515
2 CX_FIP_RUNTIME FIP execution error 20080515

Method UPDATE_QUOTA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_LOGGER Call by reference Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080502
2 Importing IT_EQUK Call by reference Type reference (TYPE) FIP_T_EQUK Quotation header 20080502
3 Importing I_SP Call by reference Type reference (TYPE) WERKS_D Plant 20080502
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080515
2 CX_FIP_RUNTIME FIP execution error 20080515

Method UPDATE_SALES_PRICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CO_LOGGER Call by reference Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080502
2 Importing IT_PLANTS Call by reference Type reference (TYPE) FIP_T_RECIPIENT Plant 20080509
3 Importing IT_SALES_PRICE Call by reference Type reference (TYPE) FIP_T_SALES_PRICE Quotation header 20080509
4 Importing IV_DATAB Call by reference Type reference (TYPE) DATAB Valid-From Date 20100526
5 Importing IV_DATBI Call by reference Type reference (TYPE) DATBI Valid To Date 20100526
6 Importing IV_SP Call by reference Type reference (TYPE) WERKS_D Supplying Plant 20080527
# Exception Resumable Description Created on
1 CX_FIP_DATA_INVALID Invalid data supplied 20080515
2 CX_FIP_RUNTIME FIP execution error 20080515
History
Last changed by/on SAP  20110908 
SAP Release Created in 604