create_sfpi
Creates a new Adobe Form Interface (SFPI) in SAP with initial context XML, refusing production profiles; use it before creating the matching form layout with create_sfpf.
Instructions
Create a new Adobe Form Interface (SFPI) in SAP and write its initial context XML. Refuses to run on production profiles. The interface defines parameters (IMPORT/EXPORT) and global data available to the form layout. After creation, create the matching form layout with create_sfpf.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"interfaceName": "<interfaceName>",
"description": "<description>",
"package": "<package>"
},
"name": "create_sfpi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Initial interface XML. If omitted a minimal skeleton is written. Must be valid SFPI context XML (fb:formInterface root element). | |
| package | Yes | Development package, e.g. ZFORMS | |
| activate | No | Activate after writing. Default false. | |
| transport | No | Transport request. Omit only for $TMP objects. | |
| description | Yes | Short description shown in SE80/SFP | |
| interfaceName | Yes | Interface name, e.g. ZFI_INVOICE (Z/Y prefix required) |