
Skill
sdaf-media-acquisition
acquire SAP installation media
Description
Acquire approved SAP media into the SDAF library after SAP-system infrastructure exists. Drives local `deploy/ansible/download_menu.sh` per `docs/local/06-00-software-and-installation.md § Download software`, enforces the documented `BOM_CATALOG` root and the four required `sap-parameters.yaml` BOM keys (`application_bom_name`, `database_bom_name`, `sap_kernel_bom_name`, `save_bom_as`), and explains the documented download and validation flow. Use for "download SAP media", "run download_menu.sh", "acquire software into the library", "BOM Downloader", "BOM_CATALOG", or "assemble application/database/kernel BOMs for download". Do NOT use to choose a BOM, troubleshoot a failed download, or run installation playbooks.
SKILL.md
SDAF Media Acquisition
Action-loop skill. Acquires approved SAP media into the library after
SAP-system infrastructure exists. The local operator path is documented in
docs/local/06-00-software-and-installation.md; shared downloader behavior
is described in the same operator guide.
When to invoke
Trigger on: "download SAP media", "acquire software into the library",
"download_menu.sh", "BOM Downloader", "BOM_CATALOG", or
"assemble application/database/kernel BOMs for download".
Do NOT trigger on: choosing a BOM (sdaf-bom-selection), troubleshooting a
failed or mismatched download (sdaf-media-diagnostics), or install playbooks.
Preconditions
- SAP-system infrastructure already completed;
sap-parameters.yamland<SID>_hosts.yamlexist in the system directory (docs/local/06-00-software-and-installation.md § Before you begin;docs/local/05-00-sap-system.md § Validate). - SSH connectivity to the inventory hosts, Key Vault-generated credentials, SAP
download credentials, and library capacity are confirmed
(
docs/local/06-00-software-and-installation.md § Before you begin). - The BOM choice is already reviewed; this skill does not decide product versus
component BOMs (
sdaf-bom-selection;sap-automation-samples/docs/02-00-bom-samples.md § Select and run a BOM).
Decision: which download input shape applies?
docs/local/06-00-software-and-installation.md § Inputs and BOM ownership is
explicit:
BOM_CATALOGmust point at the samples checkout root that contains siblingSAP/andBOM/directories.- Local
download_menu.shdoes not keep the Terraform-generatedbom_base_name. It reads these four keys fromsap-parameters.yamland constructs the effective BOM name itself:
application_bom_name: <APPLICATION_BOM>
database_bom_name: <DATABASE_BOM>
sap_kernel_bom_name: <KERNEL_BOM>
save_bom_as: <COMBINED_BOM_NAME>
bom_base_name: <COMBINED_BOM_NAME>
Keep these values in the exact format documented by
§ Inputs and BOM ownership. The automation validates the application,
database, kernel, and output-name combination before download. Require
bom_base_name to equal save_bom_as; installation reloads
bom_base_name and must find the combined BOM written by the downloader.
Recipe
Step 1 — Confirm the catalog root and component names
From the SAP-system directory, confirm the catalog root exactly as the local doc requires:
cd "$CONFIG_REPO_PATH/WORKSPACES/SYSTEM/<SAP_SYSTEM>"
test -d "$BOM_CATALOG/SAP"
test -d "$BOM_CATALOG/BOM"
Then re-read sap-parameters.yaml once. For the local menu path, all five BOM
keys above must be present, component names must match actual samples
directories/files, and bom_base_name must equal save_bom_as.
Step 2 — Run the documented local acquisition flow
Start the local wrapper exactly per
docs/local/06-00-software-and-installation.md § Download software:
"$SAP_AUTOMATION_REPO_PATH/deploy/ansible/download_menu.sh"
Then select BOM Downloader. The documented path requires
sap-parameters.yaml in the current directory and BOM_CATALOG in the
environment.
Step 3 — Validate before installation
Do not continue into configuration_menu.sh until both doc-level checks pass
(docs/local/06-00-software-and-installation.md § Validate):
- the downloader reports success for every required archive; and
- the SAP library contains the expected software.
Also keep the samples commit and selected BOM names with the run record
(
sap-automation-samples/docs/02-00-bom-samples.md § Validate).
If the run stops or rejects the input
sap-parameters.yamlmissing,BOM_CATALOGunset, orBOM_CATALOGnot a directory: fix the local wrapper precondition and rerun (deploy/ansible/download_menu.sh;docs/local/troubleshooting.md § BOM files are not found).- Incompatible application/database/kernel combination: go back to
sdaf-bom-selectionand review the documented compatibility fields. - Archive, checksum, or download-service failures belong to
sdaf-media-diagnostics, not this skill.
Hard rules
- Documented behaviour only (D19). Do not invent alternate download
commands, proxy/offline procedures, or compatibility matrices (
docs/PLUGINS.md § Ground rules and exclusions). - Do not point
BOM_CATALOGat a single BOM directory. - Do not bypass checksum or compatibility failures
(
sap-automation-samples/docs/02-00-bom-samples.md § If it fails). - Do not start installation until the downloader reports success for the required archives.
See also
sdaf-bom-selection,sdaf-sap-system,sdaf-media-diagnostics.docs/local/06-00-software-and-installation.md,docs/local/troubleshooting.md § BOM files are not found,sap-automation-samples/docs/02-00-bom-samples.md,.github/copilot-instructions.md.
More skills from the sap-automation repository
View all 18 skillssdaf-bom-selection
select SAP Bill of Materials
Sep 2AzureConfigurationSAPsdaf-control-plane-bootstrap
deploy SDAF control plane infrastructure
Sep 2AzureDeploymentInfrastructureSAPsdaf-failure-triage
triage failed SAP automation runs
Sep 2AzureDiagnosticsOperationsSAP +1sdaf-ha-diagnostics
diagnose SDAF high-availability cluster failures
Sep 2AzureDiagnosticsOperationsSAPsdaf-ha-topology
design high-availability SAP topologies
Sep 2ArchitectureAzureInfrastructureSAPsdaf-media-diagnostics
diagnose SDAF media and BOM processing
Sep 2AzureDiagnosticsSAPStorage
More from Azure (Microsoft)
View publisherazure-arg-external-evaluation-policy-author
author and test Azure Resource Graph policies
azure-policy
Jul 12AzureComplianceGovernancePolicyazure-blueprints-migration
migrate Azure Blueprints to Template Specs
azure-blueprints
Aug 20AzureDeploymentInfrastructure as CodeMigrationsdaf-orientation-and-surface
orient users to SDAF architecture
sap-automation
Sep 2ArchitectureAzureDocumentationSAPsdaf-plan-and-test-semantics
manage SDAF plan and test semantics
sap-automation
Sep 2AutomationAzureAzure DevOpsCI/CD +1sdaf-quality-assurance
validate deployed SDAF SAP systems
sap-automation
Sep 2AutomationAzureQuality AssuranceSAP