Enable hidden Fields of SAP BW DataSource
Fields hidden by SAP in Standard BW Data Sources
Many a times you would have observed that there are a few fields present in the extract structure of the SAP BW datasource but are not available in RSA6 or the data source which is replicated in BW.
This blog talks about all steps as to how can we enable fields present in the extract structure of the data source, make them visible in RSA3 and fetch the data in BW.
Let’s take an Example.
Here we take an example of a data source 0COMP_CODE_TEXT No. of Fields in the Extract structure is 7.
No. of fields in RSA3 output of the Datasource is ‘2’:
Fields present in RSA6 in the source system for the data source 0COMP_CODE_TEXT
Data source in SAP BW.
The Reason for this:
The value for the field SELECTION of the table ROOSFIELD for the fields which are not visible in the Data source or RSA3 is maintained as ‘A’.
If a request for a Data Source is scheduled in the Business Information Warehouse, selection conditions are specified across certain fields. The property that determines whether a selection in BW using a field is possible or required is established in the Data Source in the Source System.
In addition, the visibility of the field in BW can be set.
Definition of the individual values:
‘A’: Field is hidden in OLTP and BW; property cannot be changed by the customer.
‘M’: The Data Source requires a selection across this field before it is able to extract data (Required field for the generation of a request); property cannot be changed by the customer
‘X’: The Data Source can select across this field. The customer can change selections and visibility (the field is currently visible and selectable, compare with ‘P’, ‘3’)
‘1’: Pure selection field for the Data Source. The customer can change the selection, but not the visibility (the field is currently selectable, compare with ‘2’).
‘2’: Pure selection field for the Data Source. The customer can change the selection, but not the visibility (field is currently no selectable, compare with ‘1’).
‘3‘: The Data Source can select across this field. The customer can change selection and visibility (the field is currently not visible not selectable, compare with ‘P’, ‘X’)
‘4’: The Data Source cannot select across this field. The customer can change visibility (the field is currently not visible, compare with ‘ ‘)
|A||Field in OLTP and BW Hidden by SAP|
|M||Selection Required, Visible|
|No Selection Possible, Visibility Set|
|P||Selection Adjustable, Visibility Set.|
|X||Selection Adjustable, Visibility Set|
|1||Pure Selection Field, Selection Set|
|2||Pure Selection Field, Selection Set|
|3||Selection Adjustable, Visibility Adjustable|
|4||No Selection Possible, Visibility Adjustable|
Here are Steps to make the field visible in RSA3 and to populate data into BI.
Let’s consider the filed DATETO (Valid-to date) to be displayed in RSA3 and in the Data source so that the data can be extracted into BI.
STEPS to be followed:
- Create a test program through the transaction SE38. Write the below code in the program. Activate it and then execute.
Go to RSA3 and you will find the new filed DATETO in your output.
PS. Note: If there is data it would automatically get populated in this case there isn’t any data in the new filed
- Go to the BI System find the data source and Replicate it.
To Summarize following the above steps you can un-hide / enable the fields present in the Extract Structure of an SAP BW Datasource.
ECC 6.0 and BI 3.x and 7.0, 7.3 etc.
References & Related Links: https://answers.sap.com/questions/960374/unhide-fields-of-datasource.html?childToView=960565
(Related SAP Note: 1033847 and 1296703)
I would love to hear back suggestions, feedback and questions that you might have. Please do share the blog with your Team members, Colleagues and Friends working in SAP and don’t forget to like and share the blog and follow me on SAP blogs to not miss more content: Maheshsingh Mony
Best regards, Mahesh