Skip to Content
avatar image
Former Member

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

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)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 09, 2017 at 02: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

    Add comment
    10|10000 characters needed characters exceeded