Skip to Content
author's profile photo Former Member
Former Member

Parameterizing Replacement path variable in a URL.

I have a web template with a query which has a variable which is populated by a replacement path query which has a second variable whose value the user enters. I build up the parameterized URL.

http://dw1-sap.app.*******.com:1041/sap/bw/BEx?SAP-LANGUAGE=E&PAGENO=1&CMD=LDOC&TEMPLATE_ID=<b>PRDPROF</b>&VARIABLE_SCREEN=&VAR_NAME_1=<b>PRDTXT</b>&VAR_OPERATOR_1=CP&VAR_SIGN_1=I&VAR_VALUE_LOW_EXT_1=FEM

The template PRDPROF is based on a query and has a variable PRDID which is a replacement path which is filled by a query whose variable is PRDTXT and is filled in the above URL. PRDTXT is a selection option variable whose entry is optional and is checked ready for input. 'Change during query navigation' is unchecked.

For some reason, the variable values are passed onto the parameterized URL and will fill the variable screen but the screen waits for the user to push the execute button.

Can anybody see what the problem is ? Any input is apperciated.

Thanks.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Feb 23, 2005 at 04:10 PM

    Hi Deepak,

    I think the following is going on:

    . When you execute your web template, it causes the pre query to execute in the background.

    . When talking about RRI on the web, SAP says: ...Another query started on the Web (with the standard Web template for ad-hoc analysis) or another Web application, where the entry variants are filled by the selection requirements and item definitions of the selected cells in the sender query...

    . Going by this may be you can check your standard web template for the "Force Variables Screen Display" attribute.

    Hope this helps...

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 23, 2005 at 06:12 PM

    Deepu, Changing prdtxt variable did not help. Doing that is making the variable to reject any values (except maybe variable exit in abap, I am guessing) and so would give out all the values for that characteristic or as in my case would timeout. I have tried to create a sample query with just the pre-query and not the actual query with rep path and the same parameterized URL and it is working fine. The issue I am guessing is that the actual variable in the web template's query is prdid whose value the template is expecting. But, I am passing variable values for prdtext. I am not really sure if there is any special way to treat the 2 variables that would be involved in a replacement path situation when we deal with parameterized web templates.

    Bhanu, This leads to our observation. I have looked at both my template and the standard template (i am guessing 0query_template) and made sure the forcevariable screen option is turned off . This didn't help either. Please let me know if I am missing something.

    Let me know if something else pops out to you. Thanks for the replies.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 23, 2005 at 06:30 PM

    Bhanu,

    I see that the default web template in BW IMG is a different one, Z_QUERY_TEMPLATE. But, the forcevariablescreen is turned off for that template too.

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.