# How to Set Up ODP

Step1. Creating RFC Destination

&#x20;  Tcode : SM59  , Create RFC Destination  with connection type&#x20;

<figure><img src="/files/QDu0YUVZKO7CL2FvgvJn" alt=""><figcaption></figcaption></figure>

Step2: Activate the Datasource

Any SAP extractor that is whitelisted by SAP for ODP framework can be used to extract data from and expose that data as an OData service for consumption. And for extractors that are delta capable can extract delta data as part of ODP framework and make it available for any external system as an OData service for consumption is icing on the cake.

&#x20;List of steps to be performed to make this possible can be broadly classified as

1. **Extractor setup**
2. **Enabling ODP**
3. **OData Service generation**

### **2.1. Extractor setup**

This step is typical SAP BW extractor enabling step.&#x20;

#### **2.1.1 Activate Extractor**

Go to transaction RSA5, expand sub tree and find extractor (in this example 0FI\_GL\_10)

<figure><img src="/files/hht7bM3IOW6IY6kswded" alt=""><figcaption></figcaption></figure>

### 2.2 Validate Extractor

To make sure extractor is active and to view the fields of extractor go to transaction RSA6, expand subtree and find the extractor

<figure><img src="/files/6pcxWkK5iAJib8JVo8jp" alt=""><figcaption></figcaption></figure>

![](file:///C:/Users/Koti/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png)![](file:///C:/Users/Koti/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png)

### 2.3 Test Extractor

To perform a test run, go to transaction RSA3 and type in extractor name (in this example 0FI\_GL\_10) and click on **Extraction** button

<figure><img src="/files/d7ftcmN8yDtLTLFo0sIH" alt=""><figcaption></figcaption></figure>

![](file:///C:/Users/Koti/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png)

Click on ALV Grid button to view the data.

### 2.4 Enabling ODP

Most of the extractor have ODP enabled. This can be verified by checking the ODP icon in RSA5/6 which indicates if the extractor is whitelisted by SAP or not

<figure><img src="/files/ZXwAEgV3zSs4Z0mu0hR2" alt=""><figcaption></figcaption></figure>

Furthermore, open the contents of table **ROOSATTR** to verify if there is an entry in the table for extractor and **EXPOSE\_EXTERNAL** indicator is set.

| **Additional information**                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| <p>In case, a standard extractor is not available in ROOSATTR table then implement latest version of SAP note 2232584 and run program BS\_ANLY\_DS\_RELEASE\_ODP to update the whitelist extractors into ROOSATTR table.</p><p><strong>RODPS\_OS\_EXPOSE</strong>: Report to release customer-defined extractors for ODP.</p><p><strong>BS\_ANLY\_DS\_RELEASE\_ODP</strong>: Report to release standard extractors for ODP.</p> |

```
```

<pre><code><strong> 
</strong></code></pre>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.justperform.com/advanced/connections/connection-to-s-4-hana/how-to-set-up-odp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
