SAP ABAP Class CL_VMP_MBOM (MBOM for Visual Enterprise Planning)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   CA-VE-VEP-INT (Application Component) Visual Enterprise Planner integration with ERP
     VMP (Package) Visual Enterprise Planning
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 CSCL Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 DMUT 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 GT_MBOMS Static Attribute Private Type reference (TYPE) GTY_MBOM MBOM 20120524
2 GT_MOD_MBOM Static Attribute Private Type reference (TYPE) VMP_T_MOD_MBOM MBOMs for modification 20120701
3 MS_MBOM_ID Instance attribute Private Type reference (TYPE) VMP_S_MBOM_ID MBOM Id for VMP 20120620
4 MS_ROOT_INSTANCE Instance attribute Private Type reference (TYPE) VMP_S_TMATRIX Transformation matrix for item 20120705
5 MT_INST_OVERRIDE Instance attribute Private Type reference (TYPE) VMP_T_IOVERRIDE Transformation matrices 20120628
6 MT_ITEMS Instance attribute Private Type reference (TYPE) VMP_T_MBOM_ITEM MBOM Items 20120516
7 MT_TMATRIX Instance attribute Private Type reference (TYPE) VMP_T_TMATRIX Transformation matrices 20120516
8 MV_IS_LEGACY Instance attribute Private Type reference (TYPE) BOOLE_D legacy MBOM 20130820
9 MV_IS_PROTECTED Instance attribute Private Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20120516
10 MV_MARKED_FOR_DELETION Instance attribute Private Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20120820
11 MV_MBOM_GUID Instance attribute Private Type reference (TYPE) CS_GUIDB Global identification of a BOM header change status 20120516
12 MV_MBOM_TEXT Instance attribute Private Type reference (TYPE) CSTEXT MBOM Id for VMP 20120524
13 MV_REUSED Instance attribute Private Type reference (TYPE) BOOLE_D Reused material BOM 20130802
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_MBOM_BUFFER_EXISTANCE Static method Public Method Check if the MBOM is existing in the global MBOM buffer 20120824
2 CREATE_MBOM Instance method Public Method Create MBOM 20120516
3 DELETE_FROM_BUFFER Static method Public Method Delete the MBOM from global buffer 20120821
4 DELETE_MBOM Instance method Public Method Delete MBOM 20120712
5 GET_INSTANCE Static method Public Method Get Instance with guid 20120516
6 GET_INSTANCE_BY_ID Static method Public Method Get Instance By Id 20120613
7 GET_INST_OVRRIDE Instance method Public Method Set instance Override 20130808
8 GET_ITEMS Instance method Public Method Get items for the current MBOM instance 20120517
9 GET_LEGACY_MBOMS Static method Public Method Get the legacy MBOMs 20130820
10 GET_MBOMS_ALL_LVLS Instance method Public Method Get MBOM id from GUID from API 20120803
11 GET_MBOM_GUID Instance method Public Method Get MBOM Guid of the instance 20120525
12 GET_MBOM_ID Instance method Public Method Get MBOM Id of the instnace 20120525
13 GET_MBOM_ITEMS Static method Public Method Get MBOM items from plant specific system(from backend) 20120730
14 GET_MBOM_TEXT Instance method Public Method Get text for MBOM 20120524
15 GET_ROOT_INS Instance method Public Method Get Root instance information 20120705
16 GET_TMATRIX Instance method Public Method Get the Transformation matrix to the instance 20120520
17 IS_LEGACY Instance method Public Method Is legacy MBOM 20130821
18 IS_PROTECTED Instance method Public Method Check if the planning scope is protected 20120516
19 IS_REUSED Instance method Public Method check if the MBOM is a reused 20130802
20 LOAD_MBOMS Static method Public Method Load MBOM into APIs buffer 20120619
21 REFRESH_BUFFER Static method Public Method Refresh global attributes 20120626
22 SAVE_MBOMS Static method Public Method Save all MBOMs 20120713
23 SET_AS_LEGACY Instance method Public Method Set as legacy MBOM 20130820
24 SET_AS_REUSE Instance method Public Method Set the MBOM as reused 20130802
25 SET_INST_OVRRIDE Instance method Public Method Set instance Override 20120705
26 SET_ITEMS Instance method Public Method Set items for the current MBOM instance 20120517
27 SET_MBOM_GUID Instance method Public Method Set MBOM Guid to the instance 20120525
28 SET_MBOM_ID Instance method Public Method Set MBOM Id to the instance 20120525
29 SET_MBOM_TEXT Instance method Public Method Set text for MBOM 20120524
30 SET_PROTECTED Instance method Public Method Set Protected flag for the planning scope 20120516
31 SET_ROOT_INS Instance method Public Method Set Root instance 20120705
32 SET_TMATRIX Instance method Public Method Set the Transformation matrix from the instance 20120520
33 UPDATE_MBOM 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 Importing IS_MBOM_ID Call by reference Type reference (TYPE) VMP_S_MBOM_ID MBOM Id for VMP 20120824
2 Returning 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 Exporting 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 Importing 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 Importing IV_MBOM_GUID Call by reference Type reference (TYPE) CS_GUID Global identification of an item's change status 20120517
2 Returning 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 Importing IS_MBOM_ID Call by reference Type reference (TYPE) VMP_S_MBOM_ID Mbom Id 20120717
2 Returning 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 Returning 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 Returning 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 Exporting 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 Exporting ES_MESSAGE Call by reference Type reference (TYPE) VMP_S_MESSAGE VMP messages 20120803
2 Exporting ET_MBOM Call by reference Type reference (TYPE) GTY_MBOM MBOMs for modification 20120803
3 Importing IV_CHNG_NO Call by reference Type reference (TYPE) AENNR Change Number 20130830
4 Importing IV_LOG_SYS Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20120803
5 Importing 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 Returning 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 Returning 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 Exporting ES_MESSAGE Call by reference Type reference (TYPE) VMP_S_MESSAGE VMP messages 20120814
2 Importing IV_CHNG_NO Call by reference Type reference (TYPE) AENNR Change Number 20130822
3 Importing IV_LOG_SYS Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20120730
4 Importing 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 Returning 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 Returning 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 Returning 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 Returning 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 Returning 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 Returning 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 Changing CT_LEGACY_MBOM_ID Call by reference Type reference (TYPE) VMP_T_MBOM_ID MBOM id for VMP 20120801
2 Exporting ES_MESSAGE Call by reference Type reference (TYPE) VMP_S_MESSAGE VMP messages 20120619
3 Exporting ET_BOM_IDENT Call by reference Type reference (TYPE) VMP_T_MBOM_IDENT VMP MBOM Identifier 20120619
4 Importing IV_CHANGE_NUMBER Call by reference Type reference (TYPE) AENNR Change Number 20130816
5 Importing IV_LOAD_PROTECTED Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20120730
6 Importing IV_LOAD_WITH_ALT Call by reference Type reference (TYPE) BOOLE_D Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') 20120808
7 Importing IV_LOG_SYS Call by reference Type reference (TYPE) RFCDEST Logical Destination (Specified in Function Call) 20120702
8 Importing 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 Exporting ES_MESSAGE Call by reference Type reference (TYPE) VMP_S_MESSAGE VMP messages 20120713
2 Exporting ET_MBOM Call by reference Type reference (TYPE) VMP_T_MOD_MBOM MBOMs for modification 20120713
3 Importing IV_CHANGE_NUMBER Call by reference Type reference (TYPE) AENNR Change Number 20120713
4 Importing 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 Importing 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 Importing 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 Importing 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 Importing 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 Importing 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 Importing 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 Importing 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 Importing 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 Exporting 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