Symptom
A self-developed Fiori program redirects to a standard GUI program via a URL but fails to open the corresponding data display screen by passing parameters; it only opens the GUI program's entry page with the URL as below.
https://my123456.s4hana.cloud.sap/ui#ProductionRouting-display?sap-ui-tech-hint=GUI&Material='123'
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- In a custom Fiori app, construct an intent-based URL to a GUI app using sap-ui-tech-hint=GUI.
- Append query parameters (for example, field=value) to the URL.
- Launch the URL (for example, via window.open) and observe that the Web GUI app opens only at the initial screen and the parameters are ignored.
Cause
Resolution
- Use the SAP GUI for HTML (Web GUI) transaction parameter format instead of intent hash parameters:
- Build the path /sap/bc/gui/sap/its/webgui?~transaction=* = [= …].
- Determine the target transaction code (TCode) for the GUI app (refer to the Fiori Apps Library of the app to find the associated TCode).
- Identify the technical screen field IDs of the dynpro fields you want to prefill (use Technical Information on the field in the GUI screen).
- Concatenate the TCode and field assignments after ~transaction= using spaces between items.
- Launch the constructed URL from your custom app (for example, via window.open), and verify that the GUI transaction opens with the specified fields prefilled.
- https://my123456.s4hana.cloud.sap/sap/bc/gui/sap/its/webgui?~transaction=*CA03 RC271-PLNNR=41000516
Keywords
webgui parameters, intent-based navigation, sap-ui-tech-hint=GUI, url parameters ignored, gui transaction, its webgui, ~transaction, dynpro field ids, prefill fields, fiori launchpad, s/4hana cloud public edition, entry screen only, parameter passing, custom fiori app , KBA , CA-FLP-ABA , SAP Fiori Launchpad ABAP Services , Problem
SAP Knowledge Base Article - Public