Hierarchy
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_BS_API_ADDRESS | API-class for addresses | 20090820 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_BADI_INTERFACE | Tag Interface for BAdIs | 20090904 |
| 3 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_EX_USMD_UI_EVENT2 | Single Processing: BAdI for User Interface | 20090904 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_BS_API_ADDRESS_MDG_BP | API-class for BP-addresses | 20090917 |
Properties
| Class | CL_BS_API_ADDRESS_MDG | |
| Short Description | API-class for addresses within MDG | |
| Super Class | CL_BS_API_ADDRESS | API-class for addresses |
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | MDG_BS_BP_MODEL | MDG: Business Partner - Model |
| Created | 20090820 | SAP |
| Last change | 20130531 | 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) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_BADI_INTERFACE | Tag Interface for BAdIs | 20090904 | ||
| 2 | IF_EX_USMD_UI_EVENT2 | Single Processing: BAdI for User Interface | 20090904 |
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_BS_API_FACTORY_ADDRESS | 20091001 | API-factory for address API-class |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | USMD_ENTITY | 'ADDRESS' | Entity name of address basis | 20090910 | ||
| 2 | Instance attribute | Public | Type reference (TYPE) | USMD_ENTITY | Entity name of entity that relates to addresses | 20090910 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | STRING | 'ADDRNO' | Name of the field that contains the address number | 20090909 | ||
| 4 | Constant | Public | Type reference (TYPE) | FPM_EVENT_ID | 'USMD_CHANGE_VERSION' | ID of the FPM Event | 20090917 | ||
| 5 | Constant | Public | Type reference (TYPE) | FPM_EVENT_ID | 'USMD_SUBMIT' | ID of the FPM Event | 20090925 | ||
| 6 | Instance attribute | Public | Type reference (TYPE) | INRI-NRRANGENR | '01' | Number range number | 20090914 | ||
| 7 | Instance attribute | Public | Type reference (TYPE) | INRI-OBJECT | 'MDG_ADDR' | Name of number range object | 20090914 | ||
| 8 | Instance attribute | Protected | Type reference (TYPE) | USMD_S_UI_CONTEXT2 | 20090820 | ||||
| 9 | Instance attribute | Protected | Type reference (TYPE) | USMD_TS_ENTITY_DATA | 20090820 | ||||
| 10 | Instance attribute | Protected | Type reference (TYPE) | USMD_TS_VALUE | 20090820 | ||||
| 11 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | Indicator whether the edit mode is active | 20091126 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | ABAP_BOOL | ' ' | Indicator: Edit mode set from caller | 20091126 | ||
| 13 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | ' ' | Indicates that an initial address defaults for new occupier | 20091103 | ||
| 14 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | 'X' | Indicator whether FW specific address numbering is needed | 20091123 | ||
| 15 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_USMD_MODEL_EXT | MDM Data Model for Access from Non-SAP-Standard Code | 20090904 | |||
| 16 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | ' ' | 20090915 | |||
| 17 | Instance attribute | Protected | Type reference (TYPE) | AD_ADDRNUM | Address number of the line currently selected in address-lis | 20090926 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | Copies data to framework-memory | 20090926 | |
| 2 | Instance method | Protected | Method | Copies data to framework-memory for the given entity | 20090926 | |
| 3 | Instance method | Protected | Method | Adds an existing communication-line | 20090916 | |
| 4 | Instance method | Protected | Method | Changes an existing communication-line | 20090916 | |
| 5 | Instance method | Protected | Method | Cleans up data for the given entity (e.g. delete initial) | 20091111 | |
| 6 | Instance method | Protected | Method | Complements the address data by the hook-entity | 20090909 | |
| 7 | Instance method | Public | Constructor | CONSTRUCTOR | 20090910 | |
| 8 | Instance method | Protected | Method | Deletes line(s) of comm.-data for a specific addrno. | 20090916 | |
| 9 | Instance method | Protected | Method | Determines the fieldname of the address-number field | 20091008 | |
| 10 | Instance method | Protected | Method | Fill buffer of local memory | 20120612 | |
| 11 | Instance method | Public | Method | Determines the address-number at the given line-index | 20090909 | |
| 12 | Instance method | Protected | Method | Returns a reference to the given entity's data | 20090907 | |
| 13 | Instance method | Public | Method | Determines the line-index of the given address-number | 20090909 | |
| 14 | Instance method | Public | Method | returns the currently selected address-number | 20090926 | |
| 15 | Instance method | Public | Method | determine the field that contains the standard-flag | 20090927 | |
| 16 | Instance method | Public | Method | defines whether an empty address should be defaulted | 20091103 | |
| 17 | Instance method | Public | Method | Indicates whether edit-mode is currently active | 20090902 | |
| 18 | Instance method | Protected | Event handling method | Reacts on changes in the address-list selection | 20090926 | |
| 19 | Instance method | Protected | Method | Permutes standard-flag to the given communication-line | 20091109 | |
| 20 | Instance method | Protected | Method | Reads a line of comm.-data for a specific addrno. and consn | 20090911 | |
| 21 | Instance method | Protected | Method | Reads a list of comm.-data for a specific address number | 20090910 | |
| 22 | Instance method | Public | Method | Resets all local data | 20100122 | |
| 23 | Instance method | Public | Method | Defines the current address-hook-entity (see constructor) | 20090910 | |
| 24 | Instance method | Public | Method | Sets or unsets the edit mode | 20091126 |
Events
Class CL_BS_API_ADDRESS_MDG has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | ADDR1_DATA_T | Protected | See coding | 20090903 | addr1_data_t TYPE STANDARD TABLE OF addr1_data
|
Method Signatures
Method ACCUMULATE_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DATA | Call by reference | Type reference (TYPE) | USMD_TS_ENTITY_DATA | UI Data | 20090926 |
Method ACCUMULATE_DATA on class CL_BS_API_ADDRESS_MDG has no exception.
Method ACCUMULATE_DATA_FOR_ENTITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DATA | Call by reference | Type reference (TYPE) | USMD_TS_ENTITY_DATA | UI Data | 20090926 | |||
| 2 | IV_ENTITY | Call by reference | Type reference (TYPE) | USMD_ENTITY | 20090926 |
Method ACCUMULATE_DATA_FOR_ENTITY on class CL_BS_API_ADDRESS_MDG has no exception.
Method ADD_COMMUNICATION_LINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CONSNUMBER | Call by reference | Type reference (TYPE) | AD_CONSNUM | Sequence number | 20090916 | |||
| 2 | EV_IS_STANDARD_LINE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Indicator that given line is standard line now | 20091109 | |||
| 3 | IS_COMMUNICATION_LINE | Call by reference | Type reference (TYPE) | ANY | 20090916 | ||||
| 4 | IV_ADDRESS_NUMBER | Call by reference | Type reference (TYPE) | AD_ADDRNUM | Address number | 20090916 | |||
| 5 | IV_ENTITY | Call by reference | Type reference (TYPE) | USMD_ENTITY | Entity Type | 20090916 | |||
| 6 | IV_PERSON_NUMBER | Call by reference | Type reference (TYPE) | AD_PERSNUM | Person number | 20090925 |
Method ADD_COMMUNICATION_LINE on class CL_BS_API_ADDRESS_MDG has no exception.
Method CHANGE_COMMUNICATION_LINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_COMMUNICATION_LINE | Call by reference | Type reference (TYPE) | ANY | 20090916 | ||||
| 2 | IV_ADDRESS_NUMBER | Call by reference | Type reference (TYPE) | AD_ADDRNUM | Address number | 20090916 | |||
| 3 | IV_CONSNUMBER | Call by reference | Type reference (TYPE) | AD_CONSNUM | Sequence number | 20090916 | |||
| 4 | IV_ENTITY | Call by reference | Type reference (TYPE) | USMD_ENTITY | Entity Type | 20090916 | |||
| 5 | IV_PERSON_NUMBER | Call by reference | Type reference (TYPE) | AD_PERSNUM | Person number | 20090925 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090922 |
Method CLEAN_UP_DATA_FOR_ENTITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_DATA | Call by reference | Type reference (TYPE) | USMD_TS_ENTITY_DATA | UI Data | 20091111 | |||
| 2 | IV_ENTITY | Call by reference | Type reference (TYPE) | USMD_ENTITY | 20091111 |
Method CLEAN_UP_DATA_FOR_ENTITY on class CL_BS_API_ADDRESS_MDG has no exception.
Method COMPLEMENT_ADDRESS_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FROM_PRIMARY_PERSISTENCE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ' ' | X=omit staging, only read active version | 20090914 | ||
| 2 | IV_REFRESH_DATA | Call by reference | Type reference (TYPE) | ABAP_BOOL | ' ' | X=re-read data completely | 20090914 |
Method COMPLEMENT_ADDRESS_DATA on class CL_BS_API_ADDRESS_MDG has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_BS_API_ADDRESS_MDG has no parameter.
Method CONSTRUCTOR on class CL_BS_API_ADDRESS_MDG has no exception.
Method DELETE_COMMUNICATION_LINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ADDRESS_NUMBER | Call by reference | Type reference (TYPE) | AD_ADDRNUM | Address number | 20090916 | |||
| 2 | IV_CONSNUMBER | Call by reference | Type reference (TYPE) | AD_CONSNUM | Sequence number | 20090916 | |||
| 3 | IV_ENTITY | Call by reference | Type reference (TYPE) | USMD_ENTITY | 20090916 | ||||
| 4 | IV_PERSON_NUMBER | Call by reference | Type reference (TYPE) | AD_PERSNUM | Person number | 20090925 |
Method DELETE_COMMUNICATION_LINE on class CL_BS_API_ADDRESS_MDG has no exception.
Method DETERMINE_ADDRESS_NUMBER_FIELD Signature
Method DETERMINE_ADDRESS_NUMBER_FIELD on class CL_BS_API_ADDRESS_MDG has no parameter.
Method DETERMINE_ADDRESS_NUMBER_FIELD on class CL_BS_API_ADDRESS_MDG has no exception.
Method FILL_BUFFER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_DATA | Call by reference | Type reference (TYPE) | USMD_TS_ENTITY_DATA | UI Data | 20120612 |
Method FILL_BUFFER on class CL_BS_API_ADDRESS_MDG has no exception.
Method GET_ADDRESS_NUMBER_AT_INDEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_INDEX | Call by reference | Type reference (TYPE) | SYTABIX | 20090909 | ||||
| 2 | RV_ADDRESS_NUMBER | Value transfer | Type reference (TYPE) | AD_ADDRNUM | 20090909 |
Method GET_ADDRESS_NUMBER_AT_INDEX on class CL_BS_API_ADDRESS_MDG has no exception.
Method GET_ENTITY_DATA Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DATA | Call by reference | Object reference (TYPE REF TO) | DATA | 20090907 | ||||
| 2 | IV_CREATE_IF_NOT_FOUND | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'X' | Shall the entity-entry be created if it doesn't exist? | 20091009 | ||
| 3 | IV_ENTITY | Call by reference | Type reference (TYPE) | USMD_ENTITY | Entity Type | 20090907 |
Method GET_ENTITY_DATA on class CL_BS_API_ADDRESS_MDG has no exception.
Method GET_LINE_INDEX_OF_ADDRESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ADDRESS_NUMBER | Call by reference | Type reference (TYPE) | AD_ADDRNUM | Address number | 20090909 | |||
| 2 | RV_INDEX | Value transfer | Type reference (TYPE) | SYTABIX | Index of Internal Tables | 20090909 |
Method GET_LINE_INDEX_OF_ADDRESS on class CL_BS_API_ADDRESS_MDG has no exception.
Method GET_SELECTED_ADDRESS_NUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RT_ADDRESS_NUMBER | Value transfer | Type reference (TYPE) | AD_ADDRNUM | Address number | 20090926 |
Method GET_SELECTED_ADDRESS_NUMBER on class CL_BS_API_ADDRESS_MDG has no exception.
Method GET_STD_FLAG_FIELD_FOR_ENTITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENTITY | Call by reference | Type reference (TYPE) | USMD_ENTITY | Entity Type | 20090927 | |||
| 2 | RV_FIELDNAME | Value transfer | Type reference (TYPE) | STRING | name of the field that contains the standard flag | 20090927 |
Method GET_STD_FLAG_FIELD_FOR_ENTITY on class CL_BS_API_ADDRESS_MDG has no exception.
Method INIT_WITH_EMPTY_ADDRESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_INIT_WITH_EMPTY_ADDRESS | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20091103 |
Method INIT_WITH_EMPTY_ADDRESS on class CL_BS_API_ADDRESS_MDG has no exception.
Method IS_EDIT_MODE_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_EDIT_MODE_ACTIVE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090902 |
Method IS_EDIT_MODE_ACTIVE on class CL_BS_API_ADDRESS_MDG has no exception.
Method ON_ADDRESS_SELECTION_CHANGED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_CURRENT_ADDRESS_NUMBER | Call by reference | Attribute reference (LIKE) | 20090926 | |||||
| 2 | EV_PREVIOUS_ADDRESS_NUMBER | Call by reference | Attribute reference (LIKE) | 20090926 |
Method ON_ADDRESS_SELECTION_CHANGED on class CL_BS_API_ADDRESS_MDG has no exception.
Method PERMUTE_STANDARD_FLAG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_IS_STANDARD_LINE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Indicator that given line is now standard line | 20091109 | |||
| 2 | IS_COMMUNICATION_LINE | Call by reference | Type reference (TYPE) | ANY | 20091109 | ||||
| 3 | IV_ADDRESS_NUMBER | Call by reference | Type reference (TYPE) | AD_ADDRNUM | Address number | 20091109 | |||
| 4 | IV_CONSNUMBER | Call by reference | Type reference (TYPE) | AD_CONSNUM | Sequence number | 20091109 | |||
| 5 | IV_ENTITY | Call by reference | Type reference (TYPE) | USMD_ENTITY | Entity Type | 20091109 | |||
| 6 | IV_PERSON_NUMBER | Call by reference | Type reference (TYPE) | AD_PERSNUM | Person number | 20091109 |
Method PERMUTE_STANDARD_FLAG on class CL_BS_API_ADDRESS_MDG has no exception.
Method READ_COMMUNICATION_LINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_COMMUNICATION_LINE | Call by reference | Type reference (TYPE) | ANY | Line of communication data | 20090911 | |||
| 2 | IV_ADDRESS_NUMBER | Call by reference | Type reference (TYPE) | AD_ADDRNUM | Address number | 20090911 | |||
| 3 | IV_CONSNUMBER | Call by reference | Type reference (TYPE) | AD_CONSNUM | Sequence number | 20090911 | |||
| 4 | IV_ENTITY | Call by reference | Type reference (TYPE) | USMD_ENTITY | 20090911 | ||||
| 5 | IV_PERSON_NUMBER | Call by reference | Type reference (TYPE) | AD_PERSNUM | Person number | 20090925 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090922 |
Method READ_COMMUNICATION_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_COMMUNICATION_TABLE | Call by reference | Type reference (TYPE) | ANY TABLE | List of communication data | 20090910 | |||
| 2 | IV_ADDRESS_NUMBER | Call by reference | Type reference (TYPE) | AD_ADDRNUM | Address number | 20090927 | |||
| 3 | IV_ENTITY | Call by reference | Type reference (TYPE) | USMD_ENTITY | 20090910 | ||||
| 4 | IV_PERSON_NUMBER | Call by reference | Type reference (TYPE) | AD_PERSNUM | Person number | 20090927 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090922 |
Method REFRESH_BUFFERS Signature
Method REFRESH_BUFFERS on class CL_BS_API_ADDRESS_MDG has no parameter.
Method REFRESH_BUFFERS on class CL_BS_API_ADDRESS_MDG has no exception.
Method SET_ADDRESS_HOOK_ENTITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ADDRESS_HOOK_ENTITY | Call by reference | Type reference (TYPE) | USMD_ENTITY | Entity Type | 20090910 |
Method SET_ADDRESS_HOOK_ENTITY on class CL_BS_API_ADDRESS_MDG has no exception.
Method SET_EDIT_MODE 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) | ABAP_BOOL | 20091126 |
Method SET_EDIT_MODE on class CL_BS_API_ADDRESS_MDG has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 702 |