Show which SAP tables and relationships the SAP pack recognises (nothing created)
sap_pack_draftShows which tables of the source the SAP pack recognises (VBAK, VBAP, LIKP, VBRK, KNA1…, with or without a prefix such as sap_), their keys with MANDT, the order-to-cash relationships it applies with the public source of each, the ones it lists but does not apply (VBFA), missing pack tables and columns, and the traps (client, header vs item amounts, currency, leading zeros, partner functions). Requires workspace and source. Returns JSON, with the chosen export when export is not "none". Read-only; changes nothing. Errors: {error, kind, hint}.
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": {
"workspace": "<workspace>",
"source": "<source>"
},
"name": "sap_pack_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | No | Key overrides as in plan_backend, {table: [columns]}; they win over the pack. Default none. Example: {"vbap": ["mandt", "vbeln", "posnr"]}. | |
| export | No | "none" (default), or one export of the plan: "krusgraph" (keys/confirmed), "dab" (Data API builder config), "extraction" (tables, keys, delta columns) or "dbt". Example: "dbt". | none |
| schema | No | Schema with the SAP tables, as the mirroring or pipeline named it. Default "dbo". Example: "sap". | dbo |
| source | Yes | Lakehouse, warehouse or SQL database, name or id. | |
| variant | No | "ecc" or "s4hana" to consider only that variant's tables. Default: the tables present decide. Example: "s4hana". | |
| confirmed | No | Confirmed relationships as in plan_backend; they win over the pack. Default none. Example: [{"source": "vbap", "source_cols": ["mandt", "vbeln"], "target": "vbak", "target_cols": ["mandt", "vbeln"]}]. | |
| workspace | Yes | Fabric workspace, name or id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |