Hierarchy
⤷
⤷
Properties
| Class | CL_VMP_MBOM | |
| Short Description | MBOM for Visual Enterprise Planning | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | VMP | Visual Enterprise Planning |
| Created | 20120515 | SAP |
| Last change | 20131127 | 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_VMP_MBOM has no interface implemented.
Friends
Class CL_VMP_MBOM has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | GTY_MBOM | MBOM | 20120524 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | VMP_T_MOD_MBOM | MBOMs for modification | 20120701 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | VMP_S_MBOM_ID | MBOM Id for VMP | 20120620 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | VMP_S_TMATRIX | Transformation matrix for item | 20120705 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | VMP_T_IOVERRIDE | Transformation matrices | 20120628 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | VMP_T_MBOM_ITEM | MBOM Items | 20120516 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | VMP_T_TMATRIX | Transformation matrices | 20120516 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | BOOLE_D | legacy MBOM | 20130820 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20120516 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20120820 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | CS_GUIDB | Global identification of a BOM header change status | 20120516 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | CSTEXT | MBOM Id for VMP | 20120524 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | BOOLE_D | Reused material BOM | 20130802 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Check if the MBOM is existing in the global MBOM buffer | 20120824 | |
| 2 | Instance method | Public | Method | Create MBOM | 20120516 | |
| 3 | Static method | Public | Method | Delete the MBOM from global buffer | 20120821 | |
| 4 | Instance method | Public | Method | Delete MBOM | 20120712 | |
| 5 | Static method | Public | Method | Get Instance with guid | 20120516 | |
| 6 | Static method | Public | Method | Get Instance By Id | 20120613 | |
| 7 | Instance method | Public | Method | Set instance Override | 20130808 | |
| 8 | Instance method | Public | Method | Get items for the current MBOM instance | 20120517 | |
| 9 | Static method | Public | Method | Get the legacy MBOMs | 20130820 | |
| 10 | Instance method | Public | Method | Get MBOM id from GUID from API | 20120803 | |
| 11 | Instance method | Public | Method | Get MBOM Guid of the instance | 20120525 | |
| 12 | Instance method | Public | Method | Get MBOM Id of the instnace | 20120525 | |
| 13 | Static method | Public | Method | Get MBOM items from plant specific system(from backend) | 20120730 | |
| 14 | Instance method | Public | Method | Get text for MBOM | 20120524 | |
| 15 | Instance method | Public | Method | Get Root instance information | 20120705 | |
| 16 | Instance method | Public | Method | Get the Transformation matrix to the instance | 20120520 | |
| 17 | Instance method | Public | Method | Is legacy MBOM | 20130821 | |
| 18 | Instance method | Public | Method | Check if the planning scope is protected | 20120516 | |
| 19 | Instance method | Public | Method | check if the MBOM is a reused | 20130802 | |
| 20 | Static method | Public | Method | Load MBOM into APIs buffer | 20120619 | |
| 21 | Static method | Public | Method | Refresh global attributes | 20120626 | |
| 22 | Static method | Public | Method | Save all MBOMs | 20120713 | |
| 23 | Instance method | Public | Method | Set as legacy MBOM | 20130820 | |
| 24 | Instance method | Public | Method | Set the MBOM as reused | 20130802 | |
| 25 | Instance method | Public | Method | Set instance Override | 20120705 | |
| 26 | Instance method | Public | Method | Set items for the current MBOM instance | 20120517 | |
| 27 | Instance method | Public | Method | Set MBOM Guid to the instance | 20120525 | |
| 28 | Instance method | Public | Method | Set MBOM Id to the instance | 20120525 | |
| 29 | Instance method | Public | Method | Set text for MBOM | 20120524 | |
| 30 | Instance method | Public | Method | Set Protected flag for the planning scope | 20120516 | |
| 31 | Instance method | Public | Method | Set Root instance | 20120705 | |
| 32 | Instance method | Public | Method | Set the Transformation matrix from the instance | 20120520 | |
| 33 | Instance method | Public | Method | Update MBOM | 20120620 |
Events
Class CL_VMP_MBOM has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | GTY_MBOM | Public | See coding | 20120516 | gty_mbom TYPE STANDARD TABLE OF REF TO cl_vmp_mbom
|
||
| 2 | GTY_MBOM_IDENT | Public | See coding | 20120620 | BEGIN OF gty_mbom_ident.
INCLUDE TYPE cscl_bom_id_type.
TYPES: werks TYPE werks_d,
matnr TYPE matnr,
guidx TYPE cs_guidb,
ztext TYPE CSTEXT,
END OF gty_mbom_ident
|
||
| 3 | GTY_MBOM_IDENT_TAB | Public | See coding | 20120619 | gty_mbom_ident_tab TYPE STANDARD TABLE OF gty_mbom_ident
|
||
| 4 | GTY_STKO | Public | See coding | 20120620 | BEGIN OF gty_stko.
INCLUDE TYPE cscl_bom_id_type.
TYPES: guidx TYPE cs_guidb,
ztext TYPE CSTEXT,
END OF gty_stko
|
||
| 5 | GTY_STKO_TAB | Public | See coding | 20120620 | gty_stko_tab TYPE STANDARD TABLE OF gty_stko
|
||
| 6 | GTY_STPOX | Public | See coding | 20120517 | gty_stpox TYPE STANDARD TABLE OF stpox
|
Method Signatures
Method CHECK_MBOM_BUFFER_EXISTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_MBOM_ID | Call by reference | Type reference (TYPE) | VMP_S_MBOM_ID | MBOM Id for VMP | 20120824 | |||
| 2 | RV_EXISTS | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20120824 |
Method CHECK_MBOM_BUFFER_EXISTANCE on class CL_VMP_MBOM has no exception.
Method CREATE_MBOM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MESSAGE | Call by reference | Type reference (TYPE) | VMP_S_MESSAGE | VMP messages | 20120524 |
Method CREATE_MBOM on class CL_VMP_MBOM has no exception.
Method DELETE_FROM_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_MBOM_ID | Call by reference | Type reference (TYPE) | VMP_S_MBOM_ID | MBOM Id for VMP | 20120821 |
Method DELETE_FROM_BUFFER on class CL_VMP_MBOM has no exception.
Method DELETE_MBOM Signature
Method DELETE_MBOM on class CL_VMP_MBOM has no parameter.
Method DELETE_MBOM on class CL_VMP_MBOM has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MBOM_GUID | Call by reference | Type reference (TYPE) | CS_GUID | Global identification of an item's change status | 20120517 | |||
| 2 | RO_MBOM | Value transfer | Object reference (TYPE REF TO) | CL_VMP_MBOM | MBOM | 20120516 |
Method GET_INSTANCE on class CL_VMP_MBOM has no exception.
Method GET_INSTANCE_BY_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_MBOM_ID | Call by reference | Type reference (TYPE) | VMP_S_MBOM_ID | Mbom Id | 20120717 | |||
| 2 | RO_MBOM | Value transfer | Object reference (TYPE REF TO) | CL_VMP_MBOM | MBOM | 20120613 |
Method GET_INSTANCE_BY_ID on class CL_VMP_MBOM has no exception.
Method GET_INST_OVRRIDE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_INST_OVERRIDE | Value transfer | Type reference (TYPE) | VMP_T_IOVERRIDE | Instance override values | 20130808 |
Method GET_INST_OVRRIDE on class CL_VMP_MBOM has no exception.
Method GET_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_ITEMS | Value transfer | Type reference (TYPE) | VMP_T_MBOM_ITEM | MBOM Items | 20120520 |
Method GET_ITEMS on class CL_VMP_MBOM has no exception.
Method GET_LEGACY_MBOMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MBOMS | Call by reference | Type reference (TYPE) | GTY_MBOM | 20130820 |
Method GET_LEGACY_MBOMS on class CL_VMP_MBOM has no exception.
Method GET_MBOMS_ALL_LVLS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MESSAGE | Call by reference | Type reference (TYPE) | VMP_S_MESSAGE | VMP messages | 20120803 | |||
| 2 | ET_MBOM | Call by reference | Type reference (TYPE) | GTY_MBOM | MBOMs for modification | 20120803 | |||
| 3 | IV_CHNG_NO | Call by reference | Type reference (TYPE) | AENNR | Change Number | 20130830 | |||
| 4 | IV_LOG_SYS | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20120803 | |||
| 5 | IV_VALID_FROM | Call by reference | Type reference (TYPE) | DATUV | SY-DATUM | Valid-From Date | 20120803 |
Method GET_MBOMS_ALL_LVLS on class CL_VMP_MBOM has no exception.
Method GET_MBOM_GUID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_MBOM_GUID | Value transfer | Type reference (TYPE) | CS_GUIDB | Global identification of a BOM header change status | 20120525 |
Method GET_MBOM_GUID on class CL_VMP_MBOM has no exception.
Method GET_MBOM_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_MBOM_ID | Value transfer | Type reference (TYPE) | VMP_S_MBOM_ID | MBOM Id for VMP | 20120620 |
Method GET_MBOM_ID on class CL_VMP_MBOM has no exception.
Method GET_MBOM_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MESSAGE | Call by reference | Type reference (TYPE) | VMP_S_MESSAGE | VMP messages | 20120814 | |||
| 2 | IV_CHNG_NO | Call by reference | Type reference (TYPE) | AENNR | Change Number | 20130822 | |||
| 3 | IV_LOG_SYS | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20120730 | |||
| 4 | IV_VALID_FROM | Call by reference | Type reference (TYPE) | DATUV | Valid-From Date | 20120730 |
Method GET_MBOM_ITEMS on class CL_VMP_MBOM has no exception.
Method GET_MBOM_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_MBOM_TEXT | Value transfer | Type reference (TYPE) | CSTEXT | BOM text | 20120524 |
Method GET_MBOM_TEXT on class CL_VMP_MBOM has no exception.
Method GET_ROOT_INS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_ROOT_INS | Value transfer | Type reference (TYPE) | VMP_S_TMATRIX | Instance override values | 20120705 |
Method GET_ROOT_INS on class CL_VMP_MBOM has no exception.
Method GET_TMATRIX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_TMATRIX | Value transfer | Type reference (TYPE) | VMP_T_TMATRIX | Transformation matrices | 20120520 |
Method GET_TMATRIX on class CL_VMP_MBOM has no exception.
Method IS_LEGACY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_LEGACY | Value transfer | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20130821 |
Method IS_LEGACY on class CL_VMP_MBOM has no exception.
Method IS_PROTECTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_PROTECTED | Value transfer | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20120516 |
Method IS_PROTECTED on class CL_VMP_MBOM has no exception.
Method IS_REUSED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_IS_REUSED | Value transfer | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20130802 |
Method IS_REUSED on class CL_VMP_MBOM has no exception.
Method LOAD_MBOMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_LEGACY_MBOM_ID | Call by reference | Type reference (TYPE) | VMP_T_MBOM_ID | MBOM id for VMP | 20120801 | |||
| 2 | ES_MESSAGE | Call by reference | Type reference (TYPE) | VMP_S_MESSAGE | VMP messages | 20120619 | |||
| 3 | ET_BOM_IDENT | Call by reference | Type reference (TYPE) | VMP_T_MBOM_IDENT | VMP MBOM Identifier | 20120619 | |||
| 4 | IV_CHANGE_NUMBER | Call by reference | Type reference (TYPE) | AENNR | Change Number | 20130816 | |||
| 5 | IV_LOAD_PROTECTED | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20120730 | |||
| 6 | IV_LOAD_WITH_ALT | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20120808 | |||
| 7 | IV_LOG_SYS | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20120702 | |||
| 8 | IV_VALID_FROM | Call by reference | Type reference (TYPE) | DATUV | Valid-From Date | 20120822 |
Method LOAD_MBOMS on class CL_VMP_MBOM has no exception.
Method REFRESH_BUFFER Signature
Method REFRESH_BUFFER on class CL_VMP_MBOM has no parameter.
Method REFRESH_BUFFER on class CL_VMP_MBOM has no exception.
Method SAVE_MBOMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MESSAGE | Call by reference | Type reference (TYPE) | VMP_S_MESSAGE | VMP messages | 20120713 | |||
| 2 | ET_MBOM | Call by reference | Type reference (TYPE) | VMP_T_MOD_MBOM | MBOMs for modification | 20120713 | |||
| 3 | IV_CHANGE_NUMBER | Call by reference | Type reference (TYPE) | AENNR | Change Number | 20120713 | |||
| 4 | IV_LOG_SYS | Call by reference | Type reference (TYPE) | RFCDEST | Logical Destination (Specified in Function Call) | 20120713 |
Method SAVE_MBOMS on class CL_VMP_MBOM has no exception.
Method SET_AS_LEGACY Signature
Method SET_AS_LEGACY on class CL_VMP_MBOM has no parameter.
Method SET_AS_LEGACY on class CL_VMP_MBOM has no exception.
Method SET_AS_REUSE Signature
Method SET_AS_REUSE on class CL_VMP_MBOM has no parameter.
Method SET_AS_REUSE on class CL_VMP_MBOM has no exception.
Method SET_INST_OVRRIDE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_INST_OVERRIDE | Call by reference | Type reference (TYPE) | VMP_T_IOVERRIDE | Instance override values | 20120705 |
Method SET_INST_OVRRIDE on class CL_VMP_MBOM has no exception.
Method SET_ITEMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ITEMS | Call by reference | Type reference (TYPE) | VMP_T_MBOM_ITEM | MBOM Items | 20120520 |
Method SET_ITEMS on class CL_VMP_MBOM has no exception.
Method SET_MBOM_GUID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MBOM_GUID | Call by reference | Type reference (TYPE) | CS_GUIDB | Global identification of a BOM header change status | 20120525 |
Method SET_MBOM_GUID on class CL_VMP_MBOM has no exception.
Method SET_MBOM_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_MBOM_ID | Call by reference | Type reference (TYPE) | VMP_S_MBOM_ID | MBOM Id for VMP | 20120620 |
Method SET_MBOM_ID on class CL_VMP_MBOM has no exception.
Method SET_MBOM_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MBOM_TEXT | Call by reference | Type reference (TYPE) | CSTEXT | BOM text | 20120524 |
Method SET_MBOM_TEXT on class CL_VMP_MBOM has no exception.
Method SET_PROTECTED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PROTECTED | Call by reference | Type reference (TYPE) | BOOLE_D | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') | 20120516 |
Method SET_PROTECTED on class CL_VMP_MBOM has no exception.
Method SET_ROOT_INS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_ROOT_INS | Call by reference | Type reference (TYPE) | VMP_S_TMATRIX | Transformation matrix for item | 20120705 |
Method SET_ROOT_INS on class CL_VMP_MBOM has no exception.
Method SET_TMATRIX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_TMATRIX | Call by reference | Type reference (TYPE) | VMP_T_TMATRIX | Transformation matrices | 20120520 |
Method SET_TMATRIX on class CL_VMP_MBOM has no exception.
Method UPDATE_MBOM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_MESSAGE | Call by reference | Type reference (TYPE) | VMP_S_MESSAGE | VMP messages | 20120620 |
Method UPDATE_MBOM on class CL_VMP_MBOM has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 607 |