# BAPI: RFC\_GET\_FUNCTION\_INTERFACE

This BAPI will return all parameters and parameter attributes for a specific BAPI or function module. The function module name (FUNCNAME) is the same value that was returned for each BAPI in the call to BAPI\_MONITOR\_GETLIST (field ABAPNAME in table BAPILIST).

| **Field**                 | **Description**                                                  | **Type** | **Spec**    | **Example**             |
| ------------------------- | ---------------------------------------------------------------- | -------- | ----------- | ----------------------- |
| FUNCNAME                  | Name of the function module                                      | I        | CHAR30      | BAPI\_FLIGHT\_GETDETAIL |
| LANGUAGE                  | Language of the parameter text                                   | I        | LANG1       |                         |
| NONE\_UNICODE\_LENGTH     | Length is also supplied in Unicode systems in non-Unicode format | I        | CHAR1       |                         |
| REMOTE\_BASXML\_SUPPORTED | BasXML Protokoll                                                 | E        | CHAR1       |                         |
| REMOTE\_CALL              | Function module can be called Remote-Function                    | E        | CHAR1       |                         |
| UPDATE\_TASK              | Function module is in the update                                 | E        | CHAR1       |                         |
| PARAMS                    | Parameter of function module                                     | T        | RFC\_FUNINT |                         |
| RESUMABLE\_EXCEPTIONS     | Resumable Exceptions                                             | T        | RSEXC       |                         |

**Table: PARAMS**

| **Field**  | **Description**                                   | **Spec** | **Example**  |
| ---------- | ------------------------------------------------- | -------- | ------------ |
| PARAMCLASS | Parameter type                                    | CHAR1    | I            |
| PARAMETER  | Parameter name                                    | CHAR30   | AIRLINEID    |
| TABNAME    | Table Name                                        | CHAR30   | BAPISFLKEY   |
| FIELDNAME  | Field Name                                        | CHAR30   | AIRLINEID    |
| EXID       | ABAP Data Type                                    | CHAR1    | C            |
| POSITION   | Position of field in structure (from 1)           | CHAR10   | 1            |
| OFFSET     | Field offset from beginning of structure (from 0) | INT10    | 0            |
| INTLENGTH  | Internal length of field                          | INT10    | 6            |
| DECIMALS   | Number of decimal places                          | INT10    | 0            |
| DEFAULT    | Default value for import parameter                | CHAR21   |              |
| PARAMTEXT  | Short text                                        | CHAR79   | Airline Code |
| OPTIONAL   | Optional parameters                               | CHAR1    |              |
