Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the meaning of addressable as true in the SAP model

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces the relevant knowledge of "what is the meaning of addressable for true in the SAP model". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

There are three entity set mark in Opportunity Odata model as address = true:

The explanation in SAP help is that entity set that mark into address = true can be accessed directly through url, such as the following two examples: document history and maxhit.

For other entity set accessed through $expand, such as Attachments,product, etc., although it also appears to be accessed directly through url:

However, according to the definition in SAP help, when framework accesses these entity set, it always gets the root entity set, or Oppportunity, before performing the expand operation.

The following example is that Framework handles the read operation of documentHistory: the framework directly call GET_ENTITYSET method returns the history based on the passed guid:

But for this expand url:

Https://wdciw01.wdf.sap.corp:7080/sap/opu/odata/sap/CRM_OPPORTUNITY/Opportunities(guid'3440B5B1-73AE-1ED4-9ED9-F49FBCEA5CC2')?$expand=Products,ChangeDocs,Competitors,OpportunityLogSet&sap-client=001

The framework starts with Opportunity:

Line 28 reads Opp header first, and then read function of call line 41 reads sub entity set information that requires expand

This is the end of the introduction of "what is the meaning of addressable as true in the SAP model". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report