SAP ABAP Class CL_PLNG_SEGMENT_S2L (Planning Segment (Ext.: Supply Segment))
Hierarchy
ECC-DIMP (Software Component) DIMP
   IS-A-S2L (Application Component) Production Supply
     DI_S2L (Package) Production Supply
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_DATA_CONVERTER_S2L Data Converter for Detailed Data 20010104
2 Interface implementation (CLASS c. INTERFACES i_ref)  IF_TIME_CONVERTER_S2L Time Converter 20010104
3 Interface implementation (CLASS c. INTERFACES i_ref)  IF_UNIT_CONVERTER_S2L Converter for Units of Measure 20010104
Properties
Class CL_PLNG_SEGMENT_S2L  
Short Description Planning Segment (Ext.: Supply Segment)    
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
# Interface Abstract Final Description Created on
1 IF_DATA_CONVERTER_S2L Data Converter for Detailed Data 20010104
2 IF_TIME_CONVERTER_S2L Time Converter 20010104
3 IF_UNIT_CONVERTER_S2L Converter for Units of Measure 20010104
Friends
Class CL_PLNG_SEGMENT_S2L has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ABS_PLNG_HORIZON Instance attribute Public Type reference (TYPE) S2L_TIMESTAMP Absolute End of Planning Horizon 20010114
2 BADI_PROPOSAL_CREATOR Static Attribute Public Object reference (TYPE REF TO) IF_EX_S2L_PROPOSAL_CREATOR BAdI Interface IF_EX_S2L_PROPOSAL_CREATOR 20020411
3 BASE_UOM Instance attribute Public Type reference (TYPE) MEINS Base Unit of Measure 20010104
4 CALC_PLAIN Instance attribute Protected Object reference (TYPE REF TO) CL_PLNG_CALCULATION_S2L Missing Qty Calculation (Without Replenishment Proposal) 20001227
5 CALC_REPL Instance attribute Protected Object reference (TYPE REF TO) CL_PLNG_CALCULATION_S2L Missing Quantity Calculation (With Replenishment Proposal) 20001227
6 CONTROL Instance attribute Public Object reference (TYPE REF TO) CL_PSEG_CONTROL_S2L Planning Control (for Segment) 20010109
7 EARLIEST_REPL_TIME Instance attribute Public Type reference (TYPE) S2L_TIMESTAMP Earliest Time of Replenishment 20010212
8 EXTENSION Static Attribute Public Object reference (TYPE REF TO) IF_EX_S2L_PLNG_SEG_EXTEN BAdI Interface IF_EX_S2L_PLNG_SEG_EXTEN 20010713
9 ITEMS Instance attribute Public Type reference (TYPE) S2L_PLNG_ITEMS Planning Items, Sorted According to calc_repl 20001129
10 MODE Instance attribute Public Type reference (TYPE) S2L_PLNG_SEGMENT_MODE Processing Mode (displ, repl, stcorr) 20010115
11 MODEL Instance attribute Public Object reference (TYPE REF TO) CL_PLNG_MODEL_S2L Planning Model 20001215
12 MODE_AT_LAST_REFRESH Instance attribute Public Type reference (TYPE) S2L_PLNG_SEGMENT_MODE Active Mode at Last Refresh 20010803
13 NOW Instance attribute Public Type reference (TYPE) S2L_TIMESTAMP Logical "Now" (Will Be Set During Refresh) 20010111
14 PLANNING_MODE Instance attribute Public Type reference (TYPE) S2L_PLANNING_MODE S2L_NO_PLANNING Planning file entry 20010126
15 PLNG_CALC_FACTORY Static Attribute Public Object reference (TYPE REF TO) IF_EX_S2L_PLN_CALC_FACTORY BAdI Interface IF_EX_S2L_PLN_CALC_FACTORY 20020410
16 PREF_ABS_PLNG_HORIZON Instance attribute Public Type reference (TYPE) S2L_TIMESTAMP Absolute End of Preferred Planning Horizon 20020425
17 PREF_ABS_PLNG_HORIZON_SET Instance attribute Public Type reference (TYPE) S2L_ALT_PLNG_HORIZON Override Planning Horizon 20020626
18 REPL_PROP_QTY Instance attribute Protected Type reference (TYPE) S2L_REPL_PROP_QTY Total of Replenishment Proposals 20010104
19 ROOT Instance attribute Public Object reference (TYPE REF TO) CL_STOCK_TYPE_S2L Root Stock Type 20001213
20 SPEC_BOUND Instance attribute Public Type reference (TYPE) S2L_STOCK_KEYS Max. Specialization Level Considered for Missing Quantities 20001213
21 WISH_REPL_PROP_QTY Instance attribute Public Type reference (TYPE) S2L_REPL_PROP_QTY Desired Qty of Replenishment Proposals (for Regen.Plannning) 20010126
Methods
# Method Level Visibility Method type Description Created on
1 ADD_ITEMS_OF_ELEMENT Instance method Private Method Add Items from the Specified Object 20010116
2 CHECK_MERGABILITY_OF_PROPOSAL Instance method Private Method Check Whether Replenishment Proposal Can Be Merged 20010219
3 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20010619
4 CREATE_CALCULATION Instance method Public Method Create Missing Quantity Calculation and Define repl_prop_qty 20001215
5 CREATE_PLAN Instance method Public Method Create Replenishment Proposals (Internal Application!!) 20010126
6 CREATE_PROPOSALS Instance method Private Method Create Replenishment Proposals for Missing Quantities 20010204
7 DELETE_ALL_REPL_PROPOSALS Instance method Public Method Deletes all Replenishment Proposals in Supply Segment 20020522
8 GET_DETAILS Instance method Public Method Determine Detailed Data 20010104
9 GET_ITEM_CALC_DETAILS Instance method Public Method Determine Detailed Data for an Item with Interim Result 20010104
10 GET_SEQ_INFOS Instance method Public Method Delivery Sequence Information to a Segment 20010713
11 MERGE_OR_CREATE_PROPOSAL Instance method Private Method Merge or Create Replenishment Proposal 20010219
12 PREPARE_CALCULATION Instance method Private Method Prepare Items for Missing Quantity Calculation 20010204
13 PROCESS_MISS_QTY Instance method Private Method Create/Adjust Replenishment Proposals from Missing Qty Rec. 20010219
14 REBUILD_ITEMS Instance method Private Method Generate New Items from Supply Situation 20010204
15 REFRESH_FROM_SUPPLY_SITUATION Instance method Public Method Generate New Items from Supply Situation 20010104
16 SIM_CALCULATION_MISS_QTY Instance method Private Method Execute Simulative Missing Quantity Calculation 20020409
17 TO_BASE_UOM Instance method Public Method 20010104
18 TO_DATE_AND_TIME Instance method Public Method 20010104
19 TO_TIMESTAMP Instance method Public Method 20010104
20 TO_USED_UOM Instance method Public Method 20010104
21 USED_TZONE Instance method Public Method 20010104
22 USED_UOM Instance method Public Method 20010104
Events
Class CL_PLNG_SEGMENT_S2L has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 REPL_PROPOSALS Private See coding standard table of s2l_repl_proposal_ref 20020515
Method Signatures

Method ADD_ITEMS_OF_ELEMENT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ELEMENT Value transfer Object reference (TYPE REF TO) CL_PLNG_ELEMENT_S2L Planungselement 20010116

Method ADD_ITEMS_OF_ELEMENT on class CL_PLNG_SEGMENT_S2L has no exception.

Method CHECK_MERGABILITY_OF_PROPOSAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing EXISTING_RPROPS Call by reference Type reference (TYPE) REPL_PROPOSALS existierende Nachschubvorschläge 20010824
2 Exporting GROUP_QTY Value transfer Type reference (TYPE) S2L_QUANTITY bisherige NSchMg. anderer NSchV. in derselben Gruppe 20010824
3 Exporting MERGABLE_RPROPS Value transfer Type reference (TYPE) REPL_PROPOSALS Erweiterbare NSchVorschläge 20011027
4 Importing PLNG_PARAMS Call by reference Type reference (TYPE) S2L_PLNG_PARAMS Planungsparameter 20010219
5 Importing QUANTITY Value transfer Type reference (TYPE) S2L_MISS_QTY Fehlmenge 20010219
6 Importing STOCK_TYPE Value transfer Object reference (TYPE REF TO) CL_STOCK_TYPE_S2L Bestandstyp der Fehlmenge 20010219
7 Importing TIMESTAMP Value transfer Type reference (TYPE) S2L_TIMESTAMP Unterdeckungstermin 20010219

