Skip to Content
0

In CDS Consumption View, How user can see Multiple choice and Different label instead of "P_Company"

Apr 07, 2017 at 06:13 PM

147

avatar image

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)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sean Zhang
Apr 09, 2017 at 02:29 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded