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 ABAP 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 MC_ROLE_EMPLOYEE Constant Public Type reference (TYPE) PLMT_PARTNER_ROLE 'BUP003' Business Partner Role 20070803
2 MS_DATA Instance attribute Public Type reference (TYPE) PLMM_AUDIT_ROLES Partner Data 20070719
3 MS_DATA_OLD Instance attribute Public Type reference (TYPE) PLMM_AUDIT_ROLES Partner Data Before Changes 20070719
4 MT_BUFFER_BUPA Static Attribute Private Type reference (TYPE) TT_BUFFER_BUPA Table for Read Business Partners 20070803
5 MT_LOADED_PLAN Static Attribute Private Type reference (TYPE) TY_T_LOADED_GUID Loaded Plans 20071004
6 MT_STACK Static Attribute Private Type reference (TYPE) QPCPT_PARTNER_REFS Table Containing References to Partners 20070801
7 MV_RESPONSIBLE_NAME Instance attribute Private Type reference (TYPE) BU_PARTNER Business Partner Number 20070803
Methods
# Method Level Visibility Method type Description Created on
1 AFTER_TRANSACTION_CLOSED Static method Public Method Clean Up After Ending Transaction 20070803
2 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20070719
3 CONVERT_DATA_INT2EXT Static method Private Method Data Conversion for UI 20070803
4 CREATE_BY_PLAN Static method Public Method Create Partner for Control Plan 20070801
5 DELETE Instance method Public Method Delete Partner(s) 20070801
6 GET_DATA_BEFORE_SAVE Instance method Private Method Return Current Database Fields Before Saving 20070719
7 GET_FIELD_ATTRIBUTES Instance method Public Method Field Attributes 20070801
8 GET_NEW_SORTNR Static method Private Method Generate Sort Number for Partner 20070802
9 GET_PARTNER_GUID Instance method Private Method Determine GUID for Business Partner 20070803
10 GET_UI_DATA Instance method Public Method Copy UI Information 20070801
11 IS_BUSINESSPARTNER_VALID Instance method Private Method Is the business partner valid? 20070803
12 IS_ROLE_SORTNR_UNIQUE Instance method Protected Method Is the sort number for the partner unique? 20070802
13 LOAD_BY_PLAN Static method Public Method Load Partner for Control Plan 20070801
14 PLAN_PARTNERS_CHANGED Static method Public Method Checks Whether Partner for a Plan Has Changed 20070802
15 PUSH_STACK Static method Private Method Fill Stack (Internal) 20070801
16 READ_STACK Static method Private Method Read Stack (Internal) 20070801
17 REMOVE_STACK Static method Private Method Delete Stack (Internal) 20070801
18 SET_UI_DATA 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 CX_QPCP_CPLAN Ausnahmenklasse zum Produktionslenkungsplan 20070803

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DATA Call by reference Type reference (TYPE) PLMM_AUDIT_ROLES Auditobjekte-GP-Partnerrolle 20070719
# Exception Resumable Description Created on
1 CX_QPCP_CPLAN Ausnahmenklasse zum Produktionslenkungsplan 20070719

Method CONVERT_DATA_INT2EXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ES_UI_DATA Call by reference Type reference (TYPE) QPCPS_PARTNER_UI UI Struktur zum Produktionslenkungsplanpartner 20070803
2 Importing IS_DATA Call by reference Type reference (TYPE) PLMM_AUDIT_ROLES Auditobjekte-GP-Partnerrolle 20070803
3 Importing 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 Importing IV_PARTNER_GUID Call by reference Type reference (TYPE) BU_PARTNER_GUID GUID eines Geschäftspartners 20070806
2 Importing IV_PLAN_GUID Call by reference Type reference (TYPE) QPCP_GUID GUID eines Elements des Produktionslenkungsplans 20070801
3 Importing IV_ROLE Call by reference Type reference (TYPE) PLMT_ROLE Rolle in der Abwicklung von Untersuchungen (Audits, FMEA,..) 20070802
4 Importing IV_SIMULATE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20070801
5 Returning RR_RESULT Value transfer Object reference (TYPE REF TO) CL_QPCP_PARTNER 20070801
# Exception Resumable Description Created on
1 CX_QPCP_CPLAN Ausnahmenklasse zum Produktionslenkungsplan 20070801

Method DELETE Signature

Method DELETE on class CL_QPCP_PARTNER has no parameter.
# Exception Resumable Description Created on
1 CX_QPCP_CPLAN 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 Exporting ES_CPLAN_PARTNER Call by reference Type reference (TYPE) PLMM_AUDIT_ROLES Auditobjekte-GP-Partnerrolle 20070725
2 Exporting 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 Exporting EV_EDIT_MODE Call by reference Type reference (TYPE) BOOLE_D Schreibmodus des Kontrollplans 20070801
2 Exporting EV_FIELD_VALUE Call by reference Type reference (TYPE) ANY 20070801
3 Exporting EV_FOUND Call by reference Type reference (TYPE) ABAP_BOOL Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20070801
4 Exporting EV_STATE_MODE Call by reference Type reference (TYPE) ABAP_BOOL Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20070801
5 Importing IV_EXT_DISPLAY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Datenelement zur Domäne BOOLE: TRUE (='X') und FALSE (=' ') 20070801
6 Importing IV_FIELD_NAME Call by reference Type reference (TYPE) NAME_FELD Feldname 20070801
# Exception Resumable Description Created on
1 CX_QPCP_CPLAN Ausnahmenklasse zum Produktionslenkungsplan 20070801

Method GET_NEW_SORTNR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PLAN_GUID Call by reference Type reference (TYPE) QPCP_GUID GUID eines Elements des Produktionslenkungsplans 20070802
2 Returning RV_RESULT Value transfer Type reference (TYPE) PLMT_ROLE_SORTNR Sortierreihenfolge der Rollen zum Auditobjekt 20070802
# Exception Resumable Description Created on
1 CX_QPCP_CPLAN Ausnahmenklasse zum Produktionslenkungsplan 20070802

Method GET_PARTNER_GUID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RESPONSIBLE_NAME Call by reference Type reference (TYPE) BU_PARTNER Geschäftspartnernummer 20070803
2 Returning 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 Returning RS_RESULT Value transfer Type reference (TYPE) QPCPS_PARTNER_UI UI Struktur zum Produktionslenkungsplanpartner 20070801
# Exception Resumable Description Created on
1 CX_QPCP_CPLAN Ausnahmenklasse zum Produktionslenkungsplan 20070801

Method IS_BUSINESSPARTNER_VALID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PARTNER_ROLE Call by reference Type reference (TYPE) PLMT_PARTNER_ROLE Geschäftspartnerrolle 20070803
2 Importing IV_RESPONSIBLE_NAME Call by reference Type reference (TYPE) BU_PARTNER Geschäftspartnernummer 20070803
3 Importing IV_ROLE Call by reference Type reference (TYPE) PLMT_ROLE Rolle in der Abwicklung von Untersuchungen (Audits, FMEA,..) 20070803
4 Returning RV_VALID Value transfer Type reference (TYPE) ABAP_BOOL 20070803
# Exception Resumable Description Created on
1 CX_QPCP_CPLAN 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 Importing IV_PLAN_GUID Call by reference Type reference (TYPE) QPCP_GUID GUID eines Elements des Produktionslenkungsplans 20070802
2 Importing IV_ROLE_SORTNR Call by reference Type reference (TYPE) PLMT_ROLE_SORTNR Sortierreihenfolge der Rollen zum Auditobjekt 20070802
3 Returning RV_UNIQUE Value transfer Type reference (TYPE) ABAP_BOOL 20070802
# Exception Resumable Description Created on
1 CX_QPCP_CPLAN Ausnahmenklasse zum Produktionslenkungsplan 20070802

Method LOAD_BY_PLAN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing 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 Importing IV_PARTNER_GUID Call by reference Type reference (TYPE) PLMT_IDENT Schlüssel 20070802
3 Importing IV_PLAN_GUID Call by reference Type reference (TYPE) QPCP_GUID GUID eines Elements des Produktionslenkungsplans 20070801
4 Returning RT_RESULT Value transfer Type reference (TYPE) QPCPT_PARTNER_REFS Tabelle mit Referenzen auf Partner 20070801
# Exception Resumable Description Created on
1 CX_QPCP_CPLAN Ausnahmenklasse zum Produktionslenkungsplan 20070801

Method PLAN_PARTNERS_CHANGED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PLAN_GUID Call by reference Type reference (TYPE) QPCP_GUID GUID eines Elements des Produktionslenkungsplans 20070802
2 Returning 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 CX_QPCP_CPLAN Ausnahmenklasse zum Produktionslenkungsplan 20070802

Method PUSH_STACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_STACK Call by reference Type reference (TYPE) QPCPT_PARTNER_REFS Tabelle mit Referenzen auf Partner 20070801
# Exception Resumable Description Created on
1 CX_QPCP_CPLAN Ausnahmenklasse zum Produktionslenkungsplan 20070801

Method READ_STACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PARTNER_GUID Call by reference Type reference (TYPE) PLMT_IDENT Schlüssel 20070802
2 Importing IV_PLAN_GUID Call by reference Type reference (TYPE) QPCP_GUID GUID eines Elements des Produktionslenkungsplans 20070801
3 Returning RT_RESULT Value transfer Type reference (TYPE) QPCPT_PARTNER_REFS Tabelle mit Referenzen auf Partner 20070801
# Exception Resumable Description Created on
1 CX_QPCP_CPLAN Ausnahmenklasse zum Produktionslenkungsplan 20070801

Method REMOVE_STACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_STACK Call by reference Type reference (TYPE) QPCPT_PARTNER_REFS Tabelle mit Referenzen auf Partner 20070801
2 Importing 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 CX_QPCP_CPLAN Ausnahmenklasse zum Produktionslenkungsplan 20070801

Method SET_UI_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_DATA Call by reference Type reference (TYPE) QPCPS_PARTNER_UI UI Struktur zum Produktionslenkungsplanpartner 20070801
# Exception Resumable Description Created on
1 CX_QPCP_CPLAN Ausnahmenklasse zum Produktionslenkungsplan 20070801
History
Last changed by/on SAP  20100310 
SAP Release Created in 603