SAP ABAP Class CL_S_EPM_UI_PRD (Product adaptation for UI)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-NWD (Application Component) NetWeaver Demonstration
⤷
S_EPM_WD (Package) EPM: ABAP Web Dynpro
⤷
⤷
Properties
| Class | CL_S_EPM_UI_PRD | |
| Short Description | Product adaptation for UI | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_EPM_WD | EPM: ABAP Web Dynpro |
| Created | 20090801 | 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 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 4 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 5 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 6 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 7 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_S_EPM_UI_PRD has no interface implemented.
Friends
Class CL_S_EPM_UI_PRD has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | RSSCR_NAME | 'BPID' | ABAP/4: Name of SELECT-OPTION / PARAMETER | 20090807 | ||
| 2 | Constant | Public | Type reference (TYPE) | RSSCR_NAME | 'BPCITY' | ABAP/4: Name of SELECT-OPTION / PARAMETER | 20090807 | ||
| 3 | Constant | Public | Type reference (TYPE) | RSSCR_NAME | 'BPCONTAC' | 20090807 | |||
| 4 | Constant | Public | Type reference (TYPE) | RSSCR_NAME | 'BPNAME' | 20090807 | |||
| 5 | Constant | Public | Type reference (TYPE) | TR_MODE | 'C' | 20090803 | |||
| 6 | Constant | Public | Type reference (TYPE) | TR_MODE | 'D' | 20090803 | |||
| 7 | Constant | Public | Type reference (TYPE) | TR_MODE | 'E' | 20090803 | |||
| 8 | Constant | Public | Type reference (TYPE) | RSSCR_NAME | 'PRODCAT' | ABAP/4: Name of SELECT-OPTION / PARAMETER | 20090807 | ||
| 9 | Constant | Public | Type reference (TYPE) | RSSCR_NAME | 'PRODCURR' | ABAP/4: Name of SELECT-OPTION / PARAMETER | 20090807 | ||
| 10 | Constant | Public | Type reference (TYPE) | RSSCR_NAME | 'PRODDESC' | ABAP/4: Name of SELECT-OPTION / PARAMETER | 20090807 | ||
| 11 | Constant | Public | Type reference (TYPE) | RSSCR_NAME | 'PRODID' | ABAP/4: Name of SELECT-OPTION / PARAMETER | 20090807 | ||
| 12 | Constant | Public | Type reference (TYPE) | RSSCR_NAME | 'PRODNAME' | ABAP/4: Name of SELECT-OPTION / PARAMETER | 20090807 | ||
| 13 | Constant | Public | Type reference (TYPE) | RSSCR_NAME | 'PRODPRIC' | 20090807 | |||
| 14 | Constant | Public | Type reference (TYPE) | RSSCR_NAME | 'PRODTYPE' | ABAP/4: Name of SELECT-OPTION / PARAMETER | 20090807 | ||
| 15 | Constant | Public | Type reference (TYPE) | STRING | 'PRODUCT' | 20090807 | |||
| 16 | Constant | Public | Type reference (TYPE) | STRING | 'SUPPLIER' | 20090807 | |||
| 17 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_EPM_MESSAGE_BUFFER | EPM: Message buffer interface | 20090801 | |||
| 18 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_EPM_PRODUCT | EPM: Business Object Product header node interface | 20090801 | |||
| 19 | Static Attribute | Private | Type reference (TYPE) | TT_ATTRIBUTE_MAPPING | 20100316 | ||||
| 20 | Instance attribute | Private | Type reference (TYPE) | IF_EPM_BO=>TY_EDIT_MODE | IF_EPM_BO=>GC_READ_ONLY | Edit mode of a BO node element | 20090804 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | 20100316 | ||
| 2 | Instance method | Public | Method | Cleanup service facade | 20090804 | |
| 3 | Instance method | Public | Constructor | 20090801 | ||
| 4 | Instance method | Public | Method | Convert Product IDs to Node Keys | 20091127 | |
| 5 | Instance method | Public | Method | Create a new product | 20090801 | |
| 6 | Instance method | Public | Method | Get table containing metadata for all fields | 20090806 | |
| 7 | Instance method | Public | Method | Fetch the product data | 20090801 | |
| 8 | Static method | Public | Method | Get EPM attribute name for UI attribute name | 20100310 | |
| 9 | Instance method | Private | Method | Get metadata (readonly, required) for a field | 20090803 | |
| 10 | Instance method | Public | Method | Fetch message from message manager | 20090804 | |
| 11 | Instance method | Public | Method | List of POs prepared for UI | 20090807 | |
| 12 | Instance method | Private | Method | Get supplier data via navigation | 20090803 | |
| 13 | Static method | Public | Method | Get UI attribute name for EPM attribute name | 20100310 | |
| 14 | Instance method | Public | Method | Save data in current transaction | 20090804 | |
| 15 | Instance method | Public | Method | Set product header attribute | 20100308 | |
| 16 | Instance method | Public | Method | Set business partner | 20100302 | |
| 17 | Instance method | Public | Method | Set product description | 20100308 | |
| 18 | Instance method | Public | Method | Set product name | 20100308 | |
| 19 | Instance method | Public | Method | Update product picture | 20090803 |
Events
Class CL_S_EPM_UI_PRD has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TR_MODE | Public | See coding | 20090803 | tr_mode TYPE c LENGTH 1
|
||
| 2 | TT_ATTRIBUTE_MAPPING | Public | See coding | 20100316 | tt_attribute_mapping TYPE STANDARD TABLE OF ty_attribute_mapping WITH DEFAULT KEY
|
||
| 3 | TT_PRD_LIST_DATA | Public | See coding | 20090807 | tt_prd_list_data TYPE STANDARD TABLE OF epm_prd_header_ui WITH DEFAULT KEY
|
||
| 4 | TT_PRD_METADATA | Public | See coding | 20090804 | tt_prd_metadata TYPE STANDARD TABLE OF ty_prd_metadata WITH DEFAULT KEY
|
||
| 5 | TY_ATTRIBUTE_MAPPING | Public | See coding | 20100316 | BEGIN OF ty_attribute_mapping,
ui_attribute TYPE string,
epm_attribute TYPE string,
END OF ty_attribute_mapping
|
||
| 6 | TY_PRD_DATA | Public | Type reference (TYPE) | EPM_PRD_UI_DATA | 20090801 | |
|
| 7 | TY_PRD_LIST_DATA | Public | Type reference (TYPE) | EPM_PRD_HEADER_UI | PAL structure of Product BO | 20090807 | |
| 8 | TY_PRD_METADATA | Public | See coding | Field metadata | 20090803 | BEGIN OF ty_prd_metadata,
attribute_name TYPE string,
read_only TYPE abap_bool,
required TYPE abap_bool,
END OF ty_prd_metadata
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_S_EPM_UI_PRD has no parameter.
Method CLASS_CONSTRUCTOR on class CL_S_EPM_UI_PRD has no exception.
Method CLEANUP Signature
Method CLEANUP on class CL_S_EPM_UI_PRD has no parameter.
Method CLEANUP on class CL_S_EPM_UI_PRD has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_S_EPM_UI_PRD has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EPM: API exception class | 20090804 | ||
| 2 | EPM: System exception class | 20090804 |
Method CONVERT_IDS_TO_KEYS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_IDS | Call by reference | Type reference (TYPE) | IF_EPM_PRODUCT_HEADER=>TT_PRODUCT_IDENTIFIERS | Table of product identifiers as alternative keys | 20091127 | |||
| 2 | RT_KEY_MAPPING | Value transfer | Type reference (TYPE) | IF_EPM_BO=>TT_KEY_MAPPING_INFO | Conversion info for a set of alternative node keys | 20091127 |
Method CONVERT_IDS_TO_KEYS on class CL_S_EPM_UI_PRD has no exception.
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_DATA | Value transfer | Type reference (TYPE) | TY_PRD_DATA | 20090801 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EPM: API exception class | 20090804 | ||
| 2 | EPM: System exception class | 20090804 |
Method GET_ALL_FIELD_PROPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NODE_KEY | Call by reference | Type reference (TYPE) | SNWD_NODE_KEY | EPM: Generic Node Key | 20090806 | |||
| 2 | RT_METADATA | Value transfer | Type reference (TYPE) | TT_PRD_METADATA | Table containing field metadata | 20090806 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EPM: API exception class | 20090807 | ||
| 2 | EPM: System exception class | 20090807 |
Method GET_DATA 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) | TR_MODE | GC_DISPLAY | 20090804 | |||
| 2 | IV_NODE_KEY | Call by reference | Type reference (TYPE) | SNWD_NODE_KEY | EPM: Generic Node Key | 20090801 | |||
| 3 | RV_DATA | Value transfer | Type reference (TYPE) | TY_PRD_DATA | 20090801 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EPM: API exception class | 20090804 | ||
| 2 | EPM: System exception class | 20090804 |
Method GET_EPM_ATTRIBUTE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ATTRIBUTE | Call by reference | Type reference (TYPE) | STRING | 20100310 | ||||
| 2 | RV_ATTRIBUTE | Value transfer | Type reference (TYPE) | STRING | 20100310 |
Method GET_EPM_ATTRIBUTE_NAME on class CL_S_EPM_UI_PRD has no exception.
Method GET_FIELD_PROPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FIELD | Call by reference | Type reference (TYPE) | STRING | 20090803 | ||||
| 2 | IV_NODE_KEY | Call by reference | Type reference (TYPE) | SNWD_NODE_KEY | EPM: Generic Node Key | 20090803 | |||
| 3 | RV_METADATA | Value transfer | Type reference (TYPE) | TY_PRD_METADATA | 20090803 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EPM: API exception class | 20090804 | ||
| 2 | EPM: System exception class | 20090804 |
Method GET_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_MSG_LIST | Value transfer | Type reference (TYPE) | IF_EPM_MESSAGE_BUFFER=>TT_MESSAGES | 20090804 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EPM: API exception class | 20090804 |
Method GET_PRD_LIST Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EO_EXC | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20090807 | |||
| 2 | ET_PRD_LIST_DATA | Call by reference | Type reference (TYPE) | TT_PRD_LIST_DATA | 20090807 | ||||
| 3 | EV_NR_OF_ROWS | Call by reference | Type reference (TYPE) | IF_EPM_BO=>TY_QUERY_NR_OF_ROWS_FOUND | Query: Size of overall query result set ( number of rows ) | 20090807 | |||
| 4 | IT_PARAMS | Call by reference | Type reference (TYPE) | RSPARAMS_TT | rsparams Table | 20090807 | |||
| 5 | IV_MAX_ROWS | Call by reference | Type reference (TYPE) | IF_EPM_BO=>TY_QUERY_MAX_ROWS | IF_EPM_BO=>GC_SELECT_ALL_ROWS | Query: Maximum number of rows to select | 20090807 | ||
| 6 | IV_QUERY | Call by reference | Type reference (TYPE) | STRING | GC_QUERY_SUPPLIER | 20090807 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EPM: API exception class | 20090807 | ||
| 2 | EPM: System exception class | 20090807 |
Method GET_SUPPLIER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SOURCE_NODE_KEY | Call by reference | Type reference (TYPE) | IF_EPM_BO=>TY_NODE_KEY | Generic Node element key | 20090803 | |||
| 2 | RV_BP_DATA | Value transfer | Type reference (TYPE) | IF_EPM_BP_HEADER=>TY_NODE_DATA | EPM: Business Partner Table | 20090803 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EPM: API exception class | 20090803 | ||
| 2 | EPM: System exception class | 20090803 |
Method GET_UI_ATTRIBUTE_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ATTRIBUTE | Call by reference | Type reference (TYPE) | STRING | 20100310 | ||||
| 2 | RV_ATTRIBUTE | Value transfer | Type reference (TYPE) | STRING | 20100310 |
Method GET_UI_ATTRIBUTE_NAME on class CL_S_EPM_UI_PRD has no exception.
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_SUCCESS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090804 |
Method SAVE on class CL_S_EPM_UI_PRD has no exception.
Method SET_ATTRIBUTE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ATTRIBUTE | Call by reference | Type reference (TYPE) | STRING | EPM attribute name | 20100308 | |||
| 2 | IV_NODE_KEY | Call by reference | Type reference (TYPE) | SNWD_NODE_KEY | EPM: Generic Node Key | 20100308 | |||
| 3 | IV_VALUE | Call by reference | Type reference (TYPE) | DATA | Attribute value | 20100308 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EPM: API exception class | 20100308 | ||
| 2 | EPM: System exception class | 20100308 |
Method SET_BUSINESS_PARTNER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BP_ID | Call by reference | Type reference (TYPE) | SNWD_PARTNER_ID | EPM: Business Partner ID | 20100302 | |||
| 2 | IV_NODE_KEY | Call by reference | Type reference (TYPE) | SNWD_NODE_KEY | EPM: Generic Node Key | 20100302 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EPM: API exception class | 20100302 | ||
| 2 | EPM: System exception class | 20100302 |
Method SET_DESCRIPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NODE_KEY | Call by reference | Type reference (TYPE) | SNWD_NODE_KEY | EPM: Generic Node Key | 20100308 | |||
| 2 | IV_TEXT | Call by reference | Type reference (TYPE) | SNWD_DESC | EPM: Text field for names and descriptions | 20100308 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EPM: API exception class | 20100308 | ||
| 2 | EPM: System exception class | 20100308 |
Method SET_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NODE_KEY | Call by reference | Type reference (TYPE) | SNWD_NODE_KEY | EPM: Generic Node Key | 20100308 | |||
| 2 | IV_TEXT | Call by reference | Type reference (TYPE) | SNWD_DESC | EPM: Text field for names and descriptions | 20100308 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EPM: API exception class | 20100308 | ||
| 2 | EPM: System exception class | 20100308 |
Method UPDATE_PICTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATA | Call by reference | Type reference (TYPE) | XSTRING | 20090803 | ||||
| 2 | IV_MIME_TYPE | Call by reference | Type reference (TYPE) | W3CONTTYPE | HTML content type | 20090803 | |||
| 3 | IV_NODE_KEY | Call by reference | Type reference (TYPE) | SNWD_NODE_KEY | EPM: Generic Node Key | 20090803 | |||
| 4 | RV_PICTURE_URL | Value transfer | Type reference (TYPE) | SNWD_PRODUCT_PIC_URL | EPM: URL of Product Image | 20090807 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EPM: API exception class | 20090804 | ||
| 2 | EPM: System exception class | 20090804 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 730 |