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 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_GHO_PP_CONSTANTS | Class for global PP constants | 20091027 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GHO_PP_CONSTANTS | Class for global PP constants | 20090924 | |||
| 3 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_GHO_PP_NETVER | GHO Production Network Versions | 20091109 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | GHO_S_OTS | Structure for Order Template Structures | 20091005 | |||
| 5 | 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 | Static method | Private | Method | Checks whether the authorization for OTS is given | 20090904 | |
| 2 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20100202 | |
| 3 | Instance method | Public | Constructor | CONSTRUCTOR | 20090924 | |
| 4 | Instance method | Public | Method | Converts OTs into BOM, Master Recipe and Production Version | 20091120 | |
| 5 | Instance method | Public | Method | Creates an Order Template Structure | 20100127 | |
| 6 | Instance method | Public | Method | Dequeues an Order Template Structure | 20090904 | |
| 7 | Instance method | Public | Method | Enqueues an Order Template Structure | 20090904 | |
| 8 | Instance method | Public | Method | Gets the Attributes of an Order Template Structure | 20100127 | |
| 9 | Instance method | Public | Method | Returns Header Data of Order Template Structure | 20091006 | |
| 10 | Instance method | Public | Method | Returns key of Order Template Structure | 20091005 | |
| 11 | Instance method | Private | Method | Determine next OTS number from number range | 20090929 | |
| 12 | Instance method | Public | Method | Returns Order Template Structure Material Objects | 20091006 | |
| 13 | Instance method | Public | Method | Remove an Order Template Structure Material Object | 20091006 | |
| 14 | Instance method | Private | Method | Switches temporary OTS number to final number | 20091013 | |
| 15 | Instance method | Public | Method | Add an Order Template Structure Material Object | 20091005 | |
| 16 | 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 | IV_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20100128 | |||
| 2 | I_ACTIVITY | Call by reference | Type reference (TYPE) | ACTYP | Activity Type for processes | 20091027 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | ES_BOM_CREATED | Call by reference | Type reference (TYPE) | BOM_PATH | BOM header ID | 20091127 | |||
| 2 | ES_PRV_CREATED | Call by reference | Type reference (TYPE) | MKAL_KEY | Key Fields of MKAL | 20091127 | |||
| 3 | ES_REC_CREATED | Call by reference | Type reference (TYPE) | EAM_S_TASK_LIST_KEY | Key from Task List | 20091127 | |||
| 4 | IV_PLANT | Call by reference | Type reference (TYPE) | WERKS_D | Plant | 20091124 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Authority Check exceptions | 20091123 | ||
| 2 | Conversion exceptions | 20091123 | ||
| 3 | Import parameter exceptions | 20091124 | ||
| 4 | Read exceptions | 20091123 |
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_NETVERSION | Call by reference | Object reference (TYPE REF TO) | CL_GHO_PP_NETVER | Production Network Version | 20100127 | |||
| 2 | IS_OTS | Call by reference | Type reference (TYPE) | GHO_S_OTS | Order Template Structure to be created | 20100127 | |||
| 3 | IT_OTS_MATERIALS | Call by reference | Type reference (TYPE) | GHO_T_OTS_MAT | OTS Materials to be created | 20100127 | |||
| 4 | IT_SEL_NETVER_ITM_REF | Call by reference | Type reference (TYPE) | GHO_T_NETVER_ITM_REF | References to selected Network Version Items | 20100127 | |||
| 5 | RETURN | Value transfer | Object reference (TYPE REF TO) | CL_GHO_PP_OTS | Returning OTS just created | 20100127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Authorization exceptions | 20100127 | ||
| 2 | DB exceptions | 20100127 | ||
| 3 | Import parameter exceptions | 20100127 | ||
| 4 | Lock exceptions | 20100127 | ||
| 5 | 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 | 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 | Lock exceptions | 20091020 |
Method ENQUEUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | Lock exceptions | 20091020 |
Method GET_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_VERSION_ATTR | Call by reference | Type reference (TYPE) | GHO_S_OTS | Header Data of an Order Template Structure | 20100127 | |||
| 2 | ET_VERSION_MATS | Call by reference | Type reference (TYPE) | GHO_T_OTS_MAT | Material Data of an Order Template Structure | 20100127 | |||
| 3 | IV_OTS_ID | Call by reference | Type reference (TYPE) | GHO_PP_OTS_ID | Order Template Structure ID | 20100127 | |||
| 4 | I_INCL_MATERIALS | Call by reference | Type reference (TYPE) | XFELD | Checkbox: Include also the assigned materials | 20100127 | |||
| 5 | I_READ_FROM_DB | Call by reference | Type reference (TYPE) | XFELD | Checkbox: Read from database | 20100127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DB exceptions | 20100127 | ||
| 2 | Import parameter exceptions | 20100127 | ||
| 3 | Read exceptions | 20100127 |
Method GET_HEADER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | RV_OTS_ID | Value transfer | Type reference (TYPE) | GHO_PP_OTS_ID | GHO Order Template Structure Identification | 20090929 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | 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 | 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 | 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 | 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 | IS_OTS_HDR | Call by reference | Type reference (TYPE) | GHO_S_OTS | Order Template Structure t.b.u. | 20091022 | |||
| 2 | IT_OTS_MAT | Call by reference | Type reference (TYPE) | GHO_T_OTS_MAT | Order Template Materials t.b.u. | 20091022 | |||
| 3 | IT_SEL_NETVER_ITM_REF | Call by reference | Type reference (TYPE) | GHO_T_NETVER_ITM_REF | References to selected Network Version Items | 20091109 | |||
| 4 | IV_UPDATE_CODE | Call by reference | Type reference (TYPE) | VBKZ | Update indicator | 20091021 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | DB exceptions | 20091021 | ||
| 2 | Import parameter exceptions | 20091021 | ||
| 3 | Number range error while determining number | 20091021 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 605 |