<html>
<head>
    <base href="https://docs.jboss.org/author">
            <link rel="stylesheet" href="/author/s/en/2172/19/5/_/styles/combined.css?spaceKey=TEIID&amp;forWysiwyg=true" type="text/css">
    </head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
    <h2><a href="https://docs.jboss.org/author/display/TEIID/SAP+Netweaver+Gateway+Translator">SAP Netweaver Gateway Translator</a></h2>
    <h4>Page  <b>added</b> by             <a href="https://docs.jboss.org/author/display/~rareddy">Ramesh Reddy</a>
    </h4>
         <br/>
    <div class="notificationGreySide">
         <p>Teiid provides a translator for <em>SAP Netweaver Gateway</em> using the OData protocol. This translator is extension of <a href="/author/display/TEIID/OData+Translator" title="OData Translator">OData Translator</a> and uses Teiid WS resource adapter for making web service calls. This translator understands the most of the SAP specific OData extensions to the metadata defined in the document <a href="http://scn.sap.com/docs/DOC-44986" class="external-link" rel="nofollow">SAP Annotations for OData Version 2.0</a></p>

<p>When the metadata is imported from SAP Netweaver Gateway, the Teiid models are created to accordingly for SAP specific <em>EntitySet</em> and <em>Property</em> annotations defined in document above.</p>

<p>The following "execution properties" are supported in this translator</p>

<p><b>Execution Properties</b></p>
<div class='table-wrap'>
<table class='confluenceTable'><tbody>
<tr>
<th class='confluenceTh'>Name</th>
<th class='confluenceTh'>Description</th>
<th class='confluenceTh'>Default</th>
</tr>
<tr>
<td class='confluenceTd'>DatabaseTimeZone</td>
<td class='confluenceTd'>The time zone of the database. Used when fetchings date, time, or timestamp values</td>
<td class='confluenceTd'>The system default time zone</td>
</tr>
<tr>
<td class='confluenceTd'>SupportsOdataCount</td>
<td class='confluenceTd'>Supports $count</td>
<td class='confluenceTd'>true</td>
</tr>
<tr>
<td class='confluenceTd'>SupportsOdataFilter</td>
<td class='confluenceTd'>Supports $filter</td>
<td class='confluenceTd'>true</td>
</tr>
<tr>
<td class='confluenceTd'>SupportsOdataOrderBy</td>
<td class='confluenceTd'>Supports $orderby</td>
<td class='confluenceTd'>true</td>
</tr>
<tr>
<td class='confluenceTd'>SupportsOdataSkip</td>
<td class='confluenceTd'>Supports $skip</td>
<td class='confluenceTd'>true</td>
</tr>
<tr>
<td class='confluenceTd'>SupportsOdataTop</td>
<td class='confluenceTd'>Supports $top</td>
<td class='confluenceTd'>true</td>
</tr>
</tbody></table>
</div>


<p>Based on how you implemented your SAP Netweaver Gateway service, if can choose to turn off some of the features above.</p>

<div class='panelMacro'><table class='warningMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/forbidden.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>"Using pagable, topable metadata extensions?"</b><br />If metadata on your service defined "pagable" and/or "topable" as "false' on <b>any</b> table, you <b>must</b> turn off "SupportsOdataTop" and "SupportsOdataSkip" execution-properties in your translator, so that you will not end up with wrong results. SAP metadata has capability to control these in a fine grained fashion any on EnitySet, however Teiid can only control these at translator level.</td></tr></table></div>

<div class='panelMacro'><table class='warningMacro'><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="/author/images/icons/emoticons/forbidden.gif" width="16" height="16" align="absmiddle" alt="" border="0"></td><td><b>SAP Examples</b><br />Sample examples defined at <a href="http://scn.sap.com/docs/DOC-31221" class="external-link" rel="nofollow">http://scn.sap.com/docs/DOC-31221</a>, we found to be lacking in full metadata in certain examples. For example, "filterable" clause never defined on some properties, but if you send a request $filter it will silently ignore it. You can verify this behavior by directly executing the REST service using a web browser with respective query. So, Make sure you have implemented your service correctly, or you can turn off certain features in this translator by using "execution properties" override. See an example in <a href="/author/display/TEIID/OData+Translator" title="OData Translator">OData Translator</a></td></tr></table></div>

    </div>
    <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;" class="grey">
                        <a href="https://docs.jboss.org/author/users/removespacenotification.action?spaceKey=TEIID">Stop watching space</a>
            <span style="padding: 0px 5px;">|</span>
                <a href="https://docs.jboss.org/author/users/editmyemailsettings.action">Change email notification preferences</a>
</div>
       <a href="https://docs.jboss.org/author/display/TEIID/SAP+Netweaver+Gateway+Translator">View Online</a>
              |
       <a href="https://docs.jboss.org/author/display/TEIID/SAP+Netweaver+Gateway+Translator?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
           </div>
</div>
</div>
</div>
</div>
</body>
</html>