abapdotabapabap-cloud-btp
来源资料待手动核验
A report to download UI5 adaptation project on the CUSTOMER_BASE layer in LREP
A report to download UI5 adaptation project on the CUSTOMER_BASE layer in LREP
ABAP report that downloads SAPUI5 Adaptation Project (App Variant) artifacts from the SAP Layered Repository (LREP) to the local file system.
When working with SAPUI5 Adaptation Projects, the variant artifacts (changes, fragments, i18n files, etc.) are stored in the LREP table /UIF/LREPDCONT. This report extracts all artifacts belonging to a specific App Variant and saves them to a local folder, preserving the original namespace-based directory structure.
/UIF/LREPDCONT/UI5/IF_UI5_APP_INDEX_SEARCH)SA38 or SE38.CUSTOMER_BASE layer. You can find the App ID via App Support in Launchpad.| Step | Description |
|---|---|
| Resolve Standard App | Queries /UIF/LREPDCONT for distinct namespaces matching the given custom app ID and extracts the standard app name from the namespace path (apps/<std_app>/appVariants/<custom_app>). |
| Fetch Documents | Selects all records (namespace, name, type, binary content) from the CUSTOMER_BASE layer for the resolved app variant path. |
| Download | Converts each XSTRING content to binary, creates the necessary sub-folders on the local file system, and saves each file as <name>.<type>. |
| Parameter | Description |
|---|---|
P_CUST | Custom App ID (app variant identifier). Mandatory, lowercase. F4 help available. |
LCL_ADAPTATION_DOWNLOADER -- Local class containing all download logic./UIF/LREPDCONT -- SAP LREP content table (source of the artifacts)./UI5/CL_UI5_APP_API_FACTORY -- Factory used by the F4 help to query the UI5 App Index.