How to Create Charts with the variable value

Hi,
I have to create a crystal report in which i have given variable under "Facility:". I have kept two variables under facility of which one is like you can select one or more values and other one u can select only one value and i mentioned it as mandatory.
What i wanted is, I have to create a bar chart based on the facility . I also want to create a pie chart using the value of facility which comes from the mandatory variable.
To be more clear, I selected two facilities, say X & Y under the first variable and one facility, say Z under the second variable (mandatory). I was able to prepare bar chart with these three facilities. Now i want to prepare a pie chart using the value Z.
Can anyone please help me out?

Likely a bug in the ChartBuilders or the JDK.
ScatterChartBuilder.<Number, Number>create().build(); // does not work either.javac is unable to determine if the create() method from SceneChartBuilder or the create() method from RegionBuilder should be applied.
The AxisBuilders which also derive from RegionBuilder work because they don't define their own create method with obscure generic type info.
How can I resolve the ambiguity?new ScatterChart ;-)

Similar Messages

  • How to Create IView with the HTML Content

    Hi Friends,
    Give me steps how to create IView with the static html file.
    Regards,
    Lakshmi Prasad.

    Hello thr...
    follow the below link for the required steps.
    [KM Document iView|http://help.sap.com/saphelp_nw04/helpdata/EN/fc/cf14bcd42911d5994400508b6b8b11/frameset.htm]
    You need to upload the document onto KM. Then you will be able to create the KM Document iView.
    Cheers!!!
    Biroj Patro.

  • How to create table with list/map value binding

    I need to display few values in a tabular format. Is it possible to create adf table without having value binding to a VO object. Can I make a table with some list/map combination.
    I want to change the display format with minimum change in the application. Hence I am looking for a change to define a list/map and map it with the table.
    Following is the structure I need to display in.
    |     |Header1|Header2 |     
    |_______|_______|_______|
    |Txt R1 |value 1 |Value 2 |     
    |_______|_______|_______|
    |Txt R2 |Value 3 |value 4 |     
    |_______|_______|_______|
    All the views does not have any relation. Hence I should not create a VO and adding rows of the VO object.
    Edited by: Jaykishan on Jun 10, 2011 11:34 AM

    Yes, you can do it. Create a pojo with the properties(column) you want to display in the table and create a list with the instances of pojos and then you can populate your table using the list.
    Sample:
    //POJO
    public class SamplePojo {
    private String col1;
    private String col2;
    public SamplePojo(String col1, String col2){
      this.col1 = col1;
      this.col2 = col2;
    //add setter and getter methods
    //Inside bean, prepare a list with pojo instances (Assume a getter exists for pojoList)
    pojoList = new ArrayList();
    pojoList .add(new SamplePojo("Value1", "Value2");
    pojoList .add(new SamplePojo("Value3", "Value4");
    etc.
    //Inside jspx
    <af:table value="#{<Bean>.pojoList}" var="pojo" ...>
       <af:column headerText="Header1" ..>
         <af:outputText value="#{pojo.col1}"/>
       <af:column>
       <af:column headerText="Header2" ..>
         <af:outputText value="#{pojo.col2}"/>
       <af:column>
    </af:table>HTH
    Sireesha

  • How to create colums with the same Field

    Hello every body,
    I have this report only with one field how i can create columns in base of rows for example some times  this field containing 40 rows then I need to create 2 columns of 20 that when is even or 15 then create 2 columns one with 8 rows and the other with 7.

    you can try making the report layout with multiple section. Please the field in detail section and right cick on the detail section and go to section expert and select the option "format with multiple columns" and then go to layout tab and select the each column width and select the printing direction option as down then across and click on OK.
    Now you will be able to see the multi column report.
    regards,
    Raghavendra.G

  • How to create search with the keywords

    hi guys,
    Actually am tryign to create a search engine which will be doing a search on simple txt files.
    Now let me explain,
    Say am entering a keyword like "hello world" now i need a specific search for the key word i typed, it should list out the output which should show only the files which have the keyword "hello world" doesn't matter the case sensitivity part. Hope u understood wht really am lookin forward.If u have any doubts or any concerns plz get back to me.Please get back to me with some inputs.
    thanks in advance
    best regards
    sandy

    The relevant classes are in the java.util.regex package, and the javadocs are pretty good. If you don't know anything about regular expressions, you'll probably need to read up on them--try a Google search on "regular expression tutorial". And if you're really interested, the book Mastering Regular Expressions, by Jeffrey Friedl, is excellent (be sure to get the 2nd edition, which has a chapter devoted to Java regex support).

  • How to create reports with the prompts like the pre-defined reports ?

    We are analyzing pre-defined report: Historical Pipeline Analysis. When executed we can see the prompts for Pipeline Fiscal Quarter and Pipeline Fiscal Year.
    If we open this analysis I cannot see how this prompt have been built.
    If I save this pre-defined report (without any change) to My Folders and execute it from here, the prompts are gone.
    I´d appreciate any help.
    Antonio

    I have the same issue. The prebuilt reports are actually dashboards, which is why the dashboard prompt filters show up.
    I'm not sure how they get it to be a link like that on the reports tab (since the link doesn't point to a dashboard URL ).
    Any idea how to get this same effect assuming I built the dashboard/prompt around updated report?

  • Open a crystal report from WAD with passing  the variables values

    Hi,
    I need to know is there any way to link SAP WAD to crystal reports (open a crystal report from WAD)and pass the values of the variables which are entered in the Web App. (e.g. Customer id,year) should be passed to the Crystal Report.
    Maybe we need to pass parameter by WAD URL but this is just my assumption and have no idea how to do this with passing variable values.
    right now I know the method of how Bex queries which are used as data source for crystal reports but in my current scenario we have the structure like this that bex queries link with WAD and then WAD is linked with crystal reports.
    No doubt that Crystal report is target option in RRI but there the source is Bex Query only but in current scenario we are looking  WAD (web template) as a source to crystal report or crystal report called in WAD.
    Please suggest something on same.
    Thanks
    Take care
    Vishal sharma

    Hello Vishal.
    Did you find a solution for this problem?
    I'm facing right now the same problem, I need a way to link SAP WAD to crystal reports (open a crystal report from WAD) and pass the values of the variables which are entered in the Web App. (e.g. Customer id,year) should be passed to the Crystal Report.
    Have found an answer to this issue? If yes, please kindly inform how have you solved this.
    Best Regars
    Armando Santos

  • How I can gain the variable value in web-application?

    Hi,
    I have a web-template with several web-item. The data provider refers to a query with a variable screen.
    After the report run and the table is displayed, i have need to set a paticular filter-item with the variable value that i put in pop-up screen.
    Therefore I am trying a function or method in order to pass the variable value (pop-up variable).
    Help me, Thanks in advance

    Hi Ciro,
    in the Web item properties of the Text element web item you can specifically select in the ITEM_LIST a list of text elements. For variables you can choose if you want to display text or key values. This should work for the print template.
    With the Excel display I'm a bit unsure. There is a BEx Function called SAPBEXshowTextElements that allows you to display the variable values. I just don't know if you can execute it in the SAPBEXonRefresh. You can find additional information in the BW help under Business Explorer->Analysis & Reporting: BEx Analyzer->Queries in Workbooks->Integration with Visual Basic for Application (in the BW 3.1 documentation).
    Another thing that might work is to add another navigational attribute to the needed InfoObjects with reference to the InfoObject. While loading Master Data you can fill the navigational attribute with the same value as the characteristic. Then you can drag the variable into the filter and put the Navigational attribute into the query.
    Example: You have the IO 0COSTCENTER that you want to put a filter on. Create an IO COSTC_N (Costcenter Navigation) with reference to 0COSTCENTER and insert it into 0COSTCENTER as navigational attribute. While loading Master Data for 0COSTCENTER fill COSTC_N from 0COSTCENTER.
    In the query put COSTC_N into the filter box and create a fitting variable. 0COSTCENTER can now be displayed in the rows and the filter values for COSTC_N are displayed in the query.
    Best regards
       Dirk

  • How can i insert the variable value in MS ACCES Query

    i am creating one Query (query1) in MS ACCESS ( like we creaate Tables, Forms and Reports in MS ACCESS ) in this Query i have given 2 constent value in BETWEEN CLAUSE , after that i Created a CROSS QUERY which is based on the privious Query (query1).
    Now i want to insert the variable value using JSP and HTML in to Query(query1).
    Doing this i want to execute the Query (query1) with variable perameters and
    wants to get the risponce form CROSS QUERY.
    In this matter how can i insert the value in Query(query1) using JDBC and JSP.

    The query is
    Select ZMSGMAP.GROUP_CODE as 'group', ZMSDSTATE.STATE_DESC as 'state', ZMSTRN.YRMON, sum(ZMSTRN.CMAQTY) as 'qty' from ZMSDSTATE,ZMSGMAP,ZMSTRN Where ZMSTRN.STATE=ZMSDSTATE.STATE and ZMSTRN.PLANT=ZMSGMAP.PLANT_CODE and ZMSTRN.YRMON between "+p1+" and "+p2+" Group by ZMDGMAP.GROUP_CODE, ZMSDSTATE.STSTE_DESC, ZMSTRN.YRMONUsing this query i m trying to display the risult but the YRMON is displaying in a single column, i want to display it ia seperat columns. here p1 and p2 is YRMON(it is the yer month like 200102), for this solution i have created Cross table Query which is based on uper Query (query1) and design it column wise Display, it is givng the right display, but the problem is this i m not getting the technique throw which i can insert the variable values in to the query1 (which is designed in MS ACCESS).
    u can contact me on [email protected] for more details.

  • How to change the variable value format in Ip workbooks

    Dear Experts,
    How to add zeros to a vaiable value before passing to a planning function in BEx analyzer?
    eg: 'ZPRCTR_VAR1' (For Infoobject 0PROFIT_CTR)
    User enters value 20 for 'ZPRCTR_VAR1' , but the system know only '0000000020'. I wrote a user exit like this, but nothing happens and I get variable value 20 is incorrect, planning function cannot execute. Please advice .
    DATA ZDIVISION   TYPE /BI0/OIPROFIT_CTR.
    DATA ZDIVISION1   TYPE /BI0/OIPROFIT_CTR.
    WHEN 'ZPRCTR_VAR1'.
         IF i_step = 2.
          LOOP AT i_t_var_range INTO loc_var_range
            WHERE vnam = 'ZPRCTR_VAR1'.
            zdivision = loc_var_range-low.
           MOVE l_s_range-low to zdivision.
          ENDLOOP.
        ENDIF.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
       EXPORTING
         INPUT         = zdivision
      IMPORTING
         OUTPUT        = zdivision1.
        CLEAR l_s_range.
        l_s_range-sign  =  'I'.
        l_s_range-opt   =  'BT'.
        MOVE zdivision1 TO l_s_range-low.
        APPEND l_s_range TO e_t_range.
    Thanks,
    Gnana

    Hi Gnana,
    you can use de "area value" option when define a button with planning function and variables for passing values to function. These values are in excell cells so you can modify it as you want.
    So imagine that your planning function has only one variable, the command sequence looks like
    CMD                                           1       EXECUTE_PLANNING_FU
    PLANNING_FUNCION_NAME       1       YOUR_FUNCTION
    DATA_PROVIDER_FILTER           1       DATA_PROVIDER_1
    VAR_NAME_1                             1       YOUR_VARIABLE
    and now you delete row with VAR_VALUE_1 and in result area you use for example
    $A$1:$C$1
    Now, cell A1 = VAR_VALUE_1
    cell B1 = 1
    cell C1 = Reference to another cell with your variable value (text item). You can use any excell function for fill 0's
    And now, when you execute planning function you're passing cell C1 as value of your variable.
    Hope it helps.
    Enrique
    Edited by: Enrique Delgado on Jun 3, 2008 7:00 PM

  • How to change the variable value in fox formula?

    Hi All,
        Please help me achieve this scenario,
             in the variable selection screen , i wil give some i/p like, calyear(0calyear) = 2008.
          In planing function using FOX formula, i must be able change the variable value to 2009.
      Will it be possible to achieve this, can we change a variable value using FOX formula, if possible
    please let me knw how to achieve this.
    Thanks n Regards,
    Priya.

    Hi Priyadarshini,
    i dont know what is your requirement exactly.If you can give a better explanation of ur requirement we can help you. But to answer your question yes we can get new values for the variable in the planning function.
    for this you need to couple the planning function together with the planning filter in a planning sequence. This planning filter should have the variable that you wanted to change. In the WAD when you want to call this planning sequence there is an option to call variable screen. If you enable this, it will pop up the variable screen to get this value again.
    Guess this was helpful.
    Regards.
    Shafi.

  • How to create Rules with Flex Field mapping in the bpm worklist

    I Have created a flex field label and was able to map to the flex field attributes .
    But when i try to create a rules , I don't see the label or the flex attributes in the task payload .
    Can someone please help is understanding how to create Rules with Flex Field mapping in the bpm worklist .
    Even I am also searching for any scripts which will take the flex fields prompts and can directly create a label in the bpm worklist .
    Any pointers or suggestion is highly appreciated .

    Hi,
    SE38 -> Enter program
    Select Variants button and display. In the next screen, enter a variant name, (If not existing , press Create to create new one), else click on Change.
    Now the selection screen will display with a button "Variant Attributes" at the top.
    Click on that button.
    In the next screen, go to the selection variable column of the date field. Press F4 or drop down and select 'D' for date maintenance.
    In the column "Name of Variable (Input Only Using F4)" press F4 or drop down, select whichever kind of date calculation you want and save the variant.
    Now whenever you run the prgrm with this variant, date will be displayed by default.
    Regards,
    Subramanian

  • How to change the variable value at run time in logical column in RPD

    for e.g..
    i have used a session variable in logical column in rpd in case statement. now in dashboard prompt i am using that variable to store data which user is passing but the data captured is not getting reflected in the logical column.
    its been always populated with the default value passed through the initilization block..

    resolved myself

  • How to clear the variable value in session store?

    I'll try to build form for search. There are LOV and
    search button on form. When user don't select anything then push
    search button, I'd like the report to show query everything. I
    mean the report will show like condition where id like '%'.
    And I send variable between form to report by using session
    store.
    I select nothing in LOV but value that return by LOV is
    not null. It's in stead of old value of LOV.
    Please tell me.. How to clear the variable value in
    session store? I'd like to set it to null. If you have greater
    way to do like this, please tell me.
    Thank you.

    Please suggest on this..
    Thanks.

  • How to show the variable values in key format in the information tab

    Dear all
      in the information tab of the query, we can see all the filters and the variable value. But we can only see the infoobject <b>text</b> of this variable, how can we do if the user needs to see the <b>key</b> of this variable?

    I've referred to the Web API, and find a way to display some specified variable, but since this is the standard webtemplate and we need to show all the possbible variable used in the query. Anybody has better solution?
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="StaticFilter"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEXT_ELEMENTS"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="CAPTION" value="SAP_BW_TEXT?program=SAPLRRSV&amp;key=722"/>
             <param name="GENERATE_LINKS" value=""/>
             <param name="WIDTH" value="330"/>
             <param name="ELEMENT_TYPE_100" value="VARIABLE_KEY" />
             <param name="ELEMENT_NAME_100" value="0P_WBSO"/>
             <param name="ELEMENT_TYPE_101" value="VARIABLE_KEY" />
             <param name="ELEMENT_NAME_101" value="0P_PRJ"/>
             ITEM:            FILTERS
    </object>

Maybe you are looking for

  • Preselect quotation item during Quote creation process

    Hi, we want to replicate a quotation without items from CRM to R/3. The items will be added later in R/3 (with configuration and pricing) -> cause we dont want to use  the ipc. I read that this is not possible to replicate quotes without items with C

  • External Hard Disk Issue

    I have a Seagate Free Agent external USB hard disk (250 GB) which I had reformatted to FAT32. This draws power from the USB port and seems to work perfectly on my Linux (Fedora Core 8) and Windows (XP) boxes. On the Mac, when it is plugged in, it ask

  • TV comes on but not receiving

    My television turns on and off with the remote, the screen lights up blue, TV in top left corner, but no programs come on.  I do not believe the remote is failing as it works on another TV in the house.  I have checked for loose wiring and find nothi

  • Frenquently i lost the permissions setting

    Some precisions please... I use my set-up installation since september 2005. I make 4 disk with my 160 Gig harddisk which had user permissions for work on differents app . As my son as on his disk all the game app and Tiger is installing on a part of

  • Opening Balance Error

    Hi, While trying to enter opening Balalces using CETRANSACCT Account Iam getting following error, ( SystemMessage       Error )        Internal error (-3) occurred  [Message 131-183] Please tell me how to rectify this. Thanks & Regards Chakrapani Ban