SAP ABAP Class CL_BUPA_USER (SAP BP Proxy Class for User-Specific Matters)
Hierarchy
SAP_ABA (Software Component) Cross-Application Component
   AP-MD-BP-UI (Application Component) Dialog SAP-GUI
     BUPA_DIALOG (Package) SAP Business Partner: New Dialog Interface
Properties
Class CL_BUPA_USER  
Short Description SAP BP Proxy Class for User-Specific Matters    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package BUPA_DIALOG   SAP Business Partner: New Dialog Interface 
Created 20000815   SAP 
Last change 20001121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_BUPA_USER has no forward declaration.
Interfaces
Class CL_BUPA_USER has no interface implemented.
Friends
Class CL_BUPA_USER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_DIALOG_ACTIVITY Constant Private See coding Constant: Activities 20000815
2 GC_OBJAP_BUPA Constant Private Type reference (TYPE) BU_OBJAP 'BUPA' Constant: BDT Application Object Business Partner 20000815
3 GC_PARTNER_ROLE_GENERAL Constant Private Type reference (TYPE) BUS_PARTNER-ROLE '000000' Constant: General Role 20001122
4 GC_PARTNER_TYPE Constant Private See coding Constant: Business Partner Categories 20000815
5 GC_X Constant Private Type reference (TYPE) BU_BOOLEAN 'X' Constant: TRUE 20000815
6 GV_CURRENT_USER Static Attribute Private Object reference (TYPE REF TO) CL_BUPA_USER Singleton: Current User 20000815
7 GV_LANGUAGE Instance attribute Public Type reference (TYPE) SY-LANGU Logon Language 20000815
8 GV_NAME Instance attribute Private Type reference (TYPE) AD_NAMTEXT User Name 20000815
9 GV_TEST Instance attribute Private Type reference (TYPE) BU_BOOLEAN Indicator: Test mode 20000815
10 GV_TIMEZONE Instance attribute Public Type reference (TYPE) TZONREF-TZONE Time Zone 20000815
11 GV_USER_NAME Instance attribute Public Type reference (TYPE) SY-UNAME User ID 20000815
Methods
# Method Level Visibility Method type Description Created on
1 CAN_ADD_PARTNER_ROLE Instance method Public Method Checks Authorization to Add Partner Role 20000815
2 CAN_CHANGE_PARTNER Static method Public Method Checks Authorization to Change Partner 20001122
3 CAN_CHANGE_PARTNER_ROLE Instance method Public Method Checks Authorization to Change Partner Role 20000815
4 CAN_CHANGE_RELATIONSHIP Instance method Public Method Checks Authorization to Change Relationship 20000815
5 CAN_CREATE_GROUPS Instance method Public Method Checks Authorization to Create Group 20000815
6 CAN_CREATE_ORGANIZATIONS Instance method Public Method Checks Authorization to Create Organization 20000815
7 CAN_CREATE_PARTNERS Instance method Public Method Checks Authorization to Create Business Partner 20000815
8 CAN_CREATE_PERSONS Instance method Public Method Checks Authorization to Create Person 20000815
9 CAN_CREATE_RELATIONSHIP Instance method Public Method Checks Authorization to Create Relationship 20000815
10 CAN_DELETE_RELATIONSHIP Instance method Public Method Checks Authorization to Delete Relationship 20000815
11 CAN_DISPLAY_PARTNER Static method Public Method Checks Authorization to Display Partner 20001122
12 CAN_DISPLAY_PARTNER_ROLE Instance method Public Method Checks Authorization to Display Partner Role 20000815
13 CAN_DISPLAY_RELATIONSHIP Instance method Public Method Checks Authorization to Display Relationship 20000815
14 GET_CURRENT_USER Static method Public Method Provides a Reference to Current User 20000815
15 GET_NAME Instance method Public Method Provides Name of This User 20000815
16 GET_NAME_OF Static method Public Method Provides Name of Any User 20000815
17 GET_PARTNER_ROLE_TITLE Instance method Private Method Provides Name for Partner Role 20000815
18 GET_RELATIONSHIP_TYPE_TITLE Instance method Private Method Provides Name for Relationship Category 20000815
Events
Class CL_BUPA_USER has no event.
Types
Class CL_BUPA_USER has no local type.
Method Signatures

Method CAN_ADD_PARTNER_ROLE 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) BUS_PARTNER-ROLE IV_PARTNER_ROLE 20000815
# Exception Resumable Description Created on
1 NOT_ALLOWED NOT_ALLOWED 20000815

Method CAN_CHANGE_PARTNER 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) BUS_PARTNER-GUID GUID eines Geschäftspartners 20001122
2 Importing IV_USE_CURRENT_MEMORY Call by reference Type reference (TYPE) BU_BOOLEAN Kennzeichen: Current Memory benutzen 20001122
3 Importing IV_USE_GLOBAL_MEMORY Call by reference Type reference (TYPE) BU_BOOLEAN Kennzeichen: Globales Memory benutzen 20001122
4 Importing IV_USE_READ_BUFFER Call by reference Type reference (TYPE) BU_BOOLEAN 'X' Kennzeichen: Lesepuffer benutzen 20001122
# Exception Resumable Description Created on
1 ALLOWED_WITH_WARNING Änderungen erlaubt mit Warnung 20001122
2 NOT_ALLOWED Änderungen nich erlaubt 20001122

