SAP ABAP Class CL_MRP_BUFFER_UPDATE (Buffer Update for MRP-Cockpit)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   PP-MRP (Application Component) Material Requirements Planning
     PPH_GENERAL (Package) PP on HANA: General Functions
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_MRP_BUFFER_TYPES_GENERAL types for both access and update 20131122
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_MRP_BUFFER_UPDATE if for updating backend buffer of MRP 20130920
Properties
Class CL_MRP_BUFFER_UPDATE  
Short Description Buffer Update for MRP-Cockpit    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package PPH_GENERAL   PP on HANA: General Functions 
Created 20130920   SAP 
Last change 20140121   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_MRP_COCKPIT Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 IF_MRP_BUFFER_UPDATE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_MRP_BUFFER_TYPES_GENERAL types for both access and update 20131122
2 IF_MRP_BUFFER_UPDATE if for updating backend buffer of MRP 20130920
Friends
Class CL_MRP_BUFFER_UPDATE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CV_MAX_WAIT_STEPS Constant Protected Type reference (TYPE) I 100 20131108
2 CV_MSH_PROFILE Constant Public Type reference (TYPE) MATERIALSHORTAGEPROFILE 'SAP000000001' 20131030
3 CV_WAITING_SECOND Constant Protected Type reference (TYPE) I 1 20130920
4 MR_CUST_ACCESS Instance attribute Private Object reference (TYPE REF TO) IF_MRP_BUFFER_DB_ACCESS 20131105
5 MR_ENQUEUE_ACCESS Instance attribute Protected Object reference (TYPE REF TO) IF_MRP_BUFFER_UPDATE_ENQUEUE 20131001
6 MR_MESSAGE Instance attribute Private Object reference (TYPE REF TO) LIF_MESSAGE 20131104
7 MR_PROC_ACCESS Instance attribute Private Object reference (TYPE REF TO) IF_MRP_BUFF_UPDATE_PROC 20131105
8 MS_HORIZON_DEFINITION Instance attribute Private Type reference (TYPE) IF_MRP_BUFFER_UPDATE=>HORIZON_DEFINITION 20131113
9 MT_CHANGED_ITEMS Instance attribute Private Type reference (TYPE) IF_MRP_BUFFER_UPDATE=>TT_RELEVANT_ITEMS 20131011
10 MT_CURR_DATES Instance attribute Private See coding 20131028
11 MT_KEY Instance attribute Protected Type reference (TYPE) IF_MRP_BUFFER_UPDATE~TT_KEY todo key list per call 20130923
12 MT_PLANT_DT_UPD Instance attribute Private See coding 20131108
13 MT_SELECTION Instance attribute Protected See coding todo list per call 20130923
14 MT_SELECTION_PROCESS Instance attribute Private Type reference (TYPE) TT_SELECTION 20131211
15 MV_CUTOFF_DATE Instance attribute Private Type reference (TYPE) IF_MRP_BUFF_UPDATE_PROC=>TS_WRITE_BUFFER-IV_CUTOFF_DATE 20130927
16 MV_MSH_PROFILE Instance attribute Private Type reference (TYPE) IF_MRP_BUFF_UPDATE_PROC=>TS_WRITE_BUFFER-IV_MSH_PROFILE CV_MSH_PROFILE 20131025
17 MV_SCHEMA Instance attribute Private Type reference (TYPE) IF_MRP_BUFF_UPDATE_PROC=>TS_WRITE_BUFFER-IV_SCHEMA 20130927
18 MV_SET_TIMESTAMP Instance attribute Private Type reference (TYPE) MRP_BUFFER_TIMESTAMP_SET UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20130925
19 MV_TODAY Instance attribute Private Type reference (TYPE) IF_MRP_BUFF_UPDATE_PROC=>TS_WRITE_BUFFER-IV_TODAY 20130925
20 MV_USER Instance attribute Private Type reference (TYPE) IF_MRP_BUFF_UPDATE_PROC=>TS_WRITE_BUFFER-IV_USER 20130927
Methods
# Method Level Visibility Method type Description Created on
1 CONSTRUCTOR Instance method Protected Constructor CONSTRUCTOR 20130923
2 GET_INSTANCE Static method Public Method 20130920
3 GET_RELEVANT_SEL_ITEMS Instance method Private Method 20130925
4 GET_SELECTION_FROM_KEY Instance method Private Method 20131211
5 GET_UTC_SET_TIMESTAMP Instance method Private Method 20131023
6 SET_BUFFER Instance method Protected Method 20130920
7 SET_CURRENT_DATES_OF_PLANTS Instance method Private Method 20131105
8 UPDATE_PLANT_DT Instance method Private Method 20131108
Events
Class CL_MRP_BUFFER_UPDATE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TS_SELECTION Private See coding 20131023 BEGIN OF ts_selection. INCLUDE TYPE cl_mrp_cockpit=>s_hana_sel. TYPES: processed TYPE abap_bool, END OF ts_selection
2 TT_RANGE_PLANT Private See coding 20131107 tt_range_plant TYPE RANGE OF werks_d
3 TT_SELECTION Private See coding 20131023 tt_selection TYPE SORTED TABLE OF ts_selection WITH UNIQUE KEY primary_key COMPONENTS matnr werks berid dispo WITH NON-UNIQUE SORTED KEY sec_key COMPONENTS processed matnr
Method Signatures

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HORIZON_DEFINITION Call by reference Type reference (TYPE) IF_MRP_BUFFER_UPDATE=>HORIZON_DEFINITION 20131113
2 Importing IT_SELECTION Call by reference Type reference (TYPE) CL_MRP_COCKPIT=>T_HANA_SEL 20130923
3 Importing IV_DYNAMIC_HORIZON_CODE Call by reference Type reference (TYPE) MRP_BUF_DYN_HORIZON_CODE '0' 20131114
4 Importing IV_MSH_PROFILE Call by reference Type reference (TYPE) MATERIALSHORTAGEPROFILE CV_MSH_PROFILE 20131025
# Exception Resumable Description Created on
1 CX_MRP_BUFFER MRP Buffer 20131106

