Plott one data serie on a secondary axis with ABAP code

Hello to all from Portugal.
I´m using for the first time the functionality of the graphics is SAP.
I want to plott one data serie on a secondary axis by ABAP code but I´m having some difficulty.
The following SAP help site describes what I intend to do: http://help.sap.com/saphelp_nw04/helpdata/en/0b/ac553bf3a76258e10000000a114084/frameset.htm
The standard program GFW_DEMO_PRES1 is an good example.
Someone can help me in that case? How can I format an Data Serie in the secondary axis in ABAP code?
Thanks and regards.
Bruno

hi
good
go through this link
http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/f1/0a551ce09411d2acb90000e829fbfe/frameset.htm
thanks
mrutyun^

Similar Messages

  • How do I initialize a secondary axis with report generation vi's

    I have two cloumns of data. one is around the range of 10 and the
    other one is in 100 range. I want to display these two columns in the
    same graph. Can i use the secondary axis for my second column. Is it
    possible using repport generation VI's. The other question is can I
    specify which coloumn I want to use on x-axis and y-axis.

    Hello Mudda,
    It looks like you are trying to view two groups of data in the same
    graph, and then send that graph to a report.
    If your two columns of data are in separate arrays, you can use the
    �Build Array� function to combine those arrays into a two-dimensional
    array (see �Graph Waveform Arrays.vi� example, which can be found
    under Help >> Find Examples).
    A two-dimensional array can be wired directly into a graph. The two
    arrays will show up on the graph as different plots (in different
    colors), both on the y-axis. The data in the 10 range will show up
    lower than the data in the 100 range.
    If you want to plot your two data columns against each other on
    different axis, wire a two-dimensional array into an �XY Graph� (see
    �XY Graph.vi� example, which can be
    found under Help >> Find
    Examples).
    To view a graph in a report using a report generation VI, use the
    �append front panel image to report� VI. The LabVIEW Report
    Generation Toolkit for Microsoft Office will provide more report
    functionality for adding graphs to Word and Excel, if you do not
    already have it.
    If these suggestions are not exactly what you are looking for, please
    post more information so I can better assist you; or, ideally, attach
    this portion of your application to examine. Have a great day!
    Robert M
    Applications Engineer
    National Instruments

  • FIltering data in a DTP with abap code.

    Hi all:
    I want to select data dinamically in a DTP.
    I am using abap coding. My problem is that I need to select data from the month that is contained in another field in the source DSO.
    Example:
    - Select data based on 0FISCPER
    - The determination of the combination month/year for 0FISCPER is done based on the field DATE1 existing in the source DSO.
    How can I have available the field DATE1 in my calculation in the ABAP?
    No matter how I write it, always I receive "Field DATE1 is unknown".
    Some ideas?

    Hi Raj,
    I'm not completely aware of the requirement. However, you can try filtering the source package in the start routine using the DATE1 field rather 0FISCPER in the DTP.
    The same logic of obtaining the Month and Year can also be obtained in the start routine.
    Please elaborate your requirement .
    Regards,
    Sudheer Kurra.
    Edited by: Sudheer Kumar Kurra on Jan 18, 2011 1:27 PM

  • Showing data series for two charts on one

    Hi
    I need to represent 2 sets of data on one chart. The first is a linebar chart and the second is a scatter chart. This can be done in Excel by adding multiple named data series.
    Is this possible with crystal report 2008.
    Thanks

    I'm a bit late to discussion, but this is I think the most relevant post I could find.
    I have the same problem - displaying multiple data series on the same chart (line chart or scatter by date).  My problem is complicated by the fact that number of series also depend on the data point.
    Essentially I need to plot readout of test in a monitored room where different number of sites maybe tested depending on the room.  So one room might have three data readouts (three sites), and another five (five sites), and when charting by room, one chart will have three series, and another five.  So even considering using overlapping transparent charts, there are issues of conditionally enabling/disabling the whole chart, of determining maximum number of charts (and room might have dozens of test sites) and also displaying appropriate legend(s).
    There must be a better way!
    TIA,
    Andrey.

  • Data Series Missing in the chart.

    Hi ,
    I have included 4 data series in the chart item.
    But its displaying only one data series in the output.
    that is its displaying only the last series. for eg
    i have included Data series1,Data series2,Data series3,Data series4,
    in output its displaying only Data series4.
    what settings i have to make inorder to get all the four data series to be displayed.
    Please Help.
    Thanks
    Tulsi
    Edited by: Thulasi ram on Jun 16, 2008 9:34 AM

    Hi,
    GML File is developed when you are developing your apllication.
    Procedure to Send the GML.
    Click on Model Menu bar in the Tool bar->select Export option
    Then Zip it and send to me
    Regards,
    Govindu

  • Graph & Chart: select and colour single element of data series

    Hi,
    my question is about formatting Keynote graph: i.e. bar graph 2d or 3d, is it possible select and colour differently a single element of series? In Powerpoint exists that possibility, but in Keynote I can't find the way to select only one element. If I change colour, all series elements change.
    Thanks in advance
    Antonella

    Hi Pasha ,
    yes, i am quite sure that bars are overlapping and checked with the 3 options you have mentioned.
    3. I have tried streching the graph horizontally but still the same display.
    2. I did moved to mouse to the edge points of bar .. it only mentioned one data series instead of two
    1. See if the db column contains NON-ZERO values ? ..
    I am not sure of it but when deploying the model in VC , i got a warning message saying " Zero fill is checked without Max length in field "Gross Turnover Actual " of entity " query name "
    Let me know, how this efffects the display and what do i need to do to resolve the issue .
    Appreciate your valuable inputs ...
    Thnks,
    NR

  • Overlapping of data series in Combo Chart

    Hi All,
    We are working on VC7.0
    I have three data series elements and I would like to display them in a combo chart with two columns and a line .
      ( 1.Actual Gross Turnover - Column
        2. Planned Gross Turnover - Column
        3. Actual Gross Turnover prior Year - Line )
    I tried with different options present there in Configure Element , but the two columns overlap with each other i.e the highest column is overriding the lower column.
    Can someone help me out in this ?
    Thnks,
    NR

    Hi Pasha ,
    yes, i am quite sure that bars are overlapping and checked with the 3 options you have mentioned.
    3. I have tried streching the graph horizontally but still the same display.
    2. I did moved to mouse to the edge points of bar .. it only mentioned one data series instead of two
    1. See if the db column contains NON-ZERO values ? ..
    I am not sure of it but when deploying the model in VC , i got a warning message saying " Zero fill is checked without Max length in field "Gross Turnover Actual " of entity " query name "
    Let me know, how this efffects the display and what do i need to do to resolve the issue .
    Appreciate your valuable inputs ...
    Thnks,
    NR

  • SP2010: Different colors for chart bars in Chart Web part with single data series?

    Hello,
    I've been asked to create a chart for visual display and summary of Status values within a SharePoint list of job positions. The list of positions includes a Status field with the only values being Open and Closed. I created a page that shows the list, and
    at the top I inserted a Chart Web part that displays two bars - one showing the number of Open positions and one showing the Closed positions. Because I was having difficulty getting the totals for each Status value to show up in the chart, I followed
    the instructions at
    http://highbrowse.wordpress.com/2012/07/04/chart-counts-from-sharepoint-lists/ and pointed my chart at the new "Status values" list - this worked well to display the sum counts for each of the two Status values in separate bars.
    This was all fine and good, except that because I am only using one data series for my chart, both of the bars (for Open and Closed) show up as the same color. I've been asked to make them different colors but cannot figure out how to do so. Can someone
    provide guidance on how I could make the two bars different colors? Thank you so much.
    cheers

    Hello,
    as far as I know, the chart web part does not have any settings to change the color of individual data points or plot data points of a series in different colors. If you only have two values in the series, you could use a pie chart instead of the column
    or bar chart. In a pie chart, the different slices have different colors.
    cheers, teylyn

  • Printing problem with HP deskjet 3050 all in one J610 series

    I have a HP deskjet 3050 all in one J610 series which I am using with Windows Vista Version 6.0 (Build 6006: Service pack 2).  Connecting is by USB port.  I have not used the printer for some time, but have done all the maintence checks & it is good to go.  When I want to print a letter the only thing that gets printed is the email address which is coloured blue.  I think the problem is in the settings of the printer features.  I can print the letter in gray scale but this is not easy to read and not suitable for business dealings.
    I would appreciate help with this problem.  A definition of the terms used in the printer features might help me resolve it by my self.
    Thanks
    This question was solved.
    View Solution.

    Hello @Tellen,
    Thank  you for visiting the HP Support Forums! I understand you are running into some print quality problems with your HP Deskjet 3050. I see when you attempt to print a letter you will only see the email address and its in blue ink.
    First I would like you to click here to download and run the Print and Scan Doctor > www.hp.com/go/tools- It was designed by HP to provide users with the troubleshooting and problem solving features needed to resolve many common problems experienced with HP print and scan products connected to Windows-based computers.
    What does the PSDR find? If you are still not getting black text, please continue here: Fixing Print Quality Problems for the HP Deskjet 3050 (J610) All-in-One Printer Series
    If after the troubleshooting has been done and you are still seeing the issue leave me with the following information:
    1. What is your current Operating system, Windows or Mac and which version?
    2. How is the printer connected, USB or Wireless?
    3. If you print a test page from the front panel do you see the same issue?
    I hope to hear from you soon.
    HevnLgh
    I work on behalf of HP
    Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to the left of the reply button to say “Thanks” for helping!

  • ABAP code for Date Range

    Hi All,
    I have requirement to write code for date range.
    Characterstic = Run-Out Date, it was created reference to 0Date.
    Requirement is data should load depends on Run-Out Date 7 days old and 14 days future.
    Logic is -7 days old >= Run_out date <= 14 days future.
    please let me know how I need to proceed with ABAP code for this requirement.
    Thanks.
    Please do not ask for ABAP code here. Its not a training forum
    Edited by: Pravender on Aug 18, 2011 1:46 AM

    >
    Sree vignesh wrote:
    > Hi,
    > In the select option we have a field month range as
    > SELECT-OPTION : FROM 01.2007       TO  01.2009 " Let say Ur Selection option is SO_MONTH
    > but now i need to add the DMBTR field considering the month range in the SELECT OPTION i.e., only FROM 01.2007 TO  01.2009 i mean without 2006 data.
    >
    > LOOP AT LT_DATA WHERE month in SO_MONTH. " Here add a Where condition
    >     ls_output-matnr = lt_data-belnr.
    >     ls_output-werks = lt_data-bukrs.
    >     ls_output-lgort = lt_data-dmbtr.   
    >
    >     COLLECT  ls_output INTO lt_output .
    >
    >   ENDLOOP.
    >
    > please help with code .
    >
    > thanks in advance.
    Regards,
    Suneel G

  • Data Source enhancement with ABAP....

    My requirement is to enhance Z data source to include 
    bonus_cat,perfinc and active from ztrm_labdlycat table.
    For that reason i appended the extract structure and in CMOD included the following code in EXIT_SAPLRSAP_001 as this is transaction data source
    <b>CODE:</b>
    case i_datasource.
    when ' Z_TRM_LMS'.
      Loop at case i_datasource.
    when ' Z_TRM_LMS'.
      Loop at i_t_data.
       Select single bonus_cat perfinc active from ztrm_labdlycat into
              i_t_data-zzbonus i_t_data-zzperf i_t_data-zzactive
               Where locat = i_t_data-locat and
                     exrsn = i_t_data-exrsn and
                     apobj = i_t_data-apobj.
        Modify i_t_data.
      Endloop.
    Endcase.
    <b>ERROR</b>
         The field "I_T_DATA" is unknown, but there is a field with the similar name "C_T_DATA".     
    I am new to BW and not familiar with ABAP code...please update me on this how can i correct error
    Thanks

    Include the into clause within bracket.
    Select single bonus_cat perfinc active from ztrm_labdlycat into
    (i_t_data-zzbonus, i_t_data-zzperf, i_t_data-zzactive)
    Where locat = i_t_data-locat and
    exrsn = i_t_data-exrsn and
    apobj = i_t_data-apobj.
    But its not good practice to include ‘Select’ Statement inside Loop..endloop.
    You can create a separate internal table with the three fields and fill it with single select.
    Then you can use read statement inside your loop..endloop.
    The code will be like.
    TYPES: begin of ty_data,
    Locat  (INCLUDE THE VARIABLE TYPE),
    Exrsn (INCLUDE THE VARIABLE TYPE),
    Apobj (INCLUDE THE VARIABLE TYPE),
    bonus_cat  (INCLUDE THE VARIABLE TYPE),
    perfinc (INCLUDE THE VARIABLE TYPE),
    active (INCLUDE THE VARIABLE TYPE),
    End of ty_data.
    Data: i_data type ty_data occurs 0 with header line.
    Select locat exrsn apobj bonus_cat perfinc active from ztrm_labdlycat into corresponding fields of table i_data.
    Loop at i_t_data.
    Read table i_data with key
    locat = i_t_data-locat
    exrsn = i_t_data-exrsn
    apobj = i_t_data-apobj.
    If sy-subrc = 0.
         I_t_data-bonus_cat  =  i_data-bonus_cat.
         I_t_data-perfinc =  i_data-perfinc.
    I_t_data- active = i_data- active.
    Modify i_t_data.
    Endif.
    Endloop.

  • Data load with ABAP control

    Hi:
    I need to load the data to a Cube with ABAP code in info-Package.... but am a Novice in ABAP..!
    Need your help.
    I need to load the data to the Cube only the records thta have "NETDUEDATE" gretaed than System Date
    (SY-DATUM) and drop the records that do not meet the condition. 
    Not sure what would be the code / syntax for putting this condition!
    Appreciate your help.
    Thanks....Pbs

    Hi PBS,
    You can write a ABAP logic for your requirement. In the data selction tab of the Info-package, give the type as abap routine and the variable in the type. You can implement the logic with IF-ENDIF condition.
    Reffer:
    ABAP routine in Infopackage
    ABAP Routine in InfoPackage.
    Regards,
    Satyam

  • I want data series in Keynote chart to enter one at a time.

    In older version of Keynote, data series can enter one at a time. In version 6.2, seems all series enter at once. Can different series be made to enter one at a time in Keynote 6.2?

    Select the chart
    Inspector > Animate > Build IN > Add an Effect
    choose an effect
    in the Delivery drop down menu select;   By Element in Series

  • How to add a secondary axis on a excel graph with labwindowsCVI?

    Hello,
    I am currently working on LabWindowsCVI and I treat my data in excel files. I use ExcelReport and Excel2000 instruments to build my data tables and my graph. To trace, I use this function:
    ExcelRpt_ChartWizard (chartsheetHandle, ExcelWorksheetHandle, "A1: C619" ExRConst_XYScatterSmoothNoMarkers 0, ExRConst_Columns, 1, 1, 1, "Consumption mobile plateform", "TIME (sec)", "Current / Voltage (in V & A in)" , NULL);
    In this configuration, column A is X axis and B & C (Y axis) my respective data voltage & current.
    My graph are traced correctly, but I find a problem, 2 curves are on the main axis and I want to trace one on the main axis and the other on the secondary axis. I can't to display a secondary axis.
    Does this action is it possible with a LabwindowsCVI function and if so, can you tell me that function?
    Thank you in advance,
    Nicolas
    Solved!
    Go to Solution.

    Hi! nlepouliquen,
    First of all, I believe you have two curves successfully plotted on the chart as you mentioned.  Excel asigns these two curves as data series 1 and 2 internally.  Assume you want to change series 2 to be plotted against the sencond Y-axis.  You can use the following two functions, defined in excel2000.c, to do it.
    // select series 2 data
    Excel_ChartSeriesCollection (chartsheetHandle, NULL, CA_VariantInt(2), &seriesTwoHandle);   
    // create the second Y-axis and plot series 2 data against it
    Excel_SetProperty (seriesTwoHandle, NULL, Excel_SeriesAxisGroup, CAVT_LONG, ExcelConst_xlSecondary);

  • SSRS Bar Chart grouping date series into Months, setting scaler start and end ranges

    I've been trying to solve this issue for a few days now without writing a sql script to create a "blank" for all of missing data points so that I get a bar for each month.  I have date series (by day) data points grouped by two items
    that creates a set of bar charts.  EG:  one chart per product in the tablix detail grouped to site level.
    My issue is I would like the start and end of the charts to be the same for all charts and the only way I get it to work is with a chart that continues to show each date on the chart. 
    EG:
    I have the graph start and end points set and scaling by month as I would like but each bar is a day instead of aggregating to a month level.   My issue I hope to find a workaround for is if I go to Category Groups and define the grouping
    to group with a year and month function the series is no longer treated as date data and I cannot control scaling.  It works fine if all months have activity, but I can't figure out how to always have all charts start at "May 2012" in this example. 
    The only start and end point that I've been able to get to work once doing this are integer based, eg normal start would be 1 for each graph, but 1 doesn't equate to the same month from chart to chart.
    I hope SSRS can provide the solution.  I do know I can write a query that creates a ZERO value for each month/product/site but I don't want to leave the client with a query like that to support.
    -cybertosis

    Hi cybertosis,
    If I understand correctly, you want to display all month category label in the X-Axis. You have configure the Scalar Axis, however, it cannot display the requirement format.
    In your case, if we want the specific data format, we can configure Number property to set the corresponding Category data format. Please refer to the following steps:
    Right click the X-Axis, select Horizontal Axis Properties.
    Click Number in the left pane. Click Date option in the Category dialog box.
    Then, select Jan 2000 option.
    Please refer to the following screenshot below:
    If there are any misunderstanding, please feel free to let me know.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

Maybe you are looking for