SAP ABAP Class CL_GHO_PP_OTS (GHO Order Template Structures)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   PP-PN-NOP (Application Component) Network Operations
     APPL_GHO_PP_OTE_SC (Package) GHO PP Source Code: Order Template Engine
Properties
Class CL_GHO_PP_OTS  
Short Description GHO Order Template Structures    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class GHO_PP    
Program status     
Category 0   
Package APPL_GHO_PP_OTE_SC   GHO PP Source Code: Order Template Engine 
Created 20090901   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_GHO_PP_OTS has no forward declaration.
Interfaces
Class CL_GHO_PP_OTS has no interface implemented.
Friends
Class CL_GHO_PP_OTS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GO_C Static Attribute Public Object reference (TYPE REF TO) CL_GHO_PP_CONSTANTS Class for global PP constants 20091027
2 MO_C Instance attribute Private Object reference (TYPE REF TO) CL_GHO_PP_CONSTANTS Class for global PP constants 20090924
3 MO_NETVER_HDR Instance attribute Public Object reference (TYPE REF TO) CL_GHO_PP_NETVER GHO Production Network Versions 20091109
4 MS_OTS Instance attribute Private Type reference (TYPE) GHO_S_OTS Structure for Order Template Structures 20091005
5 MT_OTS_MAT Instance attribute Private Type reference (TYPE) GHO_T_OTS_MAT_REF Reference to Order Template Structure Materials 20091005
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_AUTHORITY Static method Private Method Checks whether the authorization for OTS is given 20090904
2 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20100202
3 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20090924
4 CONVERT Instance method Public Method Converts OTs into BOM, Master Recipe and Production Version 20091120
5 CREATE Instance method Public Method Creates an Order Template Structure 20100127
6 DEQUEUE Instance method Public Method Dequeues an Order Template Structure 20090904
7 ENQUEUE Instance method Public Method Enqueues an Order Template Structure 20090904
8 GET_ATTRIBUTES Instance method Public Method Gets the Attributes of an Order Template Structure 20100127
9 GET_HEADER Instance method Public Method Returns Header Data of Order Template Structure 20091006
10 GET_KEY Instance method Public Method Returns key of Order Template Structure 20091005
11 GET_NEXT_NUMBER Instance method Private Method Determine next OTS number from number range 20090929
12 GET_OTS_MAT Instance method Public Method Returns Order Template Structure Material Objects 20091006
13 REMOVE_OTS_MAT Instance method Public Method Remove an Order Template Structure Material Object 20091006
14 SET_FINAL_NUMBER Instance method Private Method Switches temporary OTS number to final number 20091013
15 SET_OTS_MAT Instance method Public Method Add an Order Template Structure Material Object 20091005
16 UPDATE_DB Instance method Private Method Triggers the update of a DB entry of an OTS 20090904
Events
Class CL_GHO_PP_OTS has no event.
Types
Class CL_GHO_PP_OTS has no local type.
Method Signatures

Method CHECK_AUTHORITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20100128
2 Importing I_ACTIVITY Call by reference Type reference (TYPE) ACTYP Activity Type for processes 20091027
# Exception Resumable Description Created on
1 CX_GHO_PP_OTE_AUTHORITY Authority Check exceptions 20091027

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_GHO_PP_OTS has no parameter.
Method CLASS_CONSTRUCTOR on class CL_GHO_PP_OTS has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_OTS Call by reference Type reference (TYPE) GHO_S_OTS Structure for Order Template Structures 20091005

Method CONSTRUCTOR on class CL_GHO_PP_OTS has no exception.

Method CONVERT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_BOM_CREATED Call by reference Type reference (TYPE) BOM_PATH BOM header ID 20091127
2 Exporting ES_PRV_CREATED Call by reference Type reference (TYPE) MKAL_KEY Key Fields of MKAL 20091127
3 Exporting ES_REC_CREATED Call by reference Type reference (TYPE) EAM_S_TASK_LIST_KEY Key from Task List 20091127
4 Importing IV_PLANT Call by reference Type reference (TYPE) WERKS_D Plant 20091124
# Exception Resumable Description Created on
1 CX_GHO_PP_OTE_AUTHORITY Authority Check exceptions 20091123
2 CX_GHO_PP_OTE_CONVERSION Conversion exceptions 20091123
3 CX_GHO_PP_OTE_IMPORT_PARAMS Import parameter exceptions 20091124
4 CX_GHO_PP_OTE_NOT_FOUND Read exceptions 20091123

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_NETVERSION Call by reference Object reference (TYPE REF TO) CL_GHO_PP_NETVER Production Network Version 20100127
2 Importing IS_OTS Call by reference Type reference (TYPE) GHO_S_OTS Order Template Structure to be created 20100127
3 Importing IT_OTS_MATERIALS Call by reference Type reference (TYPE) GHO_T_OTS_MAT OTS Materials to be created 20100127
4 Importing IT_SEL_NETVER_ITM_REF Call by reference Type reference (TYPE) GHO_T_NETVER_ITM_REF References to selected Network Version Items 20100127
5 Returning RETURN Value transfer Object reference (TYPE REF TO) CL_GHO_PP_OTS Returning OTS just created 20100127
# Exception Resumable Description Created on
1 CX_GHO_PP_OTE_AUTHORITY Authorization exceptions 20100127
2 CX_GHO_PP_OTE_DB DB exceptions 20100127
3 CX_GHO_PP_OTE_IMPORT_PARAMS Import parameter exceptions 20100127
4 CX_GHO_PP_OTE_LOCKS Lock exceptions 20100127
5 CX_GHO_PP_OTE_NO_NUMBER Number range error while determining number 20100127

