Skip to content

Managing views for tables in object page #18

@jrodriguez-rc

Description

@jrodriguez-rc

I was checking the RAP service C_BusinessPartnerTP_2 (S/4HANA 2023) and it uses view management in tables inside the object page:

Image

It is also building the tables inside nested collections:

      {   id: 'Addresses',
          purpose:  #STANDARD,
          type:     #LINEITEM_REFERENCE,
          label:    'Address Details',
          targetElement: '_BusinessPartnerAddress',
          parentId: 'AddressDetailsData',
          position: 10 },
       {   id: 'AddressInd',
          purpose:  #STANDARD,
          type:     #COLLECTION,
          label:    'Address Independent Communication',
          targetQualifier: 'AddressInd',
          position: 40 },
          {   id: 'IndTele',
          purpose:  #STANDARD,
          type:     #COLLECTION,
          label:    'Telephone',
          targetQualifier: 'IndTele',
          parentId: 'AddressInd',
          position: 10 },
          {   id: 'IndMob',
          purpose:  #STANDARD,
          type:     #COLLECTION,
          label:    'Mobile',
          targetQualifier: 'IndMob',
          parentId: 'AddressInd',
          position: 20 },
          {   id: 'AddressIndEmail',
          purpose:  #STANDARD,
          type:     #COLLECTION,
          label:    'Email',
          targetQualifier: 'AddressIndEmail',
          parentId: 'AddressInd',
          position: 30 },
          {   id: 'AddressIndWebsite',
          purpose:  #STANDARD,
          type:     #COLLECTION,
          label:    'Website',
          targetQualifier: 'AddressIndWebsite',
          parentId: 'AddressInd',
          position: 40 },
         {   id: 'AddressIndFax',
          purpose:  #STANDARD,
          type:     #COLLECTION,
          label:    'Fax',
          targetQualifier: 'AddressIndFax',
          parentId: 'AddressInd',
          position: 50 }, 
         {    id: 'AddTele',
          purpose:  #STANDARD,
          type:     #LINEITEM_REFERENCE,
          label:    'Telephone',
          targetElement: '_BPAddrIndependentPhone',
          parentId: 'IndTele',
          position: 10 },
      {   id: 'AddMob',
          purpose:  #STANDARD,
          type:     #LINEITEM_REFERENCE,
          label:    'Mobile',
          targetElement: '_BPAddrIndependentMobile',
          parentId: 'IndMob',
          position: 20 },
      {   id: 'AddIndEmail',
          purpose:  #STANDARD,
          type:     #LINEITEM_REFERENCE,
          label:    'Email',
          targetElement: '_BPAddrIndependentEmail',
          parentId: 'AddressIndEmail',
          position: 30 },
      {   id: 'AddIndWebsite',
          purpose:  #STANDARD,
          type:     #LINEITEM_REFERENCE,
          label:    'Website',
          targetElement: '_BPAddIndependentWebsite',
          parentId: 'AddressIndWebsite',
          position: 30 },
      {   id: 'AddIndFax',
          purpose:  #STANDARD,
          type:     #LINEITEM_REFERENCE,
          label:    'Fax',
          targetElement: '_BPAddIndependentFax',
          parentId: 'AddressIndFax',
          position: 30 }, 

but just the title from the association is displayed:
Image

Is it possible, or maybe there are some modifications in some place? I checked the binding service preview.

I couldn't find how to build the same.

I saw that the published service C_BUSINESSPARTNERTP_2_SRV is an OData V2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions