04-07-2017 7:13 PM
In CDS Consumption View, How user can see Multiple choice and Different label instead of "P_CompanyCode"
Here is my code. if you have suggestion for Annotation, I will try
@Consumption.defaultValue: '1020' @AnalyticsDetails.query.variableSequence : 10 @Consumption.derivation: { lookupEntity: 'I_CompanyCode', resultElement: 'Companycode', binding: [ { targetElement : 'P_CompanyCode' , type : #PARAMETER, value : 'P_CompanyCode' } ] }
P_CompanyCode : abap.char(20)
04-09-2017 3:29 PM
Hi,
try to create a data element instead of "abap.char(20)", and the data element should have the label you expect.
or you could also try with the enduser text.
Regards,
Sean