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 | 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
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 | Static Attribute | Public | Type reference (TYPE) | S2L_PLNG_HORIZON_DATE | Date Marking the End of the Planning Horizon | 20020426 | |||
| 2 | Static Attribute | Public | Type reference (TYPE) | S2L_USE_PLHOR_FOR_ALL | Use Planning Horizon for all Supply Segments | 20020410 | |||
| 3 | Static Attribute | Public | Type reference (TYPE) | S2L_ALT_PLNG_HORIZON | Override Planning Horizon | 20020626 | |||
| 4 | Static Attribute | Public | Type reference (TYPE) | S2L_PLNG_HORIZON_TIME | Time Marking the End of the Planning Horizon | 20020426 | |||
| 5 | Instance attribute | Public | Type reference (TYPE) | S2L_PLNG_MODEL_DELTA | Delta Information for cl_plng_model_s2l | 20010111 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | BAL_S_SCNT | Application Log: Statistics: Message Type Counter | 20010302 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | S2L_TIMESTAMP | Time of Oldest Refresh | 20020522 | |||
| 8 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_PROTOCOL_HANDLER_S2L | Log Handler | 20010620 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | S2L_PLNG_SEGMENTS | Planning Segment (Sorted According to Root) | 20001213 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | S2L_PLNG_MODEL_STATE | Processing Status (Start, In Process, End) | 20010208 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | ST_SEG_1_TO_N_MAP | gen(root) --> segment | 20010116 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | ST_SEG_1_TO_1_MAP | gen(root) restricted by spec_bound --> segment | 20010116 | |||
| 13 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_SUPPLY_SITUATION_S2L | Supply Situation | 20001215 | |||
| 14 | Instance attribute | Public | Type reference (TYPE) | RM_FLAG | Indicator: Synchronous Update | 20010211 | |||
| 15 | 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 | Instance method | Public | Method | Add New Planning Segment | 20010109 | |
| 2 | Instance method | Private | Method | SAP LUW Introduction | 20010803 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20001215 | |
| 4 | Instance method | Public | Method | Gets the Time of the Refresh | 20020522 | |
| 5 | Instance method | Public | Method | Gets Planning Segments for Stock_types | 20010104 | |
| 6 | Instance method | Public | Method | Mark Segment for Planning | 20010204 | |
| 7 | Instance method | Public | Method | Mark Segment for Planning | 20010221 | |
| 8 | Instance method | Public | Method | Check Delta and If Necessary Trigger Change Event | 20010111 | |
| 9 | Instance method | Private | Event handling method | Handler for Commit | 20010211 | |
| 10 | Instance method | Private | Event handling method | Handler for LUW Completion | 20010211 | |
| 11 | Instance method | Private | Event handling method | Handler for Rollback | 20010211 | |
| 12 | Instance method | Private | Event handling method | Delta Handling for New Stock Type | 20010111 | |
| 13 | Instance method | Private | Event handling method | Delta Handling for supply_situation | 20010111 | |
| 14 | Instance method | Public | Method | Creates a Print List for Supply Situation | 20010126 | |
| 15 | Instance method | Public | Method | (Re)reading External Data for Planning Segments | 20001215 | |
| 16 | Instance method | Private | Method | Handler for Registering LUW Handling | 20010211 | |
| 17 | Instance method | Public | Method | Reset All | 20010107 | |
| 18 | Instance method | Public | Method | Save Replenishment Proposals for Specified Segments | 20010206 | |
| 19 | Instance method | Public | Method | Setting Processing Mode for Several Planning Segments | 20010803 | |
| 20 | 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 | PSEG | Value transfer | Object reference (TYPE REF TO) | CL_PLNG_SEGMENT_S2L | Planungssegment | 20010109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | 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 | ONLY_OUTPUT_RANGE | Value transfer | Type reference (TYPE) | RM_FLAG | RM_NOFLAG | Kz.: nur Output-Range der Segmente berücks. (spec_bound) | 20010117 | ||
| 2 | SEGMENTS | Call by reference | Type reference (TYPE) | S2L_PLNG_SEGMENTS_ANY | any table of s2l_plng_segment_ref | 20010104 | |||
| 3 | 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 | MODE | Value transfer | Type reference (TYPE) | S2L_PLANNING_MODE | Planungsmodus | 20010204 | |||
| 2 | SEGMENT | Value transfer | Object reference (TYPE REF TO) | CL_PLNG_SEGMENT_S2L | Planungssegment (ext.: Versorgungsabschnitt) | 20010204 | |||
| 3 | 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 | PLANING_MODE | Value transfer | Type reference (TYPE) | S2L_PLANNING_MODE | Planungsmodus | 20010221 | |||
| 2 | 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 | 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 | 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 | 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 | REFRESH_MODE | Value transfer | Type reference (TYPE) | S2L_REFRESH_MODE | Refresh-Modus (ggf. nur NSchVorschläge) | 20010803 | |||
| 2 | SEGMENTS | Value transfer | Type reference (TYPE) | S2L_PLNG_SEGMENTS | standard table of s2l_plng_segment_ref | 20001215 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | unzulässiger Aufruf | 20010115 |
Method REGISTER_LUW_HANDLERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | unzulässiger Aufruf | 20010206 |
Method SET_MODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NEW_MODE | Value transfer | Type reference (TYPE) | S2L_PLNG_SEGMENT_MODE | Verarbeitungsmodus (displ, repl, stcorr) | 20010803 | |||
| 2 | NO_AUTO_REFRESH | Value transfer | Type reference (TYPE) | RM_FLAG | Automatischen Refresh unterdrücken | 20010806 | |||
| 3 | SEGMENTS | Call by reference | Type reference (TYPE) | S2L_PLNG_SEGMENTS | standard table of s2l_plng_segment_ref | 20010803 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 |