Skip to Content
0
Former Member
Mar 13, 2015 at 04:51 AM

Life Cycle In SAP gate way Odata service

95 Views

I am new to SAP-ABAP and Odata Concept.

we are using RFC Service(RFC Function in ABAP) which is returning header data table and item data table separately,

i have made code(redefine) for "get entity set" for Header and Item part.

now i am calling same RCF method for item data get entity set .

so for every header data it is calling RFC from Item Data.

currently i am getting correct Nested json for Header data and Item data.

all item data json is inside related header data json

is there any to do this in just one RFC call?

i need all data as json from RFC .

this is json structure i am getting write now.

d

{

Header data[0]{

header detail

item[0]{item detail}

item[1]{item detail}

item[2]{item detail}

.

.

}

Header data[1]{

header detail

item[0]{item detail}

item[1]{item detail}

item[2]{item detail}

.

.

}

}