Basic OData Interview Questions
Basic OData Interview Questions
Q4. You can group multiple operations into a single HTTP request
by using?
A1. OData Grouping
A2. OData Batching
A3. OData Collection
A4. OData Clustering
Q5. Which of following query options can be used to limit the size
of the result set?
A1. $filter
A2. $orderby
A3. $select
A4. $expand
Q6. Which of following query option can be used to limit the size of
the result set by limiting the number of columns?
A1. $expand
A2. $filter
A3. $select
A4. $top
A1. A, B, C and D
A2. B, A, D and C
A3. D, B, A and C
A4. D, B, C and A
Q8. What is the name of the tool that is used to implement OData
services for SAP Gateway?
A1. Eclipse ABAP Development Tool
A2. SAP Gateway Service Builder
A3. SAP Gateway Client
A4. SAP Gateway Editor
Q9. Which of the below transaction is used to check the error logs
in SAP Gateway hub system?
A1. /IWFND/ERROR_CHECK
A2. /IWFND/ERROR_LOG
A3. /IWBEP/ERROR_CHECK
A4. /IWBEP/ERROR_LOG
Q10. Which of the following tasks can be performed using
transaction /IWFND/MAINT_SERVICE?
A1. Assign/remove additional system alias
A2. Define the data model of an OData service
A3. Add/remove services from the hub
A4. Implement the data provider extension class
Q11. Which of the following query options will retrieve the number
of entries that the list contains?
A1. $count
A2. $top
A3. $inlinecount=allpages
A4. $select
Q12. The wizard for creating an entity type based on a search help
performs two steps. What are these steps?
A1. Data model definition
A2. Service maintenance
A3. Service implementation
A4. Service activation
Also Read: How create OData service based on CDS view using annotation
Q15. ABAP CDS views are supported from which of the following
releases?
A1. SAP Netweaver 7.51
A2. SAP Netweaver 7.40
A3. SAP Netweaver 7.0 with SAP Gateway 2.0 SP08
A4. SAP Netweaver 7.50
Q18. SAP Gateway support online scenarios and does not support
offline scenarios?
A1. True
A2. False
Namespace It is by de
External Mapping ID It is by de
Package Assignment Assign your package name here, or just choose Loc
In our case, we just need to choose package and click confirm, as shown below:
Once the service is registered, the Registration will turn green, as shown below:
Test the OData service
1. To test the OData service, click the SAP Gateway Client button, as shown below:
2. It will open a new screen, here click Add URI Option as shown below:
If the status is 200, as shown above, then it means your OData is working fine.
3. Filter your service by entering it in the field “External Service Name” as shown below and click the
search icon.
4. Now, the above search will return your OData Service name. Select your service and click Add
Selected Service
5. Now, assign your package name to the Service as shown below. In case, you don’t have
package name, either click on “Local Object” or write $TMP in the package assignment. Then,
save the above settings.
6. Now, a pop up will open saying “Service <your service name> was created and its metadata was
loaded successfully
7. Now, go back to the transaction /iwfnd/maint_service and filter your service again. This time
select your service and select SAP Gateway client
The Filter will open this popup, enter your details here and click execute (the green button).
2. It will open a new screen, here click Add URI Option as shown
below:
3. Choose $metadata, here:
If the status is 200, as shown above, then it means your OData is working fine.
SAP NetWeaver:
Everything you need to
know about
Table of Contents [hide]
1 What is SAP NetWeaver?
2 What is a SAP NetWeaver Application Server?
3 What is a SAP NetWeaver Gateway?
4 What is an OData?
5 Why SAP NetWeaver?
6 Related Articles
7 Related Video
What is SAP NetWeaver?
SAP NetWeaver is a technology by SAP which is developed primarily using ABAP. It is a
solution stack of SAP’s technology products. In simpler words, it is a breadboard on which other
hardware’s (here SAP Modules/ Non SAP modules) can be attached.
Basic Architecture of SAP NetWeaver Stack
Integration layer
Connectivity layer
SAP Gateways is the middle or Application tier. This Application layer is essential for
communication between the UI and the backend.
The main motto to use multi-tier architecture was to implement a data processing system that
will add a valuable level of modularity and flexibility to the system by developing and
maintaining each tier individually. OData is used to exchange data.
What is an OData?
OData which stands for Open Data Protocol is an open source to exchange data over the Internet.
It was built by Microsoft.
OData protocol is HTTP based, due to which any programming language with HTTP stack can
consume OData services. The output is in the form of JSON or ATOM (i.e. XML).