Method CAN_CHANGE_PARTNER_ROLE 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) BUS_PARTNER-ROLE IV_PARTNER_ROLE 20000815
# Exception Resumable Description Created on
1 NOT_ALLOWED NOT_ALLOWED 20000815

Method CAN_CHANGE_RELATIONSHIP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RELATIONSHIP_TYPE Call by reference Type reference (TYPE) BURS_RELATIONSHIP-TYPE Beziehungstyp 20000815
# Exception Resumable Description Created on
1 NOT_ALLOWED NOT_ALLOWED 20000815

Method CAN_CREATE_GROUPS 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) BUS_PARTNER-ROLE '000000' 20030325
# Exception Resumable Description Created on
1 NOT_ALLOWED NOT_ALLOWED 20000815

Method CAN_CREATE_ORGANIZATIONS 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) BUS_PARTNER-ROLE '000000' 20030325
# Exception Resumable Description Created on
1 NOT_ALLOWED NOT_ALLOWED 20000815

Method CAN_CREATE_PARTNERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_PARTNER_TYPE Call by reference Type reference (TYPE) BUS_PARTNER-TYPE IV_PARTNER_TYPE 20000815
# Exception Resumable Description Created on
1 NOT_ALLOWED NOT_ALLOWED 20000815

Method CAN_CREATE_PERSONS 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) BUS_PARTNER-ROLE '000000' 20030325
# Exception Resumable Description Created on
1 NOT_ALLOWED NOT_ALLOWED 20000815

Method CAN_CREATE_RELATIONSHIP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RELATIONSHIP_TYPE Call by reference Type reference (TYPE) BURS_RELATIONSHIP-TYPE Beziehungstyp 20000815
# Exception Resumable Description Created on
1 NOT_ALLOWED NOT_ALLOWED 20000815

Method CAN_DELETE_RELATIONSHIP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RELATIONSHIP_TYPE Call by reference Type reference (TYPE) BURS_RELATIONSHIP-TYPE Beziehungstyp 20000815
# Exception Resumable Description Created on
1 NOT_ALLOWED NOT_ALLOWED 20000815

Method CAN_DISPLAY_PARTNER 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) BUS_PARTNER-GUID GUID eines Geschäftspartners 20001122
2 Importing IV_USE_CURRENT_MEMORY Call by reference Type reference (TYPE) BU_BOOLEAN Kennzeichen: Current Memory benutzen 20001122
3 Importing IV_USE_GLOBAL_MEMORY Call by reference Type reference (TYPE) BU_BOOLEAN Kennzeichen: Globales Memory benutzen 20001122
4 Importing IV_USE_READ_BUFFER Call by reference Type reference (TYPE) BU_BOOLEAN 'X' Kennzeichen: Lesepuffer benutzen 20001122
# Exception Resumable Description Created on
1 NOT_ALLOWED Anzeige nicht erlaubt 20001122

Method CAN_DISPLAY_PARTNER_ROLE 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) BUS_PARTNER-ROLE IV_PARTNER_ROLE 20000815
# Exception Resumable Description Created on
1 NOT_ALLOWED NOT_ALLOWED 20000815

Method CAN_DISPLAY_RELATIONSHIP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RELATIONSHIP_TYPE Call by reference Type reference (TYPE) BURS_RELATIONSHIP-TYPE Beziehungstyp 20000815
# Exception Resumable Description Created on
1 NOT_ALLOWED NOT_ALLOWED 20000815

Method GET_CURRENT_USER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_USER Call by reference Object reference (TYPE REF TO) CL_BUPA_USER EV_USER 20000815

Method GET_CURRENT_USER on class CL_BUPA_USER has no exception.

Method GET_NAME Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_NAME Call by reference Type reference (TYPE) C EV_NAME 20000815

Method GET_NAME on class CL_BUPA_USER has no exception.

Method GET_NAME_OF Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_NAME Call by reference Type reference (TYPE) C EV_NAME 20000815
2 Importing IV_USER_NAME Call by reference Type reference (TYPE) SY-UNAME IV_USER_NAME 20000815

Method GET_NAME_OF on class CL_BUPA_USER has no exception.

Method GET_PARTNER_ROLE_TITLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_TITLE Call by reference Type reference (TYPE) BUS_PARTNER-ROLE_TITLE Bildtitel (Objektteilabhängiger Bestandteil) 20000815
2 Importing IV_PARTNER_ROLE Call by reference Type reference (TYPE) BUS_PARTNER-ROLE GP-Rolle 20000815

Method GET_PARTNER_ROLE_TITLE on class CL_BUPA_USER has no exception.

Method GET_RELATIONSHIP_TYPE_TITLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_TITLE Call by reference Type reference (TYPE) BURS_RELATIONSHIP-TYPE_TITLE Titel 20000815
2 Importing IS_RELATIONSHIP_TYPE Call by reference Type reference (TYPE) BURS_RELATIONSHIP-TYPE Beziehungstyp 20000815

Method GET_RELATIONSHIP_TYPE_TITLE on class CL_BUPA_USER has no exception.
History
Last changed by/on SAP  20001121 
SAP Release Created in 20C