Quantcast
Channel: SCN : Popular Discussions - SAP NetWeaver Gateway Developer Center
Viewing all articles
Browse latest Browse all 1657

Issue while creating web service with structure input and table output

$
0
0

Dear Expert's,

 

I have an RFC enabled Function module, which takes individual fields as input and returns back an internal table and individual fields as output.

 

When i try to create a gateway service, i find two entity type's getting created. ie, one for input structure and other for output table.

 

Is it correct ? I was expecting one entity type for both.

 

When i try to map the input structure as Read operation only to key fields and map the output table as Query operation and try to generate the runtime objects, i get an error stating "The read operation has no property mapped with an Output direction".

 

I don't understand, why should read operation should have a mapping to Output direction ?

 

Can someone please tell me, how to solve this issue ? And, what is the right approach to create gateway service ?

 

Note: Some people suggest here, not to go through RFC approach. But, I should go through this method, since it has an custom report output wrapped.

 

Thanks and Regards,

Gaurav.


Viewing all articles
Browse latest Browse all 1657

Trending Articles