on 12-06-2016 11:02 AM - last edited on 02-03-2024 5:32 PM by postmig_api_4
Hi Andre,
Value help \ default values won't work here as you are trying to get a data preview of the view that you created in the Eclipse IDE.
Value help or default values works for consumption views that are interpreted either by the Analytical or UI engine.
For example, you can create a CDS-based query on top of the cube that you created and assign the default values there. Something like this.
@Analytics.query: true
@VDM.viewType: #CONSUMPTION
define view ZC_JOrdersQuery
with parameters
@Consumption.defaultValue: '<date_in_format_yyyymmdd>'
p_keydate: abap.dats
as select from ZAJ_C_ORDERS
{
<required_elements>
};
You can also default it to the system date using the below annotation.
@Environment.systemField: #SYSTEM_DATE
As for the value help, as these are ABAP CDS views, the value help corresponds to the data element assigned to the parameter.
But again this works for consumption views which are interpreted either by an Analytical or UI engine.
Let Me know if this answers your query.
Thanks,
Sagar J.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi André,
I don't have an answer to your question, but the suggestion that you add "ABAP Development" as another secondary tag.
-> This might bring it to the attention of more CDS-experts.
After all, CDS-Views are no S/4HANA exclusives, but a general feature of modern ABAP.
best
Joachim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.