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

Fetch data based on input in OData service

$
0
0

Hi everyone,

 

I created BAPI to fetch sales details of a given customer.

 

Import parameter

   CUST_NO

 

Export Parameter

   RETURN

 

Tables:  SALES_TAB   (Table having 4 columns given below)

                *  SO_NO

                *  SO_DATE

                *  NET_VALUE

                *  CURRENCY

 

BAPI working fine.

Now I want to create a OData service by importing the above BAPI function.

 

I have little confusion while selecting the fields to create a model.

I want to take RETURN structure also.

 

Another question is do I need to go with GetEntity (Read) or GetEntitySet (Query) for my above BAPI.

 

Please help.

Ravinder.


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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