SAP ABAP Class CL_PLMIFO_ECN_MATERIAL_STOCKS (CL_PLMIFO_ECN_MATERIAL_STOCKS)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
PLM-IFO (Application Component) Interactive Forms
⤷
PLMIFO_ECN (Package) Interactive Forms in PLM - Change Request
⤷
⤷
Properties
| Class | CL_PLMIFO_ECN_MATERIAL_STOCKS | |
| Short Description | ||
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | PLMIFO_ECN | |
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | PLMIFO_ECN | Interactive Forms in PLM - Change Request |
| Created | 20040113 | SAP |
| Last change | 20040819 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_PLMIFO_ECN_MATERIAL_STOCKS has no forward declaration.
Interfaces
Class CL_PLMIFO_ECN_MATERIAL_STOCKS has no interface implemented.
Friends
Class CL_PLMIFO_ECN_MATERIAL_STOCKS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | BUSTR | 551 | Posting String Reference (Inventory Mgmt) for Scrapping | 20040114 | ||
| 2 | Constant | Public | Type reference (TYPE) | BWART | 551 | Default Movement Type (Inventory Management) for Scrapping | 20040114 | ||
| 3 | Constant | Public | Type reference (TYPE) | BOOLE_D | ' ' | Incorrect | 20040114 | ||
| 4 | Constant | Private | Type reference (TYPE) | BAPI2017_GM_CODE | '03' | MMIM: New Key Assignment GM_CODE to Transaction of Inv. Mgmt | 20040115 | ||
| 5 | Constant | Public | Type reference (TYPE) | BOOLE_D | 'X' | True | 20040114 | ||
| 6 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_EX_PLMIFO_ECN_MAT_STOCK | BAdI Interface IF_EX_PLMIFO_ECN_MAT_STOCK | 20040115 | |||
| 7 | Static Attribute | Private | Type reference (TYPE) | TT_SLOC | Table for Storage Locations | 20040113 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | MEINS | Base Unit of Measure | 20040114 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | BOOLE_D | Exit Handler Was Called | 20040115 | |||
| 10 | Static Attribute | Private | Type reference (TYPE) | MATNR | Material Number | 20040114 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Execute Authorization Check | 20040113 | |
| 2 | Static method | Private | Method | Check Input Parameter | 20040113 | |
| 3 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20040113 | |
| 4 | Static method | Private | Method | Determine Organizational Units | 20040113 | |
| 5 | Static method | Private | Method | Returns BAdI Instance | 20040115 | |
| 6 | Static method | Public | Method | Display Current Unrestricted-Use Stock | 20040312 | |
| 7 | Static method | Private | Method | Post Material Document | 20040114 | |
| 8 | Static method | Private | Method | Prepare Material Document Header | 20040114 | |
| 9 | Static method | Private | Method | Prepare Material Document Item | 20040114 | |
| 10 | Static method | Public | Method | Display Current Unrestricted-Use Stock | 20040312 | |
| 11 | Static method | Private | Method | Select data | 20040114 | |
| 12 | Static method | Private | Method | Total Stock | 20040114 |
Events
Class CL_PLMIFO_ECN_MATERIAL_STOCKS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_MAT_INFO | Private | See coding | 20040114 | BEGIN OF ts_mat_info,
matnr TYPE matnr,
werks TYPE werks_d,
xchar TYPE xchar,
meins TYPE meins,
END OF ts_mat_info
|
||
| 2 | TS_SLOC | Private | See coding | Structure for Storage Locations | 20040113 | BEGIN OF ts_sloc,
werks TYPE werks_d,
lgort TYPE lgort_d,
END OF ts_sloc
|
|
| 3 | TT_MAT_INFO | Private | See coding | 20040114 | tt_mat_info TYPE SORTED TABLE OF ts_mat_info WITH UNIQUE KEY matnr werks
|
||
| 4 | TT_SLOC | Private | See coding | Table for Storage Locations | 20040113 | tt_sloc TYPE SORTED TABLE OF ts_sloc WITH UNIQUE KEY werks lgort
|
Method Signatures
Method CHECK_AUTHORIZATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20040114 |
Method CHECK_AUTHORIZATION on class CL_PLMIFO_ECN_MATERIAL_STOCKS has no exception.
Method CHECK_PARAMETERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20040113 | |||
| 2 | IT_PLANT_RANGE | Call by reference | Type reference (TYPE) | PLMIFO_TT_PLANT_RANGE | Rangestabelle für Werk | 20040113 | |||
| 3 | IV_COSTCENTER | Call by reference | Type reference (TYPE) | KOSTL | Kostenstelle | 20040114 | |||
| 4 | IV_MATERIAL | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20040113 | |||
| 5 | IV_MOVE_TYPE | Call by reference | Type reference (TYPE) | BWART | Bewegungsart (Bestandsführung) | 20040114 |
Method CHECK_PARAMETERS on class CL_PLMIFO_ECN_MATERIAL_STOCKS has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_PLMIFO_ECN_MATERIAL_STOCKS has no parameter.
Method CLASS_CONSTRUCTOR on class CL_PLMIFO_ECN_MATERIAL_STOCKS has no exception.
Method DETERMINE_ORG_UNITS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20040115 | |||
| 2 | IT_PLANT_RANGE | Call by reference | Type reference (TYPE) | PLMIFO_TT_PLANT_RANGE | Rangestabelle für Werk | 20040113 |
Method DETERMINE_ORG_UNITS on class CL_PLMIFO_ECN_MATERIAL_STOCKS has no exception.
Method GET_BADI_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_INSTANCE | Value transfer | Object reference (TYPE REF TO) | IF_EX_PLMIFO_ECN_MAT_STOCK | BAdI-Interface IF_EX_PLMIFO_ECN_MAT_STOCK | 20040115 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | interner Fehler | 20040115 |
Method GET_CURRENT_STOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20040312 | |||
| 2 | EV_BASE_UOM | Call by reference | Type reference (TYPE) | MEINS | Basismengeneinheit | 20040312 | |||
| 3 | EV_CURRENT_STOCK | Call by reference | Type reference (TYPE) | LABST | Bewerteter, frei verwendbarer Bestand | 20040420 | |||
| 4 | IT_PLANT_RANGE | Call by reference | Type reference (TYPE) | PLMIFO_TT_PLANT_RANGE | Rangestabelle für Werk | 20040312 | |||
| 5 | IV_MATERIAL | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20040312 |
Method GET_CURRENT_STOCK on class CL_PLMIFO_ECN_MATERIAL_STOCKS has no exception.
Method POST_MATERIAL_DOCUMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20040115 | |||
| 2 | EV_GM_HEAD_RET | Call by reference | Type reference (TYPE) | BAPI2017_GM_HEAD_RET | MMIM: Outputstruktur für allgemeinen FB Warenbewegung buchen | 20040115 | |||
| 3 | IS_GM_HEADER | Call by reference | Type reference (TYPE) | BAPI2017_GM_HEAD_01 | BAPI-Kommunikationsstruktur: Materialbeleg Kopfdaten | 20040115 | |||
| 4 | IT_GM_ITEM | Call by reference | Type reference (TYPE) | BAPI2017_GM_ITEM_CREATE_T | BAPI-Kommunikationsstruktur: Materialbelegposition anlegen | 20040115 | |||
| 5 | IV_GM_CODE | Call by reference | Type reference (TYPE) | BAPI2017_GM_CODE | MMIM: Umschlüsselung GM_CODE auf Transaktion der BestFührung | 20040115 | |||
| 6 | IV_TESTRUN | Call by reference | Type reference (TYPE) | TESTRUN | Umschalten auf Simulations-Modus bei schreibenden BAPIs | 20040115 |
Method POST_MATERIAL_DOCUMENT on class CL_PLMIFO_ECN_MATERIAL_STOCKS has no exception.
Method PREPARE_MAT_DOC_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_GM_HEADER | Call by reference | Type reference (TYPE) | BAPI2017_GM_HEAD_01 | BAPI-Kommunikationsstruktur: Materialbeleg Kopfdaten | 20040115 | |||
| 2 | IV_FILTER | Call by reference | Type reference (TYPE) | PLMIFO_TV_FILTER | Filterwert | 20040115 | |||
| 3 | IV_PSTNG_DATE | Call by reference | Type reference (TYPE) | BUDAT | SY-DATLO | Buchungsdatum im Beleg | 20040114 |
Method PREPARE_MAT_DOC_HEADER on class CL_PLMIFO_ECN_MATERIAL_STOCKS has no exception.
Method PREPARE_MAT_DOC_ITEM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_GM_ITEM | Call by reference | Type reference (TYPE) | BAPI2017_GM_ITEM_CREATE_T | Materialbelegpositionen | 20040115 | |||
| 2 | IT_STOCK_INFO | Call by reference | Type reference (TYPE) | TT_STOCK_INFO | 20040115 | ||||
| 3 | IV_COSTCENTER | Call by reference | Type reference (TYPE) | KOSTL | Kostenstelle | 20040115 | |||
| 4 | IV_FILTER | Call by reference | Type reference (TYPE) | PLMIFO_TV_FILTER | Filterwert | 20040115 | |||
| 5 | IV_MOVE_REAS | Call by reference | Type reference (TYPE) | MB_GRBEW | Grund der Bewegung | 20040115 | |||
| 6 | IV_MOVE_TYPE | Call by reference | Type reference (TYPE) | BWART | Bewegungsart (Bestandsführung) | 20040115 |
Method PREPARE_MAT_DOC_ITEM on class CL_PLMIFO_ECN_MATERIAL_STOCKS has no exception.
Method SCRAP_CURRENT_STOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_RETURN | Call by reference | Type reference (TYPE) | BAPIRETTAB | Tabelle mit BAPI Return Informationen | 20040312 | |||
| 2 | EV_GM_HEAD_RET | Call by reference | Type reference (TYPE) | BAPI2017_GM_HEAD_RET | MMIM: Outputstruktur für allgemeinen FB Warenbewegung buchen | 20040312 | |||
| 3 | IT_PLANT_RANGE | Call by reference | Type reference (TYPE) | PLMIFO_TT_PLANT_RANGE | Rangestabelle für Werk | 20040312 | |||
| 4 | IV_COSTCENTER | Call by reference | Type reference (TYPE) | KOSTL | Kostenstelle | 20040312 | |||
| 5 | IV_FILTER | Call by reference | Type reference (TYPE) | PLMIFO_TV_FILTER | Filterwert | 20040312 | |||
| 6 | IV_MATERIAL | Call by reference | Type reference (TYPE) | MATNR | Materialnummer | 20040312 | |||
| 7 | IV_MOVE_REAS | Call by reference | Type reference (TYPE) | MB_GRBEW | Grund der Bewegung | 20040312 | |||
| 8 | IV_MOVE_TYPE | Call by reference | Type reference (TYPE) | BWART | Bewegungsart (Bestandsführung) | 20040312 | |||
| 9 | IV_PSTNG_DATE | Call by reference | Type reference (TYPE) | BUDAT | Buchungsdatum im Beleg | 20040312 | |||
| 10 | IV_TESTRUN | Call by reference | Type reference (TYPE) | TESTRUN | Umschalten auf Simulations-Modus bei schreibenden BAPIs | 20040312 |
Method SCRAP_CURRENT_STOCK on class CL_PLMIFO_ECN_MATERIAL_STOCKS has no exception.
Method SELECT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_STOCK_INFO | Call by reference | Type reference (TYPE) | TT_STOCK_INFO | 20040114 | ||||
| 2 | IV_BATCH_LEVEL | Call by reference | Type reference (TYPE) | BOOLE_D | Daten auf Chargenebene erforderlich? | 20040114 |
Method SELECT_DATA on class CL_PLMIFO_ECN_MATERIAL_STOCKS has no exception.
Method SUM_STOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_STOCK_INFO | Call by reference | Type reference (TYPE) | TT_STOCK_INFO | 20040114 | ||||
| 2 | RV_CURRENT_STOCK | Value transfer | Type reference (TYPE) | LABST | Bewerteter, frei verwendbarer Bestand | 20040420 |
Method SUM_STOCK on class CL_PLMIFO_ECN_MATERIAL_STOCKS has no exception.
History
| Last changed by/on | SAP | 20040819 |
| SAP Release Created in | 500 |