# Generate Authorization Profiles

You must install the ABAP addon using client 000, however the authorizations and roles delivered with the addon are client-dependent. To make the authorizations and roles available to the client where you will run the ABAP agent, follow these steps:

1. Sign in to the SAP system using the client where the ABAP Agent will run.
2. Run transaction PFCG to display the **Role Maintenance** screen.
3. Enter **/TRICE/SL\_AUTHS** in the Roles field and select <img src="/files/VBWiGH9bWtq6x0aRt4qt" alt="" data-size="original">.
4. In the **Change Roles** screen, select the **Authorizations** tab.
5. In the **Maintain Authorizations and Generate Profiles** section, select **Change Authorization Data**.
6. In the **Change role: Authorizations** screen, select ![](/files/ghjhzQUbAw78KyteCgd8) to generate the authorization profiles.
7. Check that the SeaLights role **/TRICE/SL\_AUTHS** has access to the following authorization objects:

#### `/TRICE/OBJ` — SeaLights Custom Authorization

| Field        | Value          |
| ------------ | -------------- |
| `/TRICE/CMP` | `CORE`         |
| `ACTVT`      | `16` (Execute) |

#### `S_RFC` — RFC Function Module Access

| Field      | Values                          |
| ---------- | ------------------------------- |
| `ACTVT`    | `*` (All)                       |
| `RFC_TYPE` | `FUNC`                          |
| `RFC_NAME` | `/TRICE/*`                      |
|            | `DDIF_FIELDINFO_GET`            |
|            | `GET_SYSTEM_TIME_REMOTE`        |
|            | `RFCPING`                       |
|            | `RFC_GET_FUNCTION_INTERFACE`    |
|            | `RFC_GET_TABLE_ENTRIES`         |
|            | `RFC_SYSTEM_INFO`               |
|            | `SCMON_COLLECT`                 |
|            | `SWNC_COLLECTOR_GET_AGGREGATES` |
|            | `SWNC_COLLECTOR_STARTER`        |

#### `S_TABU_NAM` — Table Name Access

| Field   | Values                                                                                                                                                               |
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `ACTVT` | `03` (Display)                                                                                                                                                       |
| `TABLE` | `DD03L`, `O2APPL`, `SCMON_CONFIG`, `SCMON_VDATA`, `SPROXREG`, `TADIR`, `TFDIR`, `TMDIR`, `TRDIR`, `TSTC`, `TSTCP`, `TTZCU`, `WBCROSSGT`, `WBCROSSI`, `WDY_COMPONENT` |

#### `S_TABU_RFC` — RFC Table Access

| Field   | Value          |
| ------- | -------------- |
| `ACTVT` | `03` (Display) |

#### `S_ADMI_FCD` — System Administration

| Field        | Values       |
| ------------ | ------------ |
| `S_ADMI_FCD` | `SCMA, SCMD` |


---

# 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.sealights.io/knowledgebase/setup-and-configuration/sealights-agents-and-plugins/abap-agent/install-the-abap-agent/generate-authorization-profiles.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.
