cancel
Showing results for 
Search instead for 
Did you mean: 

command URL limitation of length.

Former Member
0 Kudos

i am trying to pass parameters to variables in query by URL so that i can have my own customized selection screen.

one MAJOR stumble block is the limit on URL length that can be passed. i am not able to pass more than 10 parameters.

i am trying to allow user to upload a list of values (may be thousand individual values) which has to be selection parameter of my BW query through web.

this is standard in R/3 ABAP reports but not in BW.

i know there is a POST method to send the values which will support the number of values i am looking at.

can some one throw some light on how this can be achieved.

i am also considering using a dummy ABAP report to get selection parameter and later internally pass it to BW report(may need to store it somewhere and use userexit variables to pickup the values).

both the approaches are not the cleanest way to do but i don't know of any other ways.

suggestions welcome!

thanks

sharan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

use a form like:

<FORM name="filter" id="filter" method="post">

<input type="hidden" name="var_name_1" value="0P_FYEAR">

<input type="hidden" name="var_value_ext_1" value="2005"><br>

<input type="hidden" name="var_name_2" value="ZVAR2">

<input type="hidden" size="2" name="var_operator_2" value="EQ">

<input type="hidden" size="2" name="var_sign_2" value="I">

<input type="hidden" name="var_value_low_ext_2" value="11">

...

</form>

and submit your form to your webtemplate:

<script type="text/javascript">

function zsubmit() {

document.filter.action = "http://your.server:1080/sap/bw/BEx?cmd=ldoc&template_id=your_template";

}

</script>

Kind Regards,

Alican