Skip to Content

Sending Multiple CMDs in a hidden form

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>

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 08, 2004 at 07:11 AM

    Hi,

    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="CMD=SWITCH_AXES&DATA_PROVIDER=KPM">

    <input type="hidden" name="CMD2" value="CMD=EXPAND&IOBJNM=ZPLANT&DATA_PROVIDER=KPM">

    </form>

    </span>

    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.