a month ago
Hi,
I need to add current user as a parameter to a CDS View which is used in Analysis for Office.
I have tried both ways:
- as a parameter:
@Environment.systemField : #USER
p_uname : syst_uname,
This is just not working, parameter is not showing in the Variables list.
- as a filter:
@Consumption.filter: {selectionType: #SINGLE, multipleSelections: false, mandatory: true}
$session.user as SessionUser
This generates an error when CDS View is opened in Analysis for Office:
'cds variable!cds_f_user is not formally, correctly defined' .
SAP ABAP release is 758.
What am I missing?
Thank you,
Alina
User | Count |
---|---|
75 | |
10 | |
10 | |
10 | |
10 | |
9 | |
8 | |
7 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.