SAP ABAP Class CL_FIP_DL_MANAGER ("BO" for Distribution List)
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_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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_FIP_DL_MANAGER 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 MO_BADI_MATERIAL Instance attribute Private Object reference (TYPE REF TO) FIP_BADI_MATERIAL_BAL 20080509
2 MO_BAL_FACTORY Instance attribute Private Object reference (TYPE REF TO) CL_FIP_BAL_FACTORY Factory implementing and hiding backend access 20080509
3 MO_LOGGER Instance attribute Private Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080522
4 MR_DL_PERSISTENCE_HANDLER Instance attribute Private Object reference (TYPE REF TO) CL_FIP_DL_PERSISTENCE_HANDLER Central "Hub" for Distribution List 20080314
5 MT_ITEMS Instance attribute Private Type reference (TYPE) FIP_T_DL_ITEM Items of the DL 20080229
6 MT_MATERIALS Instance attribute Private Type reference (TYPE) FIP_T_DL_MATERIAL Table containing all material specific information for DL 20080314
7 MT_MAT_RCPT_PDT Instance attribute Private Type reference (TYPE) FIP_T_MATERIAL_RCPT_PDT Table Material Rcpt Relationships for Order Lines retrieval 20080317
8 MV_FABKL Instance attribute Private Type reference (TYPE) FIP_FABKL Factory calendar key 20080521
9 MV_GI_DATE_FROM_SP Instance attribute Private Type reference (TYPE) FIP_DELIVERY_TO_SP Delivery date to Supply Plant (in days) 20080626
10 MV_GOODS_ISSUE_DATE Instance attribute Private Type reference (TYPE) DATS Field of type DATS 20080229
11 MV_UNAME Instance attribute Private Type reference (TYPE) UNAME User Name 20080229
12 MV_WAERS Instance attribute Private Type reference (TYPE) WAERS Currency Key 20080521
13 MV_WERKS Instance attribute Private Type reference (TYPE) WERKS_D Plant 20080414
Methods
# Method Level Visibility Method type Description Created on
1 ADD_DL_ITEMS Instance method Private Method Add DL item(s) for the Added Material 20080325
2 ADD_MATERIAL Instance method Public Method Get Information for One Material 20080317
3 ARE_QUANTITIES_DIFFERENT Instance method Public Method 20080617
4 CHECKUP_DL_ITEMS Instance method Private Method Update/Create DL items and their Recipient Order Manager 20080319
5 CLEAR Instance method Public Method Clear/Reset DL material items 20080502
6 CONSTRUCTOR Instance method Public Constructor 20080310
7 CONSTRUCT_DL_ITEMS Instance method Private Method Fill the Material Items for Distribution table 20080314
8 CONSTRUCT_DL_ITEM_FOR_MATERIAL Instance method Private Method Construct/Update DL items for a Material 20080326
9 CREATE_DL_ITEM Instance method Private Method Create a DL item and its Recipient Order Manager 20080319
10 DISTRIBUTE Instance method Public Method Distributes quantity 20080326
11 FIND_MATERIAL Instance method Public Method Find Sequence Number in hashed Materials table 20080417
12 GET_ALL_MATERIALS Instance method Public Method Get information for All Materials 20080315
13 GET_GI_DATE_FROM_SP Instance method Public Method Get Goods Issue Date from SP in days 20080626
14 GET_LAST_UPDATE Instance method Public Method Get current system date and time 20090225
15 GET_ORDER_HANDLER Instance method Public Method 20080506
16 GET_PROMOTIONS_BY_MATNR Instance method Public Method Get Promotions for a Material from the buffer 20080331
17 GET_RCPNT_ORDER_STATUS Instance method Public Method Get the Recipient Summary 20090226
18 GET_RCPT_ORDER_MANAGER Instance method Public Method Get Recipient Order Manager for a Material 20080311
19 IS_GREATER_THAN_ON_STOCK Instance method Public Method 20080813
20 REFRESH Instance method Public Method Refresh DL material items 20080408
21 RESEQUENCE_DL_ITEMS Instance method Private Method Resequence the DL items 20080327
22 SET_GI_DATE Instance method Public Method Set the Goods Issue Date 20080310
23 TAKE_RECIP_ORDERS_QTY Instance method Public Method Copy recipient order qty to distribution qty 20080328
24 UPDATE_MAT_RCPT_TABLE 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 Exporting ET_ITEMS Call by reference Type reference (TYPE) FIP_T_DL_ITEM Items of the DL 20080325
2 Importing 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 Importing IT_MATNR Call by reference Type reference (TYPE) FIP_T_MAT Material Number 20080501
4 Importing 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 Exporting ET_ITEMS Call by reference Type reference (TYPE) FIP_T_DL_ITEM Items of the DL 20080317
2 Exporting ET_MATERIALS Call by reference Type reference (TYPE) FIP_T_DL_MATERIAL Material Structure for DL 20080410
3 Importing IT_MATNR Call by reference Type reference (TYPE) FIP_T_MAT Material Number 20080501
4 Importing 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 Changing CT_DL_ITEMS_UI Call by reference Type reference (TYPE) T_DL_ITEM_UI 20080617
2 Exporting 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 Changing CT_RCPT_ORDER_ITEMS Call by reference Type reference (TYPE) FIP_T_RCPT_ORDER_ITEM Table of Recipients for Distribution 20080526
2 Changing CV_ITEM_TABIX Call by reference Type reference (TYPE) SYTABIX Index of Internal Tables 20080319
3 Importing IS_MATERIAL Call by reference Type reference (TYPE) FIP_S_DL_MATERIAL Material Number 20080509
4 Importing IT_OPEN_ORDER_LINES Call by reference Type reference (TYPE) FIP_T_ORDER_LINE Table of Order Lines (STO, SO and PO) 20090914
5 Importing IT_ORDER_LINES Call by reference Type reference (TYPE) FIP_T_ORDER_LINE Table of Order Lines (STO, SO and PO) 20080319
6 Importing IT_ORDER_LINES_RO Call by reference Type reference (TYPE) FIP_T_ORDER_LINE Table of Order Lines (STO, SO and PO) 20080319
7 Importing IV_OPEN_ORDER_QTY Call by reference Type reference (TYPE) FIP_DOC_QTY Document Quantity 20080326
8 Importing IV_RCPT_ORDER_QTY Call by reference Type reference (TYPE) FIP_DOC_QTY Document Quantity 20080326
9 Importing 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 Exporting ET_ITEMS Call by reference Type reference (TYPE) FIP_T_DL_ITEM Items of the DL 20080502
2 Exporting 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 Importing IO_LOGGER Call by reference Object reference (TYPE REF TO) CL_FIP_MESSAGE_LOGGER Class for FIP message logging/handling 20080522
2 Importing IV_BUYER_ID Call by reference Type reference (TYPE) FIP_BUYER 20080310
3 Importing 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 Changing 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 Changing CT_RCPT_ORDER_ITEMS Call by reference Type reference (TYPE) FIP_T_RCPT_ORDER_ITEM Table of Recipients for Distribution 20080326
2 Changing CV_ITEM_TABIX Call by reference Type reference (TYPE) SYTABIX Index of Internal Tables 20080326
3 Changing CV_ORDER_LINE_TABIX Call by reference Type reference (TYPE) SYTABIX Index of Internal Tables 20080326
4 Importing IT_ORDER_LINES_ALL Call by reference Type reference (TYPE) FIP_T_ORDER_LINE Table of Order Lines (STO, SO and PO) 20080326
5 Importing 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 Exporting ES_DL_ITEM_NEW Call by reference Type reference (TYPE) FIP_S_DL_ITEM Item structure of the DL 20080410
2 Importing IT_OPEN_ORDER_LINES Call by reference Type reference (TYPE) FIP_T_ORDER_LINE Table of Order Lines (STO, SO and PO) 20090914
3 Importing IT_ORDER_LINES Call by reference Type reference (TYPE) FIP_T_ORDER_LINE 20080319
4 Importing IT_RCPT_ORDER_ITEMS Call by reference Type reference (TYPE) FIP_T_RCPT_ORDER_ITEM 20080319
5 Importing IV_ATTYP Call by reference Type reference (TYPE) ATTYP Material Structure for DL 20080521
6 Importing IV_MAKTX Call by reference Type reference (TYPE) MAKTX Material description 20080429
7 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR 20080319
8 Importing IV_MEINS Call by reference Type reference (TYPE) MEINS Base Unit of Measure 20080417
9 Importing IV_OPEN_ORDER_QTY Call by reference Type reference (TYPE) FIP_DOC_QTY Document Quantity 20080326
10 Importing IV_RCPT_ORDER_QTY Call by reference Type reference (TYPE) FIP_DOC_QTY Document Quantity 20080326
11 Importing IV_READ_ONLY Call by reference Type reference (TYPE) ABAP_BOOL 20080319
12 Importing IV_ROUNDING_STRATEGY Call by reference Type reference (TYPE) FIP_ROUNDING_STRATEGY Rounding strategy 20080425
13 Importing 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 Changing CT_DL_ITEMS_UI Call by reference Type reference (TYPE) T_DL_ITEM_UI 20080404
2 Exporting ET_ITEMS Call by reference Type reference (TYPE) FIP_T_DL_ITEM Items of the DL 20080516
3 Exporting ET_MATERIALS Call by reference Type reference (TYPE) FIP_T_DL_MATERIAL Table containing all material specific information for DL 20080516
4 Importing IV_FLAG_ADJUST_TO_ON_STOCK Call by reference Type reference (TYPE) ABAP_BOOL 20080813
5 Importing 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 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20080417
2 Returning 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 Exporting ET_ITEMS Call by reference Type reference (TYPE) FIP_T_DL_ITEM Items of the DL 20080315
2 Exporting 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 Returning 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 Returning 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 Returning 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 Exporting ET_PROMOTIONS Call by reference Type reference (TYPE) FIP_T_PROMOTION_ASSIGNMENT Table type for promotions and their descriptions 20080331
2 Importing 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 Exporting EV_EXPECTED_RECIPIENTS Call by reference Type reference (TYPE) I Number of Expected Orders from Recipients 20090226
2 Exporting EV_RCPNT_ORDER_STATUS_TODAY Call by reference Type reference (TYPE) FIP_PERCENTAGE Percentaged data field 20090226
3 Exporting 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 Exporting ER_RCPT_ORDER_MGR Call by reference Object reference (TYPE REF TO) CL_FIP_RCPT_ORDER_MANAGER "BO" for Distribution Recipients 20080311
2 Importing IV_MATNR Call by reference Type reference (TYPE) MATNR Material Number 20080311
3 Importing 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 Exporting EV_IS_GREATER_THAN_ON_STOCK Call by reference Type reference (TYPE) ABAP_BOOL 20080813
2 Importing 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 Exporting ET_ITEMS Call by reference Type reference (TYPE) FIP_T_DL_ITEM Items of the DL 20080408
2 Exporting 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 Changing 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 Importing 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