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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | 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 | Instance attribute | Public | Type reference (TYPE) | S2L_TIMESTAMP | Absolute End of Planning Horizon | 20010114 | |||
| 2 | Static Attribute | Public | Object reference (TYPE REF TO) | IF_EX_S2L_PROPOSAL_CREATOR | BAdI Interface IF_EX_S2L_PROPOSAL_CREATOR | 20020411 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | MEINS | Base Unit of Measure | 20010104 | |||
| 4 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_PLNG_CALCULATION_S2L | Missing Qty Calculation (Without Replenishment Proposal) | 20001227 | |||
| 5 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_PLNG_CALCULATION_S2L | Missing Quantity Calculation (With Replenishment Proposal) | 20001227 | |||
| 6 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_PSEG_CONTROL_S2L | Planning Control (for Segment) | 20010109 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | S2L_TIMESTAMP | Earliest Time of Replenishment | 20010212 | |||
| 8 | Static Attribute | Public | Object reference (TYPE REF TO) | IF_EX_S2L_PLNG_SEG_EXTEN | BAdI Interface IF_EX_S2L_PLNG_SEG_EXTEN | 20010713 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | S2L_PLNG_ITEMS | Planning Items, Sorted According to calc_repl | 20001129 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | S2L_PLNG_SEGMENT_MODE | Processing Mode (displ, repl, stcorr) | 20010115 | |||
| 11 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_PLNG_MODEL_S2L | Planning Model | 20001215 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | S2L_PLNG_SEGMENT_MODE | Active Mode at Last Refresh | 20010803 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | S2L_TIMESTAMP | Logical "Now" (Will Be Set During Refresh) | 20010111 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | S2L_PLANNING_MODE | S2L_NO_PLANNING | Planning file entry | 20010126 | ||
| 15 | Static Attribute | Public | Object reference (TYPE REF TO) | IF_EX_S2L_PLN_CALC_FACTORY | BAdI Interface IF_EX_S2L_PLN_CALC_FACTORY | 20020410 | |||
| 16 | Instance attribute | Public | Type reference (TYPE) | S2L_TIMESTAMP | Absolute End of Preferred Planning Horizon | 20020425 | |||
| 17 | Instance attribute | Public | Type reference (TYPE) | S2L_ALT_PLNG_HORIZON | Override Planning Horizon | 20020626 | |||
| 18 | Instance attribute | Protected | Type reference (TYPE) | S2L_REPL_PROP_QTY | Total of Replenishment Proposals | 20010104 | |||
| 19 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_STOCK_TYPE_S2L | Root Stock Type | 20001213 | |||
| 20 | Instance attribute | Public | Type reference (TYPE) | S2L_STOCK_KEYS | Max. Specialization Level Considered for Missing Quantities | 20001213 | |||
| 21 | 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 | Instance method | Private | Method | Add Items from the Specified Object | 20010116 | |
| 2 | Instance method | Private | Method | Check Whether Replenishment Proposal Can Be Merged | 20010219 | |
| 3 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20010619 | |
| 4 | Instance method | Public | Method | Create Missing Quantity Calculation and Define repl_prop_qty | 20001215 | |
| 5 | Instance method | Public | Method | Create Replenishment Proposals (Internal Application!!) | 20010126 | |
| 6 | Instance method | Private | Method | Create Replenishment Proposals for Missing Quantities | 20010204 | |
| 7 | Instance method | Public | Method | Deletes all Replenishment Proposals in Supply Segment | 20020522 | |
| 8 | Instance method | Public | Method | Determine Detailed Data | 20010104 | |
| 9 | Instance method | Public | Method | Determine Detailed Data for an Item with Interim Result | 20010104 | |
| 10 | Instance method | Public | Method | Delivery Sequence Information to a Segment | 20010713 | |
| 11 | Instance method | Private | Method | Merge or Create Replenishment Proposal | 20010219 | |
| 12 | Instance method | Private | Method | Prepare Items for Missing Quantity Calculation | 20010204 | |
| 13 | Instance method | Private | Method | Create/Adjust Replenishment Proposals from Missing Qty Rec. | 20010219 | |
| 14 | Instance method | Private | Method | Generate New Items from Supply Situation | 20010204 | |
| 15 | Instance method | Public | Method | Generate New Items from Supply Situation | 20010104 | |
| 16 | Instance method | Private | Method | Execute Simulative Missing Quantity Calculation | 20020409 | |
| 17 | Instance method | Public | Method | 20010104 | ||
| 18 | Instance method | Public | Method | 20010104 | ||
| 19 | Instance method | Public | Method | 20010104 | ||
| 20 | Instance method | Public | Method | 20010104 | ||
| 21 | Instance method | Public | Method | 20010104 | ||
| 22 | 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 | 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 | EXISTING_RPROPS | Call by reference | Type reference (TYPE) | REPL_PROPOSALS | existierende Nachschubvorschläge | 20010824 | |||
| 2 | GROUP_QTY | Value transfer | Type reference (TYPE) | S2L_QUANTITY | bisherige NSchMg. anderer NSchV. in derselben Gruppe | 20010824 | |||
| 3 | MERGABLE_RPROPS | Value transfer | Type reference (TYPE) | REPL_PROPOSALS | Erweiterbare NSchVorschläge | 20011027 | |||
| 4 | PLNG_PARAMS | Call by reference | Type reference (TYPE) | S2L_PLNG_PARAMS | Planungsparameter | 20010219 | |||
| 5 | QUANTITY | Value transfer | Type reference (TYPE) | S2L_MISS_QTY | Fehlmenge | 20010219 | |||
| 6 | STOCK_TYPE | Value transfer | Object reference (TYPE REF TO) | CL_STOCK_TYPE_S2L | Bestandstyp der Fehlmenge | 20010219 | |||
| 7 | 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 | PLAIN | Value transfer | Type reference (TYPE) | RM_FLAG | Rechnung ohne Nachschubelementen aktualisieren | 20010126 | |||
| 2 | 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 | MAX_NEW_RPROP_QTY | Value transfer | Type reference (TYPE) | S2L_REPL_PROP_QTY | Obergrenze für Menge neu erzeugter NSchVorschläge | 20010220 | |||
| 2 | PLNG_PARAMS | Call by reference | Type reference (TYPE) | S2L_PLNG_PARAMS | Planungsparameter für dieses Segment | 20010219 | |||
| 3 | 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 | DATA_CONVERTER | Value transfer | Object reference (TYPE REF TO) | IF_DATA_CONVERTER_S2L | Datenkonvertierer für Detaildaten | 20010108 | |||
| 2 | DETAILS | Call by reference | Type reference (TYPE) | S2L_PLNG_SEG_DETAILS | Details für Planungssegment | 20010104 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Konvertierungsfehler bei Mengenumrechnung | 20010104 | ||
| 2 | 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 | DATA_CONVERTER | Value transfer | Object reference (TYPE REF TO) | IF_DATA_CONVERTER_S2L | Datenkonvertierer für Detaildaten | 20010108 | |||
| 2 | DETAILS | Call by reference | Type reference (TYPE) | S2L_PLNG_ITEM_CALC_DETAILS | Details zum Item mit Zwischenrechnungserg. | 20010104 | |||
| 3 | ITEM | Value transfer | Object reference (TYPE REF TO) | CL_PLNG_ITEM_S2L | Planungsposition | 20010104 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Konvertierungsfehler bei Mengenumrechnung | 20010104 | ||
| 2 | Konvertierungsfehler bei Zeitumrechnung | 20010104 |
Method GET_SEQ_INFOS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | ALL_RPROPS | Call by reference | Type reference (TYPE) | REPL_PROPOSALS | alle Nachschubvorschläge in diesem Segment | 20010824 | |||
| 2 | EFF_NEW_QTY | Value transfer | Type reference (TYPE) | S2L_QUANTITY | gesamte neu erzeugte eff. NSchVorschlagsmenge | 20010823 | |||
| 3 | EXISTING_RPROPS | Call by reference | Type reference (TYPE) | REPL_PROPOSALS | existierende Nachschubvorschläge | 20011027 | |||
| 4 | GROUP_QTY | Value transfer | Type reference (TYPE) | S2L_QUANTITY | bisherige NSchMg. anderer NSchV. in derselben Gruppe | 20010824 | |||
| 5 | PLNG_PARAMS | Call by reference | Type reference (TYPE) | S2L_PLNG_PARAMS | Planungsparameter | 20010219 | |||
| 6 | QUANTITY | Value transfer | Type reference (TYPE) | S2L_MISS_QTY | Fehlmenge | 20010219 | |||
| 7 | REM_GROUP_QTY | Value transfer | Type reference (TYPE) | S2L_QUANTITY | Mg., die in dieser Gruppe noch vergeben werden muss | 20010824 | |||
| 8 | STOCK_TYPE | Value transfer | Object reference (TYPE REF TO) | CL_STOCK_TYPE_S2L | Bestandstyp der Fehlmenge | 20010219 | |||
| 9 | 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 | PLAIN | Value transfer | Type reference (TYPE) | RM_FLAG | Rechnung ohne Nachschubelementen aktualisieren | 20010204 | |||
| 2 | RECS_PLAIN | Call by reference | Type reference (TYPE) | S2L_PLNG_ITEMS | standard table of s2l_plng_item_ref | 20010204 | |||
| 3 | RECS_REPL | Call by reference | Type reference (TYPE) | S2L_PLNG_ITEMS | standard table of s2l_plng_item_ref | 20010204 | |||
| 4 | REPL | Value transfer | Type reference (TYPE) | RM_FLAG | Rechnung mit Nachschubelementen aktualisieren | 20010204 | |||
| 5 | REPL_PROP_QTY | Call by reference | Type reference (TYPE) | S2L_REPL_PROP_QTY | Summe der Nachschubvorschläge | 20010204 | |||
| 6 | 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 | ALL_RPROPS | Call by reference | Type reference (TYPE) | REPL_PROPOSALS | alle Nachschubvorschläge in diesem Segment | 20010824 | |||
| 2 | AT_LEAST | Value transfer | Type reference (TYPE) | S2L_MISS_QTY | Mindestnachschubmenge wegen Rundung | 20011026 | |||
| 3 | DELTA_STOCK_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_STOCK_TYPE_S2L | (allgemeinster) Bestandstyp der Verschnittmenge | 20010219 | |||
| 4 | MAX_NEW_RPROP_QTY | Call by reference | Type reference (TYPE) | S2L_REPL_PROP_QTY | zu vergebende Restnachschubvorschlagsmenge (wird angepasst) | 20010220 | |||
| 5 | PLNG_PARAMS | Call by reference | Type reference (TYPE) | S2L_PLNG_PARAMS | Planungsparameter | 20010219 | |||
| 6 | QUANTITY | Value transfer | Type reference (TYPE) | S2L_MISS_QTY | Fehlmenge | 20010219 | |||
| 7 | REM_GROUP_QTY | Value transfer | Type reference (TYPE) | S2L_QUANTITY | Menge, die innerhalb der Gruppe noch vergeben werden muss | 20010824 | |||
| 8 | ROUNDING_DELTA | Call by reference | Type reference (TYPE) | S2L_QUANTITY | Verschnitt aus vorhergehenden Rundungen | 20010219 | |||
| 9 | STOCK_TYPE | Value transfer | Object reference (TYPE REF TO) | CL_STOCK_TYPE_S2L | Bestandstyp der Fehlmenge | 20010219 | |||
| 10 | 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 | CALC_SIM_REPL | Value transfer | Object reference (TYPE REF TO) | CL_PLNG_CALCULATION_S2L | Simulative Fehlmengenrechnung | 20020410 | |||
| 2 | MAX_NEW_RPROP_QTY | Value transfer | Type reference (TYPE) | S2L_REPL_PROP_QTY | Obergrenze für Menge neu erzeugter NSchVorschläge | 20020409 | |||
| 3 | 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 |