SAP ABAP Class CL_PLNG_MODEL_S2L (Planning Model)
Hierarchy
ECC-DIMP (Software Component) DIMP
   IS-A-S2L (Application Component) Production Supply
     DI_S2L (Package) Production Supply
Properties
Class CL_PLNG_MODEL_S2L  
Short Description Planning Model    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status P  SAP Standard Production Program 
Category 0   
Package DI_S2L   Production Supply 
Created 20001129   SAP 
Last change 20050301   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 RM Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 S2L Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_PLNG_MODEL_S2L has no interface implemented.
Friends
Class CL_PLNG_MODEL_S2L has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ABS_PLNG_HORIZON_DATE Static Attribute Public Type reference (TYPE) S2L_PLNG_HORIZON_DATE Date Marking the End of the Planning Horizon 20020426
2 ABS_PLNG_HORIZON_FOR_ALL Static Attribute Public Type reference (TYPE) S2L_USE_PLHOR_FOR_ALL Use Planning Horizon for all Supply Segments 20020410
3 ABS_PLNG_HORIZON_SET Static Attribute Public Type reference (TYPE) S2L_ALT_PLNG_HORIZON Override Planning Horizon 20020626
4 ABS_PLNG_HORIZON_TIME Static Attribute Public Type reference (TYPE) S2L_PLNG_HORIZON_TIME Time Marking the End of the Planning Horizon 20020426
5 DELTA Instance attribute Public Type reference (TYPE) S2L_PLNG_MODEL_DELTA Delta Information for cl_plng_model_s2l 20010111
6 LOG_STATISTICS Instance attribute Private Type reference (TYPE) BAL_S_SCNT Application Log: Statistics: Message Type Counter 20010302
7 OLDEST_REFRESH Instance attribute Private Type reference (TYPE) S2L_TIMESTAMP Time of Oldest Refresh 20020522
8 PROT_HANDLER Instance attribute Public Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_S2L Log Handler 20010620
9 SEGMENTS Instance attribute Public Type reference (TYPE) S2L_PLNG_SEGMENTS Planning Segment (Sorted According to Root) 20001213
10 STATE Instance attribute Public Type reference (TYPE) S2L_PLNG_MODEL_STATE Processing Status (Start, In Process, End) 20010208
11 ST_INPUT_MAP Instance attribute Private Type reference (TYPE) ST_SEG_1_TO_N_MAP gen(root) --> segment 20010116
12 ST_OUTPUT_MAP Instance attribute Private Type reference (TYPE) ST_SEG_1_TO_1_MAP gen(root) restricted by spec_bound --> segment 20010116
13 SUPPLY_SITUATION Instance attribute Public Object reference (TYPE REF TO) CL_SUPPLY_SITUATION_S2L Supply Situation 20001215
14 SYNC_UPDATE Instance attribute Public Type reference (TYPE) RM_FLAG Indicator: Synchronous Update 20010211
15 TO_BE_PLANNED Instance attribute Private Type reference (TYPE) S2L_PLNG_SEGMENT_SET hashed table of s2l_plng_segment_ref 20010204
Methods
# Method Level Visibility Method type Description Created on
1 ADD_SEGMENT Instance method Public Method Add New Planning Segment 20010109
2 CHECK_LUW_START Instance method Private Method SAP LUW Introduction 20010803
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20001215
4 GET_OLDEST_REFRESH Instance method Public Method Gets the Time of the Refresh 20020522
5 GET_SEGMENTS Instance method Public Method Gets Planning Segments for Stock_types 20010104
6 NOTE_FOR_PLANNING Instance method Public Method Mark Segment for Planning 20010204
7 NOTE_FOR_PLANNING_ALL Instance method Public Method Mark Segment for Planning 20010221
8 NOTIFY Instance method Public Method Check Delta and If Necessary Trigger Change Event 20010111
9 ON_COMMIT_CALLED_APPL Instance method Private Event handling method Handler for Commit 20010211
10 ON_LUW_FINISHED Instance method Private Event handling method Handler for LUW Completion 20010211
11 ON_ROLLBACK_CALLED_APPL Instance method Private Event handling method Handler for Rollback 20010211
12 ON_STOCK_TYPE_SET_CHANGE Instance method Private Event handling method Delta Handling for New Stock Type 20010111
13 ON_SUPPLY_SITUATION_CHANGE Instance method Private Event handling method Delta Handling for supply_situation 20010111
14 PRINT Instance method Public Method Creates a Print List for Supply Situation 20010126
15 REFRESH Instance method Public Method (Re)reading External Data for Planning Segments 20001215
16 REGISTER_LUW_HANDLERS Instance method Private Method Handler for Registering LUW Handling 20010211
17 RESET Instance method Public Method Reset All 20010107
18 SAVE Instance method Public Method Save Replenishment Proposals for Specified Segments 20010206
19 SET_MODE Instance method Public Method Setting Processing Mode for Several Planning Segments 20010803
20 SET_OLDEST_REFRESH Instance method Private Method Sets the Refresh TIme 20020522
Events
# Event Type Visibility Description Created on
1 CHANGED Instance Event
(0)
Public
(2)
Signals Changes 20010111
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 ST_SEG_1_TO_1_MAP Private See coding ST_SEG_1_TO_1_MAP 20010116
2 ST_SEG_1_TO_N_MAP Private See coding ST_SEG_1_TO_N_MAP 20010116
3 ST_SEG_PAIR Private See coding ST_SEG_PAIR 20010111
Method Signatures

