# Steps to test connectivity in SAP

{% hint style="info" %}
**Important Note**:

This is a step-by-step "How-to" guide for testing connectivity in SAP. Please be aware that the values of different parameters and screenshots presented in this guide may vary depending on your specific use case. Before proceeding, please make sure to go through the [checklist](/cleartax-docs/add-ons-and-extensions/sap-add-on/sap-connectivity-checklist.md).
{% endhint %}

**Step 1:** RUN the T-code `SM59` and select the `HTTP Connections to External Server` from the drop-down menu.

![](/files/5EsnDYHEdx2jrDE6RXlT)

**Step 2:** Click the `Create` button. Then enter a unique name for the RFC Destination. Then choose the Connection Type as `G` and add a description.&#x20;

**Step 3**: Go to the `Technical Settings` tab and enter the Target Host Name and Path Prefix as per the [API reference](https://docs.cleartax.in/cleartax-docs/add-ons-and-extensions/sap-add-on/sap-connectivity-checklist/pages/6t07uOywufneiQmbLwow#4.-product-environment-information). Enter the Service Number `443`.

<figure><img src="/files/8eiitQfRmmwVID35E8Vj" alt=""><figcaption></figcaption></figure>

**Step 4:** Go to the `Logon & Security` tab and select SSL radio button as `Active` and SSL Certificate dropdown as `Default SSL Certificate(Standard)`.

![](/files/1rzML7wbSgKvFS6DXbzK)

**Step 5:** Finally, click on the `Connectivity Test` button.

<figure><img src="/files/5RLT9SY5j7wprr6rZVef" alt=""><figcaption></figcaption></figure>

**Success**: The connection test result should have `Status HTTP Response` value as 200 with status message OK.&#x20;

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

**Error**: In case you see any other status code in the test result, please follow the troubleshooting steps.

{% content-ref url="/pages/p4AOUCQE7MEwWdcp61La" %}
[Steps to troubleshoot connectivity issues in SAP](/cleartax-docs/add-ons-and-extensions/sap-add-on/sap-connectivity-checklist/steps-to-troubleshoot-connectivity-issues-in-sap.md)
{% endcontent-ref %}


---

# 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://docs.cleartax.in/cleartax-docs/add-ons-and-extensions/sap-add-on/sap-connectivity-checklist/steps-to-test-connectivity-in-sap.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.
