Skip to Content
0

How to enable value help in extend CDS view on the field

Mar 21 at 02:27 PM

40

avatar image

Hello friends!

Doesn't work value help on the additional field in the extend view.

Could you see what's wrong in the code below, please:

@AbapCatalog.sqlViewAppendName:'ZCPOMNTRACC_EXT'

@EndUserText.label:'Purchaseorderitemacct ext'

extend view C_Purchaseorderitemacctmntr with Z_C_Purchaseorderitemacct_ex01 {

@Search.defaultSearchElement:true

@UI.selectionField:{position:100,importance:#HIGH}

@Consumption.valueHelpDefinition:[{entity:{name:'ZC_MM_OrderValueHelp',element:'OrderID'}}]

PurOrdAccAssign.OrderID

}


Unfortunately, I haven't got enough experience and don't know where the bug is.

Thanks in advance, Mike.

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

2 Answers

Mikhail Postnikov Mar 21 at 08:26 PM
0

Andre, thank you a lot for your answer!

I tried to add that annotation, but value help doesn't work.

My attempts in files below. Could you see for them, please


Share
10 |10000 characters needed characters left characters exceeded
Andre Fischer
Mar 21 at 03:00 PM
0

Try to add a @ObjectModel.foreignKey.association for the associations you are using:

@ObjectModel.foreignKey.association: '_Customer'  SalesOrder.customer 
as Customer

BR

Andre

Share
10 |10000 characters needed characters left characters exceeded