Variables in BO designer

Hello my dear SDN Friends . Please help with this Integration BO from BI . I have a field employee Name which comes from BI Table i just want to create a variable for employee name so that user can put the emp name as mandatory. Can u exactly tell me step by step how to use the @prompt function to create variables in BO designer.
So I am created the where clause in properties of employee name as
EMP.ENAME=@Prompt('BEGIN_DATE','D','Emp\Ename',mono,free)
Select clause is EMP.ENAME
please suggest since my web intelligence runs for ever with this
Thanks
Kind Regards
Soniya
Edited by: soniya kapoor on Sep 30, 2008 9:45 PM

hi there
you want to make this, at the universe level, or at the webi Level
at the universe level
Emp_table.Emp_id  In  @prompt('Enter Emp ID:','N','Employees Class\Employee ID',Multi,Free,Persistent,{},User:0)
at the Webi level
Emp_table.Emp_id  =  @prompt('Ente rEmp ID:','N',,Mono,Free,Persistent,,User:0)
good luck
Amr

Similar Messages

  • How to assign current date/time to a formula variable in Query Designer

    How do I assign the current date to a formula variable in Query Designer? I need to use current data in a calculation and just need the date the report was run.
    Thanks

    Hi Philip,
    There is an SAP formula variable to supply the current date in a formula. I think it is 0F_ADAY...install it from business content if you cannot see it in the query designer (formula box, under formula variables) and try using it.
    Hope this helps...

  • Fox Formula Variable In Query Designer

    Hi Experts,
    I have created 1 variable in fox formula of type VARV and i want this Variable to show in query designer while creating new Variable so that i can replace the Query Variable With Fox Formula by Using Replacement Path.
    While Creating new variable in Query Designer it is not Showing that Fox Formula variable.
    Because i want to use this in WAD While Executing the Planning Sequence.
    Is there any way we could get That Fox Formula variable in Query Designer.
    Regards
    Girish

    Hi Marc,
    While Creating Variable from Query Using Query Properties it is still not Showing That Variable in Fox Formula.
    And My Requirement was to Replace that Fox Formula Variable With Query Designer Variable.
    Please Suggest any Solution.
    Thanks
    Girish

  • Unable to see the variable in Query Designer

    Hello Experts,
    I am running one report and it is showing me 0calday variable selection screen at run time. I am unable to see this Variable on my Query designer but when I am opening query properties its showing me in this.
    Kindly let me know where is this Variable using in my query designer ?
    Thanks,
    Anoop

    Hi Anoop,
    The variable is probably being used to restrict a key figure.
    Go to the key figures,
    Display the technical names
    Check the key figures for which the technical name is not appearing even though the key figure is not a formula.
    Here you will see one of the key figure being restricted by a variable for 0calday
    Hope this helps.
    Regards,
    Joe
    Didnt notice the question is answered :P
    Edited by: lazarus_joey on Feb 17, 2012 6:48 PM

  • Customer exit variable in Report designer

    Hello,
    I have created one Customer Exit variable ( variable ready for input) for one of the characteristics in a query. However, when i execute this query in Report designer, the selection variable is not appearing. It is just taking the variable value from Exit, eventhough the variable is ready for input.
    Is it  a standard behavior or am i missing anything ?
    Ravi

    Hello,
    First check your variable is included in the report desinger or not
    if it is included in Filters, use the T-code RSRT2 and execute. You should get a variable screen.
    Debug your query here.
    Hope it is useful.
    Thanks,
    Ashok

  • Problem with Variable in Query Designer.

    hi all,
    we have a variable ZAMREG on characteristic AM Region, where AM region is attribute for two different master data objects mastobj1 and mastobj2, we have different infosets build on these two master data objects along with some other ODS.
    now this variable ZAMREG is visible in one of the infosets only in query designer, whereas it is not visible in the other infoset.
    what could be the problem??
    thanks,
    Rk

    Hi,
    Please check if that variable is created locally or globally. If it is a local variable in any query, it will not appear in any other query.
    In anyways, you can always create one more variable if the older one is not available. This will not make much of difference. I would suggest go ahead with creating a new variable.
    Regards,
    Yogesh

  • Conflict with text variable on Query Designer

    Hi,
    this is the scenario:
    - On Query Designer i got two restricted key figures: K1 and K2.
    - I'm usign a manual entered variable for 0CALMONTH.
    - On K1 the sales are restricted for the selected month.
    - On K2 the sales are restricted to a range between first month of the year, and the selected month-1.
    Then on a formula i use K1+K2 and a text variable (selected month) for the name of the column. Then, when running the query, the text for the variable can't be found. There is a conflict on text variable when using 2 restricted key figures on the formula.
    How can i solve it ?
    thx

    Hi,
    I assume that your text variable is of replacement type?
    If it doesn't work you can create a new text variable of user exit type and derive its value using entered 0CALMONTH.
    Best regards,
    Eugene

  • About variables in query designer

    what is the difference between replacement path and cmod in query designer?
    illustrate with an example?
    Regards,
    Bhavya K

    Hi,
    Replacement path:
    When you create a variable ,if you want the variable to be replaced with the value from an info object/another variable /Query/Hierarchy  then we select Replacement path
    CMOD:
    If the values for the variable are to be collected based on the ABAP logic written for the variable in CMOD then we go for CMOD selection.
    Refer the links for examples:
    http://www.sapks.com/2010/04/replacement-path-in-variable-reporting.html
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/78a03c1178ad2ce10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/03/6ba03cc24efd1de10000000a114084/content.htm
    Refer to this link for scenarios on Cmod from Mr.Surendar reddy
    http://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    @ Sri
    Edited by: Sri kamesh on Mar 2, 2012 7:30 PM

  • Can't see good variables in Query Designer BW 7.0

    Hello,
    The technical name of our caracteristic variables in the Query Designer are prefixed by "OR_" or "SV_". I try to make a filter in this variables (for example: a user must be able to see only "SV_" variable) with the authorization objects S_RS_COMP and S_RS_COMP1. But this filter does not work, even if the ST01 trace shows me a Return Code = 4 for the test in the variable technical name.
    Have I made something wrong ? is it a bug ? (we are in BW 7.0 SPS9 with Sapgui 6.40 SP 19 and BEx SP 12).
    Thank you for your help

    Hi Paul,
    If iam not worng, are you asking about Infoobject level security in BW?
    If it is, the following are the steps need to be implemented:
    <u><b>Steps to Implement InfoObject Security (field-level security)</b></u>
    1) Make the InfoObject authorization-relevant.
    The Authorization Relevant setting for an InfoObject made in the InfoObject definition on the Business Explorer tab. The business needs will drive which InfoObjects should be relevant for security. Keep in mind that the people using SAP BWare running queries to help make strategic decisions on how to better run the business. The decision makers typically need to see more data on SAP BW than they would need to see in SAP R/3.
    2) Create a custom reporting authorization object.
    Since there are no reporting authorization objects provided for InfoObjects, you will have to create your own reporting authorization object for any InfoObject you decide to secure. This is done in transaction code RSSM. When creating your reporting authorization object, you select which fields to put in the authorization object from a list of authorization-relevant InfoObjects. Only InfoObjects that have been marked Authorization Relevant are eligible to be put in a reporting authorization object.
    3) Add your new authorization object to a role.
    Once you have created an new reporting authorization object and linked it to the appropriate InfoCube(s), users will need access to your reporting authorization object. You will need to manually insert your object into a role.
    4) Add a variable to the query.
    The reason the variable is required is sometimes unclear at first. If we want a  query to only provide results based on the division, for example, then the query itself needs the ability to filter specific division values. Before we can secure on division, the query must be  able to restrict data by division. The only way the query can restrict data dynamically is through a variable.
    5) Link the reporting authorization object to an InfoProvider.
    Linking your reporting authorization object to an InfoProvider is a very critical step. In this step, you will impact people currently executing queries for the InfoProvider that is now related to your reporting authorization object. This linkage forces your reporting authorization object to be checked when ANY query tied to the InfoProvider is executed.
    Hope it helps, please revert back if you are asking for something else.
    Please reward points if it is sueful.
    Thanks & Regards,
    Santosh

  • Text Variables in Report Designer

    We are creating some formatted reports in BI 7.0 using the Report Designer tool. One of the requirements is that when the report is flitered by a certain characteristic, say for e.g. Country = 'DE', the text associated with the country e.g. 'Germany' should be populated in the header of the report. Does anybody know if variable texts are supported in Report Designer ?
    Regards
    Viraj

    The service pack fixed this issue

  • Variables in Query Designer

    Hi Friends,
        I'm using Query Designer 7.0 ... i need  to create one variable...on charecterstic... norma analyser i'm  getting  normally..
    but   in query designer... iwas create the  variable.. but  i'm  unable to  take that variable.. because.. in rows and columns.. i'm not getting those variables....
       normally in anayser  , select that  infoobject and rihght click it and  selct restrict... and we can select the variable  name..
      but in query designer  what is the procedure for taking the variables,...
    thanks
    babu

    Hi,
    have you made the variable as interval or single value.
    Becasue you have two options during selecting ther variable...if you have made your variable as interval....... it will not appear in the single value option and vice versa.
    Thanks

  • How to access Workflow variables in Form Designer?

    Hello,
    I am wanting to set certain subforms to readonly depending on which part of the workflow the form is currently on. I already have the JavaScript code working to set the subform fields to readonly, but now I cannot figure out how to trigger this and where do I keep a variable to keep track of which part of the workflow I am currently in.
    I assume I will have a variable in the workflow itself and then I can use the Set Value QPAC to change the variable for each workflow step before it goes to the User QPAC, but what about within the form? I don't understand how the form javascript will know to execute, so how does my workflow "talk" to the form to set these fields to readonly?
    Right now the JavaScript code is sitting in the root::initialize part of the form. I was assuming I could have something like "if my workflow variable is equal to XX then set this subform to read only". But, how do I access my workflow variable in the form designer?
    Also, since I have digital signatures, I am having to pass all the form data in document variables, will this affect how I need to do this? I was also thinking of possibly accessing/setting a hidden field in the form, but thought the above way may be better.
    I hope that made sense!
    Thank you,
    Jennifer

    To follow-up, I spoke with Adobe support this morning and they said that I cannot access Workflow variables within Designer (besides those Workflow variables that are already provided).
    He mentioned that if I use the hidden fields, that I would need to Render the form each time before going to the User to trigger this to happen. So, I am not sure what I will do just yet. I probably not worry about making the fields readonly for the time being; it was a little extra thought I had and isn't required for our process.
    Thank you,
    Jennifer

  • Dependency between two Variables in query designer filter prompt

    Hi Experts,
    I'm working in BW 3.5 query designer and I have two characteristics ZONE and PLANT (both are filter variables) and what I need is that when the user make a selection of one ZONE (for example Zone north) then he will be able to see in the Plan Variable the values for selection that corresponds with the Zone selected previously in the other filter variable (ZONE).
    Thanks in advantage
    Roberth Reyes

    Hi shanthi bhaskar,
    Thanks a lot for your answer.
    I have one doubt about it:  with this solution that you propoused the user will be able to select the values for plant?.
    I mean, the user make the selection of the value for Zone, then he wants to see the in plan´s variable the values that corresponds with this Zone for make a new selection of plan.
    What happens if I need this dependency also in another variable like time variable?
    Thanks  a lot

  • Converting JavaScript "Variables"/Functions into Designer 7

    Hi,
    I'm upgrading our Forms which were created in Adobe 6 to Adobe 7 with Adobe Designer 7. One of the biggest problems that I'm encountering is the function library we developed in-house, which now shows under 'variables' at the Form level. The whole library was written in JavaScript.
    Listed below is a sample function:
    ----- F.#variables[0].DL_resetDefaultColor::DL_resetDefaultColor - (JavaScript, client) ------------
    # This function resets all the field elements to its default color ***************************************************************/ function DL_resetDefaultColor()
    //Get the array of all the form field elements names
    rArray = DL_getFormElements(); //Calling another function
    for (var i=0; i < rArray.length; i++) { DL_setDefaultColor(rArray[i]); } }
    Most of these functions are called from Button::mouseUp events, however when the button is clicked the Debugger gives the following error:
    TypeError: DL_resetDefaultColor is not a function
    6:XFA:F[0].P1[0].button_name[0]:mouseUp
    Please help in explaining how I may do this with Designer.
    Thank you,
    Ali

    Do you have this fixed yet?

  • Name of column using text variable in Query Designer

    Hello!
    I have 3 columns with amounts, 1 characteristic value variable and 1 text variable.
    For example, names of this columns - 2005 year, 2006 year, 2005/2006.
    I fill names using only one text variable and I can call first 2 column. I use set offset of variables for second column.
    How can I call third column ''2005/2006"?

    Hi,
    u need a second Text varaible and u need to correct your existing text variable.
    Prerequisite: u need for your key figures the same KF-variable
    1. Edit your existing text variable  lets say its called &Text1&
    2. Select your Text variable and go to tab "replacement path"
    3. Choose a) InfoObject b) Choose key
    4. In section "use value range" choose from  value
    5. Create a new text variable lets call it &Text2&
    6. make exact the same settings as for your first text variable butchoose for "value range" to value
    Now u use this text variables for your KF:
    KF 1 -> &Text1&
    KF 2 -> &Text1&
    KF 3 -> &Text1& / &Text2&
    This should make it!!
    Regards
    Tobias

Maybe you are looking for