Hierarchy
⤷
⤷
Properties
| Class | CL_FIP_DL_MANAGER | |
| Short Description | "BO" for Distribution List | |
| 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 | 20080229 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class CL_FIP_DL_MANAGER has no interface implemented.
Friends
Class CL_FIP_DL_MANAGER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | FIP_BADI_MATERIAL_BAL | 20080509 | ||||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_FIP_BAL_FACTORY | Factory implementing and hiding backend access | 20080509 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_FIP_MESSAGE_LOGGER | Class for FIP message logging/handling | 20080522 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_FIP_DL_PERSISTENCE_HANDLER | Central "Hub" for Distribution List | 20080314 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | FIP_T_DL_ITEM | Items of the DL | 20080229 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | FIP_T_DL_MATERIAL | Table containing all material specific information for DL | 20080314 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | FIP_T_MATERIAL_RCPT_PDT | Table Material Rcpt Relationships for Order Lines retrieval | 20080317 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | FIP_FABKL | Factory calendar key | 20080521 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | FIP_DELIVERY_TO_SP | Delivery date to Supply Plant (in days) | 20080626 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | DATS | Field of type DATS | 20080229 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | UNAME | User Name | 20080229 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | WAERS | Currency Key | 20080521 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | WERKS_D | Plant | 20080414 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Add DL item(s) for the Added Material | 20080325 | |
| 2 | Instance method | Public | Method | Get Information for One Material | 20080317 | |
| 3 | Instance method | Public | Method | 20080617 | ||
| 4 | Instance method | Private | Method | Update/Create DL items and their Recipient Order Manager | 20080319 | |
| 5 | Instance method | Public | Method | Clear/Reset DL material items | 20080502 | |
| 6 | Instance method | Public | Constructor | 20080310 | ||
| 7 | Instance method | Private | Method | Fill the Material Items for Distribution table | 20080314 | |
| 8 | Instance method | Private | Method | Construct/Update DL items for a Material | 20080326 | |
| 9 | Instance method | Private | Method | Create a DL item and its Recipient Order Manager | 20080319 | |
| 10 | Instance method | Public | Method | Distributes quantity | 20080326 | |
| 11 | Instance method | Public | Method | Find Sequence Number in hashed Materials table | 20080417 | |
| 12 | Instance method | Public | Method | Get information for All Materials | 20080315 | |
| 13 | Instance method | Public | Method | Get Goods Issue Date from SP in days | 20080626 | |
| 14 | Instance method | Public | Method | Get current system date and time | 20090225 | |
| 15 | Instance method | Public | Method | 20080506 | ||
| 16 | Instance method | Public | Method | Get Promotions for a Material from the buffer | 20080331 | |
| 17 | Instance method | Public | Method | Get the Recipient Summary | 20090226 | |
| 18 | Instance method | Public | Method | Get Recipient Order Manager for a Material | 20080311 | |
| 19 | Instance method | Public | Method | 20080813 | ||
| 20 | Instance method | Public | Method | Refresh DL material items | 20080408 | |
| 21 | Instance method | Private | Method | Resequence the DL items | 20080327 | |
| 22 | Instance method | Public | Method | Set the Goods Issue Date | 20080310 | |
| 23 | Instance method | Public | Method | Copy recipient order qty to distribution qty | 20080328 | |
| 24 | Instance method | Public | Method | Update Material Rcpt Relation table After Adding Recipients | 20080417 |
Events
Class CL_FIP_DL_MANAGER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | S_DL_ITEM_UI | Public | See coding | 20080404 | BEGIN OF s_dl_item_ui,
sequence_number TYPE fip_mr_sequence_nbr,
matnr TYPE matnr,
distribution_qty TYPE fip_doc_qty,
distribution_qty_uom TYPE fip_doc_uom,
on_stock_qty TYPE fip_doc_qty,
on_stock_qty_uom TYPE fip_doc_uom,
distribution_strategy TYPE fip_distribution_strategy,
fairshare_rule TYPE fip_fair_share_rule,
END OF s_dl_item_ui
|
||
| 2 | T_DL_ITEM_UI | Public | See coding | 20080404 | t_dl_item_ui TYPE STANDARD TABLE OF s_dl_item_ui
|
Method Signatures
Method ADD_DL_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ITEMS | Call by reference | Type reference (TYPE) | FIP_T_DL_ITEM | Items of the DL | 20080325 | |||
| 2 | IT_MATERIAL_RECIPENT_PDTS | Call by reference | Type reference (TYPE) | FIP_T_MATERIAL_RCPT_PDT | Table Material Rcpt Relationships for Order Lines retrieval | 20080325 | |||
| 3 | IT_MATNR | Call by reference | Type reference (TYPE) | FIP_T_MAT | Material Number | 20080501 | |||
| 4 | IT_ORDER_LINES | Call by reference | Type reference (TYPE) | FIP_T_ORDER_LINE | Table of Order Lines (STO, SO and PO) | 20080410 |
Method ADD_DL_ITEMS on class CL_FIP_DL_MANAGER has no exception.
Method ADD_MATERIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ITEMS | Call by reference | Type reference (TYPE) | FIP_T_DL_ITEM | Items of the DL | 20080317 | |||
| 2 | ET_MATERIALS | Call by reference | Type reference (TYPE) | FIP_T_DL_MATERIAL | Material Structure for DL | 20080410 | |||
| 3 | IT_MATNR | Call by reference | Type reference (TYPE) | FIP_T_MAT | Material Number | 20080501 | |||
| 4 | IV_INIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | Supplement for True Boolean Type: 'X' == True '' == False | 20090224 |
Method ADD_MATERIAL on class CL_FIP_DL_MANAGER has no exception.
Method ARE_QUANTITIES_DIFFERENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DL_ITEMS_UI | Call by reference | Type reference (TYPE) | T_DL_ITEM_UI | 20080617 | ||||
| 2 | EV_ARE_QUANTITIES_DIFFERENT | Call by reference | Type reference (TYPE) | ABAP_BOOL | Supplement for True Boolean Type: 'X' == True '' == False | 20080617 |
Method ARE_QUANTITIES_DIFFERENT on class CL_FIP_DL_MANAGER has no exception.
Method CHECKUP_DL_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_RCPT_ORDER_ITEMS | Call by reference | Type reference (TYPE) | FIP_T_RCPT_ORDER_ITEM | Table of Recipients for Distribution | 20080526 | |||
| 2 | CV_ITEM_TABIX | Call by reference | Type reference (TYPE) | SYTABIX | Index of Internal Tables | 20080319 | |||
| 3 | IS_MATERIAL | Call by reference | Type reference (TYPE) | FIP_S_DL_MATERIAL | Material Number | 20080509 | |||
| 4 | IT_OPEN_ORDER_LINES | Call by reference | Type reference (TYPE) | FIP_T_ORDER_LINE | Table of Order Lines (STO, SO and PO) | 20090914 | |||
| 5 | IT_ORDER_LINES | Call by reference | Type reference (TYPE) | FIP_T_ORDER_LINE | Table of Order Lines (STO, SO and PO) | 20080319 | |||
| 6 | IT_ORDER_LINES_RO | Call by reference | Type reference (TYPE) | FIP_T_ORDER_LINE | Table of Order Lines (STO, SO and PO) | 20080319 | |||
| 7 | IV_OPEN_ORDER_QTY | Call by reference | Type reference (TYPE) | FIP_DOC_QTY | Document Quantity | 20080326 | |||
| 8 | IV_RCPT_ORDER_QTY | Call by reference | Type reference (TYPE) | FIP_DOC_QTY | Document Quantity | 20080326 | |||
| 9 | IV_RCPT_ORDER_QTY_RO | Call by reference | Type reference (TYPE) | FIP_DOC_QTY | Document Quantity | 20080326 |
Method CHECKUP_DL_ITEMS on class CL_FIP_DL_MANAGER has no exception.
Method CLEAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ITEMS | Call by reference | Type reference (TYPE) | FIP_T_DL_ITEM | Items of the DL | 20080502 | |||
| 2 | ET_MATERIALS | Call by reference | Type reference (TYPE) | FIP_T_DL_MATERIAL | Table containing all material specific information for DL | 20080502 |
Method CLEAR on class CL_FIP_DL_MANAGER has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_LOGGER | Call by reference | Object reference (TYPE REF TO) | CL_FIP_MESSAGE_LOGGER | Class for FIP message logging/handling | 20080522 | |||
| 2 | IV_BUYER_ID | Call by reference | Type reference (TYPE) | FIP_BUYER | 20080310 | ||||
| 3 | IV_DC_ID | Call by reference | Type reference (TYPE) | WERKS_D | 20080310 |
Method CONSTRUCTOR on class CL_FIP_DL_MANAGER has no exception.
Method CONSTRUCT_DL_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_ORDER_LINES | Call by reference | Type reference (TYPE) | FIP_T_ORDER_LINE | Table of Order Lines (STO, SO and PO) | 20080318 |
Method CONSTRUCT_DL_ITEMS on class CL_FIP_DL_MANAGER has no exception.
Method CONSTRUCT_DL_ITEM_FOR_MATERIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_RCPT_ORDER_ITEMS | Call by reference | Type reference (TYPE) | FIP_T_RCPT_ORDER_ITEM | Table of Recipients for Distribution | 20080326 | |||
| 2 | CV_ITEM_TABIX | Call by reference | Type reference (TYPE) | SYTABIX | Index of Internal Tables | 20080326 | |||
| 3 | CV_ORDER_LINE_TABIX | Call by reference | Type reference (TYPE) | SYTABIX | Index of Internal Tables | 20080326 | |||
| 4 | IT_ORDER_LINES_ALL | Call by reference | Type reference (TYPE) | FIP_T_ORDER_LINE | Table of Order Lines (STO, SO and PO) | 20080326 | |||
| 5 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20080326 |
Method CONSTRUCT_DL_ITEM_FOR_MATERIAL on class CL_FIP_DL_MANAGER has no exception.
Method CREATE_DL_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_DL_ITEM_NEW | Call by reference | Type reference (TYPE) | FIP_S_DL_ITEM | Item structure of the DL | 20080410 | |||
| 2 | IT_OPEN_ORDER_LINES | Call by reference | Type reference (TYPE) | FIP_T_ORDER_LINE | Table of Order Lines (STO, SO and PO) | 20090914 | |||
| 3 | IT_ORDER_LINES | Call by reference | Type reference (TYPE) | FIP_T_ORDER_LINE | 20080319 | ||||
| 4 | IT_RCPT_ORDER_ITEMS | Call by reference | Type reference (TYPE) | FIP_T_RCPT_ORDER_ITEM | 20080319 | ||||
| 5 | IV_ATTYP | Call by reference | Type reference (TYPE) | ATTYP | Material Structure for DL | 20080521 | |||
| 6 | IV_MAKTX | Call by reference | Type reference (TYPE) | MAKTX | Material description | 20080429 | |||
| 7 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | 20080319 | ||||
| 8 | IV_MEINS | Call by reference | Type reference (TYPE) | MEINS | Base Unit of Measure | 20080417 | |||
| 9 | IV_OPEN_ORDER_QTY | Call by reference | Type reference (TYPE) | FIP_DOC_QTY | Document Quantity | 20080326 | |||
| 10 | IV_RCPT_ORDER_QTY | Call by reference | Type reference (TYPE) | FIP_DOC_QTY | Document Quantity | 20080326 | |||
| 11 | IV_READ_ONLY | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20080319 | ||||
| 12 | IV_ROUNDING_STRATEGY | Call by reference | Type reference (TYPE) | FIP_ROUNDING_STRATEGY | Rounding strategy | 20080425 | |||
| 13 | IV_SEQUENCE_NUMBER | Call by reference | Type reference (TYPE) | FIP_MR_SEQUENCE_NBR | Sequence number of the material in priority. | 20080327 |
Method CREATE_DL_ITEM on class CL_FIP_DL_MANAGER has no exception.
Method DISTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DL_ITEMS_UI | Call by reference | Type reference (TYPE) | T_DL_ITEM_UI | 20080404 | ||||
| 2 | ET_ITEMS | Call by reference | Type reference (TYPE) | FIP_T_DL_ITEM | Items of the DL | 20080516 | |||
| 3 | ET_MATERIALS | Call by reference | Type reference (TYPE) | FIP_T_DL_MATERIAL | Table containing all material specific information for DL | 20080516 | |||
| 4 | IV_FLAG_ADJUST_TO_ON_STOCK | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20080813 | ||||
| 5 | IV_FLAG_DELETE_ORDERS | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20080404 |
Method DISTRIBUTE on class CL_FIP_DL_MANAGER has no exception.
Method FIND_MATERIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20080417 | |||
| 2 | RS_DL_MATERIAL | Value transfer | Type reference (TYPE) | FIP_S_DL_MATERIAL | Sequence number of the material in priority. | 20080417 |
Method FIND_MATERIAL on class CL_FIP_DL_MANAGER has no exception.
Method GET_ALL_MATERIALS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ITEMS | Call by reference | Type reference (TYPE) | FIP_T_DL_ITEM | Items of the DL | 20080315 | |||
| 2 | ET_MATERIALS | Call by reference | Type reference (TYPE) | FIP_T_DL_MATERIAL | Table containing all material specific information for DL | 20080315 |
Method GET_ALL_MATERIALS on class CL_FIP_DL_MANAGER has no exception.
Method GET_GI_DATE_FROM_SP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_GI_DATE_FROM_SP | Value transfer | Type reference (TYPE) | FIP_DELIVERY_TO_SP | Delivery date to Supply Plant (in days) | 20080626 |
Method GET_GI_DATE_FROM_SP on class CL_FIP_DL_MANAGER has no exception.
Method GET_LAST_UPDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_LAST_UPDATE | Value transfer | Type reference (TYPE) | STRING | 20090225 |
Method GET_LAST_UPDATE on class CL_FIP_DL_MANAGER has no exception.
Method GET_ORDER_HANDLER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_ORDER_HANDLER | Value transfer | Object reference (TYPE REF TO) | CL_FIP_ORDER_HANDLER | Class for handling of transactional data | 20080506 |
Method GET_ORDER_HANDLER on class CL_FIP_DL_MANAGER has no exception.
Method GET_PROMOTIONS_BY_MATNR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PROMOTIONS | Call by reference | Type reference (TYPE) | FIP_T_PROMOTION_ASSIGNMENT | Table type for promotions and their descriptions | 20080331 | |||
| 2 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20080331 |
Method GET_PROMOTIONS_BY_MATNR on class CL_FIP_DL_MANAGER has no exception.
Method GET_RCPNT_ORDER_STATUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_EXPECTED_RECIPIENTS | Call by reference | Type reference (TYPE) | I | Number of Expected Orders from Recipients | 20090226 | |||
| 2 | EV_RCPNT_ORDER_STATUS_TODAY | Call by reference | Type reference (TYPE) | FIP_PERCENTAGE | Percentaged data field | 20090226 | |||
| 3 | EV_RECEIVED_FROM_RECIPIENTS | Call by reference | Type reference (TYPE) | I | Number of Orders from Recipients | 20090226 |
Method GET_RCPNT_ORDER_STATUS on class CL_FIP_DL_MANAGER has no exception.
Method GET_RCPT_ORDER_MANAGER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ER_RCPT_ORDER_MGR | Call by reference | Object reference (TYPE REF TO) | CL_FIP_RCPT_ORDER_MANAGER | "BO" for Distribution Recipients | 20080311 | |||
| 2 | IV_MATNR | Call by reference | Type reference (TYPE) | MATNR | Material Number | 20080311 | |||
| 3 | IV_SEQUENCE_NUMBER | Call by reference | Type reference (TYPE) | FIP_MR_SEQUENCE_NBR | Sequence number of the material in priority. | 20080314 |
Method GET_RCPT_ORDER_MANAGER on class CL_FIP_DL_MANAGER has no exception.
Method IS_GREATER_THAN_ON_STOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_IS_GREATER_THAN_ON_STOCK | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20080813 | ||||
| 2 | IT_DL_ITEMS_UI | Call by reference | Type reference (TYPE) | T_DL_ITEM_UI | 20080813 |
Method IS_GREATER_THAN_ON_STOCK on class CL_FIP_DL_MANAGER has no exception.
Method REFRESH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ITEMS | Call by reference | Type reference (TYPE) | FIP_T_DL_ITEM | Items of the DL | 20080408 | |||
| 2 | ET_MATERIALS | Call by reference | Type reference (TYPE) | FIP_T_DL_MATERIAL | Table containing all material specific information for DL | 20080408 |
Method REFRESH on class CL_FIP_DL_MANAGER has no exception.
Method RESEQUENCE_DL_ITEMS Signature
Method RESEQUENCE_DL_ITEMS on class CL_FIP_DL_MANAGER has no parameter.
Method RESEQUENCE_DL_ITEMS on class CL_FIP_DL_MANAGER has no exception.
Method SET_GI_DATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CV_GI_DATE | Call by reference | Type reference (TYPE) | DATS | Field of type DATS | 20100401 |
Method SET_GI_DATE on class CL_FIP_DL_MANAGER has no exception.
Method TAKE_RECIP_ORDERS_QTY Signature
Method TAKE_RECIP_ORDERS_QTY on class CL_FIP_DL_MANAGER has no parameter.
Method TAKE_RECIP_ORDERS_QTY on class CL_FIP_DL_MANAGER has no exception.
Method UPDATE_MAT_RCPT_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ADDED_RECIPIENTS | Call by reference | Type reference (TYPE) | FIP_T_MATERIAL_RCPT_PDT | Table Material Rcpt Relationships for Order Lines retrieval | 20080417 |
Method UPDATE_MAT_RCPT_TABLE on class CL_FIP_DL_MANAGER has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 604 |