Variable has value ??.DP0.D003??  in WEBi

i have a report which was created by somebody else, need to udnerstand it. it has a formula variable  thats shows value ABS(??DP0.D0003??) i am lost where this value came from as its not in the dimension or the variables created. could it be an underlying cube and if it is . dont see it under edit for query.
i understand the DP0 must be for the data provider, which is being referenced inside a Webi formula but how do we find the D0003 dimension from WEBi for the data provider.
any body has ever used a cube inside a variable and how do you get the value with ??
i found an document but still doesnt explain how one get the dimension values?
https://www.sulissystems.co.uk/pdfs/Sulis%20Systems%20Webi%20Documenter%20Example%20Output.pdf

yes i did , it seemed the report was moved from a different system and the underlying query was missing some objects. thats why the Webi report came up with the ?? Dp0.D*****?? for characteristics and key figures. It couldnt find its source fields from the query. once the query was moved with the right fields. the objects got remapped and started to show. it was just interesting as i have never seen that one before. thanks for the insight.

Similar Messages

  • How to reference variable values in a BW Web Template

    Hi All,
    I'm having a problem which I hope someone can help me with.
    OVERVIEW
    I've developed a BW Web template with (among other things) a TEXTELEMENTS Web Item and a TABLE Web Item. I've enhanced the context menu so that when a user selects a row within the TABLE, they can start a SEM-BPS Web interface (which displays a manual planning layout). I've used the 'How to call a BPS Web Interface with Predefined Selections' document to get the basic mechanism working. The JavaScript function I've written successfully passes the variable (DFCOST_PL) value to the planning layout.
    THE PROBLEM
    The problem is twofold....
    1. I need to pass the value for a variable (FEPCVERS) to the layout. However I do not know how to make reference to the variable in JavaScript. The variable is available within the TEXTELEMENTS_1 object but how do I address it?
    2. On a similar vein, I need to pass the value for a field within the table row to the planning layout. The TABLE_2 object contains the fields (DFCOST_PL and DFGROUPS). When the user selects a line the value for DFCOST_PL is available to the JavaScript function (ZAJT_JS_Maintain_Rules) in the 'parameter1' field. However, how do I make the DFGROUPS field available?
    Below is the HTML code for my Web Template. Any help would be greatly appreciated.....
    <!-- BW data source object tags -->
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="SET_DATA_PROVIDER">
             <param name="NAME" value="DATAPROVIDER_2">
             <param name="QUERY" value="ZAJT3_COST_BASE_BY_COST_POOL">
             <param name="INFOCUBE" value="Z_FEPC_CB">
             DATA_PROVIDER:             DATAPROVIDER_2
    </object>
    <!--BW HTML data source object tags: -->
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="SET_PROPERTIES">
             <param name="TEMPLATE_ID" value="ZAJT_RULES_ENTRY">
             <param name="VARIABLE_SCREEN" value="X">
             <param name="CMENU_LABEL_1" value="ZAJT Maintain Rules">
             <param name="CMENU_FUNCTION_1" value="ZAJT_JS_Maintain_Rules">
             <param name="CMENU_PARAMETER_1" value="1">
             <param name="CMENU_CELL_TYPE_1" value="CHARACTERISTIC_VALUE">
             <param name="CMENU_FILTER_1" value="DFCOST_PL">
             <param name="CMENU_VISIBILITY_1" value="X">
             <param name="CMENU_POSITION_1" value="TOP">
             TEMPLATE PROPERTIES
    </object>
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="SET_DATA_PROVIDER">
             <param name="NAME" value="DATAPROVIDER_1">
             <param name="QUERY" value="ZAJT3_COST_BASE_BY_PC_NODE">
             <param name="INFOCUBE" value="Z_FEPC_CB">
             DATA_PROVIDER:             DATAPROVIDER_1
    </object>
    <html>
      <head>
        <title>BW Web Application</title>
        <link href= "/sap/bw/mime/BEx/StyleSheets/BWReports.css" type=text/css rel=stylesheet>
      </head>
    <!--ZAJT Test code start -->
    <SCRIPT language="JavaScript">
    function ZAJT_JS_Maintain_Rules(parameter,cell_type,filter,parameter1,parameter2,item,dataprovider,x,y)
      var url;
      var cpool=parameter1;
      switch (parameter)
        case "1":
          url="http://dknborisdev.dcb.defence.gov.au:3280/sap/bc/bsp/sap/zbps_var_set/zbps_var_set.htm?area=ZFERULES&bps-appl=ZAJT_RULES3&var1=ZWEBCP&value1_1=" + cpool;
         SAPBWOpenWindow(url ,"MaintainRules" ,600,400);
         break;
    </SCRIPT>
    <!--ZAJT Test code end -->
      <body>
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="GET_ITEM">
             <param name="NAME" value="TEXTELEMENTS_1">
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS">
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1">
             <param name="CLOSED" value="X">
             <param name="SHOW_COMMON_ELEMENTS" value="">
             <param name="SHOW_FILTERS" value="">
             <param name="ELEMENT_TYPE_1" value="VARIABLE_K">
             <param name="ELEMENT_NAME_1" value="FEPCVERS">
             <param name="ELEMENT_TYPE_2" value="VARIABLE_K">
             <param name="ELEMENT_NAME_2" value="DF_GRP">
             <param name="ELEMENT_TYPE_3" value="VARIABLE_K">
             <param name="ELEMENT_NAME_3" value="ZCSTCNTR">
             ITEM:            TEXTELEMENTS_1
    </object>
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="GET_ITEM">
             <param name="NAME" value="NAVIGATIONBLOCK_2">
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_NAV_BLOCK">
             <param name="DATA_PROVIDER" value="DATAPROVIDER_2">
             <param name="CLOSED" value="X">
             <param name="TARGET_DATA_PROVIDER_1" value="DATAPROVIDER_1">
             <param name="TARGET_DATA_PROVIDER_2" value="DATAPROVIDER_2">
             ITEM:            NAVIGATIONBLOCK_2
    </object>
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="GET_ITEM">
             <param name="NAME" value="PC_HIERARCHY">
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_HIERDD">
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1">
             <param name="CLOSED" value="X">
             <param name="CAPTION" value="Profit Centre Hierarchy">
             <param name="BORDER_STYLE" value="BORDER">
             <param name="IOBJNM" value="0PROFIT_CTR">
             <param name="HIERARCHY_NAME" value="PROFIT_CTR_ZFEPCBP05">
             <param name="TARGET_DATA_PROVIDER_1" value="DATAPROVIDER_2">
             <param name="TARGET_DATA_PROVIDER_2" value="DATAPROVIDER_1">
             ITEM:            PC_HIERARCHY
    </object>
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="GET_ITEM">
             <param name="NAME" value="TABLE_1">
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID">
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1">
             <param name="TARGET_DATA_PROVIDER_1" value="DATAPROVIDER_1">
             <param name="TARGET_DATA_PROVIDER_2" value="DATAPROVIDER_2">
             ITEM:            TABLE_1
    </object>
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="GET_ITEM">
             <param name="NAME" value="TABLE_2">
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID">
             <param name="DATA_PROVIDER" value="DATAPROVIDER_2">
             ITEM:            TABLE_2
    </object>
      </body>
    </html>

    Hi Heike,
    Thanks for your response. The example you gave me works nicely. I've tried to use the same concept on a FILTER object, but it does not seem to work. I declared the object as below:
    </span>
    <span style="display:none;visibility:hidden" id="0PROFIT_CTR_value">
    <object>
             <param name="OWNER" value="SAP_BW">
             <param name="CMD" value="GET_ITEM">
             <param name="NAME" value="FILTER_1">
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER">
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1">
             <param name="HIDDEN" value="X">
             <param name="GENERATE_CAPTION" value="">
             <param name="PRESENTATION" value="KEY">
             <param name="ITEM_FILTER_IOBJNM_1" value="0PROFIT_CTR">
             <param name="PRESENTATION_1" value="KEY">
             <param name="ONLY_VALUES" value="X">
             ITEM:            FILTER_1
    </object>
    </span>
    and then use
    document.getElementById('0PROFIT_CTR_value').innerHTML.
    However, the value returned is blank. Is there a different method required for filters?
    Also, you mentioned that to access the second variable I will need to use the table interface. Is this difficult to do? I'm booked on the NET050 (Developing Web Applications) course, but it's not until late November. Do you think that this course would cover this kind of processing?

  • Variable has no value when executing a scenario

    Hi,
    I have a simple package consists of two steps:
    1. Refresh a variable "V_FILENAME_D501" to get the value inputted from user. The refreshing statement is "select '#V_FILENAME_D501' and it is running in a SQLServer environment.
    2. Execute an interface which loading data from a file (filename from step 1) into an essbase database.
    The execution failed at step 1 with the following error message:
    java.lang.Exception: Variable has no value: CBS_PRD_PROJECT.V_FILENAME_D501
    at com.sunopsis.dwg.dbobj.SnpVarSess.getValue(SnpVarSess.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.bindSessVar(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.bindSessVar(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskPreTrt(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.treatTask(SnpSessTaskSqlV.java)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
    at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
    at com.sunopsis.dwg.cmd.e.i(e.java)
    at com.sunopsis.dwg.cmd.h.y(h.java)
    at com.sunopsis.dwg.cmd.e.run(e.java)
    at java.lang.Thread.run(Unknown Source)
    Any Idea what happens?
    regards,
    James.

    Hi James,
    How are you?
    You can't query a file data store so it will error out. You need to build a small logic for that. Please follow the below steps to implement that.
    1. In your source data store just give the resource name as #CBS_PRD_PROJECT.V_FILENAME_D501
    2. Drag and drop that data store as your source in the interface.
    3. Make your variable V_FILENAME_D501 data type as Alphanumeric, Action as Not Persistent.
    4. Drag and drop the twice variable in your package make that as a Declare variable and in the second step make that as Refresh Variable then in the third step your interface.
    5. Generate a scenario out of that and while executing that scenario give the Value as your desired file name, hit enter once you gave, otherwise it wont take the input and make sure that LAST VALUE is UNCHECKED.
    PS: You can still do it without Default Value as *<%=odiRef.getSrcTablesList("", "[SCHEMA]/[RES_NAME]", "", "")%>* :)
    Thanks,
    G
    Edited by: Gurusank on Mar 16, 2009 2:58 PM

  • Input Field: Value Range in IP Web Layout

    Hi Experts,
    I've created a Web Layout based on IP with a copy function (e.g. from actual 2008 to plan2009) over 12 calendar months. For choosing the months to be copied, I created a Variable (calmonths) and added an Input Field into my layout to enter the the months to be copied. I referred the variable to the input field and it's working...
    When I want to select several months to be copied, I can type in " 1; 2; 3; " into the input field, execute the planning function and only month 1, 2, 3 (i.e. Jan, Feb, Mar) are being copied. But when I want to copy all 12 months, i have to enter 1; 2; 3; 4;...11; 12 which is kind of anoying! Has somebody some experience whether I can use a value range like 1-12 (or something like that) to avoid entering all the months individually? (I tried 1-12; 1- 12; 1 - 12; 1:12 etc but nothing like this is working)
    It would be very helpful if someone has an idea
    All the best,
    Norbert

    Hi Mayank, hi Srinivas.
    Thanks a lot for your valuable input! Unfortunately I was not able until today to test your recommodations.
    I tried your Interval variable but then faced the problem that I cannot enter multiple months anymore (e.g. 5 - 8 worked, 1; 3; 5 not).  Then I inserted both variables, multiple values & interval, into the planning function as well as in the button group in WAD for executing the PF but was not able to execute the following example: 1; 8; 4 - 6. After trying out for some time I figured out that one has to type in the figures in the following order: 4 - 6; 1; 8. Only then I am able to execute the planning function for the months April-June & Jan & August. So, if you're facing the same problem in the future, maybe you have the solution
    Best regards,
    Norbert

  • Diff between Precalculated Value set and Precalculated web template

    Hi Friends
    Can any one tell the Diff between Precalculated Value set and Precalculated web template
    Where we will use these
    Thanks

    Hi,
    The Reporting Agent is a tool used to schedule reporting functions in the background.
    The following functions are available:
    &#9679;      Evaluating exceptions
    &#9679;      Printing queries
    &#9679;      Pre-calculating Web templates
    &#9679;      Pre-calculating characteristic variables of type pre-calculated value sets
    &#9679;      Pre-calculation of queries for Crystal reports
    go through,
    pre-calculated value sets
    [http://help.sap.com/saphelp_nw04s/helpdata/en/28/734d3caa70ea6fe10000000a114084/frameset.htm]
    [http://help.sap.com/saphelp_nw04/helpdata/en/84/00783b3af21f5ee10000000a11402f/content.htm]
    Pre calculating Web template:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9e/9f653ade969f4de10000000a114084/frameset.htm
    Basically when you have a Precalculated Template, the system first run a report (which has been scheduled) and read the data from there when you run your template. This can imrpove the performance respect to online read data.
    [http://help.sap.com/saphelp_nw04s/helpdata/en/6e/b5663a5fb46752e10000000a11402f/frameset.htm]
    [Pre calculated web template;
    Hope this helps...

  • Passing variable having value as whole SOAP request to command while invoking ODI WS call

    When passing variable in place of soap request message (variable value is whole SOAP request message prepared using procedure) in ODI Invoke WebService command like -->
    OdiInvokeWebService "-URL=url...." "-PORT_TYPE=..." "-OPERATION=..." "-RESPONSE_MODE=NEW_FILE" "-RESPONSE_FILE_CHARSET=UTF8" "-RESPONSE_XML_ENCODING=UTF-8" "-RESPONSE_FILE=..." "-RESPONSE_FILE_FORMAT=SOAP" "-HTTP_USER=..." "-HTTP_PASS=..."
    #SOAPREQUESTMESSAGE
    Gives error :
    ODI-1226: Step OdiInvokeWebService 1 fails after 1 attempt(s).
    ODI-1241: Oracle Data Integrator tool execution fails.
    Caused By: com.sunopsis.wsinvocation.SnpsWSInvocationException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '#' (code 35) in prolog; expected '<'
    at [row,col {unknown-source}]: [1,1]
        at com.sunopsis.wsinvocation.client.impl.AbstractMessageImpl.loadFromXML(AbstractMessageImpl.java:333)
        at com.sunopsis.wsinvocation.client.impl.AbstractMessageImpl.loadFromString(AbstractMessageImpl.java:348)
        at com.sunopsis.wsinvocation.client.impl.AbstractMessageImpl.fromString(AbstractMessageImpl.java:403)
        at com.sunopsis.wsinvocation.client.impl.AbstractJWSDLParserImpl.fromXML(AbstractJWSDLParserImpl.java:272)
        at com.sunopsis.wsinvocation.client.impl.AbstractJWSDLParserImpl.getWebServiceRequestByOperation(AbstractJWSDLParserImpl.java:260)
        at com.sunopsis.dwg.tools.common.WebserviceUtils.getSOAPMessage(WebserviceUtils.java:94)
        at com.sunopsis.dwg.tools.common.WebserviceUtils.invoke(WebserviceUtils.java:138)
        at com.sunopsis.dwg.tools.InvokeWebService.actionExecute(InvokeWebService.java:327)
        at com.sunopsis.dwg.function.SnpsFunctionBase.execute(SnpsFunctionBase.java:276)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java:3437)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeOdiCommand(SnpSessTaskSql.java:1509)
        at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:44)
        at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:1)
        at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
        at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
        at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
        at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
        at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
        at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
        at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
        at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
        at java.lang.Thread.run(Thread.java:662)
    Thanks in anticipation...

    the used variable 'SOAPREQUESTMESSAGE' is being created in a procedure using jython.
    1. Can we use this variable (SOAPREQUESTMESSAGE) value in the next step that is while invoking web service request (can it persist) ?
    2. If not then how can we use this variable value to invoke ws request in next step ?
    Would like to appreciate help.
    Pls reply.

  • Binding: Instance variable loses value.

    Hi all,
    Just making my first steps into Objective-C, I've done a lot of C, C++ and C# on win & linux. Anyhow, I've been hacking away happily and discovered a peculiar behaviour, and I'm not sure if it's my code or some obscure bug in Xcode.
    1. I have a Check Box(NSButton) directly bound to a BOOL instance variable called "checkValue" using KVC. The containing class is a custom NSView subclass.
    2. I manually implemented the setter according to KVC naming rules "setCheckValue".
    3. When debugging the UI (check box) calls the setter perfectly with the correct value, which shows up in the NSLog output.
    4. I hooked up the action for the check box as well, and inside the action handler the instance variable reports the value correctly. Everything looks fine.
    5. Now here's the rub. I put a mousedown event handler into the class as well, and it is called flawlessly when I click on the custom view. However, "checkValue" does not report the correctly set value.
    So, how can a class instance variable, which is set and reports correctly elsewhere in the same scope, all of the sudden take on a nonsense value in a event handler? If a variable has a value set, it should be the same everywhere within the same scope!
    Below is simplified code extracted from the original project for clarity. It produces exactly the same behaviour as the more complex project without the distracting code.
    #import "CheckBoxHandler.h"
    @implementation CheckBoxHandler
    @synthesize checkValue;
    //Apparently this is required for binding in NSView based classes
    //The same behaviour occurs even if you remove this.
    +(void)initialize
    [self exposeBinding:@"checkValue"];
    -(id)initWithFrame:(NSRect)frameRect
    self = [super initWithFrame:frameRect];
    if(!self)
    return nil;
    [self setCheckValue:YES];
    return self;
    //manual impelementation of KVC setter
    -(void)setCheckValue:(BOOL)v
    checkValue = v;
    NSLog(@"Setter Called: checkValue is %d", checkValue);
    //The action works fine as evidenced by Log output
    //Check and uncheck the box a few times.
    -(IBAction)checkBoxAction:(id)sender
    NSLog(@"UI State:%d Ivar State: %d", [checkBox state], checkValue);
    //Mouse clicking on the view calls into this event.
    //The problem is the value reported by [self checkValue] OR checkValue directly
    //do not match the UI state. In fact it always reports some nonsense value.
    -(void)mouseDown:(NSEvent *)event
    NSLog(@"Inside Mousedown: checkValue is: %d", [self checkValue]);
    @end
    I have a workaround, but it really bends my head when something doesn't behave as expected!

    I have synthesized against "checkValue", although I manually implemented the setter so I could set a breakpoint and observe the value. I thought [self checkValue] and self.checkValue both simply call the same getter, just different syntax.
    The setting of the value using the UI checkbox happens outside of the event call chain. I can check and uncheck the checkbox and the value changes correctly. The checkbox is in a separate space on the window, so clicking it does not activate mousedown on the view, this is correct behaviour. Clicking on the view does activate the mousedown event, this is done after I've set the checkbox so the value has been set well before the mousedown event. Thus it should already have the correct value in the event.
    For completeness this is the interface file:
    #import <Cocoa/Cocoa.h>
    @interface CheckBoxHandler : NSView {
    IBOutlet NSButton *checkBox;
    BOOL checkValue;
    -(IBAction)checkBoxAction:(id)sender;
    @property (assign, readwrite) BOOL checkValue;
    @end
    I'll change everything to self.checkValue just for the excercise. Ok, done. checkValue still reports a value of 1 in the mousedown event regardless of the value set elsewhere.

  • Variable for value range

    Hi
    I want to use a variable for giving a value range in a customer exit.
    My scenario is that i have to find the total of quantity for the previous fiscal year. i have declared a variable with the following parameters :
    Processing type : Customer exit
    variable represents: Interval
    variable is not ready for input.
    I have to pass the initial and the final fiscal periods. I have written the code for it as
            l_s_range-low  = l_frstyr.
            l_s_range-high = l_lstyr.
            l_s_range-opt = 'BT'.
    but when i execute the query i get an error saying "Variable Z_FP01_1 contains too many values".
    How can i solve this problem????
    Regards
    Sujai

    maybe l_s_range already has values for thah variable, or you are doing the addition of values several times because of you are not having in count the i_step variable.

  • User Exit Variable picking values from InfoProvider

    Hi,
    I've created a User Exit variable (of type Interval, Mandatory) on 0CALMONTH and populating it in exit.
    The problem is at the time of query execution, I get "BRAIN 657" error i.e.  "Value <value> is Invalid for Variable <variable name>".
    After doing some analysis I figured out that once the user-exit code is performed, system validates the entries populated in this Variable against the values in InfoProvider and gives error when it doesn't find those values.
    E.g. lets say InfoProvider has values for 0CALMONTH from 06.2010 till 10.2010 and if I populate my variable with range 03.2009 till 12.2010 then it throws above error. But if I populate the variable with exact values i.e. 06.2010 till 10.2010 then it works.
    Any idea how can I remove this validation and populate with my own value range?
    Regards,
    Vikrant.

    hi remove that default value from the variable.
    and you shd be able to run the query without any problem.
    regards,
    VJ

  • AS3 in timeline - variable changes value on its own

    I've just started working with Flash CS4 and Actionscript 3 after being away from Flash for almost 10 years.
    I've set up a menu that allows users to select from five sections. When users select an option, flow goes to the corresponding section of the timeline and a movieclip plays. Stop actions prevent flow from continuing past the current section. A home button takes users back to the menu in the first frame. This works just fine.
    The client wants to provide a 'next' button which should play through all sections in sequence when the learner clicks it. I've defined a variable which I set to true when the user clicks 'next'. I've added if...else logic to the stop actions:
      trace("nextClicked "+nextClicked);
      if (nextClicked == true)
          play();
      else
          stop();
    This should stop flow unless the play button has been pressed setting the variable nextClicked to true. That's not what happens - flow stops even if when I click the 'next' button. I added the trace to verify the variable has the correct value and discovered that the variable value resets to false from true before it gets to this script.
    What am I missing about ActionScript 3 that might account for this behaviour? I have tried to read the Actionscript 3 materials but I get bogged down in the complexity of the programming requirements and the lack of depth in the examples provided. I'm sure the examples are perfectly adequate if you're trying to do what they illustrate but I haven't found an example that fits what I'm trying to do here.
    Thanks.

    Thank you for your suggestion:
    I have declared the variable at the beginning. This is a sample of the code in the first frame:
    //define variable
    var nextClicked:Boolean;
    //define event listeners and the corresponding functions for menu buttons
    //Me
    btn_me.addEventListener(MouseEvent.CLICK, gotome);
    function gotome(event:MouseEvent):void {
        //set var to false to indicate Next has not been clicked
        var nextClicked = false;
        trace("Me selected "+nextClicked);
        gotoAndPlay("me");
    [.....more code defining more listeners...]
    //define listener for Next button
    btn_next.addEventListener(MouseEvent.CLICK,gonext);
    function gonext(event:MouseEvent):void {
        //set var to true to indicate Next has been clicked
        var nextClicked=true;
        trace("Clicked next "+nextClicked);
        play();
    This seems very similar to what you suggested except you also included this line:
    Button1.label = "show Var";
    and I'm not sure what that line does. Does it set a label for the button? Since I've already set these explicitly, I don't see that this would be necessary. More importantly, I don't understand why leaving this out would cause the problem I'm having - the value of the variable changes from true to false without any code being executed.
    I'm still in the dark - and I still need to solve this.
    Thanks.

  • UCCX 8.5.1 - Expression editor and a variable string value error

    I receive the followng error when trying to create a varialbe string value using the expression editor. The string value that I am trying to create is used with the Create URL Document Object. The popup error states 'Unable to parse expression: Couldn't repair and continue the parsing on token #ID 'FindCaseByCaseNumber' (line 1, col:24)'  The string value is "<Message MessageType="FindCaseByCaseNumber" Source="APIMessage" ReferenceNumber="1" NodeID="1" UserID="1"><CaseNumber>"05-CP-001842"</CaseNumber></Message>". The editor will not let me save the string value with quotation marks being used in the string value, exampe "FindCaseByCaseNumber". When I remove the quotation marks from the string value the editor will save the value but then the variable will not work.
    Has anyone encountered this same problem or know what to replace the "" to terminate the string value? I have tried brackets, but this does not work. Any suggestions are greatly appreciated!

    I found my answer. It appears that ${}, #{}, and ' will let you add a sub-variable to a variable string value.

  • Reading User Profile Properties pragmatically in SharePoint 2010 Returns Null Values Although it has values returned from AD

    Reading User Profile Properties pragmatically in SharePoint 2010 Returns Null Values Although it has values returned from AD
    I configured the user profile service application and run Sync and user profiles and its properties returned from Active directory but when I want to read it pragmatically it returns null values.
    this is my code...
       void runQueryButton_Click(object sender, EventArgs e)
               // Get the My Sites site collection, ensuring proper disposal
                using (SPSite mySitesCollection = new SPSite("http://sp/my"))
                    //Get the user profile manager
                    SPServiceContext context = SPServiceContext.GetContext(mySitesCollection);
                    UserProfileManager profileManager = new UserProfileManager(context);
                    UserProfile profile = profileManager.GetUserProfile("Contoso\\user");
                    foreach (Property prop in profileManager.Properties)
                       // if (prop.Name == "Department")
                        resultsLabel.Text += prop.DisplayName + ":" + profile[prop.Name].Value + "<br />"; ;

     Hi,
    Please try with the following code
          PrincipalContext principalContext = new PrincipalContext(ContextType.Domain);
                                SPServiceContext context = SPServiceContext.GetContext(site);
                                UserProfileManager profileManager = new UserProfileManager(context);                        
      foreach (Property prop in profileManager.Properties)
                       // if (prop.Name == "Department")
                        resultsLabel.Text += prop.DisplayName
    + ":" + profile[prop.Name].Value + "<br />"; ;
    Thanks,
    Vivek
    Please vote or mark your question answered, if my reply helps you

  • BW Query variable default value put in Crystal report variable question

    Why BW Query variable default value put in Crystal report variable for BO InfoView to open crystal report.
    I using Analyzer to open bw query,variables had default value ,but crystal report can't had variable default value ,and can't search variable  value.
    pho:
    [http://file.itpub.net/f/e38876ad4f6efb7e73980488e7d71f8d/4ae940e9/day_091029/20091029_2b04da1232144feba180OrB23SNvXtoT.gif/p/1.gif]
    [http://file.itpub.net/f/d93ddfe61e0eaf80429726c61f1a02ff/4ae940e9/day_091029/20091029_3211ffe04bf0302fbab5FRKnbwmH80p7.gif/p/BW_QUERY_Crystal.gif]
    Edited by: flying on Oct 29, 2009 8:20 AM

    I Know what to do .
    but Crystal report date variable value are Garbage characters "###".
    PHO:
    [http://file.itpub.net/f/39a8510104476707ae21c945db93ecba/4ae97949/day_091029/20091029_32dcbb7e7d99141483aesJ9KBJHXN0Kj.gif/p/2.gif]

  • Error while creating sites on entire site collection - the file you are attempting to save or retrieved has been blocked from this web site by server administrator

    Hi,
    I am trying to create a new sub site. Everytime I try to create the site I get this error:
    the file you are attempting to save or retrieved has been blocked from this web site by server administrator
    This applies to almost all site templates except the "blank site" template. I am logged in as System Administrator.

    Issue resolved!
    Don't know how but somehow, xml was added to the Blocked file types. Removing the entry did the trick.

  • How to assign a JSP variabl's value to a JavaScript variable?

    Hello,
    I want to assign a JSP variable's value to JAVASCRIPT variable.
    or how to assign JavaScript variable's value to JSP varialbe
    HOw do i do it ?
    can anyone please help?
    Regards and thanks for your time.
    Ashvini

    I want to assign a JSP variable's value to
    JAVASCRIPT variable.
    var jsVariable = <%=someVariable%>;
    or how to assign JavaScript variable's value to JSP
    varialbeYou can't. JSP is server-side and JavaScript is client-side. The JSP variables are never available on the client side for any sort of assignment.

Maybe you are looking for