Hello,
we have discovered an issue, in case the UWL is used in a portal federation scenario. The following scenario fails, if the UWL is used on the consumer portal:
If an attachment from the UWL details dialog is opened on the consumer portal...
Image may be NSFW.
Clik here to view.
... a portal runtime exception is thrown/logged on the consumer.
Image may be NSFW.
Clik here to view.
The exception contains the following error message:
[EXCEPTION]
com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
Application name : com.sap.portal.appintegrator.sap
Component : pcd:portal_content/every_user/general/uwl/com.sap.netweaver.bc.uwl.uwlSapLaunch
Component class : com.sapportals.portal.sapapplication.SAPApplicationIntegratorComponent
User : yyyy
[…]
Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unknown system alias.
System Alias: 'xxxx_SAPHR',
User: 'yyyy',
Reason: System Alias is not defined or permission denied for this user
The exception mentions that no system alias is present. As from the concept of the federation, no system alias needs to be present on the consumer, however on the producer portal. As we try the same scenario on the producer portal, it is possible to launch the attachment object in the backend:
Image may be NSFW.
Clik here to view.
We did some more detailed analysis on the consumer portal and traced the generated request for the attachment link. In the following screenshot you can see the generated parameters when trying to launch the attachment from consumer portal:
Image may be NSFW.
Clik here to view.
So far we have identified that there might be an additional parameter called PrevNavTarget required in order to launch the attachment on consumer portal successful. To verify this, we enhanced the GET request with the missing parameter via the browser's address bar.
PrevNavTarget=gpn://gp:[Federation_Alias_of_Producer]/ROLES://portal_content/[…]
In this case, no exception is thrown and the attachment is opened successfully:
Image may be NSFW.
Clik here to view.
So far we are only able to add this GET parameter manually to the request via the browser's address bar. But how can we add this parameter into the launch URL of the attachment link in the UWL detail dialog?
Best regards
Mario