Method CHECK_MERGABILITY_OF_PROPOSAL on class CL_PLNG_SEGMENT_S2L has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_PLNG_SEGMENT_S2L has no parameter.
Method CLASS_CONSTRUCTOR on class CL_PLNG_SEGMENT_S2L has no exception.

Method CREATE_CALCULATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PLAIN Value transfer Type reference (TYPE) RM_FLAG Rechnung ohne Nachschubelementen aktualisieren 20010126
2 Importing REPL Value transfer Type reference (TYPE) RM_FLAG Rechnung mit Nachschubelementen aktualisieren 20010126

Method CREATE_CALCULATION on class CL_PLNG_SEGMENT_S2L has no exception.

Method CREATE_PLAN Signature

Method CREATE_PLAN on class CL_PLNG_SEGMENT_S2L has no parameter.
Method CREATE_PLAN on class CL_PLNG_SEGMENT_S2L has no exception.

Method CREATE_PROPOSALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MAX_NEW_RPROP_QTY Value transfer Type reference (TYPE) S2L_REPL_PROP_QTY Obergrenze für Menge neu erzeugter NSchVorschläge 20010220
2 Importing PLNG_PARAMS Call by reference Type reference (TYPE) S2L_PLNG_PARAMS Planungsparameter für dieses Segment 20010219
3 Importing SIM_CALC Value transfer Object reference (TYPE REF TO) CL_PLNG_CALCULATION_S2L Simulative Fehlmengechnung 20020409

Method CREATE_PROPOSALS on class CL_PLNG_SEGMENT_S2L has no exception.

Method DELETE_ALL_REPL_PROPOSALS Signature

Method DELETE_ALL_REPL_PROPOSALS on class CL_PLNG_SEGMENT_S2L has no parameter.
Method DELETE_ALL_REPL_PROPOSALS on class CL_PLNG_SEGMENT_S2L has no exception.

Method GET_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATA_CONVERTER Value transfer Object reference (TYPE REF TO) IF_DATA_CONVERTER_S2L Datenkonvertierer für Detaildaten 20010108
2 Exporting DETAILS Call by reference Type reference (TYPE) S2L_PLNG_SEG_DETAILS Details für Planungssegment 20010104
# Exception Resumable Description Created on
1 UNIT_CONVERSION_ERROR Konvertierungsfehler bei Mengenumrechnung 20010104
2 X_INVALID_TIME Konvertierungsfehler bei Zeitumrechnung 20010104

Method GET_ITEM_CALC_DETAILS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DATA_CONVERTER Value transfer Object reference (TYPE REF TO) IF_DATA_CONVERTER_S2L Datenkonvertierer für Detaildaten 20010108
2 Exporting DETAILS Call by reference Type reference (TYPE) S2L_PLNG_ITEM_CALC_DETAILS Details zum Item mit Zwischenrechnungserg. 20010104
3 Importing ITEM Value transfer Object reference (TYPE REF TO) CL_PLNG_ITEM_S2L Planungsposition 20010104
# Exception Resumable Description Created on
1 UNIT_CONVERSION_ERROR Konvertierungsfehler bei Mengenumrechnung 20010104
2 X_INVALID_TIME Konvertierungsfehler bei Zeitumrechnung 20010104

Method GET_SEQ_INFOS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting SEQ_INFOS Call by reference Type reference (TYPE) S2L_SEQ_INFOS standard table of s2l_seq_info 20010713

Method GET_SEQ_INFOS on class CL_PLNG_SEGMENT_S2L has no exception.

Method MERGE_OR_CREATE_PROPOSAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing ALL_RPROPS Call by reference Type reference (TYPE) REPL_PROPOSALS alle Nachschubvorschläge in diesem Segment 20010824
2 Exporting EFF_NEW_QTY Value transfer Type reference (TYPE) S2L_QUANTITY gesamte neu erzeugte eff. NSchVorschlagsmenge 20010823
3 Importing EXISTING_RPROPS Call by reference Type reference (TYPE) REPL_PROPOSALS existierende Nachschubvorschläge 20011027
4 Importing GROUP_QTY Value transfer Type reference (TYPE) S2L_QUANTITY bisherige NSchMg. anderer NSchV. in derselben Gruppe 20010824
5 Importing PLNG_PARAMS Call by reference Type reference (TYPE) S2L_PLNG_PARAMS Planungsparameter 20010219
6 Importing QUANTITY Value transfer Type reference (TYPE) S2L_MISS_QTY Fehlmenge 20010219
7 Exporting REM_GROUP_QTY Value transfer Type reference (TYPE) S2L_QUANTITY Mg., die in dieser Gruppe noch vergeben werden muss 20010824
8 Importing STOCK_TYPE Value transfer Object reference (TYPE REF TO) CL_STOCK_TYPE_S2L Bestandstyp der Fehlmenge 20010219
9 Importing TIMESTAMP Value transfer Type reference (TYPE) S2L_TIMESTAMP Unterdeckungstermin 20010219

Method MERGE_OR_CREATE_PROPOSAL on class CL_PLNG_SEGMENT_S2L has no exception.

Method PREPARE_CALCULATION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PLAIN Value transfer Type reference (TYPE) RM_FLAG Rechnung ohne Nachschubelementen aktualisieren 20010204
2 Exporting RECS_PLAIN Call by reference Type reference (TYPE) S2L_PLNG_ITEMS standard table of s2l_plng_item_ref 20010204
3 Exporting RECS_REPL Call by reference Type reference (TYPE) S2L_PLNG_ITEMS standard table of s2l_plng_item_ref 20010204
4 Importing REPL Value transfer Type reference (TYPE) RM_FLAG Rechnung mit Nachschubelementen aktualisieren 20010204
5 Exporting REPL_PROP_QTY Call by reference Type reference (TYPE) S2L_REPL_PROP_QTY Summe der Nachschubvorschläge 20010204
6 Exporting REQS Call by reference Type reference (TYPE) S2L_PLNG_ITEMS standard table of s2l_plng_item_ref 20010204

Method PREPARE_CALCULATION on class CL_PLNG_SEGMENT_S2L has no exception.

