SAP ABAP Class CL_FPM_TEST_LIST_ATS_GROUPING (Test Feeder for the Grouping Service)
Hierarchy
☛
SAP_UI (Software Component) User Interface Technology
⤷
BC-WD-CMP-FPM (Application Component) Floorplan Manager Web Dynpro ABAP
⤷
APB_FPM_TEST_ECATT (Package) ECATT Tests
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_FPM_GUIBB | Generic UI Building Block | 20110124 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_FPM_GUIBB_LIST | Generic List UI Building Block | 20110124 |
Properties
| Class | CL_FPM_TEST_LIST_ATS_GROUPING | |
| Short Description | Test Feeder for the Grouping Service | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | APB_FPM_TEST_ECATT | ECATT Tests |
| Created | 20110124 | 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) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_FPM_GUIBB | Generic UI Building Block | 20110124 | ||
| 2 | IF_FPM_GUIBB_LIST | Generic List UI Building Block | 20110124 |
Friends
Class CL_FPM_TEST_LIST_ATS_GROUPING has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | See coding | 20110125 | |||||
| 2 | Constant | Private | See coding | 20110201 | |||||
| 3 | Constant | Private | See coding | 20110124 | |||||
| 4 | Constant | Private | See coding | 20110125 | |||||
| 5 | Constant | Private | See coding | 20110124 | |||||
| 6 | Constant | Private | See coding | 20110202 | |||||
| 7 | Constant | Private | See coding | 20110202 | |||||
| 8 | Constant | Private | See coding | 20110201 | |||||
| 9 | Constant | Private | See coding | 20110201 | |||||
| 10 | Constant | Private | See coding | 20110202 | |||||
| 11 | Constant | Private | See coding | 20110126 | |||||
| 12 | Constant | Private | See coding | 20110203 | |||||
| 13 | Constant | Private | See coding | 20110202 | |||||
| 14 | Constant | Private | See coding | 20110202 | |||||
| 15 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_SALV_ITAB_EDITOR_KEY_MODE | Editor to track table (product) changes | 20110126 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | YT_PRODUCT | The list of available products | 20110124 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 'X' if the data has been supplied | 20110124 | ||
| 18 | Instance attribute | Private | Type reference (TYPE) | Y_ID | The next valid product id | 20110126 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | Adds a new product | 20110126 | |
| 2 | Instance method | Private | Method | Creates the action definitions | 20110125 | |
| 3 | Instance method | Private | Method | Creates the editor to track table changes | 20110126 | |
| 4 | Instance method | Private | Method | Creates the field descriptions | 20110125 | |
| 5 | Instance method | Private | Method | Creates the next valid product id | 20110126 | |
| 6 | Instance method | Private | Method | Creates the row action definitions | 20110202 | |
| 7 | Instance method | Private | Method | Dispatches the raised event | 20110126 | |
| 8 | Instance method | Private | Method | Pouplates the product list | 20110124 | |
| 9 | Instance method | Private | Method | Removes the product at the specified index | 20110126 | |
| 10 | Instance method | Private | Method | Updates the main category of the selected products | 20110126 | |
| 11 | Instance method | Private | Method | Updates the rating of a product | 20110201 | |
| 12 | Instance method | Private | Method | Updates the stock of the selected products | 20110126 | |
| 13 | Instance method | Private | Method | Updates the sub category of the selected products | 20110126 | |
| 14 | Instance method | Private | Method | Updates the supplier approval status | 20110202 |
Events
Class CL_FPM_TEST_LIST_ATS_GROUPING has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | YS_PRODUCT | Private | See coding | Type for a product | 20110124 | begin of ys_product,
id type y_id,
name type string,
main_category type string,
main_category_link_ref type string,
sub_category type string,
sub_category_link_ref type string,
price type y_price,
currency type y_currency,
sales_discount_available type abap_bool,
stock type i,
stock_unit type y_stock_unit,
stock_status type string,
attachment_image_source type string,
rating_image_source type string,
rating_text type string,
supplier_approval type abap_bool,
supplier_approval_status type string,
spec_file_type type string,
spec_file_type_image_source type string,
percentage_of_sales type i,
percentage_of_sales_category type string,
end of ys_product
|
|
| 2 | YT_PRODUCT | Private | See coding | Type for a list of products | 20110124 | yt_product type standard table of ys_product with key id
|
|
| 3 | Y_CATEGORY | Private | See coding | Type for a product category | 20110124 | y_category(60) type c
|
|
| 4 | Y_CURRENCY | Private | See coding | Type for the currency of a product price | 20110124 | y_currency(3) type c
|
|
| 5 | Y_ID | Private | See coding | Type for a product id | 20110126 | y_id(5) type n
|
|
| 6 | Y_PRICE | Private | See coding | Type for the pice of a product | 20110124 | y_price type p length 10 decimals 2
|
|
| 7 | Y_STOCK_UNIT | Private | See coding | 20110203 | y_stock_unit(10) type c
|
Method Signatures
Method ADD_PRODUCT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_PRODUCT | Call by reference | Type reference (TYPE) | YS_PRODUCT | The product to add | 20110126 |
Method ADD_PRODUCT on class CL_FPM_TEST_LIST_ATS_GROUPING has no exception.
Method CREATE_ACTION_DEFINITIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_ACTION_DEF | Call by reference | Type reference (TYPE) | FPMGB_T_ACTIONDEF | The action defintions | 20110125 |
Method CREATE_ACTION_DEFINITIONS on class CL_FPM_TEST_LIST_ATS_GROUPING has no exception.
Method CREATE_EDITOR Signature
Method CREATE_EDITOR on class CL_FPM_TEST_LIST_ATS_GROUPING has no parameter.
Method CREATE_EDITOR on class CL_FPM_TEST_LIST_ATS_GROUPING has no exception.
Method CREATE_FIELD_DESCRIPTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_FIELD_DESCR | Call by reference | Type reference (TYPE) | FPMGB_T_LISTFIELD_DESCR | The table to create the field descriptions in | 20110125 |
Method CREATE_FIELD_DESCRIPTIONS on class CL_FPM_TEST_LIST_ATS_GROUPING has no exception.
Method CREATE_NEXT_PRODUCT_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_RESULT | Value transfer | Type reference (TYPE) | STRING | The next valid ID | 20110126 |
Method CREATE_NEXT_PRODUCT_ID on class CL_FPM_TEST_LIST_ATS_GROUPING has no exception.
Method CREATE_ROW_ACTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_ROW_ACTION | Call by reference | Type reference (TYPE) | FPMGB_T_ROW_ACTION | The row actions | 20110202 |
Method CREATE_ROW_ACTIONS on class CL_FPM_TEST_LIST_ATS_GROUPING has no exception.
Method DISPATCH_EVENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CO_EDITOR | Call by reference | Object reference (TYPE REF TO) | IF_SALV_ITAB_CHANGE_LOG | Change log for internal tables | 20110126 | |||
| 2 | CT_SELECTION | Call by reference | Type reference (TYPE) | RSTABIXTAB | The selection indexes | 20110126 | |||
| 3 | CV_LEAD_SELECTION_INDEX | Call by reference | Type reference (TYPE) | SYTABIX | The lead selection index | 20110126 | |||
| 4 | ET_MESSAGE | Call by reference | Type reference (TYPE) | FPMGB_T_MESSAGES | The messages to be raised | 20110126 | |||
| 5 | EV_DATA_CHANGED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'X' if the data has been changed | 20110126 | |||
| 6 | EV_LEAD_SELECTION_CHANGED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'x' if the lead selection has been changed | 20110126 | |||
| 7 | EV_SELECTION_CHANGED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'X' if the selection has been changed | 20110126 | |||
| 8 | IO_EVENT | Call by reference | Object reference (TYPE REF TO) | CL_FPM_EVENT | The event to dispatch | 20110126 |
Method DISPATCH_EVENT on class CL_FPM_TEST_LIST_ATS_GROUPING has no exception.
Method POPULATE_PRODUCT_LIST Signature
Method POPULATE_PRODUCT_LIST on class CL_FPM_TEST_LIST_ATS_GROUPING has no parameter.
Method POPULATE_PRODUCT_LIST on class CL_FPM_TEST_LIST_ATS_GROUPING has no exception.
Method REMOVE_PRODUCT 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 | The index of the product to remove | 20110126 |
Method REMOVE_PRODUCT on class CL_FPM_TEST_LIST_ATS_GROUPING has no exception.
Method UPDATE_MAIN_CATEGORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SELECTION | Call by reference | Type reference (TYPE) | RSTABIXTAB | The indexes of the selected products | 20110126 | |||
| 2 | IV_MAIN_CATEGORY | Call by reference | Type reference (TYPE) | STRING | The main category to set | 20110126 |
Method UPDATE_MAIN_CATEGORY on class CL_FPM_TEST_LIST_ATS_GROUPING has no exception.
Method UPDATE_RATING 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 | The index of the product to update the rating for | 20110201 |
Method UPDATE_RATING on class CL_FPM_TEST_LIST_ATS_GROUPING has no exception.
Method UPDATE_STOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SELECTION | Call by reference | Type reference (TYPE) | RSTABIXTAB | The indexes of the selected products | 20110126 | |||
| 2 | IV_STOCK | Call by reference | Type reference (TYPE) | I | The updated stock | 20110126 |
Method UPDATE_STOCK on class CL_FPM_TEST_LIST_ATS_GROUPING has no exception.
Method UPDATE_SUB_CATEGORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_SELECTION | Call by reference | Type reference (TYPE) | RSTABIXTAB | The indexes of the selected products | 20110126 | |||
| 2 | IV_SUB_CATEGORY | Call by reference | Type reference (TYPE) | STRING | The sub category to set | 20110126 |
Method UPDATE_SUB_CATEGORY on class CL_FPM_TEST_LIST_ATS_GROUPING has no exception.
Method UPDATE_SUPPLIER_APPROVAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_APPROVED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 'X' to approve, space to reject the supplier | 20110202 | |||
| 2 | IV_INDEX | Call by reference | Type reference (TYPE) | SYTABIX | The index of the row to update the supplier approval status | 20110202 |
Method UPDATE_SUPPLIER_APPROVAL on class CL_FPM_TEST_LIST_ATS_GROUPING has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 731 |