Skip to Content
0
Former Member
May 08, 2008 at 08:50 PM

Activate/Deactivate condition with command url

27 Views

I have a condition set in my query that I want to activate and deactivate using a command url from a web template. I have tried several things and this is what works and of course the list conditions web item works.

<A href="<SAP_BW_URL DATA_PROVIDER='DATAPROVIDER_1' CMD='Set_Condition_State'

CONDITION_ID='491JDNEOJMY595XV2YBOG3F9P' ACTIVE=''>>Deactivate condition<\a>

But this way doesn't work. I need to use this way because I am passing variables for my query also using dropdowns. Please let me know what I am missing to get this to work. Also when I execute the command above it actually writes the URL below in the address bar. So that really puzzles me as to why it doesn't work.

(building link via javascript based on parameters a user selects)

https://mydomain/sap/bw/BEx?CMD=LDOC&templateid=PQW_MISSING_INFO_JG&CMD_1=SET_CONDITION_STATE&DATA_PROVIDER=DATAPROVIDER_1&CONDITION_ID=491JDNEOJMY595XV2YBOG3F9P&ACTIVE=

Edited by: Jimmy Greer on May 8, 2008 10:51 PM