create_ddlx
Creates a CDS metadata extension (DDLX) with UI annotations for a CDS view, enabling Fiori Elements apps; blocks production profiles.
Instructions
Create a new CDS metadata extension (DDLX) - the object that carries UI annotations for a CDS view, which a Fiori Elements app needs. Refuses to run on production profiles. Source looks like: @Metadata.layer: #CORE annotate view ZI_FOO with { @UI.lineItem: [{position: 10}] field; }
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": {
"ddlxName": "<ddlxName>",
"description": "<description>",
"packageName": "<packageName>",
"source": "<source>"
},
"name": "create_ddlx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Complete DDLX source (@Metadata.layer: ... annotate view ... with { ... }) | |
| activate | No | Activate after writing the source | |
| ddlxName | Yes | Metadata extension name, e.g. ZTJI_PLANT_EMAIL_MDE | |
| transport | No | Transport request. Omit only for $TMP. | |
| description | Yes | Short description | |
| packageName | Yes | Package, e.g. ZABAP. Use $TMP for a local throwaway. |