Hello Experts,
We were extending the F4 help for a standard app "Create Purchase Requisition" for the Supplier search in 1709. Recently we have upgraded our system to S/4HANA 2020. After upgrade, the value help annotation for the Z fields are not working. I have used the following annotation below:
____________________________________________________________________________________________
@AbapCatalog.sqlViewAppendName: 'ZMMSUPBYMTGX4'
@EndUserText.label: 'Supplier by Material Group'
extend view C_SSPSupplierPurgOrgVH with ZMM_I_SUBBYMTG_X_04
association [0..1] to I_Supplier as _Supplier2 on _Supplier2.Supplier = Supplier.Supplier
association [0..1] to ZMM_I_MATKL_TEXT as _MatklText on _MatklText.MaterialGroup = $projection.materialgroup
{
@Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 } @ObjectModel.text.element:'MaterialGroup'
@Consumption.valueHelpDefinition: [{ entity: { name: 'ZMM_I_MATERIALGROUP_VH', element: 'MaterialGroup' } }]
_Supplier2.MaterialGroup as MaterialGroup1,
@Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
@ObjectModel.text.element:'SupPlant'
@Consumption.valueHelpDefinition: [{ entity: { name: 'ZMM_I_PLANT_VH', element: 'Plant' } }]
_Supplier2.SupPlant as SupPlant,
@Search: { defaultSearchElement: true, ranking: #HIGH, fuzzinessThreshold: 0.7 }
@ObjectModel.text.element:'PurchaseOrg'
@Consumption.valueHelpDefinition: [{ entity: { name: 'ZMM_I_PURCHASEORG_VH', element: 'PurchaseOrg' } }] _Supplier2.PurchaseOrg as PurchaseOrg }
In the above code, I have replaced one of our custom value help "ZMM_I_MATERIALGROUP_VH" with standard SAP CDS view (C_SSPMaterialGroupVH) where it works good but when I use our custom Valuehelp CDS View (ZMM_I_PLANT_VH), it is not working.
Also in the metadata of the App, the custom CDS view annotations are not loading. However when I give the standard CDS View as F4 Value help instead of custom, the annotations are loading for the particular standard CDS view and appearing as F4 Help.
This is happening after we upgrade the HANA system from 1709 to 2020.
Your answers will be much helpful for me to solve the issue.
P.S. I have did all sort of clearing cache, loading metadata and model. but still its not working.
Regards,
Mahendran B.