To create variable on condition

Hi,
In my report, I created condition on key figure, I want to create variable on this condition. How can I create it. Please give me steps to follow.
  Actually, I am trying pass the values through this variable to R/3 report using RRI concept.
Please help me in this regard,
Thanks,
Jaswantha

Hi,
In condition creation screen itself,You can also use formula variables instead of fixed values. By choosing  <i>Entry of Variables</i>, the input help appears and you can select the required formula variable. The variables act as placeholders and are filled with fixed values when the query is executed.
So you need to create a Formula  varible first with user entry as processing type.
With rgds,
Anil Kumar Sharma .P

Similar Messages

  • How to create variable

    hi there
    i sthere anyway else then query designer that i can create my variable.i guess there must be some way else.
    please advise

    hey farookh
    well i didnt get ut query,which variable u r talkin about,there are so may variables like text variable ,formula variable  etc.
    Similarly you can create text variable in the desription area, formula variable while creating formula and Hierarchy variable in Hierarchy (Property of Char).
    You can also create variables in Condition and Exception but mostly they will be a part of Char variables,
    please be clear what are you talking about,then i can help u better.
    best regards
    ashish

  • Creating variables in Report Painter

    Hi ...
    I would like to know ... how do I create variable ? I know it is via T CODE GS11, but when run tht, in the next screen it pops up for variable ? What variable do I need to enter ? is this predelivered Eg : CE-PK, or can we create one ? Please advise
    Also, I would like to I have a requirement for a report whereby the format is like this .....
    SALES       CURR MONTH (06/2006)  LAST YEAR          
    - Sales IT
    - Sales 1
    - Sales 2
    COGS
    - cogs 1
    - cogs 2
    - cogs 3
    COS
    - cos 1
    - cos 2
    - cos 3
    GROSS PROFIT
    Whereby, SALES = sales it + sales 1 + sales 2, COGS = cogs 1+cogs 2 + cogs 3, COS = cos 1+ cos 2+ cos 3. also GROSS PROFIT = SALES + COGS + COS
    The abpve report is inclusive of Cost Centre and Profit Centre, how acn I utilize the libraray in Report Pianter to create such report, is this possible in Report Painter whereby including Cost center and Profit Centre in one single report
    Pls assist me
    Nathan

    When you create your variable first enter the variable name. Second enter the reporting "table" to use. Third enter the "field'. Press enter. Next enter a default value for your field. Save you variable. It is now ready to use in your report painter.
    Using the PCA reporting tables gives you the profit center but not the cost center. You can only use one reporting table per report. you will need a cctr report for that.
    First create your own libray from GLPCT. Next create your report using your new library. The report painter can do the calculations that you have shown.
    You create a formula in the row or column to calculate your sub totals.
    pls assign points if helpful as a way to say thanks.

  • Creating a new condition in a Workflow

    Hello,
    I am a beginner in using the Workflow Builder (SWDD) and I need to add a new condition in a Workflow.
    In the properties of my new condition I need to click on "Click here to create a new condition" and then a Change Condition Window appears. I need to select The Expression 1 in the Container but the one I need is not listed.
    I would like to create a new entry in the Container. How can I do that?
    Thank you in advance for guiding me.
    Best regards,
    Sylvain

    Hello Sylvain,
    Attached link explains creation of Container element in detail.
    [Creating WF Container elements|http://help.sap.com/erp2005_ehp_04/helpdata/DE/a6/9bac935f2c11d194a40000e82dec10/frameset.htm]
    Thanks,
    Shital Nimje

  • How to create variable in BEx on a Nav Attribute?

    Hi All,
    We are creating a report on Master data object 0MILESTONE. 0PROJECT is the navigational attribute of 0milestone.
    and ZSTATUS is the navigational attribute of 0PROJECT.
    Requirement is to create variable on ZSTATUS in BEx. How do I do that? I dont see option of creating variable on Nav attribute of a Nav attribute.
    Regards,
    Bob

    Hi,
    There is nothing as such creating variable for navigation attribute. You can only create variable directly on particular infoobject.
    In your case you are using transitivie attributes. So they can not be accesed directly in BEX query. You can only use 1st level nagivation attributes in bex query.
    [http://help.sap.com/saphelp_nw04/helpdata/en/6f/c7553bb1c0b562e10000000a11402f/content.htm]
    Regards,
    Durgesh.
    Edited by: Durgesh Gandewar on Feb 22, 2012 3:53 PM

  • How to create a new Condition for tax as VAT ( 4 % )  in SAP ? .

    Dear All ,
                           Pl guide that " How to create a new Condition for tax as VAT ( 4 % )  in SAP ? . What are all necessary requirements to do so , I need to have all steps so that i should feel very confident . For example what data is to be ticked in Control tab during cond. creation , in the same way how to put this cond. in Pricing procedure ? pl write all necessary thing which are required during this process .
    Thanx & deep regrads to all in adv.
    sap11

    In tax we can configure taxprocedure two types i.e., taxinn and tainj. If you adopt taxinn procedure if  it is other than VAT condition first you have to create the condition type and then you have to go to FTXP and assign the tax required VAT percentage to the repective % to ded or non ded VAT condion type. In second step you have to assign this tax code to respective company code.
    If you adopt taxinj procedure you have to a create tax code with FTXP T-code by assigning the values to the respective and save conditions.
    Regards,
    Bhuvan

  • Error while creating a pricing condition record.

    Hi
    I am trying to use the Material Group 1 (MVGR1) field from the field catalog to create a pricing condition table(9 series). I was able to create the table with MVGR1 as one of the columns but when I try to maintain condition records in the table, System gives me the following error. I have maintained certain values in the config for material group1. there is neither F4 values for the field Material group nor I can type in config values of MVGR1 in that field. I am getting this error. Any help on how to get past this issue will be highly appreciated.
    Thanks
    Object Material group 1 not provided with characteristic AS. (Note other fields!)
    Message no. VK432
    Diagnosis
    The value entered in a field is not permitted.
    System response
    The system issues an error message.
    Procedure
    Check the entry and make the necessary corrections. Note any relationships between the individual fields. Entries in other fields may also be incorrect.
    Example: There are two fields for maintaining the country and region. These fields are linked. The country chosen would be permitted if it were by itself. So would the region. But the region may not be in the the country chosen. In this case, an error message is issued. The country should then be corrected, not the region!
    Edited by: Suraj Ramakrishnan on Dec 24, 2009 2:45 AM

    Message no. VK432
    Check note 750841
    thanks
    G. Lakshmipathi

  • Error While Creating Date type condition query

    Hi All,
    I am getting following error while creating a multiple condition query.
    ERROR:java.lang.IllegalArgumentException: Unexpected field type for D: java.lang.String
    I am pasting the scrap of the code for review below.
    pls note after removing the condition cond6; it works fine, and cond6 is for date type field.
    for(int j=1;j<7;j++){                          
    fd[j] =trd.getFieldDescriptor(arrayHeaderFieldNames[j]);
    BasisFieldType bft1 =  fd[j].getFieldType();
    if (bft1 == BasisFieldType.C) {
      filterOperator[j] = RelationalOperatorType.CONTAINS;       }
    else{
      filterOperator[j] = RelationalOperatorType.EQUALS;
    order[j] =queryFactory.createSortOrder(fd[j],true);
    cond1 =queryFactory.createCondition(fd[1], filterOperator[1], values[0]);
    cond2 =queryFactory.createCondition(fd[2], filterOperator[2], values[1]);
    cond3 =queryFactory.createCondition(fd[3], filterOperator[3], values[2]);
    cond4 =queryFactory.createCondition(fd[4], filterOperator[4], values[3]);
    cond5 =queryFactory.createCondition(fd[5], filterOperator[5], values[4]);
    cond6 =queryFactory.createCondition(fd[6], filterOperator[6], values[5]);
    Condition cond = queryFactory.createCondition(new Condition[]{cond1,cond2,cond3,cond4,cond5,cond6},LogicalOperatorType.AND);
    Please Help!
    Thanks n regards,
    Kapoorchand.

    Hi,
    well that problem is a long time back -. I only have in mind that the date I had to transfer to the quesry was in a "strange" format. Have a lock into the documentation for the date field - your date field is not recognised as a date field from the quesry engine and so this fails - but unfortunately I have no idea at the moment how I fixed it last time - how I converted my date field......
    Sorry, thast I can not give you the real point - but I will have a lock into the old code - hopefully I find it soon.
    Regards,
    Oliver

  • How to create variables in payroll rules

    Hi Experts,
    Can you please let me know how to create variables in payroll rules and how to assign values to them.
    Please share some documentation on this topic.
    Thanks so much,
    Uttama

    Hi Vijay,
    Variables can be created for -
    Char Values
    Texts
    Formula elements
    hierarchy and its nodes
    For Characteristic Values -
    These are used to be filled by user in the query selection screen
    1.In the filter tab of QD, select the characteristic for which you want to create a variable,right click - >Restrict
    2.Select variabes from drop down
    3.Click Create new variable and then define its properties like "Processing By",Settings in Details tab etc and save it
    4.Move it to the right side and click ok
    Now you have created a variable and used it as a placeholder for that characteristic for which user can enter the value to act as dyanmic entry.
    Regards,
    Vineeth

  • Using process variables in conditional transition

    HI,
    I am usin Oracle BPM 1.03
    I wanto to have a value of a variable visible in the user's inbox. Therefore, I need to use project level variables.
    I also want to use this variable in conditional tranistion, but the condition editor only allows Instance level variables.
    Am I overlooking something? Is there an easy way to use project variable in conditional transtions?
    Matej

    you should be able to manually type the transition condition on the properties tab.
    xArea == "MyArea"
    where xArea is a Project Variable

  • How to bind data from script created variable to embed element of XML schema (xsd) in "Data View"

    Hi, i have got another problem with livecycle designer scripting.
    I have got script line which is defining of string variable:
    var aaa = "this is my string";
    and i have got embed XML schema like this (it`s only short part of whole file):
    ... xs:element name="bbb" type="xs:string"/ ...
    After saving data to XML i would like to get "this is my string" as a value of my "bbb" XML element.
    To save this data i`m using submit button which is connect with submit.php file on my server.
    How to connect script created variable and embed XML schema element which is present on my "Data View" tab.
    Please help me a bit becouse i don`t know even where to search answer of it...
    Of course i know possibilities to create fake unvisible text field object and bind it with 'bbb' and than put "this.rawValue = aaa" to connect those two variables but i think that is not a good idea to solve it in that way. It`s too primitive

    i solve it, i should write this:
    xfa.datasets.data.bbb.value = aaa;

  • How to create variables at runtime

    Hi,
    I need to know how can i create variables at runtime.
    or is their anything like array that we create in 'C' if yes . how can i define its size at runtime.
    Thanks,
    Dev.

    In forms, either record groups or pl/sql tables of records give similar functionality to an array. You have full programatic control of either but with completely different syntax. Record groups integrate well with certain forms built-ins and features (eg LOVs and Tree items). PL/sql tables integrate well with other pl/sql such as stored procedures. Unlike an array, a pl/sql table may be SPARSE (index numbers need not be sequential), and UNBOUNDED (no need to declare the number of rows).

  • Creating variables in a java swing program useing event

    This is my code:
    *Old School Calculator
    *@Collin Doering
    *Version 2.00
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class OSC {
         private static void createAndShowGUI() {
              int first = 0;
              int second = 0;
              int third = 0;
              int fourth = 0;
              int fifth = 0;
              int answer;
              System.out.println ("Calculations");
              System.out.println ("-------------");
              JFrame.setDefaultLookAndFeelDecorated(true);
              JFrame frame = new JFrame("OSC");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    JButton button1 = new JButton("1");
    button1.setMnemonic(1);
    button1.addActionListener
         new ActionListener() {
              public void actionPerformed (ActionEvent e) {
    first = 1;
    //This is when the error says "Local variable first is accesed from
    with in inner class; needs to be declared final;
                   System.out.println ("first = ");
    JButton button2 = new JButton("2");
    button2.setMnemonic(2);
    button2.addActionListener
         new ActionListener() {
              public void actionPerformed (ActionEvent e) {
                   System.out.println ("Second = ");
    JButton buttonx = new JButton("x");
    buttonx.addActionListener
         new ActionListener() {
              public void actionPerformed (ActionEvent e) {
                   System.out.println ("answer: ");
    JPanel panel = new JPanel(new GridLayout(10,10));
    panel.add(button1);
              panel.add(button2);
              panel.add(buttonx);
              frame.getContentPane().add(panel);
    panel.setBorder(BorderFactory.createEmptyBorder(
    30, //top
    30, //left
    10, //bottom
    30) //right
    frame.pack();
    frame.setVisible(true);
         public static void main(String[] args) {
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    I am trying to create variables so i can make a calculator (right now i only have buttons 1, 1 and multiply). //This is when the error says "Local variable first is accesed from
    with in inner class; needs to be declared final; then when i declare it final it says <identifier expected>. Could some one please help me. thanx.

    Please post code within code tags (press the "code" button).
    Why are you using an inner class? Simplify:
    public class OSC implements ActionListener {
    button1.addActionListener( this );
    public void actionPerformed( ActionEvent e ) {
        if ( e.getSource() == button1 ) . . .

  • Creating variables in BO using BO SDK

    Hi,
    We can create variables which can be formulas applied on objects using infoview.
    Is there any way, these variables can be created using java BO SDK?
    Please paste some sample code for us.
    Cheers,
    Shruti

    Please find below a snippet code based on java managed RAS api that adds a formula onto the report. I hope this answer your question.
    <%@ include file="logon.jsp"%>
    <%
        ReportClientDocument oReportClientDocument;
        IReportAppFactory oReportAppFactory;
        IInfoObjects oInfoObjects=null;
         IInfoObject oInfoObject=null;
         String reportName = "SimpleRCAPIReport.rpt";
        // Retrieve report to be modified
        oInfoObjects = iStore.query("Select * from CI_INFOOBJECTS where SI_PROGID = 'CrystalEnterprise.Report' and SI_INSTANCE = 0 and SI_NAME = '" + reportName + "'");
         oReportAppFactory = (IReportAppFactory)es.getService("", "RASReportService");
         oReportClientDocument = oReportAppFactory.openDocument((IInfoObject)oInfoObjects.get(0), 0, java.util.Locale.ENGLISH);
         // First create the formula field
         FormulaField newFormulaField = new FormulaField();
         //  Set the parameters (assume it's a string and Crystal Syntax)
        newFormulaField.setText("{Customer.Contact First Name} + ' ' + {Customer.Contact Last Name}");
        newFormulaField.setName("CustomerName");
        newFormulaField.setSyntax(FormulaSyntax.crystal);
        newFormulaField.setType(FieldValueType.stringField);
        // Now add it to the report
        oReportClientDocument.getDataDefController().getFormulaFieldController().add(newFormulaField);
         // Now that the formula has been created, add the newly created formula to the report
         // First determine which section to add the formula field to - in this case the details section
         ISection sectionToAddTo = oReportClientDocument.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0);
         // Get back all the formulafields in the report
         Fields formulaFields = oReportClientDocument.getDataDefController().getDataDefinition().getFormulaFields();
         int formulaFieldIndex = formulaFields.find("{@CustomerName}", FieldDisplayNameType.formulaName, java.util.Locale.ENGLISH);
         Field formulaField = (Field)formulaFields.getField(formulaFieldIndex);
         // Set the type of field this is
         formulaField.setType(FieldValueType.stringField);
         // Now create a new Field object which will be added to the report
         FieldObject oFieldObject = new FieldObject();
         // Set the datasource of this field object to the formula form of the above Database Field Object
         oFieldObject.setDataSourceName(formulaField.getFormulaForm());
         oFieldObject.setFieldValueType(formulaField.getType());
         // Now set the co-ordinates of where the field will go
         oFieldObject.setLeft(8000);
         oFieldObject.setTop(1);
         oFieldObject.setWidth(1911);
         oFieldObject.setHeight(226);
         // And finally Add it to the report
         oReportClientDocument.getReportDefController().getReportObjectController().add(oFieldObject, sectionToAddTo, -1);
         // Now display the report
       session.setAttribute("reportSource", oReportClientDocument.getReportSource());
       response.sendRedirect("CrystalReportViewer.jsp");
    %>
    Cheers
    Alphonse

  • Creating variables in Process Flows and using thse variables in the filter

    Hi,
    I am new to OWB and in learing stage. Need to information.
    *1. as to how pass/create/use variables to OWB mapping ?*
    *2. Creating variables in Process Flows and using thse variables in the filter operator of the OWB mapping?*
    *3. Other mechanisms of how to create/use variables within OWB mapping itself ?*
    can you please provide the above details and guide me / help me in this regard.
    Thanks,
    skms.

    1. Add parameters to your mapping using the MAPPING INPUT PARAMETER from the pallette.
    2. Add parameters to the START operator in the process flow. Bind the process flow parameter to the Mapping parameter.
    3. May be appropriate to use CONSTANTS instead of parameters.
    Regards
    Si

Maybe you are looking for

  • Safari won't open. "it quit unexpectedly"

    Safari was working a few hours ago. Clicked software update. Plugged it in, put it aside, watched a tv show. Checked on it and it was ready to restart and install update. Did that. Watched a dvd on the laptop. Then browsed itunes with no problem. Aft

  • How do I save files from my HD onto Time Machine?

    If I delete files on my hard drive to free up space (i.e., movie files that I want to save in an external harddrive), time machine will not keep these files for me on my external harddrive, since time machine just backs up what is in Macintosh HD. Ri

  • Assertion:   (../links/prepexpression.cc, line 75)

    >> Assertion: (../links/prepexpression.cc, line 75) while processing x.cpp at line 0. Hi , I am using gmake -j4 for my build.. I am using the 6.2 compiler . Any hints would help me. thanks in advance

  • Import Crystal Report to Portal

    I'm investigating the possibility of displaying crystal reports in Portal iViews. Those crystal reports will be reading off BW and R/3 data sources. I've run into different questions and they are: 1) Should I save the crystal reports in BW repository

  • Creating links using Java

    I am using Java code to develop an FAQ tool. I would like to provide links (html links) in the applet. When user clicks on the link the appropriate URL should open in the browser (same like the anchor tag of HTML.) Can anybody suggest how this can be