Technology Blog Posts by SAP
cancel
Showing results for 
Search instead for 
Did you mean: 
886

Introduction

From SP13 Focused build test suite dashboard provides access to define custom fields by enhancing the configurations in Test suite dashboard Analytical List Page filters, Chart or Table fields. 

This Blog provides the detailed steps to configure custom fields for ALP pages. 

Pre-requisite

Test Suite Dashboard - Custom field implementation

This custom field can also be added as measures or dimension by dashboard users as additional filter or added to the chart or table.

Steps to add Custom property:

Go to SPRO -> SAP Solution Manager -> Focused Build -> Test Suite Extensions -> Test suite dashboard -> Define Custom Fields for Analytical list Pages OR

Screenshot 2024-11-27 134625.png

Each new custom field should be defined in properties. This will be mapped to relevant ALP based on selected view.

2.png

  • The view lists all the ALP for which custom fields can be defined.
  • The field name should be derived from the corresponding structure.
  • Add field label in property label
  • In type both characteristic or measure can be defined
  • Select the filter type for the custom field.

3.png

For example, custom properties Date Test is defined for defect status tile.

5.png

Property needs to be assigned to dimension of the details page in order to properly perform data collection along with the technical model of the Focused Build Test Suite Dashboard.

Define the dimension for corresponding property by selecting the property. 

Add dimension and corresponding Table and field name for custom field.

7.png

Table for which the custom field is added is entered along with the relevant parent table/ view. Edit or add the join condition. This logic is used to retrieve the value of custom fields.  

8.png

Save the changes and click on generate button to integrate the custom property into the Test Suite Dashboard model.

The custom fields defined can be selected in filter, chart and Table

6.png

BADI Enhancement for Custom Fields

Enhancement Spot: /SALM/TM_DASH_CUST_PROP_ENH
BAdI Definition: /SALM/TM_DASH_CUST_PROP_BADI
Interface: /SALM/IF_TM_DASH_CUST_PROP_ENH
Filter: CUSTOM_PROPERTY (Name of Custom Property in maintenance view /SALM/TM_DASHCPV)

In SE19 create implementation for Enhancement spot /SALM/TM_DASH_CUST_PROP_ENH

9.png

The enhancement provides access to user to modify the text values of custom property in Test suite dashboard, Multiple implementations can be created for the BADI definition /SALM/TM_DASH_CUST_PROP_BADI. By default, the text values are derived from domain values from custom property. Users can modify the values by implementing the GET_TEXT_VALUE_SET method.

Data type of custom text property within Test Suite Dashboard by default is 100 characters.
Data type can be changed by implementing the method SET_TEXT_PROPERTY_TYPE this enhancement spot and run the generation of custom properties in view /SALM/TM_DASHCPV (transaction SM34).
 

Please feel free to provide feedback either directly here in the comment section or in case of questions, you can submit them here. You are also encouraged to follow SAP Solution Manager tag here and Focused Build for SAP Solution Manager tag here.

 

 

 

 

 

 

 

 

1 Comment