on 02-23-2016 7:38 AM
Hi Abapers,
In get_expand_entity we have a export parameter ET_EXPANDED_TECH_CLAUSES we have to populate this table with Navigation Property if we didn't populate this table what will happen?, i debugged the code i didn't get any idea and red more theories, anyone please explain me Technically what is the use of this table if i didn't fill what issue may come.
Regards,
Lokesh Srinivasan.
Hello Lokesh,
As far as i know we fill that in ET_EXPANDED_TECH_CLAUSES to tell GW Frame Work not to call get_expand_entity again for the child entity as we have already filled child details along with the header as part of GW response.
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashwin,
Thank You for response.
you mean system will not call get_expand_entity again and again to populate child nodes.
the same explanation i red but i tried without filling ET_EXPANDED_TECH_CLAUSES my get_expand_entity triggered only once and get_entityset triggered multiple times (Based On Navigation Property) even if i fill ET_EXPANDED_TECH_CLAUSES there is no difference in code execution way.
In my scenario flow which i am seeing is when et_expanded_tech_clauses is not filled then calls goes to corresponding EntitySet method of each entities with navigation path.
If et_expanded_tech_clauses is filled then only get_expanded_entity is called.
Have you defined any referential constraints between entities ?
No Cardinality and Referential Constraints are different.
However not sure why code execution is same even if you fill ET_EXPANDED_TECH_CLAUSES.
Are you filling ET_EXPANDED_TECH_CLAUSES with caps ?
Say for example - where ADDRESS and DEPARTMENT are the navigation properties.
lv_add = 'ADDRESS'.
lv_dept = 'DEPARTMENT'.
APPEND lv_add TO et_expanded_tech_clauses.
APPEND lv_dept TO et_expanded_tech_clauses.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.