trial_balance_by_period
Computes a period-based trial balance from SAP ACDOCA, showing opening, debit/credit, and closing balances per G/L account with names; optionally saves full-year results to Excel.
Instructions
Trial balance from ACDOCA computed in SAP: per G/L account opening (incl. carry-forward), period debit/credit, closing, with names. periods 1-16 (opening = periods before period_from); optional account range; ledger default 0L. Full-year results are also saved to Excel.
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": {
"company_code": "<company_code>",
"fiscal_year": "<fiscal_year>"
},
"name": "trial_balance_by_period"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ledger | No | 0L | |
| period_to | No | ||
| account_to | No | ||
| fiscal_year | Yes | ||
| period_from | No | ||
| account_from | No | ||
| company_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |