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 | Static method | Private | Method | Check buffer customizing settings | 20080612 | |
| 2 | Static method | Protected | Method | Delete DRD for one supplying plant | 20080429 | |
| 3 | Static method | Protected | Method | Delete Forecast data for one supplying plant | 20080508 | |
| 4 | Static method | Protected | Method | Delete DRD for one supplying plant | 20080513 | |
| 5 | Static method | Protected | Method | Delete DRD for one supplying plant | 20080513 | |
| 6 | Static method | Protected | Method | Delete Quotation data for one supplying plant | 20080502 | |
| 7 | Static method | Protected | Method | Delete Quotation data for one supplying plant | 20080502 | |
| 8 | Static method | Public | Method | Read DRD by range of supplplts, materials and recipients | 20080430 | |
| 9 | Static method | Public | Method | Read DRD by range of supplplts, materials and recipients | 20080508 | |
| 10 | Static method | Public | Method | Read planned delivery time | 20080612 | |
| 11 | Static method | Public | Method | Read Promotion by range of dcs and materials | 20080513 | |
| 12 | Static method | Public | Method | Read Quota by range of dates, materials and plants | 20080509 | |
| 13 | Static method | Public | Method | Read Sales Prices by range of plants and materials | 20080514 | |
| 14 | Static method | Public | Method | Update DRD (delete old entries and write new ones) | 20080429 | |
| 15 | Instance method | Public | Method | Update Forecast | 20080508 | |
| 16 | Static method | Public | Method | Update DRD (delete old entries and write new ones) | 20080513 | |
| 17 | Static method | Public | Method | Update DRD (delete old entries and write new ones) | 20080513 | |
| 18 | Static method | Public | Method | Update Quota (delete old entries and write new ones) | 20080502 | |
| 19 | 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 | CO_LOGGER | Call by reference | Object reference (TYPE REF TO) | CL_FIP_MESSAGE_LOGGER | Class for FIP message logging/handling | 20080612 | |||
| 2 | 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 | I_SP | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20080429 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20080515 | ||
| 2 | FIP execution error | 20080515 |
Method DELETE_FORECAST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VALIDFROM | Call by reference | Type reference (TYPE) | DATAB | Valid-From Date | 20100526 | |||
| 2 | IV_VALIDTO | Call by reference | Type reference (TYPE) | DATBI | Valid To Date | 20100526 | |||
| 3 | I_SP | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20080508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20080515 | ||
| 2 | FIP execution error | 20080515 |
Method DELETE_PDT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SP | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20080513 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20080515 | ||
| 2 | FIP execution error | 20080515 |
Method DELETE_PROMOTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VALIDFROM | Call by reference | Type reference (TYPE) | DATAB | Valid-From Date | 20100526 | |||
| 2 | IV_VALIDTO | Call by reference | Type reference (TYPE) | DATBI | Valid To Date | 20100526 | |||
| 3 | I_SP | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20080513 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20080515 | ||
| 2 | FIP execution error | 20080515 |
Method DELETE_QUOTA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_SP | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20080502 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20080515 | ||
| 2 | FIP execution error | 20080515 |
Method DELETE_SALES_PRICE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATAB | Call by reference | Type reference (TYPE) | DATAB | Valid-From Date | 20100526 | |||
| 2 | IV_DATBI | Call by reference | Type reference (TYPE) | DATBI | Valid To Date | 20100526 | |||
| 3 | I_SELLING_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20080528 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20080515 | ||
| 2 | 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 | ET_DRD | Call by reference | Type reference (TYPE) | FIP_T_DRD | Return Structure for DRD | 20080509 | |||
| 2 | IR_MATNR | Call by reference | Type reference (TYPE) | LTYPE_MATNR_RANGE | 20080430 | ||||
| 3 | IR_RCPTNR | Call by reference | Type reference (TYPE) | LTYPE_RCPT_RANGE | 20080501 | ||||
| 4 | IR_SPLT | Call by reference | Type reference (TYPE) | LTYPE_WERKSD_RANGE | Plant | 20080430 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20080501 | ||
| 2 | 20080501 |
Method READ_FORECAST_BY_RANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_FORECAST | Call by reference | Type reference (TYPE) | FIP_T_FORECAST | Return Structure for DRD | 20080509 | |||
| 2 | IR_ERTAG | Call by reference | Type reference (TYPE) | LTYPE_DATE_RANGE | 20080508 | ||||
| 3 | IR_MATNR | Call by reference | Type reference (TYPE) | LTYPE_MATNR_RANGE | 20080508 | ||||
| 4 | IR_WERKS | Call by reference | Type reference (TYPE) | LTYPE_WERKSD_RANGE | Plant | 20080508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20080508 | ||
| 2 | 20080508 |
Method READ_PDT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CO_LOGGER | Call by reference | Object reference (TYPE REF TO) | CL_FIP_MESSAGE_LOGGER | Class for FIP message logging/handling | 20080612 | |||
| 2 | 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 | 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 | 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 | 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 | 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 | Value does not exist | 20080612 | ||
| 2 | 20080612 |
Method READ_PROMO_BY_RANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PROMO_ASSIGN | Call by reference | Type reference (TYPE) | FIP_T_PROMOTION_ASSIGNMENT | Return Structure for DRD | 20080513 | |||
| 2 | IR_MATNR | Call by reference | Type reference (TYPE) | LTYPE_MATNR_RANGE | Material range | 20080513 | |||
| 3 | IR_SPLT | Call by reference | Type reference (TYPE) | LTYPE_WERKSD_RANGE | Plant range | 20080513 | |||
| 4 | IV_SPRAS | Call by reference | Type reference (TYPE) | SPRAS | Language Key | 20080513 | |||
| 5 | IV_VALIDFROM | Call by reference | Type reference (TYPE) | DATAB | Valid-From Date | 20080513 | |||
| 6 | IV_VALIDTO | Call by reference | Type reference (TYPE) | DATBI | Valid To Date | 20080513 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20080513 | ||
| 2 | 20080513 |
Method READ_QUOTA_BY_RANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_EQUK | Call by reference | Type reference (TYPE) | FIP_T_EQUK | Return Structure for DRD | 20080509 | |||
| 2 | IR_MATNR | Call by reference | Type reference (TYPE) | LTYPE_MATNR_RANGE | Material range | 20080509 | |||
| 3 | IR_WERKS | Call by reference | Type reference (TYPE) | LTYPE_WERKSD_RANGE | 20080509 | ||||
| 4 | IV_BDATU | Call by reference | Type reference (TYPE) | DATAB | Valid-From Date | 20080509 | |||
| 5 | IV_VDATU | Call by reference | Type reference (TYPE) | DATBI | Valid To Date | 20080509 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20080509 | ||
| 2 | 20080509 |
Method READ_S_PRICES_BY_RANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_S_PRICES | Call by reference | Type reference (TYPE) | FIP_T_SALES_PRICE | Return Structure for sales prices | 20080514 | |||
| 2 | IR_MATNR | Call by reference | Type reference (TYPE) | LTYPE_MATNR_RANGE | Materials range | 20080514 | |||
| 3 | IR_WERKS | Call by reference | Type reference (TYPE) | LTYPE_WERKSD_RANGE | Plants range | 20080514 | |||
| 4 | IV_VALIDFROM | Call by reference | Type reference (TYPE) | DATS | Valid from date | 20080514 | |||
| 5 | IV_VALIDTO | Call by reference | Type reference (TYPE) | DATS | Valid to date | 20080514 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Value does not exist | 20080514 | ||
| 2 | 20080514 |
Method UPDATE_DRD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CO_LOGGER | Call by reference | Object reference (TYPE REF TO) | CL_FIP_MESSAGE_LOGGER | Class for FIP message logging/handling | 20080429 | |||
| 2 | IT_DRD | Call by reference | Type reference (TYPE) | FIP_T_DRD | Return type for DRD | 20080429 | |||
| 3 | I_SP | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20080429 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20080515 | ||
| 2 | FIP execution error | 20080515 |
Method UPDATE_FORECAST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CO_LOGGER | Call by reference | Object reference (TYPE REF TO) | CL_FIP_MESSAGE_LOGGER | Class for FIP message logging/handling | 20080508 | |||
| 2 | IT_FORECAST | Call by reference | Type reference (TYPE) | FIP_T_FORECAST | Forecast | 20080508 | |||
| 3 | IV_VALIDFROM | Call by reference | Type reference (TYPE) | DATAB | Valid-From Date | 20100526 | |||
| 4 | IV_VALIDTO | Call by reference | Type reference (TYPE) | DATBI | Valid To Date | 20100526 | |||
| 5 | I_SP | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20080508 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20080515 | ||
| 2 | FIP execution error | 20080515 |
Method UPDATE_PDT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CO_LOGGER | Call by reference | Object reference (TYPE REF TO) | CL_FIP_MESSAGE_LOGGER | Class for FIP message logging/handling | 20080513 | |||
| 2 | IT_PDT_TO_CUS | Call by reference | Type reference (TYPE) | FIP_T_PDT_TO_CUS | Return type for DRD | 20080513 | |||
| 3 | IT_PDT_TO_DC | Call by reference | Type reference (TYPE) | FIP_T_PDT_TO_DC | Return type for DRD | 20080513 | |||
| 4 | IT_PDT_TO_ST | Call by reference | Type reference (TYPE) | FIP_T_PDT_TO_ST | Return type for DRD | 20080513 | |||
| 5 | I_SP | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20080513 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20080515 | ||
| 2 | FIP execution error | 20080515 |
Method UPDATE_PROMOTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CO_LOGGER | Call by reference | Object reference (TYPE REF TO) | CL_FIP_MESSAGE_LOGGER | Class for FIP message logging/handling | 20080513 | |||
| 2 | IT_PROMOTION | Call by reference | Type reference (TYPE) | FIP_T_PROMOTION_ASSIGNMENT | Return type for DRD | 20080513 | |||
| 3 | IT_PROMOTION_TXT | Call by reference | Type reference (TYPE) | FIP_T_PROMOTION | Table type for promotions and their descriptions | 20080514 | |||
| 4 | IV_VALIDFROM | Call by reference | Type reference (TYPE) | DATAB | Valid-From Date | 20100526 | |||
| 5 | IV_VALIDTO | Call by reference | Type reference (TYPE) | DATBI | Valid To Date | 20100526 | |||
| 6 | I_SP | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20080513 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20080515 | ||
| 2 | FIP execution error | 20080515 |
Method UPDATE_QUOTA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CO_LOGGER | Call by reference | Object reference (TYPE REF TO) | CL_FIP_MESSAGE_LOGGER | Class for FIP message logging/handling | 20080502 | |||
| 2 | IT_EQUK | Call by reference | Type reference (TYPE) | FIP_T_EQUK | Quotation header | 20080502 | |||
| 3 | I_SP | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20080502 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20080515 | ||
| 2 | FIP execution error | 20080515 |
Method UPDATE_SALES_PRICE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CO_LOGGER | Call by reference | Object reference (TYPE REF TO) | CL_FIP_MESSAGE_LOGGER | Class for FIP message logging/handling | 20080502 | |||
| 2 | IT_PLANTS | Call by reference | Type reference (TYPE) | FIP_T_RECIPIENT | Plant | 20080509 | |||
| 3 | IT_SALES_PRICE | Call by reference | Type reference (TYPE) | FIP_T_SALES_PRICE | Quotation header | 20080509 | |||
| 4 | IV_DATAB | Call by reference | Type reference (TYPE) | DATAB | Valid-From Date | 20100526 | |||
| 5 | IV_DATBI | Call by reference | Type reference (TYPE) | DATBI | Valid To Date | 20100526 | |||
| 6 | IV_SP | Call by reference | Type reference (TYPE) | WERKS_D | Supplying Plant | 20080527 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Invalid data supplied | 20080515 | ||
| 2 | FIP execution error | 20080515 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 604 |