SAP ABAP Class CH_REBP_ADDRESS_MNGR (Address Manager: Event Handler)
Hierarchy
☛
EA-FIN (Software Component) EA-FIN
⤷
RE-FX-BP (Application Component) Business Partner
⤷
RE_BP_AD (Package) RE: Address Management
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_RECA_STATIC_EVENT_HANDLER | Event Handler (Static) | 20060216 |
Properties
| Class | CH_REBP_ADDRESS_MNGR | |
| Short Description | Address Manager: Event Handler | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RE_BP_AD | RE: Address Management |
| Created | 20060216 | SAP |
| Last change | 20110908 | 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) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 4 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_RECA_STATIC_EVENT_HANDLER | Event Handler (Static) | 20060216 |
Friends
Class CH_REBP_ADDRESS_MNGR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Protected | Type reference (TYPE) | TY_T_PARTNER_ADDRESS | 20091204 | ||||
| 2 | Static Attribute | Protected | Type reference (TYPE) | TY_T_PARTNER_ASSIGNED | 20101103 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Event handling method | After Changing Address | 20060216 | |
| 2 | Static method | Public | Method | Check If Partner Already Selected | 20091208 | |
| 3 | Static method | Private | Event handling method | System Event at End of Transaction | 20091204 | |
| 4 | Static method | Public | Method | Selects Partner for Adoption of Address Type | 20101104 | |
| 5 | Static method | Public | Method | Selects Partner for Adoption of Object Address | 20091204 | |
| 6 | Instance method | Public | Method | 20060216 | ||
| 7 | Static method | Public | Method | Updates Object Number (Save) | 20100630 | |
| 8 | Static method | Public | Method | Updates Partner Number (Save) | 20101006 | |
| 9 | Static method | Public | Method | Updates Validity Period (Save) | 20100928 |
Events
Class CH_REBP_ADDRESS_MNGR has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_PARTNER_ADDRESS | Protected | See coding | 20091204 | BEGIN OF ty_s_partner_address,
objtype TYPE recaobjtype,
objnr TYPE recaobjnr,
partner TYPE bu_partner,
role TYPE rebprole,
adrkind TYPE bu_adrkind,
validto TYPE recadateto,
validfrom TYPE recadatefrom,
address TYPE szadr_addr1_complete,
END OF ty_s_partner_address
|
||
| 2 | TY_S_PARTNER_ASSIGNED | Protected | See coding | 20101110 | BEGIN OF ty_s_partner_assigned,
objtype TYPE recaobjtype,
objnr TYPE recaobjnr,
partner TYPE bu_partner,
role TYPE rebprole,
adrkind TYPE bu_adrkind,
validto TYPE recadateto,
validfrom TYPE recadatefrom,
objrelguid TYPE rebpobjrelguid,
changeind TYPE recachangeind,
END OF ty_s_partner_assigned
|
||
| 3 | TY_T_PARTNER_ADDRESS | Protected | See coding | 20091204 | ty_t_partner_address TYPE STANDARD TABLE OF ty_s_partner_address
|
||
| 4 | TY_T_PARTNER_ASSIGNED | Protected | See coding | 20101110 | ty_t_partner_assigned TYPE STANDARD TABLE OF ty_s_partner_assigned
|
Method Signatures
Method ADDRESS_MNGR_AFTER_CHANGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_ADDRESS_REL_NEW | Call by reference | Attribute reference (LIKE) | 20060216 | |||||
| 2 | IS_ADDRESS_REL_OLD | Call by reference | Attribute reference (LIKE) | 20060216 | |||||
| 3 | SENDER | Call by reference | Attribute reference (LIKE) | 20060216 |
Method ADDRESS_MNGR_AFTER_CHANGE on class CH_REBP_ADDRESS_MNGR has no exception.
Method CHECK_ADDRESS_TAKEOVER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EF_FOUND | Call by reference | Type reference (TYPE) | RECABOOL | Partner markiert? | 20091208 | |||
| 2 | ID_ADR_KIND | Call by reference | Type reference (TYPE) | BU_ADRKIND | Adressart | 20091208 | |||
| 3 | ID_OBJNR | Call by reference | Type reference (TYPE) | RECAOBJNR | Objektnummer | 20091208 | |||
| 4 | ID_OBJTYPE | Call by reference | Type reference (TYPE) | RECAOBJTYPE | Objektart | 20091208 | |||
| 5 | ID_PARTNER | Call by reference | Type reference (TYPE) | BU_PARTNER | Geschäftspartnernummer | 20091208 | |||
| 6 | ID_ROLE | Call by reference | Type reference (TYPE) | REBPROLE | SPACE | Geschäftspartner: Rolle | 20100701 |
Method CHECK_ADDRESS_TAKEOVER on class CH_REBP_ADDRESS_MNGR has no exception.
Method HANDLE_TRANSACTION_FINISHED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | KIND | Call by reference | Attribute reference (LIKE) | 20091204 |
Method HANDLE_TRANSACTION_FINISHED on class CH_REBP_ADDRESS_MNGR has no exception.
Method MARK_FOR_ADDRESSKIND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_ADR_KIND | Call by reference | Type reference (TYPE) | BU_ADRKIND | SPACE | Adressart | 20101104 | ||
| 2 | ID_OBJNR | Call by reference | Type reference (TYPE) | RECAOBJNR | Objektnummer | 20101104 | |||
| 3 | ID_OBJRELGUID | Call by reference | Type reference (TYPE) | REBPOBJRELGUID | GUID: Geschäftspartner-Objektbeziehung | 20101110 | |||
| 4 | ID_OBJTYPE | Call by reference | Type reference (TYPE) | RECAOBJTYPE | Objektart | 20101104 | |||
| 5 | ID_PARTNER | Call by reference | Type reference (TYPE) | BU_PARTNER | SPACE | Geschäftspartnernummer | 20101104 | ||
| 6 | ID_ROLE | Call by reference | Type reference (TYPE) | REBPROLE | SPACE | Geschäftspartner: Rolle | 20101104 | ||
| 7 | IF_DELETE | Call by reference | Type reference (TYPE) | RECABOOL | ABAP_FALSE | Eintrag löschen | 20101104 | ||
| 8 | IS_VALIDPERIOD | Call by reference | Type reference (TYPE) | RECADATERANGE | Gültigkeitszeitraum | 20101104 |
Method MARK_FOR_ADDRESSKIND on class CH_REBP_ADDRESS_MNGR has no exception.
Method MARK_FOR_ADDRESS_TAKEOVER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_ADR_KIND | Call by reference | Type reference (TYPE) | BU_ADRKIND | Adressart | 20091204 | |||
| 2 | ID_OBJNR | Call by reference | Type reference (TYPE) | RECAOBJNR | Objektnummer | 20091208 | |||
| 3 | ID_OBJTYPE | Call by reference | Type reference (TYPE) | RECAOBJTYPE | Objektart | 20091208 | |||
| 4 | ID_PARTNER | Call by reference | Type reference (TYPE) | BU_PARTNER | Geschäftspartnernummer | 20091204 | |||
| 5 | ID_ROLE | Call by reference | Type reference (TYPE) | REBPROLE | SPACE | Geschäftspartner: Rolle | 20100701 | ||
| 6 | IF_DELETE | Call by reference | Type reference (TYPE) | RECABOOL | ABAP_FALSE | Eintrag löschen | 20091208 | ||
| 7 | IS_ADDRESS | Call by reference | Type reference (TYPE) | SZADR_ADDR1_COMPLETE | vollst. Adressobjekt | 20091204 | |||
| 8 | IS_VALIDPERIOD | Call by reference | Type reference (TYPE) | RECADATERANGE | Gültigkeitszeitraum | 20091204 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Adressdaten fehlen | 20091208 |
Method SET_HANDLER Signature
Method SET_HANDLER on class CH_REBP_ADDRESS_MNGR has no parameter.
Method SET_HANDLER on class CH_REBP_ADDRESS_MNGR has no exception.
Method SWITCH_ADDRESS_TAKEOVER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_OBJNR_NEW | Call by reference | Type reference (TYPE) | RECAOBJNR | Objektnummer (neu) | 20100630 | |||
| 2 | ID_OBJNR_OLD | Call by reference | Type reference (TYPE) | RECAOBJNR | Objektnummer (alt) | 20100630 | |||
| 3 | ID_OBJTYPE | Call by reference | Type reference (TYPE) | RECAOBJTYPE | Objektart | 20100630 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Einträge zum Schlüssel nicht gefunden | 20100630 |
Method SWITCH_PARTNER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_OBJNR | Call by reference | Type reference (TYPE) | RECAOBJNR | Objektnummer | 20101006 | |||
| 2 | ID_OBJTYPE | Call by reference | Type reference (TYPE) | RECAOBJTYPE | Objektart | 20101006 | |||
| 3 | ID_PARTNER_NEW | Call by reference | Type reference (TYPE) | BU_PARTNER | Partnernummer (neu) | 20101006 | |||
| 4 | ID_PARTNER_OLD | Call by reference | Type reference (TYPE) | BU_PARTNER | Partnernummer (alt) | 20101006 |
Method SWITCH_PARTNER on class CH_REBP_ADDRESS_MNGR has no exception.
Method SWITCH_VALIDITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID_OBJNR | Call by reference | Type reference (TYPE) | RECAOBJNR | Objektnummer | 20100928 | |||
| 2 | ID_OBJTYPE | Call by reference | Type reference (TYPE) | RECAOBJTYPE | Objektart | 20100928 | |||
| 3 | IS_VALIDPERIOD | Call by reference | Type reference (TYPE) | RECADATERANGE | Gültigkeitszeitraum | 20100928 |
Method SWITCH_VALIDITY on class CH_REBP_ADDRESS_MNGR has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 700 |