How to track query variable input in FM

Hi All,
There are a MultiCube1 and a Query1 based on it.
There is Virtual Infoprovider1 based on Query1.
And finaly there is a Query2 based on Virtual Provider1.
How to check inputed variables of Query2 in FM for Virtual Provider1.

Hi,
there is no way to read query variables in the is_protected method, since data slice run time and query run time are separated.
Of course you can do the 'usual' trick by implementing an exit variable, export some variable values to memory and read it in the is_protected method.
But is_overlapping is the correct method to read the used selection (of a query of planning function filter) to do some initializing work. This method is called when a function is processed or a query will be opened. Is_protetecd is called on a record basis, i.e. maybe very often.
Regards,
Gregor

Similar Messages

  • How to track querying time in ASO

    Hi
    I am working on an ASO cube and have lot of member formulas in the outline.
    The formulas are really big and could be modified with some tweeks.
    Now i want to check, whether on changing formulas, my querying time is increasing or decreasing. Is there any way or log file to track, how much time did it take when i query for set of members from my spreadsheet.
    I want to compare how much seconds/min did a querying event took.

    Dude,
    I believe the best practice here is going to be to Enable Query Tracking in the Essbase Database (Right-Click database > Query Tracking > Enable).
    At this point we typically write several report scripts that simulate queries against HFR reports, etc. that the business would be pulling on a daily basis (or other frequency). You can even schedule the report scripts so that they execute at some intense frequency to check how the server handles concurrent requests, etc.
    The query tracking output should then provide you with most of the infromation you seek.
    Be sure to turn off query tracking for that database after you've completed your testing/exercise as it add additional processing to the database which will slow down a production server.
    Some References:
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/eas_help/frameset.htm?qrytrack.html
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/eas_help/frameset.htm?dbwzagg_3.html
    If this was helpful or the correct answer please award points.
    Cheer,
    Christian
    http://www.artofbi.com

  • How to track changes in inputs in a form?

    Dear Masters,
    I have an update page generated by dreamweaver which works correctly. But I need to implement something else additionally to my application developed in classical asp environment.
    I want to track changes in the form in my update page and save them to another table in ms sql database.
    My update page updates orders table but I want to save changing information to logdetail table in the database.
    One of the main problem is that even if i use a javascript code there is a problem like that if a user chose b from a and b couple and return to change a value again it is a problem. I need the final changing info.
    Another problem is that even if i determine the changing inputs (textfields and list/menus)  how can i insert in to logdetail table?
    Because my form updates order table when i press submit button. How can i do that?
    If someone can help me about that i  would be gratefull
    thanks in advance
    Ces

    The best way would be to create a trigger in the database that would update the history table whenever the data was changed. The next best would be to use a stored procedure. I would not try to do this with server side scripting.

  • How to Verify the Variable Input in Customer EXIT

    Hi,
          I have a requirement to find out "Estimated Hours Total Calculation" with User input date range. I know little bit knowledge about Customer Exits please some one give me how to write code in CMOD. I have requirement how to get the Extimated Hours Total Calculation is follows ....
            Actual hours are the Hour Meter Reading used by the truck, it's calculated based on the "from and to" date parameters.       
    Collect the initial hours and adjusted hours from EM.       
    Get the PMN and Service Order data close to or within the Date Range.     
    1) If the Fleet Management Date (Start-up Date on EM) started before the input date Date Range (From-Date), calculate the average usage (in hours) based on the initial hours and the first PMN (or SO) falls within the Date Range to estimate the hour usage at start of Date Range. 
    2) If the Fleet Management Date started after the From-Date, use the Hour Meter (EM) as the Estimated Hours Begin. 
    3)If the last PMN (or SO) fell short of the Date Range (To-Date), obtain the Estimated Hours End by applying the average usage to fill the time-gap.       
    4)If the last PMN (or SO) fell after the Date Range (To-Date), get the Estimated Hours End by getting the next to last PMN performed inside the window parameter,           
         calculate the average usage between the two PMN's (or SO's) then apply the weighted average to fill the time-gap.       
    Adjusted Hours, if not zero or null, needs to be added to the Ending Hours to achieve the real number. 
    For Example
    User Input Date Range:  Jan. 1, 2006 - Dec. 31, 2006          
    Initial Hour (Equipment Master):  10          
    Adjusted Hours (Equipment Master): 0          
    Fleet Management Date (Equipment Master):  Dec. 1, 2005          
    1st PM Notification (Feb. 1, 2006):  410          
    Last PM Notification (Feb. 1, 2007):  2810          
    Second to last PMN (Dec. 1, 2006):  2410          
         Equipment was put into service (12/1/05) before the Date Range, needs to find the Estimated Hours Begin.     
         The first PM was performed (2/1/06) exactly two months from in-service date (12/1/05).
         Average monthly usuage from first PMN = (410 - 10) / 2 = 200
         Estimated Hours Begin = 200 + 10 = 210 (estimated Hour Meter Reading on Jan. 1, 2006)
         Average monthly usuage from the last 2 PMN = (2810 - 2410) / 2 months = 200
         Estimated Hours End = 2410 + 200 + 0 (adjusted hours) = 2610 (estimated Hour Meter Reading on Dec. 31, 2006)
         Estimated Hours Total = 2610 - 210 = 2400
               Please give me your valuable answers. Please let me know if you need any further information.
    Thanks
    Dave Sam.

    hi,
    well, your requirement seems clear but complex and needs more clarification:
    - what kind of infoprovider do you use
    - what is posted in your provider, I mean which characteristics and and key figures (name and descriptions)
    - what is the user input
    depending on that, the implementation may vary
    Please clarifiy
    Olivier.

  • How to Display Query Variables in Text Titles?

    Hi experts,
    I have created a web template that has a query parameter screen and then displays the results in the form of charts and tables.
    My question is how do I display the parameters entered by the user in a chart title?
    For example if the user enters a date range of ISO Week 19 to 23, I want to display the chart title as: "Report Results - Week 19 to 23".
    I also want to do the same for a general title. I've tried using information fields, but they don't allow me to add additional text.
    Maybe I need to use some java script to get the parameter value?
    Keep in mind I am just starting out with this and I am using BW7.0 with the WAD.
    Thanks in advance for any assistance.

    Thanks for your response.
    I think you are referring to 3.5? Maybe 7.0 handles it differently?
    I've tried entering free text and then putting in a text web item that is hooked up to a data provider with a characteristic but that only prints out the characteristic header and not the actual value selected by the user.
    For example, I have the following:
    Report for week <text web item>
    Returns:
    Report for week ISO Week
    I would like it to return:
    Report for week 19
    Thoughts?

  • How to display query variable in text element and format the text element

    Hi All,
    I want to display the value of the value of variable against fiscper3 and the value of the variable against 0fiscyear in the web application template from the query in the text element in the web template in BI 7 Web application designer.
    Also, in the web application designer I need to format the text element in the web application designer to set the text element to center the display change the size and make it bold. I am bit lost I cannot find these properties in the web application designer against the text element.
    Appreciate if you could kindly help.
    Thanks
    Karen

    Hi
    hope below tags would help you
    Re: Search by text on a variable
    Re: Need to display text part of TEXT variable in query designer
    regards
    nag

  • Query variable entry - want modal dialog screen instead of full scr

    hi
    Is there a way to show query variable input screen as a dialog modal window rather than the default full screen mode?
    thanks.
    Message was edited by:
            BWer

    yeah do a restriction and in the restriction screen fill in the variable to be restricted on and save and run query and this dialog screen will pop up

  • How get Query Monitor (RSRT1) to show variable input screen

    Hi,
    I'm trying to test a query that has variable input and I can't get the variable input screen to give me a chance to input variables.  Since this is key to debugging this query, I need it to recognize my input variables.
    Help!
    Thanks
    Suzanne

    Hi,
    In rsrt, enter the query name -> select query display as HTML -> In the big text box that appears below it type "variable_screen=x", without quotes and it should show you the variable screen.
    Thanks,
    Sri.

  • Variable input values in the query are displayed wrong

    Hi experts,
    I executed a report and in the variable input screen it asks for a key date and company code.
    We entered key date and company code and executed the report.
    We want to take a print out of the output. But the variables which we entered in the variable screens are
    dispalying wrong. i.e if we have entered company code as gsml and key date as 01.01.2008.
    In the report output I am getting as:
    Company code: gsml
    Keydate: #..27-11-4745
    But keydate should be displayed as 01.01.2008
    How to solve this ?
    Regards,
    Nishuv.

    Nishuv,
    Please follow below steps:
    1. Open query through Bex - Query Designer
    2. Beneath the Rows Area( where you actually  drag in charactertistics), you'll be finding two tabs Filter and Rows/Columns
    3. Click on Filter Tab
    4.You'll be navigated to a window, there you can trace two Workareas
            a. Characteristic Restrictions: Where drag in the relevant Prompts/Input Variables
            b. Default Vaules
    5.First, Drag the required promts/Input Variables in Characteristics Restrictions.
    6.Click on the varible which was dragged in Characteristic Restriction area and drop it into default values area.
    7.Now you'll have visibility of variable in two regions, Characteristics and Default Values.
    8. Save and Execute the Query
    Regards,
    Yaseen

  • How to implement fuzzy search in Query variables

    Dear Experts,
    Fuzzy search is eazy implemented in the abap  , but I do not know how to implement fuzzy search in Query variables
    our company have  a report,with input variable of customer code,   the user want to input 3 bits as fuzzy search. for example,
    the customer code  have 10 bit,  she want to only  input 3 bits before-- EAE *
    and hope the results will  be displayed.  if you have any solution , please advise. 
    ManyTthanks.
    Best Regards.
    Steve

    closed

  • How to verify ... variable input

    To whom it may concern,
    I am referring to this SAP document which suggest that we can verify
    the variable entry with a message pop up.
    1- How To ... Verify Variable Input.pdf SAP Document 
    Another BW Expert Online document talks about the same solution
    2 - "Add Pop-Up Messages to BEx Queries for Simple Validation and Feedback "
    I have tried to implement these solutions, but they do not seem to work as they were printed.  I have been in communication with SAP and they have indicated the same.
    I have found a number of items not to work:
    1) The RAISE again statement gives an error when the project is
    activated
    2) The variable. Should this not be Customer Exit. IN the picture it
    is indicated as user entry.
    3) This does not seem to work in the web. Only in the BEx Analyzer.
    Do you have any solutions that work in the web.
    Basically, what I am trying to implement a solution that checks the variable input
    entry before executing the query via the web.
    Thank you.
    Simon Haddad
    [email protected]
    PS For anyone who is interested in the code that i have used:
    I have looked at the Online help , (the second one)
    when i put as mentioned RAISE no_processing, then this is the error that comes up:
    "NO_PROCESSING" is not defined as an exception in the function module.
    Here is my Code:
    Custom message variables for Value Type ** ZM_VTYP# Message User Exit Variable with Value Type from ZS_VTYP# ** ** BW Expert Solution ** Add Pop-Up Messages to BEx Queries for Simple Validation & Feedback ** WBHADS - 15/11/2006 *************************************************************************
    WHEN 'ZM_VTYP1' OR
    'ZM_VTYP2' OR
    'ZM_VTYP3'.
    IF i_step = 2.
    CLEAR l_s_range.
    CLEAR loc_var_range.
    CLEAR loc_var_range2.
    CONCATENATE 'ZS_VTYP' i_vnam+7(1) INTO var_name.
    CONCATENATE 'ZS_VTYP' '1' INTO var_name.
    LOOP AT i_t_var_range INTO loc_var_range
    WHERE vnam EQ var_name.
    Pop-up messages can include warning (W) and error (E) messages as well* as success (S) and information (I) messages.
    if loc_var_range-low eq 20 or loc_var_range-low eq 60.
    CONCATENATE 'ZS_VERC' i_vnam+7(1) INTO var_name.
    CONCATENATE 'ZS_VERC' '1' INTO var_name.
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE2
    WHERE VNAM = var_name.
    ENDLOOP.
    CONCATENATE 'Please Input Version for Value Type'
    i_vnam+7(1) INTO l_message SEPARATED BY ' '.
    CONCATENATE 'Please Input Version for Value Type' '1'
    INTO l_message SEPARATED BY ' '.
    IF LOC_VAR_RANGE2-LOW EQ ''.
    CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
    EXPORTING
    I_class = 'RSBBS'
    I_type = 'I'
    I_number = '000'
    i_msgv1 = l_message
    i_msgv2 = l_msgv2 “change
    i_msgv3 = l_msgv3
    EXCEPTIONS
    Dummy = 0.
    OTHERS = 0.
    CALL FUNCTION 'RRMS_MESSAGES_SHOW'.
    CALL FUNCTION 'RRMS_MESSAGES_DELETE'.
    If you want to terminate the processing of the query after the pop-up
    message appears, you must include the RAISE again. This stops the
    processing of the query so you can return to the selection screen and
    enter a valid value
    RAISE AGAIN.
    RAISE no_processing.
    Endif.
    ENDIF.
    ENDLOOP.
    CLEAR l_s_range.
    CLEAR loc_var_range.
    CLEAR loc_var_range2.
    CONCATENATE 'ZS_VTYP' '2' INTO var_name.
    LOOP AT i_t_var_range INTO loc_var_range
    WHERE vnam EQ var_name.
    Pop-up messages can include warning (W) and error (E) messages as well* as success (S) and information (I) messages.
    if loc_var_range-low eq 20 or loc_var_range-low eq 60.
    CONCATENATE 'ZS_VERC' '2' INTO var_name.
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE2
    WHERE VNAM = var_name.
    ENDLOOP.
    CONCATENATE 'Please Input Version for Value Type' '2'
    INTO l_message SEPARATED BY ' '.
    IF LOC_VAR_RANGE2-LOW EQ ''.
    CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
    EXPORTING
    I_class = 'RSBBS'
    I_type = 'I'
    I_number = '000'
    i_msgv1 = l_message
    i_msgv2 = l_msgv2 “change
    i_msgv3 = l_msgv3
    EXCEPTIONS
    Dummy = 0.
    OTHERS = 0.
    CALL FUNCTION 'RRMS_MESSAGES_SHOW'.
    CALL FUNCTION 'RRMS_MESSAGES_DELETE'.
    If you want to terminate the processing of the query after the pop-up
    message appears, you must include the RAISE again. This stops the
    processing of the query so you can return to the selection screen and
    enter a valid value
    RAISE AGAIN.
    Endif.
    ENDIF.
    ENDLOOP.
    CLEAR l_s_range.
    CLEAR loc_var_range.
    CLEAR loc_var_range2.
    CONCATENATE 'ZS_VTYP' '3' INTO var_name.
    LOOP AT i_t_var_range INTO loc_var_range
    WHERE vnam EQ var_name.
    Pop-up messages can include warning (W) and error (E) messages as well* as success (S) and information (I) messages.
    if loc_var_range-low eq 20 or loc_var_range-low eq 60.
    CONCATENATE 'ZS_VERC' '3' INTO var_name.
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE2
    WHERE VNAM = var_name.
    ENDLOOP.
    CONCATENATE 'Please Input Version for Value Type' '3'
    INTO l_message SEPARATED BY ' '.
    IF LOC_VAR_RANGE2-LOW EQ ''.
    CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
    EXPORTING
    I_class = 'RSBBS'
    I_type = 'I'
    I_number = '000'
    i_msgv1 = l_message
    i_msgv2 = l_msgv2 “change
    i_msgv3 = l_msgv3
    EXCEPTIONS
    Dummy = 0.
    OTHERS = 0.
    CALL FUNCTION 'RRMS_MESSAGES_SHOW'.
    CALL FUNCTION 'RRMS_MESSAGES_DELETE'.
    If you want to terminate the processing of the query after the pop-up
    message appears, you must include the RAISE again. This stops the
    processing of the query so you can return to the selection screen and
    enter a valid value
    RAISE AGAIN.
    Endif.
    CALL FUNCTION 'RRMS_MESSAGES_SHOW'.
    CALL FUNCTION 'RRMS_MESSAGES_DELETE'.
    ENDIF.
    ENDLOOP.
    l_s_range-low = loc_var_range-low.
    l_s_range-sign = 'I'.
    l_s_range-opt = 'EQ'.
    APPEND l_s_range TO e_t_range.
    ENDIF.

    Hi San!
    Are you able to send me a working copy of one of your bits of code.
    Thank you for you analysis.  Still some issues however,  and there are some debugging issues:
    If you can further assist, here is the design of our query:
    -  i have the following user entry variables ZS_VTYP1, ZS_VTYP2 and ZS_VTYP3 for the characteristice 0VTYPE - Value Type.
    -  i have the following user entry variables ZS_VTYP1, ZS_VTYP2 and ZS_VTYP3 for the characteristic 0VERSION - Version.
    If you put value type 60 (Forecast) in any or all of the value type user entry variables, then you must put a corresponding version identifier, eg. F1
    Hence this is where the message that is required.
    Otherwise, if Value type 10, or 20 Actual or Plan is entered, then it is fine.
    I have put tabs in the code you sent me, but it seems to debug
    with these 2 messages:
    WHEN is only allowed after case
    ="... " Expected after RAISE
    I have tried to interperet your logic here:
    WHEN is only allowed after case
    ="... " Expected after RAISE
    Custom message variables for Value Type                             *
    ZM_VTYP# Message User Exit Variable with Value Type from ZS_VTYP#   *
    BW Expert Solution                                                  *
    Add Pop-Up Messages to BEx Queries for Simple Validation & Feedback *
    WBHADS - 15/11/2006                                                 *
    Userid: San! Message: How to verify ... variable input              *
    Posted: Dec 15, 2006 3:46 AM                                        *
    www.sdn.com - 18/12/2006                                            *
    1) Verification of input variable is done in I_STEP = 3.
    2) I_STEP =2 is called for all variable(Customer exit type).
    3) i_STEP =3 is called only once for all variable.
    1) The RAISE again statement gives an error when the project is
    activated---Your Activate..that is not problem..go ahead with that.
    2) Variable can be Customer exit..i have done this...
    3) It work in Web also..
    ZS_VTYP3 is a user-entry varibale and ZS_VERC3 is customer exit
    variable.
    CASE I_VNAM.
       WHEN 'ZM_VTYP1' OR
         'ZM_VTYP2' OR
         'ZM_VTYP3'.
         IF I_STEP = 2.
         WHEN 'ZS_VERC3'
              CLEAR l_s_range.
              CLEAR loc_var_range.
              CLEAR loc_var_range2.
              CONCATENATE 'ZS_VTYP' '3' INTO var_name.
              LOOP AT i_t_var_range INTO loc_var_range
                        WHERE vnam EQ var_name.
              ENDLOOP.
              l_s_range-low = loc_var_range-low.
              l_s_range-sign = 'I'.
              l_s_range-opt = 'EQ'.
              APPEND l_s_range TO e_t_range.
         ENDIF.
    ENDCASE.
    IF i_step = 3.
         CLEAR l_s_range.
         CLEAR loc_var_range.
         CLEAR loc_var_range2.
         CONCATENATE 'ZS_VTYP' i_vnam+7(1) INTO var_name.
         CONCATENATE 'ZS_VTYP' '1' INTO var_name.
         LOOP AT i_t_var_range INTO loc_var_range
                   WHERE vnam EQ var_name.
         if loc_var_range-low eq 20 or loc_var_range-low eq 60.
              CONCATENATE 'ZS_VERC' i_vnam+7(1) INTO var_name.
              CONCATENATE 'ZS_VERC' '1' INTO var_name.
              LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE2
                        WHERE VNAM = var_name.
              ENDLOOP.
              CONCATENATE 'Please Input Version for Value Type'
    *                     i_vnam+7(1) INTO l_message SEPARATED BY ' '.
              CONCATENATE 'Please Input Version for Value Type' '1'
                        INTO l_message SEPARATED BY ' '.
              IF LOC_VAR_RANGE2-LOW EQ ''.
              CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
                   EXPORTING
                        I_class = 'RSBBS'
                        I_type = 'I'
                        I_number = '000'
                        i_msgv1 = l_message
                        i_msgv2 = l_msgv2 “change
                        i_msgv3 = l_msgv3
                   RAISE no_replacement.
              Endif.
         ENDIF.
         ENDLOOP.
         CLEAR l_s_range.
         CLEAR loc_var_range.
         CLEAR loc_var_range2.
         CONCATENATE 'ZS_VTYP' '2' INTO var_name.
         LOOP AT i_t_var_range INTO loc_var_range
                   WHERE vnam EQ var_name.
         if loc_var_range-low eq 20 or loc_var_range-low eq 60.
              CONCATENATE 'ZS_VERC' '2' INTO var_name.
              LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE2
                        WHERE VNAM = var_name.
              ENDLOOP.
              CONCATENATE 'Please Input Version for Value Type' '2'
                        INTO l_message SEPARATED BY ' '.
              IF LOC_VAR_RANGE2-LOW EQ ''.
              CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
                   EXPORTING
                        I_class = 'RSBBS'
                        I_type = 'I'
                        I_number = '000'
                        i_msgv1 = l_message
                        i_msgv2 = l_msgv2 “change
                        i_msgv3 = l_msgv3
                   RAISE no_replacement.
              Endif.
         ENDIF.
         ENDLOOP.
         CLEAR l_s_range.
         CLEAR loc_var_range.
         CLEAR loc_var_range2.
         CONCATENATE 'ZS_VTYP' '3' INTO var_name.
         LOOP AT i_t_var_range INTO loc_var_range
                   WHERE vnam EQ var_name.
         if loc_var_range-low eq 20 or loc_var_range-low eq 60.
              CONCATENATE 'ZS_VERC' '3' INTO var_name.
              LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE2
                        WHERE VNAM = var_name.
              ENDLOOP.
              CONCATENATE 'Please Input Version for Value Type' '3'
                        INTO l_message SEPARATED BY ' '.
              IF LOC_VAR_RANGE2-LOW EQ ''.
              CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
                   EXPORTING
                        I_class = 'RSBBS'
                        I_type = 'I'
                        I_number = '000'
                        i_msgv1 = l_message
                        i_msgv2 = l_msgv2 “change
                        i_msgv3 = l_msgv3
                   RAISE no_replacement.
              Endif.
         ENDIF.
         ENDLOOP.
    ENDIF.

  • How to set the table input in Query template?

    Hi all.
    I need to call a Bapi_objcl_change, with import parameter and a table as an input. I have done this, in BLS. I have set the table input in the
    form of xml. In BLS, I get the output(the value gets change in SAP R3, what i have given in BLS).  But if i set the same xml structure  in
    query template, I didn't get the output. Table input parameter does not take that xml source.  How to set the table input in Query template?
    can anyone help me?
    Regards,
    Hemalatha

    Hema,
    You probably need to XML encode the data so that it will pass properly and then xmldecode() it to set the BAPI input value.
    Sam

  • In TestStand, How do I pass variables to a sequence, other than the standard Input Buffer?

    I have Labview VIs that have arrays as inputs, I want to pass information in that array to the VI. TestStand already has the Input Buffer setup, but how do I create more input buffers, like array input buffers?? I know that the "Parameters" section in the sequence file is for passing info to subsequences, but that does not help me, Thank you in advance!!

    See the TestStand shipping example located in the directory \Examples\AccessingArrays\UsingLabVIEW. This will show you how to pass arrays back and forth from a VI to a sequence variable.
    If you are trying to create a step that handles arrays, then you will need to create a new step type that has an array step property. There is an example on the NI web site of a step type that handles arrays. Go to www.ni.com/support and search the Examples Program database using the search string of:
    +"step type" +waveform +teststand

  • How to pass a variable for a SQL query in OLEDB source?

    Hi All,
    I am new to SSIS and working on it past few days. Can anyone please help me getting through a scenario where I need to pass a variable in the SQL statement in OLEDB source connection. Please find below for the details.
    eg:
    1) I have a SQL table with the columns SerialNumber, Name, IsValid, FileName with multiple rows.
    2) I have the file Name in a variable called Variable1.
    3) I want to read the data from my SQL table filtering based on the FileName (Variable1) within a data flow task and pull that data to the destination table.
    Question: In the data flow task, added source and destination DB connection with a script component in between to perform my validations. When trying to retrieve the data from source using the variable (i.e. SQL Query with variable), I am not able to add
    the query as the SQL statement box is disabled. How to filter the data based on the variable in the source DB ?
    Any help/suggestions would be of great help.
    Thanks,
    Sri

    Just to add with Vaibhav comment .
    SQL Command  : SQL query either with SQL variable or any condition  or simple Sql statement
    Like ;
    Select * from dimcustomer
    SQL Command using Varible :
    Sometimes we design our dynamic query in variable and directly use that variable name in oledb source.
    If you Sql query needs a condition based on SSIS variable .
    you can find a Example here :
    http://www.toadworld.com/platforms/sql-server/b/weblog/archive/2013/01/17/ssis-replace-dynamic-sql-with-variables.aspx
    http://www.select-sql.com/mssql/how-to-use-a-variable-inside-sql-in-ssis-data-flow-tasks.html
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com

  • How to track signon in a query? XMLP-Doku?

    Hello,
    can anyone give me a brief example how to track signon in a query to limit data in the standalone version of XMLP? Unfortunatly the user manual (PDF) doesn't describe that. The threads in this forum which tell this quit short didn't work to me.
    Is there any other important manual or book about XMLP except the PDF user manual?
    Thanks in advance
    Ralf Kanis

    We wanted to trap the sign-on but oracle has the following response. I heard you can modify the xdo file but this solution is not a long term solution.
    Following is the reply from the development:
    There is a bug in XMLP 5.6.2 which prevents dynamically passing username in sql, and would be fixed in the next release. Also it req
    uires editing report file manually as the UI does not support this username bind
    ing in 5.6.2.

