SAP Knowledge Base Article - Public

2186489 - Error When Trying To Enhance Form From SDK: Retrieving Print Forms Failed, An Exception Was Raised


You will receive the warning message Retrieving Print Forms Failed, An Exception Was Raised or the forms that you have created are missing in the further usage screen while trying to Enhance Form from SDK.

Reproducing the Issue

  1. Open the solution in SDK.
  2. Select the form you want to enhance.
  3. Right click and select the option Enhance Form.
  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.

You will receive the warning message or you will not be able to find the forms that you want to enhance.




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 Form 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.


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

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


KBA , AP-RC-BDS-BO , ByDesign Studio BO definition/generation , Product Enhancement


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