SAP ABAP Class CL_QPCP_PARTNER (Partner in Control Plan)
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_ENTITY | Control-Plan Entity | 20070719 |
Properties
| Class | CL_QPCP_PARTNER | |
| Short Description | Partner in Control Plan | |
| Super Class | CL_QPCP_ENTITY | Control-Plan Entity |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | QPCP | QM: Control Plan |
| Created | 20070719 | 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_PARTNER has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_QPCP_PARTNER_PERSISTENCY | 20070719 | Persistency Object - Control Plan Partner |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | PLMT_PARTNER_ROLE | 'BUP003' | Business Partner Role | 20070803 | ||
| 2 | Instance attribute | Public | Type reference (TYPE) | PLMM_AUDIT_ROLES | Partner Data | 20070719 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | PLMM_AUDIT_ROLES | Partner Data Before Changes | 20070719 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | TT_BUFFER_BUPA | Table for Read Business Partners | 20070803 | |||
| 5 | Static Attribute | Private | Type reference (TYPE) | TY_T_LOADED_GUID | Loaded Plans | 20071004 | |||
| 6 | Static Attribute | Private | Type reference (TYPE) | QPCPT_PARTNER_REFS | Table Containing References to Partners | 20070801 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | BU_PARTNER | Business Partner Number | 20070803 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Clean Up After Ending Transaction | 20070803 | |
| 2 | Instance method | Public | Constructor | CONSTRUCTOR | 20070719 | |
| 3 | Static method | Private | Method | Data Conversion for UI | 20070803 | |
| 4 | Static method | Public | Method | Create Partner for Control Plan | 20070801 | |
| 5 | Instance method | Public | Method | Delete Partner(s) | 20070801 | |
| 6 | Instance method | Private | Method | Return Current Database Fields Before Saving | 20070719 | |
| 7 | Instance method | Public | Method | Field Attributes | 20070801 | |
| 8 | Static method | Private | Method | Generate Sort Number for Partner | 20070802 | |
| 9 | Instance method | Private | Method | Determine GUID for Business Partner | 20070803 | |
| 10 | Instance method | Public | Method | Copy UI Information | 20070801 | |
| 11 | Instance method | Private | Method | Is the business partner valid? | 20070803 | |
| 12 | Instance method | Protected | Method | Is the sort number for the partner unique? | 20070802 | |
| 13 | Static method | Public | Method | Load Partner for Control Plan | 20070801 | |
| 14 | Static method | Public | Method | Checks Whether Partner for a Plan Has Changed | 20070802 | |
| 15 | Static method | Private | Method | Fill Stack (Internal) | 20070801 | |
| 16 | Static method | Private | Method | Read Stack (Internal) | 20070801 | |
| 17 | Static method | Private | Method | Delete Stack (Internal) | 20070801 | |
| 18 | Instance method | Public | Method | Copy UI Information | 20070801 |
Events
Class CL_QPCP_PARTNER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_BUFFER_BUPA | Private | See coding | Structure for Read Business Partners | 20070803 | BEGIN OF ts_buffer_bupa,
guid TYPE plmt_ident,
name TYPE bu_partner,
description TYPE plmt_bu_descrip,
s_but000 TYPE but000,
s_addressdata TYPE bapibus1006_address,
t_bapiadtel TYPE STANDARD TABLE OF bapiadtel WITH KEY consnumber,
t_bapiadsmtp TYPE STANDARD TABLE OF bapiadsmtp WITH KEY consnumber,
END OF ts_buffer_bupa
|
|
| 2 | TT_BUFFER_BUPA | Private | See coding | Table for Read Business Partners | 20070803 | tt_buffer_bupa TYPE SORTED TABLE OF ts_buffer_bupa
WITH UNIQUE KEY guid
|
Method Signatures
Method AFTER_TRANSACTION_CLOSED Signature
Method AFTER_TRANSACTION_CLOSED on class CL_QPCP_PARTNER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070803 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DATA | Call by reference | Type reference (TYPE) | PLMM_AUDIT_ROLES | Auditobjekte-GP-Partnerrolle | 20070719 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070719 |
Method CONVERT_DATA_INT2EXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_UI_DATA | Call by reference | Type reference (TYPE) | QPCPS_PARTNER_UI | UI Struktur zum Produktionslenkungsplanpartner | 20070803 | |||
| 2 | IS_DATA | Call by reference | Type reference (TYPE) | PLMM_AUDIT_ROLES | Auditobjekte-GP-Partnerrolle | 20070803 | |||
| 3 | IV_LANGU | Call by reference | Type reference (TYPE) | LANGU | SY-LANGU | Sprachenschlüssel | 20070803 |
Method CONVERT_DATA_INT2EXT on class CL_QPCP_PARTNER has no exception.
Method CREATE_BY_PLAN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PARTNER_GUID | Call by reference | Type reference (TYPE) | BU_PARTNER_GUID | GUID eines Geschäftspartners | 20070806 | |||
| 2 | IV_PLAN_GUID | Call by reference | Type reference (TYPE) | QPCP_GUID | GUID eines Elements des Produktionslenkungsplans | 20070801 | |||
| 3 | IV_ROLE | Call by reference | Type reference (TYPE) | PLMT_ROLE | Rolle in der Abwicklung von Untersuchungen (Audits, FMEA,..) | 20070802 | |||
| 4 | IV_SIMULATE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20070801 | ||
| 5 | RR_RESULT | Value transfer | Object reference (TYPE REF TO) | CL_QPCP_PARTNER | 20070801 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070801 |
Method DELETE Signature
Method DELETE on class CL_QPCP_PARTNER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070801 |
Method GET_DATA_BEFORE_SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_CPLAN_PARTNER | Call by reference | Type reference (TYPE) | PLMM_AUDIT_ROLES | Auditobjekte-GP-Partnerrolle | 20070725 | |||
| 2 | ES_CPLAN_PARTNER_OLD | Call by reference | Type reference (TYPE) | PLMM_AUDIT_ROLES | Auditobjekte-GP-Partnerrolle (before image) | 20070725 |
Method GET_DATA_BEFORE_SAVE on class CL_QPCP_PARTNER has no exception.
Method GET_FIELD_ATTRIBUTES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_EDIT_MODE | Call by reference | Type reference (TYPE) | BOOLE_D | Schreibmodus des Kontrollplans | 20070801 | |||
| 2 | EV_FIELD_VALUE | Call by reference | Type reference (TYPE) | ANY | 20070801 | ||||
| 3 | EV_FOUND | Call by reference | Type reference (TYPE) | ABAP_BOOL | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20070801 | |||
| 4 | EV_STATE_MODE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20070801 | |||
| 5 | IV_EXT_DISPLAY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20070801 | ||
| 6 | IV_FIELD_NAME | Call by reference | Type reference (TYPE) | NAME_FELD | Feldname | 20070801 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070801 |
Method GET_NEW_SORTNR 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 | GUID eines Elements des Produktionslenkungsplans | 20070802 | |||
| 2 | RV_RESULT | Value transfer | Type reference (TYPE) | PLMT_ROLE_SORTNR | Sortierreihenfolge der Rollen zum Auditobjekt | 20070802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070802 |
Method GET_PARTNER_GUID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_RESPONSIBLE_NAME | Call by reference | Type reference (TYPE) | BU_PARTNER | Geschäftspartnernummer | 20070803 | |||
| 2 | RV_PARTNER_GUID | Value transfer | Type reference (TYPE) | BU_PARTNER_GUID | GUID eines Geschäftspartners | 20070803 |
Method GET_PARTNER_GUID on class CL_QPCP_PARTNER has no exception.
Method GET_UI_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_RESULT | Value transfer | Type reference (TYPE) | QPCPS_PARTNER_UI | UI Struktur zum Produktionslenkungsplanpartner | 20070801 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070801 |
Method IS_BUSINESSPARTNER_VALID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PARTNER_ROLE | Call by reference | Type reference (TYPE) | PLMT_PARTNER_ROLE | Geschäftspartnerrolle | 20070803 | |||
| 2 | IV_RESPONSIBLE_NAME | Call by reference | Type reference (TYPE) | BU_PARTNER | Geschäftspartnernummer | 20070803 | |||
| 3 | IV_ROLE | Call by reference | Type reference (TYPE) | PLMT_ROLE | Rolle in der Abwicklung von Untersuchungen (Audits, FMEA,..) | 20070803 | |||
| 4 | RV_VALID | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20070803 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070803 |
Method IS_ROLE_SORTNR_UNIQUE 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 | GUID eines Elements des Produktionslenkungsplans | 20070802 | |||
| 2 | IV_ROLE_SORTNR | Call by reference | Type reference (TYPE) | PLMT_ROLE_SORTNR | Sortierreihenfolge der Rollen zum Auditobjekt | 20070802 | |||
| 3 | RV_UNIQUE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20070802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070802 |
Method LOAD_BY_PLAN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EDIT_MODE | Call by reference | Type reference (TYPE) | QPCP_EDIT_MODE | CL_QPCP_CPLAN=>MC_DISPLAY_MODE | Anzeigen 'D'; Ändern 'E'; Simulieren 'S' | 20070801 | ||
| 2 | IV_PARTNER_GUID | Call by reference | Type reference (TYPE) | PLMT_IDENT | Schlüssel | 20070802 | |||
| 3 | IV_PLAN_GUID | Call by reference | Type reference (TYPE) | QPCP_GUID | GUID eines Elements des Produktionslenkungsplans | 20070801 | |||
| 4 | RT_RESULT | Value transfer | Type reference (TYPE) | QPCPT_PARTNER_REFS | Tabelle mit Referenzen auf Partner | 20070801 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070801 |
Method PLAN_PARTNERS_CHANGED 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 | GUID eines Elements des Produktionslenkungsplans | 20070802 | |||
| 2 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20070802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070802 |
Method PUSH_STACK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_STACK | Call by reference | Type reference (TYPE) | QPCPT_PARTNER_REFS | Tabelle mit Referenzen auf Partner | 20070801 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070801 |
Method READ_STACK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PARTNER_GUID | Call by reference | Type reference (TYPE) | PLMT_IDENT | Schlüssel | 20070802 | |||
| 2 | IV_PLAN_GUID | Call by reference | Type reference (TYPE) | QPCP_GUID | GUID eines Elements des Produktionslenkungsplans | 20070801 | |||
| 3 | RT_RESULT | Value transfer | Type reference (TYPE) | QPCPT_PARTNER_REFS | Tabelle mit Referenzen auf Partner | 20070801 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070801 |
Method REMOVE_STACK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_STACK | Call by reference | Type reference (TYPE) | QPCPT_PARTNER_REFS | Tabelle mit Referenzen auf Partner | 20070801 | |||
| 2 | IV_FINALIZED_ENTRY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') | 20070803 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070801 |
Method SET_UI_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_DATA | Call by reference | Type reference (TYPE) | QPCPS_PARTNER_UI | UI Struktur zum Produktionslenkungsplanpartner | 20070801 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmenklasse zum Produktionslenkungsplan | 20070801 |
History
| Last changed by/on | SAP | 20100310 |
| SAP Release Created in | 603 |