# BAPI: BAPI\_INTERFACE\_GETDOCU

With this BAPI you will get the documentation for the requested BAPI in the form of help text. This is useful for giving detailed descriptions of the BAPI on a general level or on the Method. If you give the Object you will get text on the object and if you give the object and the method you get details on the method. The fields in the input Is the same as the resulting table (BAPILIST) in the previous BAPI (BAPI\_MONITOR\_GETLIST).

| **Field**   | **Description**                           | **Type** | **Spec** | **Example** |
| ----------- | ----------------------------------------- | -------- | -------- | ----------- |
| OBJTYPE     | Object type                               | I        | CHAR10   | SFLIGHT     |
| OBJNAME     | Object name                               | I        | CHAR32   |             |
| METHOD      | Method name of the object type            | I        | CHAR32   | GetDetail   |
| PARAMETER   | Name of parameter in method               | I        | CHAR32   |             |
| FIELD       | Field name in the parameter for F4 values | I        | CHAR30   |             |
| LANGUAGE    | Language of the text to be displayed      | I        | LANG1    |             |
| TEXTFORMAT  | Format of the text to be displayed        | I        | CHAR3    |             |
| LINKPATTERN | Convert SAPscript Hyperlinks to HTML      | I        | CHAR255  |             |
| RETURN      | Return messages                           | O        | BAPIRET2 |             |
| TEXT        | Table for the text                        | T        | BAPITGB  |             |

**Table: BAPITGB**

| **Field** | **Description**            | **Spec** | **Example** |
| --------- | -------------------------- | -------- | ----------- |
| LINE      | Line in documentation text | CHAR255  |             |


---

# 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.novacuraflow.com/6.11/development/flow-studio/connectors/business-systems/sap/sap-bapi/basic-api/bapi-bapi_interface_getdocu.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.
