Hey folks,
As they say when someone first calls into a radio show... 'Long time listener, first time caller'... and background = I am a workflow developer, not a portal person and not a Basis person either (so be gentle with me?)
Since we upgraded to the portal equivalent of 7.4 SP11, an action that our users used to be able to perform, to Show the PDF of a Shopping Cart in SRM, has failed.
In the past, when the user right-clicked and selected 'ShowPDF' we would launch a URL that specified an ITS Service called ZSRMSCVIEW. This opened a new headerless window in the browser, and the PDF would be downloaded.
Now when we do the same thing, we get this helpful error message
I can test the service directly from SICF and all is well, it's only from the UWL inbox that it fails. What is puzzling me is the URL generated now... it's really really long and garbled.
Here is the old URL that is generated when the user selects ShowPDF -
Not terribly pretty, but certainly functional...
Here is the new URL that is generated (I apologize in advance)
I see lots of refences to null parameters, such as SAPSRM_BOID, SAPSRM_BOTYPE - and I know for sure that the XML for this task works correctly for all the other actions. But here's the XML anyway:
<Action name="ShowPDF" groupAction="" handler="UrlLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="SHOW_HEADERLESS_PORTAL">
<Properties>
<Property name="ObjectValue" value="a=b&sapsrm_botype=${item.BOTYPE}&sapsrm_boid=${item.BOID}&System=${item.systemId}&sapsrm_wiid=${item.externalId}&sapsrm_mode=DISPLAY&sapsrm_portalbaseurl=<Portal.BaseURL>&sapsrm_pcdlocation=<IView.ID>"/>
<Property name="url" value="${item.PDF_URL}"/>
<Property name="GuiType" value="webgui"/>
<Property name="showButtonInPreviewArea" value="yes"/>
<Property name="ProcessFirstScreen" value="true"/>
<Property name="System" value="SAP_SRM"/>
<Property name="P_OBJID" value="${item.BOID}"/>
<Property name="~OKCODE" value="ONLI"/>
</Properties>
<Descriptions default="Show PDF"/>
</Action>
I don't know what's happened since the upgrade to generate such a humongous URL that is also unable to get the XML parameters of the business object.
Thanks in advance for your patience,
Sue