SAP ABAP Class CL_PS_LEAN_ASSEMBLY (PS: Lean Assembly)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   PS-ST (Application Component) Structures
     PSI_LEAN (Package) PS Integration with Lean Assembly
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_BADI_INTERFACE Tag Interface for BAdIs 20090918
2 Interface implementation (CLASS c. INTERFACES i_ref)  INTF_BADI_PS_LEAN_ASSEMBLY Interface for BAdI: BADI_PS_LEAN_ASSEMBLY 20090918
Properties
Class CL_PS_LEAN_ASSEMBLY  
Short Description PS: Lean Assembly    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class PSI_LEAN_MSGCL    
Program status P  SAP Standard Production Program 
Category 0   
Package PSI_LEAN   PS Integration with Lean Assembly 
Created 20090904   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_BADI_INTERFACE Tag Interface for BAdIs 20090918
2 INTF_BADI_PS_LEAN_ASSEMBLY Interface for BAdI: BADI_PS_LEAN_ASSEMBLY 20090918
Friends
Class CL_PS_LEAN_ASSEMBLY has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 MT_PRHIS Instance attribute Private Type reference (TYPE) PSB_BO_PRHIS_TT Table Type for DB Table PRHIS 20091128
2 MT_SALES_ITEMS Instance attribute Private Type reference (TYPE) GTY_SALES_ITEM_TT 20091128
Methods
# Method Level Visibility Method type Description Created on
1 ADD_SUB_WBS Instance method Private Method Add WBS Elements to hierarchy 20100122
2 BUILD_WBS_ELEMENT_LIST Instance method Private Method Creates list of WBS Elements to be created 20091128
3 DETERMINE_OBJECT_ID Instance method Private Method Determine new ids for WBS and Project objects 20091127
4 FETCH_STD_WBS_HIERARCHY Instance method Private Method Determines the hierarchy of the std/operative wbs element 20091128
5 VALIDATE_STD_WBS Instance method Private Method Carry out validations on standard wbs 20090918
Events
Class CL_PS_LEAN_ASSEMBLY has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 GTY_DEFINITION_ST Private See coding 20091128 BEGIN OF gty_definition_st. INCLUDE TYPE projs. TYPES: id_part1 TYPE char40, no_of_oper(2) TYPE n, edit_mask_exists TYPE boolean, END OF gty_definition_st
2 GTY_SALES_ITEM_ST Private See coding 20091128 BEGIN OF gty_sales_item_st, item TYPE kdpos, spsnr TYPE prps-spsnr, pspnr TYPE prps-pspnr, posid TYPE prps-posid, descr TYPE arktx, END OF gty_sales_item_st
3 GTY_SALES_ITEM_TT Private See coding 20091128 gty_sales_item_tt TYPE STANDARD TABLE OF gty_sales_item_st
Method Signatures

Method ADD_SUB_WBS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_HIER Call by reference Type reference (TYPE) PSB_BO_PRHIS_TT Table Type for DB Table PRHIS 20100122
2 Importing IV_WBS Call by reference Type reference (TYPE) PRHIS-POSNR Std WBS: Internal project item number (w/exit on ID) 20100122
3 Importing IV_WBS_UP Call by reference Type reference (TYPE) PRHIS-UP No. of the superior standard WBS element 20100122

Method ADD_SUB_WBS on class CL_PS_LEAN_ASSEMBLY has no exception.

Method BUILD_WBS_ELEMENT_LIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100122
2 Exporting ET_WBS_ELEMENTS Call by reference Type reference (TYPE) PSB_BO_WBS_TT WBS - Table type 20091128
3 Importing IT_SALES_DOC_ITEMS Call by reference Type reference (TYPE) VBAP_T Sales Document Items 20091128
4 Importing IV_CURRENCY Call by reference Type reference (TYPE) PROJ-PWHIE WBS currency (project definition) 20100129
5 Importing IV_ID_PART1 Call by reference Type reference (TYPE) CHAR40 First part of WBS ID 20091128
6 Importing IV_PROJECT_ID Call by reference Type reference (TYPE) PROJ-PSPID Project Definition 20091128

Method BUILD_WBS_ELEMENT_LIST on class CL_PS_LEAN_ASSEMBLY has no exception.

Method DETERMINE_OBJECT_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_OPER_OBJ_ID Call by reference Type reference (TYPE) PRPS-POSID ID of Operative Object 20091127
2 Importing IV_ID_PART1 Call by reference Type reference (TYPE) CHAR40 First Part of the ID 20091127
3 Importing IV_ID_PART2 Call by reference Type reference (TYPE) CHAR6 Second Part of the ID 20091127
4 Importing IV_OPER_PROJ_ID Call by reference Type reference (TYPE) PROJ-PSPID Project Definition 20091127
5 Importing IV_STD_OBJ_ID Call by reference Type reference (TYPE) PRPSS-POSID ID of Standard Object 20091127
6 Importing IV_WBS_FLAG Call by reference Type reference (TYPE) FLAG ' ' 'X' for WBS Object 20091127

Method DETERMINE_OBJECT_ID on class CL_PS_LEAN_ASSEMBLY has no exception.

Method FETCH_STD_WBS_HIERARCHY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CT_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20100122
2 Exporting ET_HIER Call by reference Type reference (TYPE) PSB_BO_PRHIS_TT Table Type for DB Table PRHIS 20091128
3 Importing IV_STD_WBS_NO Call by reference Type reference (TYPE) PS_SPSNR Std WBS: Internal project item number (w/exit on ID) 20091128

Method FETCH_STD_WBS_HIERARCHY on class CL_PS_LEAN_ASSEMBLY has no exception.

Method VALIDATE_STD_WBS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_DEFINITION Call by reference Type reference (TYPE) GTY_DEFINITION_ST Standard/Operative Project Details 20090918
2 Exporting ET_MESSAGES Call by reference Type reference (TYPE) PS_MESSAGES Error messages 20090918
3 Exporting EV_ERROR Call by reference Type reference (TYPE) BOOLEAN Boolean Variable (X=True, -=False, Space=Unknown) 20091128
4 Importing IS_SALES_DOC Call by reference Type reference (TYPE) VBAK Sales Document 20100122
5 Importing IT_SALES_DOC_ITEMS Call by reference Type reference (TYPE) VBAP_T Sales Document Items 20090918

Method VALIDATE_STD_WBS on class CL_PS_LEAN_ASSEMBLY has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 605