unxdoc-cli extracts SAP BusinessObjects universe (.unx) metadata — objects, tables, joins, parameters, LOVs, contexts, navigation paths, incompatibilities — and writes a documentation workbook. Same functionality as the GUI, scriptable for batch documentation and CI pipelines.
Credentials live in config/systems.json:
{
"systems": [
{ "system": "production", "username": "Administrator", "password": "" }
]
}
The first run caches the universe list to tmp/universe-list.json; later runs reuse the cache and only refresh it when you call list again.
unxdoc-cli login --system production ^
select --universe "Reporting/Finance.unx" ^
extract ^
export --output finance.xlsx
Or via a script file:
unxdoc-cli --args script.txt
Comments start with #.
loginOpen the BIP session.
| Parameter | Meaning |
|---|---|
--system <name> |
Use the entry from systems.json. |
--server <host:port> |
Connect to an arbitrary server. |
--username <user> |
Required with --server. |
--password <pass> |
Optional. |
--auth Enterprise\|LDAP\|WinAD |
Default Enterprise. |
listList universes available on the connected system. Caches the full list to tmp/universe-list.json so subsequent select calls don’t need to re-query the CMS.
| Parameter | Meaning |
|---|---|
--search <glob> |
Filter the displayed list (the cache still gets the full set). |
selectPick one universe to extract.
| Parameter | Meaning |
|---|---|
--universe <name-or-pattern> |
Tries exact title first, then substring, then glob. |
extractRead the metadata for the selected universe into memory. No output yet.
exportWrite the extracted metadata to a workbook.
| Parameter | Meaning |
|---|---|
--output <file.xlsx> |
Output path. Excel format. |
# scripts/document-finance.txt
login --system production
select --universe "Reporting/Finance.unx"
extract
export --output finance-doc.xlsx
unxdoc-cli --args scripts/document-finance.txt
To document many universes, repeat the select / extract / export triple — each cycle reuses the same session.