Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

error on creation of Odata service for RFC (deep structure)

$
0
0

hi,

 

Am creating my first OData service in Gateway and have run into an issue. I tried to follow steps as per blog by Drees

Step-by-step guide to build an OData Service based on RFCs – Part 1

 

 

I have custom RFC on ECC with deep structure as below. There is no input, the RFC populates the HDR.

HDR (tableType)

     hfld1 (key)

     hfld2

     ITEM (tableType)

         hfld1 (key)

         ifld1 (key)

         ifld2

         DETAIL (tableType)

            hfld1(key)

            ifld1(key)

            dfld1(key)

            dfld2

 

Now @ Gateway side, am trying to create Odata service for the above.

a) 3 Entity types created with respective keys

b) 3 Entity sets created

c) 2 Association sets           HDR(1)>>ITEM(1:n)     and      ITEM(1)>>DETAIL(1:n), created along with its Navigation property

d) Runtime Artificats have generated successfully

e) created MapToDatasource for GetEntitySet on HDR no issues

f) When i try to create MapToDatasource for GetEntitySet on ITEM ---> ERROR

Data source parameter HFLD1 is in a deep structure and is not supported.

Data source parameter IFLD1 is in a deep structure and is not supported.

Same error repeats for DETAIL on hfld1, ifld1 and dfld1


Appreciate any help!


-Ram



Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>