4 - Fiori Elements - Filters and Value Helps

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 พ.ค. 2023
  • S/4 HANA Full-stack developer - Fiori Elements
    - Learn how the value helps modelled with CDS views and used in Fiori Elements
    Usage of below Annotations
    @Consumption.filter
    @Consumption.valueHelp
    @Consumption.valueHelpDefinition
    @ObjectModel.foreignKey.association
    @ObjectModel.text.association
    - Modelled ValueHelp CDS views
    - Modelled Text CDS views(ObjectModel.dataCategory: #TEXT, @semantics.language, @semantics.text)
    @UI.textArrangement

ความคิดเห็น • 8

  • @udaykumarappili1262
    @udaykumarappili1262 4 หลายเดือนก่อน +1

    i have a dropdown, i don't want to search the items
    I just want like Select control in fiori
    what changes i need to do can you suggest

    • @thaarasoft
      @thaarasoft  4 หลายเดือนก่อน

      If I understand it correctly, I assume you are developing with Fiori Elements template? or Free Style?
      Fiori Elements: you need to extend the template
      Free Style: you can just bind the entityset to the Select Control

  • @pavankumar-eo6xc
    @pavankumar-eo6xc 8 หลายเดือนก่อน +1

    is it possible to set multiple filter values default at selection screen for list report?

    • @thaarasoft
      @thaarasoft  8 หลายเดือนก่อน

      Nope, not through CDS Annotations
      But, you might try something around variants(creating public variant and loading it by default)

    • @patrykzuchowski5044
      @patrykzuchowski5044 5 หลายเดือนก่อน +1

      Hi, I have 2 input fields for create an entity. First input is purchorg and second supplier. I have 2 different cds valuehelps. How can I pass first input of purchorg as a filter to the second valuehelp.

    • @thaarasoft
      @thaarasoft  5 หลายเดือนก่อน

      @@patrykzuchowski5044 please see below help document for dependent or conditional filters
      help.sap.com/docs/abap-cloud/abap-rap/value-help-with-additional-binding

    • @patrykzuchowski5044
      @patrykzuchowski5044 5 หลายเดือนก่อน +1

      @@thaarasoft ok, it works. But now i have other requirement. I have a valuehelp for some input field for child entity, and i need filter for the valuehelp based on some field in root entity. It is possible? Example: i have a Suppliergroup(root entity) with key PurchOrg and i want to add some Supplier to the group(child entity). In my valuehelp i can see Suppliers for all of PurchOrg, and i need a filter for Suppliers only in this PurchOrg. So the filter should based on the field PurchOrg from root entity.

    • @thaarasoft
      @thaarasoft  5 หลายเดือนก่อน

      @@patrykzuchowski5044 yes, your input helps must be independent, then you can apply filters on all it's dependent entities.