create_sfpf
Create a new Adobe Form Layout (SFPF) in SAP and write its initial XDP source; requires an existing Form Interface (SFPI) and is blocked on production profiles.
Instructions
Create a new Adobe Form Layout (SFPF) in SAP and write its initial XDP source. Requires an existing Form Interface (SFPI) — create that first with create_sfpi. Refuses to run on production profiles. If no source is supplied, writes a minimal A4 XDP shell with one page and a text placeholder.
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": {
"formName": "<formName>",
"interfaceName": "<interfaceName>",
"description": "<description>",
"package": "<package>"
},
"name": "create_sfpf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Initial XDP layout XML. If omitted a minimal A4 skeleton is used. Must be valid XDP (xdp:xdp root element with template, config, datasets). | |
| package | Yes | Development package, e.g. ZFORMS | |
| activate | No | Activate after writing. | |
| formName | Yes | Form name, e.g. ZFP_INVOICE (Z/Y prefix required) | |
| transport | No | Transport request. Omit only for $TMP objects. | |
| description | Yes | Short description shown in SE80/SFP | |
| interfaceName | Yes | Linked form interface name, e.g. ZFI_INVOICE |