Call RFC Function Module
sap_rfc_callCall any RFC-enabled function module by name and import parameters to get all exported values. Discover required parameters first, then execute calls for reading or writing SAP data.
Instructions
Call any RFC-enabled function module and return all exported parameters. Use sap_rfc_describe first to discover parameters.
WARNING: This can execute arbitrary function modules including write operations. Confirm authorization before calling write FMs in production.
Args:
function_name (string): RFC FM name.
params (object): import/changing parameters (default: {}).
response_format.
Returns (json): { functionName, result: { ...exported parameters } }.
Examples:
Read material: function_name='BAPI_MATERIAL_GET_DETAIL', params={"MATERIAL":"ROH-001"}.
RFC_READ_TABLE: function_name='RFC_READ_TABLE', params={"QUERY_TABLE":"T001","DELIMITER":"|"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | Import / changing parameters as a JSON object. Tables: pass as arrays of objects. | |
| function_name | Yes | RFC-enabled function module name. | |
| response_format | No | Output format: 'markdown' (human-readable, default) or 'json' (structured). | markdown |