Hello everybody,
we are currently working on the integration of GRC (version 10.1) work-items into the portal (version 7.40 SPS09) universal worklist. We know that this scenario is not supported by SAP and that it is not a standard scenario. However, several SAP customers seem to have successfully implemented this scenario and technically it should be possible without major development tasks.
What we did so far is creating a WebFlowConnector to the GRC system. This brings us the GRC work-items into the UWL. But when it comes to opening the work-items from the UWL and then approve or deny them, we have not found a solution yet. We are trying to open the WebDynpro Application GRAC_OIF_REQUEST_APPROVAL which is being used when calling the work-item from GRC inbox. To do this, the XML definition was changed to this:
<ItemType name="uwl.task.webflow.TS76308026.GRC_UWLTEST" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default"><ItemTypeCriteria systemId="GRC_UWLTEST" externalType="TS76308026" connector="WebFlowConnector"/><Actions><Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"><Properties><Property name="display_order_priority" value="5"/><Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/><Property name="WebDynproApplication" value="GRAC_OIF_REQUEST_APPROVAL"/><Property name="WebDynproNamespace" value="SAP"/><Property name="openInNewWindow" value="yes"/><Property name="DynamicParameter" value="OBJECT_ID=ACCREQ/${item.externalObjectId}"/><Property name="WORKITEM_ID" value="${item.externalId}"/></Properties><Descriptions default=""/></Action></Actions></ItemType>
What happens is, that the WebDynpro application opens in a new window as desired. However, we get a wrong value for the OBJECT ID and so the WebDynpro shows an error message: "An error occured during processing". For the same work-item, the GRC inbox gives us the value ACCREQ/10604B962AFC1EE5A18B010B0F943DBA and in the UWL the variable ${item.externalObjectId} gives us the value ACCREQ/10604B962AFC1EE5A18B045E46A05DBA. So there is a difference in the ID. We tested with two different work-items and it is the same for the two of them. The difference is always for these 8 digits. When we change the ID manually in the URL of the WebDynpro window, everything works fine. The ID that we get in the portal UWL can be found in table SWW_WI2OBJ, which belongs to SAP standard business workflow. But GRC seems to work with some different ID. The GRC work item group and the work item ID in the UWL are the same - no problem here. Only the object ID differs.
Does anybody know how to find the right GRC ID from the ID we have in the UWL or why and how these two IDs differ? Or any other idea on how to call the work-item from UWL so that it can be handled? Calling the GRC inbox from the UWL and then open the work item is not an option, since we want to call the work item directly.
Any idea is highly appreciated. Thanks a lot in advance,
Fabian
P.S.: My technical background is SAP portal and not GRC.