Method DEQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OTS_ID Call by reference Type reference (TYPE) GHO_PP_OTS_ID OTS ID zu be dequeued 20090904
# Exception Resumable Description Created on
1 CX_GHO_PP_OTE_LOCKS Lock exceptions 20091020

Method ENQUEUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OTS_ID Call by reference Type reference (TYPE) GHO_PP_OTS_ID OTS ID zu be enqueued 20090904
# Exception Resumable Description Created on
1 CX_GHO_PP_OTE_LOCKS Lock exceptions 20091020

Method GET_ATTRIBUTES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_VERSION_ATTR Call by reference Type reference (TYPE) GHO_S_OTS Header Data of an Order Template Structure 20100127
2 Exporting ET_VERSION_MATS Call by reference Type reference (TYPE) GHO_T_OTS_MAT Material Data of an Order Template Structure 20100127
3 Importing IV_OTS_ID Call by reference Type reference (TYPE) GHO_PP_OTS_ID Order Template Structure ID 20100127
4 Importing I_INCL_MATERIALS Call by reference Type reference (TYPE) XFELD Checkbox: Include also the assigned materials 20100127
5 Importing I_READ_FROM_DB Call by reference Type reference (TYPE) XFELD Checkbox: Read from database 20100127
# Exception Resumable Description Created on
1 CX_GHO_PP_OTE_DB DB exceptions 20100127
2 CX_GHO_PP_OTE_IMPORT_PARAMS Import parameter exceptions 20100127
3 CX_GHO_PP_OTE_NOT_FOUND Read exceptions 20100127

Method GET_HEADER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RETURN Value transfer Type reference (TYPE) GHO_S_OTS Structure for Order Template Structures 20091006

Method GET_HEADER on class CL_GHO_PP_OTS has no exception.

Method GET_KEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning KEY Value transfer Type reference (TYPE) GHO_PP_OTS_ID GHO Order Template Structure Identification 20091005

Method GET_KEY on class CL_GHO_PP_OTS has no exception.

Method GET_NEXT_NUMBER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_OTS_ID Value transfer Type reference (TYPE) GHO_PP_OTS_ID GHO Order Template Structure Identification 20090929
# Exception Resumable Description Created on
1 CX_GHO_PP_OTE_NO_NUMBER Number range error while determining number 20090929

Method GET_OTS_MAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RETURN Value transfer Type reference (TYPE) GHO_T_OTS_MAT_REF Reference to Order Template Structure Materials 20091006

Method GET_OTS_MAT on class CL_GHO_PP_OTS has no exception.

Method REMOVE_OTS_MAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_OTS_MAT Call by reference Object reference (TYPE REF TO) CL_GHO_PP_OTS_MAT GHO OTS Material Assignments 20091006

Method REMOVE_OTS_MAT on class CL_GHO_PP_OTS has no exception.

Method SET_FINAL_NUMBER Signature

Method SET_FINAL_NUMBER on class CL_GHO_PP_OTS has no parameter.
# Exception Resumable Description Created on
1 CX_GHO_PP_OTE_NO_NUMBER Number range error while determining number 20091013

Method SET_OTS_MAT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_OTS_MAT Call by reference Object reference (TYPE REF TO) CL_GHO_PP_OTS_MAT GHO OTS Material Assignments 20091005

Method SET_OTS_MAT on class CL_GHO_PP_OTS has no exception.

Method UPDATE_DB Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_OTS_HDR Call by reference Type reference (TYPE) GHO_S_OTS Order Template Structure t.b.u. 20091022
2 Importing IT_OTS_MAT Call by reference Type reference (TYPE) GHO_T_OTS_MAT Order Template Materials t.b.u. 20091022
3 Importing IT_SEL_NETVER_ITM_REF Call by reference Type reference (TYPE) GHO_T_NETVER_ITM_REF References to selected Network Version Items 20091109
4 Importing IV_UPDATE_CODE Call by reference Type reference (TYPE) VBKZ Update indicator 20091021
# Exception Resumable Description Created on
1 CX_GHO_PP_OTE_DB DB exceptions 20091021
2 CX_GHO_PP_OTE_IMPORT_PARAMS Import parameter exceptions 20091021
3 CX_GHO_PP_OTE_NO_NUMBER Number range error while determining number 20091021
History
Last changed by/on SAP  20110908 
SAP Release Created in 605