Skip to Content
0
Dec 07, 2004 at 11:51 PM

Sending Multiple CMDs in a hidden form

39 Views

Because of the 256 character restriction of the browser URL I'm trying to submit a hidden form to apply filter values and multiple commands to my web application. In my example below, when I submit the form the first filter is applied (with the 2 filter values I have defined) but I can't figure out how to submit the CMDs after that. I need to be able to submit multiple commands (swapping the axes, applying drilldowns) in one sequence to the same data provider. Can anyone please help me with the syntax for doing that?

<span style="display:none; visibility:hidden">

<form name="MyCommand" method="POST" action="<SAP_BW_URL>">

<input type="hidden" name="DATA_PROVIDER" value="KPM">

<input type="hidden" name="FILTER_IOBJNM" value="0FISCPER">

<input type="hidden" name="FILTER_VALUE_1" value="H12004011">

<input type="hidden" name="FILTER_VALUE_2" value="H12004012">

<input type="hidden" name="CMD1" value="SWITCH_AXES">

<input type="hidden" name="CMD2" value="EXPAND">

<input type="hidden" name="IOBJNM" value="ZPLANT">

<input type="hidden" name="DATA_PROVIDER" value="KPM">

</form>

</span>