SAP Knowledge Base Article - Public

2192652 - Error During Enhancing a Report from PDI Solution: Retrieving Data Sources Failed Metadata Utility: Could not Find Field

Symptom

You will receive the warning message  Retrieving Data Sources Failed Metadata Utility: Could not Find Field YABC_field or the reports that you have created are missing in the further usage screen while trying to Enhance Report from SDK. Where YABC is the solution name

Environment

SAP Cloud Application Studio

SAP Business ByDesign

SAP Hybris Cloud for Customer

Reproducing the Issue

  1. Open the solution in SDK.
  2. Select the .xbo file which you want to enhance the report.
  3. Right click and select the option Enhance Report.
  4. The system will ask you to select the extension field that you want to add.
  5. Select and click on OK.
  6. System will take you to the further usage screen of the UI.
  7. You will receive the warning message or you will not be able to find the reports that you want to enhance.

Cause

The reason of this issue is that you have already logged in to the frontend using a different user.

Use Case: When you log into SDK with the PDI development user e.g. PDI_DEV. In parallel you had opened already a browser session where you have logged in with another user  e.g. KEY_USER in the same system/client that you have logged to SDK.

And now you try to open the Enhance Report screen from the SDK the browser opens but the cookie used is the cookie from the KEY_USER login and not from the SDK Login (PDI_DEV) user. And the KEY_USER login does not have the authorization to maintain PDI extensions.

Resolution

You should ensure that you log-in to SDK and UI with same credentials when you try to enhance report from SDK to the frontend.

Note: This is the same procedure with the other Enhance scenarios for eg. Enhance Form.

Keywords

Error while enhancing the report Metadata Utility error Enhancing Data source , KBA , enhance report , metadata utility , AP-RC-BDS-ANA , ByDesign Studio Analytics , How To

Product

SAP Business ByDesign all versions ; SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions