SAP ABAP Class CL_MMPUR_UI_ADDRESS_MODEL (CL_MMPUR_UI_ADDRESS_MODEL)
Hierarchy
☛
SAP_APPL (Software Component) Logistics and Accounting
⤷
MM-PUR (Application Component) Purchasing
⤷
MMPUR_UI_MODEL (Package) Model Components for Web Dynpro Applications, Purchasing

⤷

⤷

Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_WD_COMPONENT_ASSISTANCE | Basis for a Web Dynpro assistance class | 20070820 |
2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_MMPUR_UI_CONSTANTS | Constants | 20070820 |
Properties
Class | CL_MMPUR_UI_ADDRESS_MODEL | |
Short Description | ||
Super Class | CL_WD_COMPONENT_ASSISTANCE | Basis for a Web Dynpro assistance class |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | MMPUR_UI_MODEL | Model Components for Web Dynpro Applications, Purchasing |
Created | 20070820 | SAP |
Last change | 20100310 | 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) |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_MMPUR_UI_CONSTANTS | Constants | 20070820 |
Friends
Class CL_MMPUR_UI_ADDRESS_MODEL has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | IF_FPM | Interface for accessing FPM functionality | 20070820 | ||
2 | ![]() |
Instance attribute | Private | Type reference (TYPE) | DATA_FOR_VIEW | current addres data, needed for view | 20070913 | ||
3 | ![]() |
Instance attribute | Private | Type reference (TYPE) | DATA_FOR_VIEW_TTY | address data of different items | 20070820 | ||
4 | ![]() |
Instance attribute | Public | See coding | 20070903 | ||||
5 | ![]() |
Instance attribute | Private | Type reference (TYPE) | US_TAX_TTY | 20070904 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | checks if us tax is active for company code | 20070822 |
2 | ![]() |
Instance method | Public | Method | clears all attributes of model class | 20070903 |
3 | ![]() |
Instance method | Private | Method | determines display/changeable and taxjur visible/not visible | 20070913 |
4 | ![]() |
Instance method | Public | Method | gets address data for an item | 20070906 |
5 | ![]() |
Instance method | Public | Method | reads address data from data base | 20070820 |
6 | ![]() |
Instance method | Public | Method | extracts detail information from structure address_complete | 20070820 |
7 | ![]() |
Instance method | Public | Method | gets default address | 20070820 |
8 | ![]() |
Instance method | Public | Method | gets doc no, item no, activity, ... | 20070820 |
9 | ![]() |
Instance method | Public | Method | 20070820 | |
10 | ![]() |
Instance method | Public | Method | fills local address attribute + determines change/display | 20070820 |
11 | ![]() |
Instance method | Private | Method | translates codes (title, country, region, language) to text | 20070906 |
12 | ![]() |
Instance method | Private | Method | translates country code into text | 20070829 |
13 | ![]() |
Instance method | Private | Method | transforms a language code to text | 20070829 |
14 | ![]() |
Instance method | Private | Method | translates region code into text | 20070829 |
15 | ![]() |
Instance method | Public | Method | translates title code to language specific title text | 20070829 |
Events
Class CL_MMPUR_UI_ADDRESS_MODEL has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | DATA_FOR_VIEW | Public | See coding | 20070913 | BEGIN OF data_for_view,
doc_no TYPE ebeln,
item_no TYPE ebelp,
sy_langu TYPE sy-langu,
taxjur_visible type xflag,
data TYPE addr1_dia,
texts TYPE addr1_text,
END OF data_for_view
|
||
2 | DATA_FOR_VIEW_TTY | Public | See coding | 20070913 | data_for_view_tty TYPE TABLE OF data_for_view
WITH KEY doc_no item_no
|
||
3 | USTAX | Private | See coding | 20070904 | BEGIN OF ustax,
werks TYPE werks,
bukrs TYPE bukrs,
us_tax TYPE xflag,
END OF ustax
|
||
4 | US_TAX_TTY | Private | See coding | 20070904 | us_tax_tty TYPE TABLE OF ustax
WITH KEY werks
|
Method Signatures
Method CHECK_US_TAX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_BUKRS | Call by reference | Type reference (TYPE) | T001-BUKRS | Company Code | 20070822 | ||
2 | ![]() |
IV_WERKS | Call by reference | Type reference (TYPE) | T001W-WERKS | plant | 20070913 |
Method CHECK_US_TAX on class CL_MMPUR_UI_ADDRESS_MODEL has no exception.
Method CLEAR_MODEL_ATTRIBUTES Signature
Method CLEAR_MODEL_ATTRIBUTES on class CL_MMPUR_UI_ADDRESS_MODEL has no parameter.
Method CLEAR_MODEL_ATTRIBUTES on class CL_MMPUR_UI_ADDRESS_MODEL has no exception.
Method DETERMINE_READONLY_TAXJUR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_READ_ONLY | Call by reference | Type reference (TYPE) | XFLAG | New Input Values | 20070913 | ||
2 | ![]() |
IV_CHECK_TAXJUR_VISIBLE | Call by reference | Type reference (TYPE) | XFLAG | defines if taxjur_visible must be determined | 20070917 | ||
3 | ![]() |
IV_WERKS | Call by reference | Type reference (TYPE) | T001W-WERKS | Plant | 20070913 |
Method DETERMINE_READONLY_TAXJUR on class CL_MMPUR_UI_ADDRESS_MODEL has no exception.
Method GET_ADDRESS_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_ADDRESS | Call by reference | Type reference (TYPE) | ADDR1_DIA | Transfer structure FB ADDR_DIALOG | 20070906 | ||
2 | ![]() |
EV_COUNTRY_TEXT | Call by reference | Type reference (TYPE) | T005T-LANDX | Country Name | 20070906 | ||
3 | ![]() |
EV_ITEM_NO | Call by reference | Type reference (TYPE) | CHAR5 | R/2 table | 20070906 | ||
4 | ![]() |
EV_LANGUAGE_TEXT | Call by reference | Type reference (TYPE) | I18_S_LANGUAGES-TEXT | Language | 20070906 | ||
5 | ![]() |
EV_READ_ONLY | Call by reference | Type reference (TYPE) | XFLAG | 'X' => fields are not changeable | 20070913 | ||
6 | ![]() |
EV_REGION_TEXT | Call by reference | Type reference (TYPE) | T005U-BEZEI | Description | 20070906 | ||
7 | ![]() |
EV_TAXJUR_VISIBLE | Call by reference | Type reference (TYPE) | XFLAG | 'X' => TXJCD field is visible | 20070913 | ||
8 | ![]() |
EV_TITLE_TEXT | Call by reference | Type reference (TYPE) | AD_TITLETX | Title text | 20070906 | ||
9 | ![]() |
IS_CMMDA | Call by reference | Type reference (TYPE) | CMMDA | Communication Structure: Delivery Addresses in MM | 20070906 | ||
10 | ![]() |
IV_GET_DEFAULT | Call by reference | Type reference (TYPE) | XFLAG | New Input Values | 20070906 |
Method GET_ADDRESS_DATA on class CL_MMPUR_UI_ADDRESS_MODEL has no exception.
Method GET_ADDRESS_DATA_BY_KEYS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_ADDRESS_COMPLETE | Call by reference | Type reference (TYPE) | SZADR_ADDR1_COMPLETE | address complete | 20070820 | ||
2 | ![]() |
IS_CMMDA | Call by reference | Type reference (TYPE) | CMMDA | Communication Structure: Delivery Addresses in MM | 20070820 |
Method GET_ADDRESS_DATA_BY_KEYS on class CL_MMPUR_UI_ADDRESS_MODEL has no exception.
Method GET_ADDRESS_DETAILS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ES_ADDR_COMMD | Call by reference | Type reference (TYPE) | ADDR_COMMD | Telephone Numbers, Fax Numbers, and E-Mail in Address | 20070820 | ||
2 | ![]() |
IS_ADDRESS_COMPLETE | Call by reference | Type reference (TYPE) | SZADR_ADDR1_COMPLETE | address data complete | 20070820 |
Method GET_ADDRESS_DETAILS on class CL_MMPUR_UI_ADDRESS_MODEL has no exception.
Method GET_DEFAULT_ADDRESS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_ADRNR | Call by reference | Type reference (TYPE) | CMMDA-ADRNR | Number of delivery address | 20070820 | ||
2 | ![]() |
EV_HANDLE | Call by reference | Type reference (TYPE) | CMMDA-ADDR_HANDLE | Handle for Creating Addresses/Persons (Bus. Addr. Services) | 20070820 | ||
3 | ![]() |
IV_PLANT | Call by reference | Type reference (TYPE) | CMMDA-WERKS | Plant | 20070820 | ||
4 | ![]() |
IV_STORLOC | Call by reference | Type reference (TYPE) | CMMDA-LGORT | Storage Location | 20070820 |
Method GET_DEFAULT_ADDRESS on class CL_MMPUR_UI_ADDRESS_MODEL has no exception.
Method GET_DOC_DATA Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_ACTIVITY | Call by reference | Type reference (TYPE) | TRTYP | Transaction type | 20070820 | ||
2 | ![]() |
EV_CURR_ITEM_NO | Call by reference | Type reference (TYPE) | CHAR5 | current item number | 20070820 | ||
3 | ![]() |
EV_DOC_NO | Call by reference | Type reference (TYPE) | CHAR10 | document number | 20070820 | ||
4 | ![]() |
EV_DOC_TYPE | Call by reference | Type reference (TYPE) | STRING | document type | 20070820 | ||
5 | ![]() |
EV_SEL_ITEM_NO | Call by reference | Type reference (TYPE) | CHAR5 | selected item number | 20070820 | ||
6 | ![]() |
IV_INITIAL_CALL | Call by reference | Type reference (TYPE) | XFLAG | is method called while document initialisation? | 20070820 |
Method GET_DOC_DATA on class CL_MMPUR_UI_ADDRESS_MODEL has no exception.
Method INITIALIZE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_ACTIVITY | Call by reference | Type reference (TYPE) | TRTYP | Customer enhancement activation | 20070820 | ||
2 | ![]() |
EV_DOC_NO | Call by reference | Type reference (TYPE) | CHAR10 | Purchasing Document Number | 20070820 | ||
3 | ![]() |
EV_DOC_TYPE | Call by reference | Type reference (TYPE) | STRING | document type | 20070820 | ||
4 | ![]() |
EV_ITEM_NO | Call by reference | Type reference (TYPE) | CHAR5 | Item Number of Purchasing Document | 20070820 |
Method INITIALIZE on class CL_MMPUR_UI_ADDRESS_MODEL has no exception.
Method PREPARE_CONTEXT_FILLING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_READ_ONLY | Call by reference | Type reference (TYPE) | XFLAG | 'X'= fields are not changeable | 20070913 | ||
2 | ![]() |
IS_ADDRESS_COMPLETE | Call by reference | Type reference (TYPE) | SZADR_ADDR1_COMPLETE | address data complete | 20070820 | ||
3 | ![]() |
IV_ITEMNO | Call by reference | Type reference (TYPE) | EBELP | item number | 20070820 | ||
4 | ![]() |
IV_MANUAL_ADDRNUMBER | Call by reference | Type reference (TYPE) | CMMDA-ADRN2 | Number of delivery address | 20070914 | ||
5 | ![]() |
IV_WERKS | Call by reference | Type reference (TYPE) | T001W-WERKS | Plant | 20070913 |
Method PREPARE_CONTEXT_FILLING on class CL_MMPUR_UI_ADDRESS_MODEL has no exception.
Method TRANSLATE_CODES_TO_TEXT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_ADDR_SEL | Call by reference | Type reference (TYPE) | ADDR1_SEL | Address selection parameter | 20070906 | ||
2 | ![]() |
IV_TITLE | Call by reference | Type reference (TYPE) | AD_TITLE | Form-of-Address Key | 20070918 |
Method TRANSLATE_CODES_TO_TEXT on class CL_MMPUR_UI_ADDRESS_MODEL has no exception.
Method TRANSLATE_COUNTRY_CODE_TO_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_COUNTRY_TEXT | Call by reference | Type reference (TYPE) | T005T-LANDX | Country Name | 20070829 | ||
2 | ![]() |
IV_COUNTRY_CODE | Call by reference | Type reference (TYPE) | ADDR1_DIA-COUNTRY | Country Key | 20070829 | ||
3 | ![]() |
IV_CURR_LANGU | Call by reference | Type reference (TYPE) | SY-LANGU | 'E' | Language Key of Current Text Environment | 20070829 |
Method TRANSLATE_COUNTRY_CODE_TO_NAME on class CL_MMPUR_UI_ADDRESS_MODEL has no exception.
Method TRANSLATE_LANGU_CODE_TO_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_LANGUAGE_TEXT | Call by reference | Type reference (TYPE) | I18_S_LANGUAGES-TEXT | Language text | 20070829 | ||
2 | ![]() |
IV_CURR_LANGU | Call by reference | Type reference (TYPE) | SY-LANGU | 'E' | language in which text shall be given back | 20070829 | |
3 | ![]() |
IV_LANGUAGE_CODE | Call by reference | Type reference (TYPE) | ADDR1_DIA-LANGU | Language to be translated | 20070829 |
Method TRANSLATE_LANGU_CODE_TO_NAME on class CL_MMPUR_UI_ADDRESS_MODEL has no exception.
Method TRANSLATE_REGION_CODE_TO_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_REGION_TEXT | Call by reference | Type reference (TYPE) | T005U-BEZEI | Region Name | 20070829 | ||
2 | ![]() |
IV_COUNTRY_CODE | Call by reference | Type reference (TYPE) | ADDR1_DIA-COUNTRY | Country Key | 20070829 | ||
3 | ![]() |
IV_CURR_LANGU | Call by reference | Type reference (TYPE) | SY-LANGU | 'E' | Language Key of Current Text Environment | 20070829 | |
4 | ![]() |
IV_REGION_CODE | Call by reference | Type reference (TYPE) | ADDR1_DIA-REGION | Region (State, Province, County) | 20070829 |
Method TRANSLATE_REGION_CODE_TO_NAME on class CL_MMPUR_UI_ADDRESS_MODEL has no exception.
Method TRANSLATE_TITLE_CODE_TO_NAME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_TITLE_TEXT | Call by reference | Type reference (TYPE) | AD_TITLETX | Title text | 20070829 | ||
2 | ![]() |
IS_ADDR_SEL | Call by reference | Type reference (TYPE) | ADDR1_SEL | Address selection parameter | 20070829 | ||
3 | ![]() |
IV_CURR_LANGU | Call by reference | Type reference (TYPE) | LANGU | Language Key | 20070906 | ||
4 | ![]() |
IV_TITLE | Call by reference | Type reference (TYPE) | AD_TITLE | Form-of-Address Key | 20070829 |
Method TRANSLATE_TITLE_CODE_TO_NAME on class CL_MMPUR_UI_ADDRESS_MODEL has no exception.
History
Last changed by/on | SAP | 20100310 |
SAP Release Created in | 603 |