cancel
Showing results for 
Search instead for 
Did you mean: 

Help! Adding URL Parameters not working through EP (Consumer)

sap_cohort
Active Contributor
0 Kudos

Hi, I have a VC App that I call with an http link and I pass a parameter to the VC App through the URL. This works fine in my BI Portal (Producer), but this does not work through my Enterprise Portal (Consumer). I get the below error message. Can anyone help!

Portal Runtime Error

An exception occurred while processing a request for :
iView : gp:SAM_/pcd:portal_content/com.sap.gm.cnt/vcmodels/com.frx.425.1ST_RX_SALES_FORCE_TEST2/com.frx.iviews/com.frx.41C.VC1st_rx_sales_force
Component Name : com.sap.portal.appintegrator.sap.RemoteRedirector

Exception in SAP Application Integrator occured: Unable to process template '<Params><Row REPORT_GROUP="SR"></Params>', because 'Params' is an invalid terminal property of the Root context..
Exception id: 06:17_05/06/07_0011_15582450
See the details for the exception ID in the log file

-


https://<server>:<port>/irj/servlet/prt/portal/prtroot/com.sap.portal.pagebuilder.IviewModeProxy?ivi...;

-


https://<server>:<port>/irj/servlet/prt/portal/prtroot/com.sap.portal.pagebuilder.IviewModeProxy?ivi...;

Accepted Solutions (0)

Answers (2)

Answers (2)

sap_cohort
Active Contributor
0 Kudos

Created 3 separate Apps due to time restrictions.

former_member203343
Contributor
0 Kudos

Hi Ken,

The reason you get this error only on the consumer, is because of the fact that the consumer iView is only a redirecting engine that's supposed to generate a URL to the original iView in the producer. This is why when it gets the _paramsXml-parameter, it does not know what to do with it. You can try the following way:

<URL to the consumer iView (like before)>&DynamicParameter=_paramsXmlStr_=<Params><Row%20REPORT_GROUP="SR"></Params>

Note: The whole value of the paramsXmlStr should be URL encoded, but I guess you can try it in different ways. My assumption is that the whole value should be URL encoded

Regards,

Natty