Maybe you are looking for

  • [SOLVED]xorg1.6, cannot go back to console by CTRL+ALT+BACKSPACE

    After upgrading, there is no response by pressing the three keys. Can anyone tell me what the problem is? Last edited by zpxing (2009-04-11 22:58:51)

  • Bad performance, Lightroom 5.7 64bits

    Hello! I did the download of Photoshop CC and Lightroom 5.7 for testing and buy Creative CC signature, but Lightroom is not working very well. I have a PC with AMD FX 4100 3,6GHz, RAM memory 8GB DDR3, video Radeon HD6670 and Windows 7 64bits SP1, run

  • Reg: java.lang.outOfMemoryError in Console alone

    Dear All, I was getting the trace, java.lang.outOfMemoryError. Even i have incresed the heap size of the JVM as java -Xrs -Xms1024m -Xmx1024m ReportServer But getting java.lang.outOfMemoryError in the command prompt. But it is not caught in the catch

  • Sony Digital Handycam Import for Macbook

    Hi, I have a Sony Handycam Digital 8, DCR TRV 140E. Can someone tell me how I can download my movies to the Macbook? Regards Vikram

  • Button - Copy Business Transaction

    Hi Guys, In Service msg screen, i notice there is a button named "Copy business Transaction". Where i can use this function to create a new service msg from a Confirmed msg. For eg: Normal service msg(Status 'Confirmed', msg# 999900123), in the scree