cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass filter via URL

Former Member
0 Kudos

Hello all,

I wanted to know if any one has passed

option 1-Hardcoded filter value for a report via the URL.

Option 2-Or thru a Variable for a report via the URL.

Can you please give me the exact Code.

The template name - TSL

The InfoObject Naviagtional attribute - ZCUSTSALE__ZLOGOPRTN

My Code is not working as per below -

<A href="<SAP_BW_URL ITEM='FILTER_IOBJNM=ZCUSTSALE__ZLOGOPRTN FILTER_VALUE=0060002781' ITEM='TSL' MULTI='X' HIDDEN='X' '>">Tab2</A>

thanks

Bwinfo@gmail.com

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Try this...

A href="<SAP_BW_URL FILTER_IOBJNM='ZCUSTSALE__ZLOGOPRTN' FILTER_VALUE='0060002781'>">Tab2</A>

Former Member
0 Kudos

I think I did not post the question properly -

Here is how the tabs are passing the filter value from one tab to another.

<!-- First Tab -->

<td align="middle" nowrap class="SAPBEXTbsTab" id="TSL1Area">

<P>

<A href="<SAP_BW_URL ITEM='*TSL*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*TSL1*&MULTI=X&HIDDEN='>">Tab1</A></P></td>

<!-- Second Tab-->

<td align="middle" nowrap class="SAPBEXTbsTab" id="TSL2Area">

<A href="<SAP_BW_URL ITEM='*TSL*' MULTI='X' HIDDEN='X' CMD_1='ITEM=*TSL1*&MULTI=X&HIDDEN=' ">Tab2</A></P></td>

</td>

<!-- Third Tab -->

<td align="middle" nowrap class="SAPBEXTbsTab" id="TSL3Area">

<A href="<SAP_BW_URL ITEM='TSL' MULTI='X' HIDDEN='X' CMD_1='ITEM=TSL3&MULTI=X&HIDDEN='>">Tab3</A>

</td>

I need to pass filter from one tab to another , i.e if i choose a filter in one of the TAB's it should pass it on to the second tab and similarly to the third tab etc.

Former Member
0 Kudos

Thanks Deepu, I was able to hard code a filter.

Now instead of hardcoding the filter , I would like to pass the filter vlue via a variable. the second option.

thanks

harish

Answers (3)

Answers (3)

Former Member
0 Kudos

Doodle i didnt recive any doc can you send it to sears315@yahoo.com

Thanks,

Kris

Former Member
0 Kudos

BWinfo,

Check for the doc i sent

-Doodle

Former Member
0 Kudos

HI i do have the similar kind of issue can u post the complete url, so that it will be easy for me. how did u create the variable. is it a mandatory or optional, single value or multiple values.

Thanks,

kris.