SAP ABAP Class CL_QPCP_CPLAN_CHANGEDOC (Persistency Object Change Document for CP)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
QM-PT-CP (Application Component) Control Plan
⤷
QPCP (Package) QM: Control Plan
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_QPCP_PERSISTENCY | Persistence Object General | 20070723 |
Properties
| Class | CL_QPCP_CPLAN_CHANGEDOC | |
| Short Description | Persistency Object Change Document for CP | |
| Super Class | CL_QPCP_PERSISTENCY | Persistence Object General |
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | QPCP | QM: Control Plan |
| Created | 20070723 | SAP |
| Last change | 20100310 | 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) |
Interfaces
Class CL_QPCP_CPLAN_CHANGEDOC has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_QPCP_CPLAN | 20070723 | API Interface for Control Plan | |
| 2 | CL_QPCP_CPLAN_PERSISTENCY | 20070724 | Control Plan Persistency Object | |
| 3 | CL_QPCP_ITEM_PERSISTENCY | 20070725 | Persistency Object - Control Plan Items | |
| 4 | CL_QPCP_LINK_PERSISTENCY | 20070725 | Persistency Object - Control Plan Links | |
| 5 | CL_QPCP_PARTNER_PERSISTENCY | 20070725 | Persistency Object - Control Plan Partner | |
| 6 | CL_QPCP_TEXT_PERSISTENCY | 20070725 | Persistency Class - Control Plan Text |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | TT_CHGDOC | 20070724 | ||||
| 2 | Instance attribute | Private | Type reference (TYPE) | BAPI_MSG | Message Text | 20070723 | |||
| 3 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_QPCP_CUSTOMIZING | Service Class: Customizing - Read Control Plan | 20070723 | |||
| 4 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_QPCP_CPLAN_CHANGEDOC | Persistency Object Change Document for CP | 20070723 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Collect Change Document Data | 20070724 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20070724 | |
| 3 | Static method | Public | Method | Read Change Document (Using Plan GUID) | 20070724 | |
| 4 | Instance method | Private | Method | Trigger Exception | 20070724 | |
| 5 | Static method | Public | Method | Read Instance | 20070723 | |
| 6 | Instance method | Protected | Method | Is Change Document Creation active for the control plan? | 20070724 | |
| 7 | Instance method | Private | Method | Is Change Document Creation active for the plan category? | 20070724 |
Events
Class CL_QPCP_CPLAN_CHANGEDOC has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_CHGDOC | Private | See coding | 20070724 | BEGIN OF ts_chgdoc,
plan_guid TYPE qpcp_guid,
tablelevel TYPE i,
tablename TYPE tabname,
data_new TYPE REF TO data,
data_old TYPE REF TO data,
END OF ts_chgdoc
|
||
| 2 | TT_CHGDOC | Private | See coding | 20070724 | tt_chgdoc TYPE SORTED TABLE OF ts_chgdoc
with UNIQUE KEY plan_guid tablelevel
|
Method Signatures
Method COLLECT_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DATA_NEW | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20070724 | ||||
| 2 | IT_DATA_OLD | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20070724 | ||||
| 3 | IV_PLAN_GUID | Call by reference | Type reference (TYPE) | QPCP_GUID | GUID eines Elements des Produktionslenkungsplans | 20070724 | |||
| 4 | IV_TABLELEVEL | Call by reference | Type reference (TYPE) | I | 20070724 | ||||
| 5 | IV_TABLENAME | Call by reference | Type reference (TYPE) | TABNAME | Tabellenname | 20070724 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070724 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_LATE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | späte Verarbeitung beim Persistenzmanager | 20070724 |
Method CONSTRUCTOR on class CL_QPCP_CPLAN_CHANGEDOC has no exception.
Method GET_CHANGEDOC_BY_CPLAN_GUID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATE_OF_CHANGE | Call by reference | Type reference (TYPE) | CDHDR-UDATE | '00000000' | Erstellungsdatum des Änderungsbelegs | 20070724 | ||
| 2 | IV_DATE_UNTIL | Call by reference | Type reference (TYPE) | CDHDR-UDATE | '99991231' | Erstellungsdatum des Änderungsbelegs | 20070724 | ||
| 3 | IV_PLAN_GUID | Call by reference | Type reference (TYPE) | QPCP_GUID | GUID eines Elements des Produktionslenkungsplans | 20070724 | |||
| 4 | IV_TIME_OF_CHANGE | Call by reference | Type reference (TYPE) | CDHDR-UTIME | '000000' | Uhrzeit der Änderung | 20070724 | ||
| 5 | IV_TIME_UNTIL | Call by reference | Type reference (TYPE) | CDHDR-UTIME | '235959' | Uhrzeit der Änderung | 20070724 | ||
| 6 | IV_USERNAME | Call by reference | Type reference (TYPE) | CDHDR-USERNAME | SPACE | Benutzername des Änderers im Änderungsbeleg | 20070724 | ||
| 7 | RT_CHANGE_DOCUMENT | Value transfer | Type reference (TYPE) | CDREDCD_TAB | Tabellentyp zu CDRED für Änderungsbelege | 20070724 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070724 |
Method GET_EXCEPTION Signature
Method GET_EXCEPTION on class CL_QPCP_CPLAN_CHANGEDOC has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070724 |
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RR_CPLAN_CHANGEDOC_PERSISTENCY | Value transfer | Object reference (TYPE REF TO) | CL_QPCP_CPLAN_CHANGEDOC | 20070723 |
Method GET_INSTANCE on class CL_QPCP_CPLAN_CHANGEDOC has no exception.
Method IS_CHGDOC_ACTIVE_FOR_CPLAN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PLAN_GUID | Call by reference | Type reference (TYPE) | QPCP_GUID | 20070724 | ||||
| 2 | RV_ACTIVE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20070802 |
Method IS_CHGDOC_ACTIVE_FOR_CPLAN on class CL_QPCP_CPLAN_CHANGEDOC has no exception.
Method IS_CHGDOC_ACTIVE_FOR_PLANTYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_ENTITY | Call by reference | Object reference (TYPE REF TO) | CL_QPCP_ENTITY | Produktionslenkungsplan Entität | 20070724 | |||
| 2 | RV_ACTIVE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20070802 |
Method IS_CHGDOC_ACTIVE_FOR_PLANTYPE on class CL_QPCP_CPLAN_CHANGEDOC has no exception.
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in | 603 |