Method PROCESS_MISS_QTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing ALL_RPROPS Call by reference Type reference (TYPE) REPL_PROPOSALS alle Nachschubvorschläge in diesem Segment 20010824
2 Importing AT_LEAST Value transfer Type reference (TYPE) S2L_MISS_QTY Mindestnachschubmenge wegen Rundung 20011026
3 Changing DELTA_STOCK_TYPE Call by reference Object reference (TYPE REF TO) CL_STOCK_TYPE_S2L (allgemeinster) Bestandstyp der Verschnittmenge 20010219
4 Changing MAX_NEW_RPROP_QTY Call by reference Type reference (TYPE) S2L_REPL_PROP_QTY zu vergebende Restnachschubvorschlagsmenge (wird angepasst) 20010220
5 Importing PLNG_PARAMS Call by reference Type reference (TYPE) S2L_PLNG_PARAMS Planungsparameter 20010219
6 Importing QUANTITY Value transfer Type reference (TYPE) S2L_MISS_QTY Fehlmenge 20010219
7 Exporting REM_GROUP_QTY Value transfer Type reference (TYPE) S2L_QUANTITY Menge, die innerhalb der Gruppe noch vergeben werden muss 20010824
8 Changing ROUNDING_DELTA Call by reference Type reference (TYPE) S2L_QUANTITY Verschnitt aus vorhergehenden Rundungen 20010219
9 Importing STOCK_TYPE Value transfer Object reference (TYPE REF TO) CL_STOCK_TYPE_S2L Bestandstyp der Fehlmenge 20010219
10 Importing TIMESTAMP Value transfer Type reference (TYPE) S2L_TIMESTAMP Unterdeckungstermin 20010219

Method PROCESS_MISS_QTY on class CL_PLNG_SEGMENT_S2L has no exception.

Method REBUILD_ITEMS Signature

Method REBUILD_ITEMS on class CL_PLNG_SEGMENT_S2L has no parameter.
Method REBUILD_ITEMS on class CL_PLNG_SEGMENT_S2L has no exception.

Method REFRESH_FROM_SUPPLY_SITUATION Signature

Method REFRESH_FROM_SUPPLY_SITUATION on class CL_PLNG_SEGMENT_S2L has no parameter.
Method REFRESH_FROM_SUPPLY_SITUATION on class CL_PLNG_SEGMENT_S2L has no exception.

Method SIM_CALCULATION_MISS_QTY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting CALC_SIM_REPL Value transfer Object reference (TYPE REF TO) CL_PLNG_CALCULATION_S2L Simulative Fehlmengenrechnung 20020410
2 Importing MAX_NEW_RPROP_QTY Value transfer Type reference (TYPE) S2L_REPL_PROP_QTY Obergrenze für Menge neu erzeugter NSchVorschläge 20020409
3 Importing PLNG_PARAMS Value transfer Type reference (TYPE) S2L_PLNG_PARAMS Planungsparameter für dieses Segment 20020409

Method SIM_CALCULATION_MISS_QTY on class CL_PLNG_SEGMENT_S2L has no exception.

Method TO_BASE_UOM Signature

Method TO_BASE_UOM on class CL_PLNG_SEGMENT_S2L has no parameter.
Method TO_BASE_UOM on class CL_PLNG_SEGMENT_S2L has no exception.

Method TO_DATE_AND_TIME Signature

Method TO_DATE_AND_TIME on class CL_PLNG_SEGMENT_S2L has no parameter.
Method TO_DATE_AND_TIME on class CL_PLNG_SEGMENT_S2L has no exception.

Method TO_TIMESTAMP Signature

Method TO_TIMESTAMP on class CL_PLNG_SEGMENT_S2L has no parameter.
Method TO_TIMESTAMP on class CL_PLNG_SEGMENT_S2L has no exception.

Method TO_USED_UOM Signature

Method TO_USED_UOM on class CL_PLNG_SEGMENT_S2L has no parameter.
Method TO_USED_UOM on class CL_PLNG_SEGMENT_S2L has no exception.

Method USED_TZONE Signature

Method USED_TZONE on class CL_PLNG_SEGMENT_S2L has no parameter.
Method USED_TZONE on class CL_PLNG_SEGMENT_S2L has no exception.

Method USED_UOM Signature

Method USED_UOM on class CL_PLNG_SEGMENT_S2L has no parameter.
Method USED_UOM on class CL_PLNG_SEGMENT_S2L has no exception.
History
Last changed by/on SAP  20050301 
SAP Release Created in 46C2