Skip to Content
avatar image
Former Member

ULR iview with dynamic parameter

Hi to all,
I read a lot of post on this theme but I don't to make what I want.

I have this BEx web template URL:
http://hostname:port/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=ZUWT_TEST_120315&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING=001.2012&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=FISCOBB&BI_COMMAND_2-BI_COMMAND_TYPE=EXPORT&BI_COMMAND_2-EXPORT_FORMAT=XLS
and I created a URL iView to open this from external site.

I define all values into URL iView and this works fine with this URL:
http://hostname:port/irj/portal?NavigationTarget=ROLES://portal_content/iViews/Embed_iView&NavMode=3&j_user=user&j_password=password

Now I want to make dynamic the parameter BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING to pass the period of my interest.

On help portal it's described to use this configuration:
URL parameter: BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING;
Value: null
Type: String
Personalize: Read/Write
Name: PERIOD;
but after this configuration the ULR
http://hostname:port/irj/portal?NavigationTarget=ROLES://portal_content/iViews/Embed_iView&NavMode=3&j_user=user&j_password=password&PERIOD=001.2012
doesn't work.

How do I have to make the correct configuration?

Thanks in advance,
Giampaolo

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Mar 25, 2012 at 02:45 PM

    Hello Giampaolo,

    For BEX application it is not recommanded to use URL iView's but BEX iViews.

    The reason is that this iView is specific for that use and it also contains the dynamic parameter you wish to use.

    You can look for BEX iView in the help.sap.com.

    One more reason not to use URL iView and use BEX iView is the session management- once you enter the application a session for the user is created. if you use the BEX template iView, once you leave the application a termination request to the BEX will be sent and this will terminate the session which will result in better performance in the backend. The URL iView does not support this functionality, and therefore is not recommanded for that use.

    Best Regards,

    Nadav.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 23, 2012 at 01:15 PM

    I set the property
    com.sap.portal.reserved.iview.ParamList = *
    but this has no effect.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 26, 2012 at 09:53 AM

    Hello Giampaolo,

    I just came across this blog for passing dynamic parameters.

    It might help u.

    http://scn.sap.com/community/netweaver-portal/blog/2012/05/14/iview-with-dynamic-parameters-in-url-for-netweaver-portal-73

    😊

    Simran

    Add comment
    10|10000 characters needed characters exceeded