on 03-21-2018 2:27 PM
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.
Did you ever figure out how to do this?
Thanks.
Jay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Currently i am facing the same issue. can anyone please tell what is the soultion for this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Guys, did some body manage to solve this issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello andre.fischer,
I am having the same problem. I have used the annotation @ObjectModel.foreignKey.association in extending a standard CDS view. But since there is no GET_ENTITYSET method generated by itself on activation of the extended CDS view. Nor the value help entity is created in the model.
@AbapCatalog.sqlViewAppendName: 'ZE_SQLC_PRITEM'
@EndUserText.label: 'Extension view of C_PURCHASEREQNITEM'
extend view C_PurchaseReqnItem with ZE_PURCHASEREQNITEM
association to ZI_USER_VH as _UserVH
on $projection.requisitionername = _UserVH.UserId {
//@ObjectModel.foreignKey.association: '_UserVH'
@Consumption.valueHelp:'_UserVH'
//@Consumption.valueHelpDefinition: [{ entity:{ name: 'ZI_USER_VH', element:'UserId' } }]
@UI: {
lineItem: { position: 100, importance: #HIGH, type: #STANDARD },
fieldGroup: { qualifier: 'Contact02', position: 50, importance: #HIGH }
}
RequisitionerName as ZDummyRequisitioner,
_UserVH
}
Does this mean, it is not possible to use custom value help provider with custom field in CDS?
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Dima,
Please let me know how you addressed below mentioned issue?
My problem was, I did not specify the KEY for the VH CDS entity and it was not visible as actually a value help, not giving me any hint or warning message.
Thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Were you able to solve your problem. I also need value help on extended fields in goods movement CDS view. The extended fields are in prompt (variable screen) of BEx query. The CDS view is used as transient provider.
Regards,
Mihir Kiri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mikhail,
Recently did the same.
My problem was, I did not specify the KEY for the VH CDS entity and it was not visible as actually a value help, not giving me any hint or warning message.
But what is your problem now? Not clear. The model seems to be changed (on the pictures) and the VH is there, right?
Did you check if OData is properly called? Did you regenerate/recreate DPC classes?
Thanks, Dima
Try to add a @ObjectModel.foreignKey.association for the associations you are using:
@ObjectModel.foreignKey.association: '_Customer' SalesOrder.customer
as Customer
BR
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
26 | |
10 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.