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 | Constant | Private | See coding | Constant: Activities | 20000815 | ||||
| 2 | Constant | Private | Type reference (TYPE) | BU_OBJAP | 'BUPA' | Constant: BDT Application Object Business Partner | 20000815 | ||
| 3 | Constant | Private | Type reference (TYPE) | BUS_PARTNER-ROLE | '000000' | Constant: General Role | 20001122 | ||
| 4 | Constant | Private | See coding | Constant: Business Partner Categories | 20000815 | ||||
| 5 | Constant | Private | Type reference (TYPE) | BU_BOOLEAN | 'X' | Constant: TRUE | 20000815 | ||
| 6 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_BUPA_USER | Singleton: Current User | 20000815 | |||
| 7 | Instance attribute | Public | Type reference (TYPE) | SY-LANGU | Logon Language | 20000815 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | AD_NAMTEXT | User Name | 20000815 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | BU_BOOLEAN | Indicator: Test mode | 20000815 | |||
| 10 | Instance attribute | Public | Type reference (TYPE) | TZONREF-TZONE | Time Zone | 20000815 | |||
| 11 | Instance attribute | Public | Type reference (TYPE) | SY-UNAME | User ID | 20000815 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Checks Authorization to Add Partner Role | 20000815 | |
| 2 | Static method | Public | Method | Checks Authorization to Change Partner | 20001122 | |
| 3 | Instance method | Public | Method | Checks Authorization to Change Partner Role | 20000815 | |
| 4 | Instance method | Public | Method | Checks Authorization to Change Relationship | 20000815 | |
| 5 | Instance method | Public | Method | Checks Authorization to Create Group | 20000815 | |
| 6 | Instance method | Public | Method | Checks Authorization to Create Organization | 20000815 | |
| 7 | Instance method | Public | Method | Checks Authorization to Create Business Partner | 20000815 | |
| 8 | Instance method | Public | Method | Checks Authorization to Create Person | 20000815 | |
| 9 | Instance method | Public | Method | Checks Authorization to Create Relationship | 20000815 | |
| 10 | Instance method | Public | Method | Checks Authorization to Delete Relationship | 20000815 | |
| 11 | Static method | Public | Method | Checks Authorization to Display Partner | 20001122 | |
| 12 | Instance method | Public | Method | Checks Authorization to Display Partner Role | 20000815 | |
| 13 | Instance method | Public | Method | Checks Authorization to Display Relationship | 20000815 | |
| 14 | Static method | Public | Method | Provides a Reference to Current User | 20000815 | |
| 15 | Instance method | Public | Method | Provides Name of This User | 20000815 | |
| 16 | Static method | Public | Method | Provides Name of Any User | 20000815 | |
| 17 | Instance method | Private | Method | Provides Name for Partner Role | 20000815 | |
| 18 | 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 | IV_PARTNER_ROLE | Call by reference | Type reference (TYPE) | BUS_PARTNER-ROLE | IV_PARTNER_ROLE | 20000815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | NOT_ALLOWED | 20000815 |
Method CAN_CHANGE_PARTNER 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) | BUS_PARTNER-GUID | GUID eines Geschäftspartners | 20001122 | |||
| 2 | IV_USE_CURRENT_MEMORY | Call by reference | Type reference (TYPE) | BU_BOOLEAN | Kennzeichen: Current Memory benutzen | 20001122 | |||
| 3 | IV_USE_GLOBAL_MEMORY | Call by reference | Type reference (TYPE) | BU_BOOLEAN | Kennzeichen: Globales Memory benutzen | 20001122 | |||
| 4 | IV_USE_READ_BUFFER | Call by reference | Type reference (TYPE) | BU_BOOLEAN | 'X' | Kennzeichen: Lesepuffer benutzen | 20001122 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Änderungen erlaubt mit Warnung | 20001122 | ||
| 2 | Ä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 | IV_PARTNER_ROLE | Call by reference | Type reference (TYPE) | BUS_PARTNER-ROLE | IV_PARTNER_ROLE | 20000815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | NOT_ALLOWED | 20000815 |
Method CAN_CHANGE_RELATIONSHIP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_RELATIONSHIP_TYPE | Call by reference | Type reference (TYPE) | BURS_RELATIONSHIP-TYPE | Beziehungstyp | 20000815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | NOT_ALLOWED | 20000815 |
Method CAN_CREATE_GROUPS 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) | BUS_PARTNER-ROLE | '000000' | 20030325 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | NOT_ALLOWED | 20000815 |
Method CAN_CREATE_ORGANIZATIONS 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) | BUS_PARTNER-ROLE | '000000' | 20030325 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | NOT_ALLOWED | 20000815 |
Method CAN_CREATE_PARTNERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PARTNER_TYPE | Call by reference | Type reference (TYPE) | BUS_PARTNER-TYPE | IV_PARTNER_TYPE | 20000815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | NOT_ALLOWED | 20000815 |
Method CAN_CREATE_PERSONS 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) | BUS_PARTNER-ROLE | '000000' | 20030325 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | NOT_ALLOWED | 20000815 |
Method CAN_CREATE_RELATIONSHIP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_RELATIONSHIP_TYPE | Call by reference | Type reference (TYPE) | BURS_RELATIONSHIP-TYPE | Beziehungstyp | 20000815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | NOT_ALLOWED | 20000815 |
Method CAN_DELETE_RELATIONSHIP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_RELATIONSHIP_TYPE | Call by reference | Type reference (TYPE) | BURS_RELATIONSHIP-TYPE | Beziehungstyp | 20000815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | NOT_ALLOWED | 20000815 |
Method CAN_DISPLAY_PARTNER 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) | BUS_PARTNER-GUID | GUID eines Geschäftspartners | 20001122 | |||
| 2 | IV_USE_CURRENT_MEMORY | Call by reference | Type reference (TYPE) | BU_BOOLEAN | Kennzeichen: Current Memory benutzen | 20001122 | |||
| 3 | IV_USE_GLOBAL_MEMORY | Call by reference | Type reference (TYPE) | BU_BOOLEAN | Kennzeichen: Globales Memory benutzen | 20001122 | |||
| 4 | IV_USE_READ_BUFFER | Call by reference | Type reference (TYPE) | BU_BOOLEAN | 'X' | Kennzeichen: Lesepuffer benutzen | 20001122 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_PARTNER_ROLE | Call by reference | Type reference (TYPE) | BUS_PARTNER-ROLE | IV_PARTNER_ROLE | 20000815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | NOT_ALLOWED | 20000815 |
Method CAN_DISPLAY_RELATIONSHIP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_RELATIONSHIP_TYPE | Call by reference | Type reference (TYPE) | BURS_RELATIONSHIP-TYPE | Beziehungstyp | 20000815 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | NOT_ALLOWED | 20000815 |
Method GET_CURRENT_USER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 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 | 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 | EV_NAME | Call by reference | Type reference (TYPE) | C | EV_NAME | 20000815 | |||
| 2 | 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 | EV_TITLE | Call by reference | Type reference (TYPE) | BUS_PARTNER-ROLE_TITLE | Bildtitel (Objektteilabhängiger Bestandteil) | 20000815 | |||
| 2 | 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 | EV_TITLE | Call by reference | Type reference (TYPE) | BURS_RELATIONSHIP-TYPE_TITLE | Titel | 20000815 | |||
| 2 | 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 |