Method GET_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_HORIZON_DEFINITION Call by reference Type reference (TYPE) IF_MRP_BUFFER_UPDATE=>HORIZON_DEFINITION 20131113
2 Importing IT_SELECTION Call by reference Type reference (TYPE) CL_MRP_COCKPIT=>T_HANA_SEL 20130923
3 Importing IV_DYNAMIC_HORIZON_CODE Call by reference Type reference (TYPE) MRP_BUF_DYN_HORIZON_CODE '0' 20131114
4 Importing IV_MSH_PROFILE Call by reference Type reference (TYPE) MATERIALSHORTAGEPROFILE CV_MSH_PROFILE 20131025
5 Returning RO_INSTANCE Value transfer Object reference (TYPE REF TO) IF_MRP_BUFFER_UPDATE 20130920
# Exception Resumable Description Created on
1 CX_MRP_BUFFER MRP Buffer 20131106

Method GET_RELEVANT_SEL_ITEMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_RELEVANT_SEL_ITEMS Call by reference Type reference (TYPE) IF_MRP_BUFFER_UPDATE=>TT_RELEVANT_ITEMS 20131211
2 Importing IT_KEY Call by reference Type reference (TYPE) IF_MRP_BUFFER_UPDATE=>TT_KEY 20130925
# Exception Resumable Description Created on
1 CX_MRP_BUFFER 20131104

Method GET_SELECTION_FROM_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ET_SELECTION Call by reference Type reference (TYPE) IF_MRP_BUFFER_UPDATE=>TT_RELEVANT_ITEMS 20131211
2 Importing IT_KEY Call by reference Type reference (TYPE) IF_MRP_BUFFER_UPDATE=>TT_KEY 20131211

Method GET_SELECTION_FROM_KEY on class CL_MRP_BUFFER_UPDATE has no exception.

Method GET_UTC_SET_TIMESTAMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_TIMESTAMP Value transfer Type reference (TYPE) TIMESTAMP 20131023

Method GET_UTC_SET_TIMESTAMP on class CL_MRP_BUFFER_UPDATE has no exception.

Method SET_BUFFER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_KEY Call by reference Type reference (TYPE) IF_MRP_BUFFER_UPDATE=>TT_KEY 20130920
2 Importing IV_COMMIT Call by reference Type reference (TYPE) ABAP_BOOL 20131002
3 Importing IV_RELOAD Call by reference Type reference (TYPE) ABAP_BOOL 20131211
# Exception Resumable Description Created on
1 CX_MRP_BUFFER 20131104

Method SET_CURRENT_DATES_OF_PLANTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_RANGE_PLANT Call by reference Type reference (TYPE) TT_RANGE_PLANT 20131107
# Exception Resumable Description Created on
1 CX_MRP_BUFFER 20131105

Method UPDATE_PLANT_DT Signature

Method UPDATE_PLANT_DT on class CL_MRP_BUFFER_UPDATE has no parameter.
# Exception Resumable Description Created on
1 CX_MRP_BUFFER MRP Buffer 20131212
History
Last changed by/on SAP  20140121 
SAP Release Created in 618