Method ADD_SEGMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PSEG Value transfer Object reference (TYPE REF TO) CL_PLNG_SEGMENT_S2L Planungssegment 20010109
# Exception Resumable Description Created on
1 X_OVERLAPPING_SEGMENTS Planungssegmente überlappen sich 20010404

Method CHECK_LUW_START Signature

Method CHECK_LUW_START on class CL_PLNG_MODEL_S2L has no parameter.
Method CHECK_LUW_START on class CL_PLNG_MODEL_S2L has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PROT_HANDLER Value transfer Object reference (TYPE REF TO) CL_PROTOCOL_HANDLER_S2L Protokoll Handler 20010620

Method CONSTRUCTOR on class CL_PLNG_MODEL_S2L has no exception.

Method GET_OLDEST_REFRESH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting REFRESH_TS Call by reference Type reference (TYPE) S2L_TIMESTAMP Zeitstempel 20020522

Method GET_OLDEST_REFRESH on class CL_PLNG_MODEL_S2L has no exception.

Method GET_SEGMENTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ONLY_OUTPUT_RANGE Value transfer Type reference (TYPE) RM_FLAG RM_NOFLAG Kz.: nur Output-Range der Segmente berücks. (spec_bound) 20010117
2 Changing SEGMENTS Call by reference Type reference (TYPE) S2L_PLNG_SEGMENTS_ANY any table of s2l_plng_segment_ref 20010104
3 Importing STOCK_TYPES Call by reference Type reference (TYPE) S2L_STOCK_TYPES_ANY any table of s2l_stock_type_ref (möglichst hashed!)( 20010104

Method GET_SEGMENTS on class CL_PLNG_MODEL_S2L has no exception.

Method NOTE_FOR_PLANNING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MODE Value transfer Type reference (TYPE) S2L_PLANNING_MODE Planungsmodus 20010204
2 Importing SEGMENT Value transfer Object reference (TYPE REF TO) CL_PLNG_SEGMENT_S2L Planungssegment (ext.: Versorgungsabschnitt) 20010204
3 Importing WISH_REPL_PROP_QTY Value transfer Type reference (TYPE) S2L_REPL_PROP_QTY Summe der Nachschubvorschläge 20010204

Method NOTE_FOR_PLANNING on class CL_PLNG_MODEL_S2L has no exception.

Method NOTE_FOR_PLANNING_ALL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PLANING_MODE Value transfer Type reference (TYPE) S2L_PLANNING_MODE Planungsmodus 20010221
2 Importing SEGMENTS Value transfer Type reference (TYPE) S2L_PLNG_SEGMENTS_ANY Planungssegment (ext.: Versorgungsabschnitt) 20010221

Method NOTE_FOR_PLANNING_ALL on class CL_PLNG_MODEL_S2L has no exception.

Method NOTIFY Signature

Method NOTIFY on class CL_PLNG_MODEL_S2L has no parameter.
Method NOTIFY on class CL_PLNG_MODEL_S2L has no exception.

Method ON_COMMIT_CALLED_APPL Signature

Method ON_COMMIT_CALLED_APPL on class CL_PLNG_MODEL_S2L has no parameter.
Method ON_COMMIT_CALLED_APPL on class CL_PLNG_MODEL_S2L has no exception.

Method ON_LUW_FINISHED Signature

Method ON_LUW_FINISHED on class CL_PLNG_MODEL_S2L has no parameter.
Method ON_LUW_FINISHED on class CL_PLNG_MODEL_S2L has no exception.

Method ON_ROLLBACK_CALLED_APPL Signature

Method ON_ROLLBACK_CALLED_APPL on class CL_PLNG_MODEL_S2L has no parameter.
Method ON_ROLLBACK_CALLED_APPL on class CL_PLNG_MODEL_S2L has no exception.

Method ON_STOCK_TYPE_SET_CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SENDER Call by reference Type reference (TYPE) 20010116

Method ON_STOCK_TYPE_SET_CHANGE on class CL_PLNG_MODEL_S2L has no exception.

Method ON_SUPPLY_SITUATION_CHANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SENDER Call by reference Type reference (TYPE) 20010116

Method ON_SUPPLY_SITUATION_CHANGE on class CL_PLNG_MODEL_S2L has no exception.

Method PRINT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SEGMENTS Call by reference Type reference (TYPE) S2L_PLNG_SEGMENTS_ANY any table of s2l_plng_segment_ref 20010309

Method PRINT on class CL_PLNG_MODEL_S2L has no exception.

Method REFRESH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing REFRESH_MODE Value transfer Type reference (TYPE) S2L_REFRESH_MODE Refresh-Modus (ggf. nur NSchVorschläge) 20010803
2 Importing SEGMENTS Value transfer Type reference (TYPE) S2L_PLNG_SEGMENTS standard table of s2l_plng_segment_ref 20001215
# Exception Resumable Description Created on
1 X_INVALID unzulässiger Aufruf 20010115

Method REGISTER_LUW_HANDLERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACTIVATION Value transfer Type reference (TYPE) RM_FLAG RM_XFLAG für 'set handler' 20010211

Method REGISTER_LUW_HANDLERS on class CL_PLNG_MODEL_S2L has no exception.

Method RESET Signature

Method RESET on class CL_PLNG_MODEL_S2L has no parameter.
Method RESET on class CL_PLNG_MODEL_S2L has no exception.

Method SAVE Signature

Method SAVE on class CL_PLNG_MODEL_S2L has no parameter.
# Exception Resumable Description Created on
1 FAILED unzulässiger Aufruf 20010206

Method SET_MODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing NEW_MODE Value transfer Type reference (TYPE) S2L_PLNG_SEGMENT_MODE Verarbeitungsmodus (displ, repl, stcorr) 20010803
2 Importing NO_AUTO_REFRESH Value transfer Type reference (TYPE) RM_FLAG Automatischen Refresh unterdrücken 20010806
3 Importing SEGMENTS Call by reference Type reference (TYPE) S2L_PLNG_SEGMENTS standard table of s2l_plng_segment_ref 20010803
# Exception Resumable Description Created on
1 X_INVALID unzulässiger Aufruf 20010803

Method SET_OLDEST_REFRESH Signature

Method SET_OLDEST_REFRESH on class CL_PLNG_MODEL_S2L has no parameter.
Method SET_OLDEST_REFRESH on class CL_PLNG_MODEL_S2L has no exception.
Event Signatures

Event CHANGED Signature
Event CHANGED on class CL_PLNG_MODEL_S2L has no parameter.
History
Last changed by/on SAP  20050301 
SAP Release Created in 46C2