Custom Range-axis values for JFreechart
Hi, I'm using Category Line Charts where range axis I need have specific values as labels: 20/100, 20/80, 20/70, etc, but JFreeChart, draws this automatically according to the series sent into dataset. How can I do to customize this? How do I implement or which plot or render propertie I have to refer the code to call any new class if were possible to do it?
thanks
http://www.jfree.org/phpBB2/index.php
Similar Messages
-
I was trying to create a text alert. I was calling following in jsp
email.setContactPointPurpose(myLookUpCode); //say XXMY_SMS_SHIP
PartyManager.createEmail(email, ApiConstant.CONTACT_POINT);
Getting following exception:
Error in saving customer information.
Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE.
Error trace:
oracle.apps.ibe.customer.CustomerException: Error in saving customer information. at oracle.apps.ibe.tcav2.Email.create(Email.java:187) at oracle.apps.ibe.tcav2.PartyManager.createEmail(PartyManager.java:116) at _oa__html._myfile__ibeMyFile._jspService(_myfile__ ibeMyFile.java:908) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:662) Caused by: oracle.apps.jtf.base.resources.FrameworkException: Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE. at oracle.apps.jtf.util.ErrorStackUtil.getFrameworkException(ErrorStackUtil.java:104) at oracle.apps.jtf.util.ErrorStackUtil.getDBFrameworkException(ErrorStackUtil.java:141) at oracle.apps.ibe.tcav2.Email.create(Email.java:185) ... 11 more Error in saving customer information. oracle.apps.jtf.base.resources.FrameworkException: Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE. at oracle.apps.jtf.util.ErrorStackUtil.getFrameworkException(ErrorStackUtil.java:104) at oracle.apps.jtf.util.ErrorStackUtil.getDBFrameworkException(ErrorStackUtil.java:141) at oracle.apps.ibe.tcav2.Email.create(Email.java:185) at oracle.apps.ibe.tcav2.PartyManager.createEmail(PartyManager.java:116) at _oa__html._myfile__ibeMyFile._jspService(_myfile__ ibeMyFile.java:908) at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119) at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417) at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267) at oracle.jsp.JspServlet.internalService(JspServlet.java:186) at oracle.jsp.JspServlet.service(JspServlet.java:156) at javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456) at org.apache.jserv.JServConnection.run(JServConnection.java:294) at java.lang.Thread.run(Thread.java:662) Value for contact_point_purpose must be a value defined in lookup type CONTACT_POINT_PURPOSE.Tried this but it is giving the below error
APP-FND-01242: Cannot read value from field PER_ASSIGNMENT_ID
Cause: The field PER_ASSIGNMENT_ID could not be located or read.
Action: This error is normally the result of an incorrectly-entered field name string in a trigger, or a field name string that does not uniquely specify a field in your form. Correct your trigger logic to precisely specify a valid field. -
Customized axis value in JFreeChart
I am using JFreeChart 0.921
I have a set of data, for example
x - 0.0, 0.4, 1.3, 1.9, 2.3, 3.3 and
y - 0.0, 1.0, 2.0, 3.0, 4.0, 5.0.
I can make XYPlot, and x-axis scale shows 0 to 4. What I want is to display the scales using the numbers of x, as
0.0 0.4 1.3 1.9 2.3 3.3,
not
0.0 1.0 2.0 3.0 4.0.
Can JFreeChart do this and how? Any examples? Thanks.Then how do I implement into my code
public class Audiogram extends JApplet{
//CategoryDataset dataset;
JFreeChart chart;
ChartPanel chartPanel;
public void init(){
XYSeries seriesAC_Rt = new XYSeries("AC Rt");
seriesAC_Rt.add(0.25, 25.0);
seriesAC_Rt.add(0.50, 25.0);
seriesAC_Rt.add(1.00, 15.0);
seriesAC_Rt.add(2.00, 10.0);
seriesAC_Rt.add(3.00, 5.0);
seriesAC_Rt.add(4.00, 10.0);
seriesAC_Rt.add(6.00, 5.0);
seriesAC_Rt.add(8.00, 5.0);
XYSeries seriesAC_M_Lt = new XYSeries("AC (masked)");
seriesAC_M_Lt.add(0.25, 80.0);
seriesAC_M_Lt.add(0.50, 90.0);
seriesAC_M_Lt.add(1.00, 85.0);
seriesAC_M_Lt.add(2.00, 75.0);
seriesAC_M_Lt.add(3.00, 55.0);
seriesAC_M_Lt.add(4.00, 70.0);
seriesAC_M_Lt.add(6.00, 65.0);
seriesAC_M_Lt.add(8.00, 55.0);
XYSeries seriesAC_Lt = new XYSeries("AC Lt");
seriesAC_Lt.add(0.25, 75.0);
seriesAC_Lt.add(0.50, 75.0);
seriesAC_Lt.add(1.00, 75.0);
seriesAC_Lt.add(2.00, 70.0);
seriesAC_Lt.add(3.00, 50.0);
seriesAC_Lt.add(4.00, 65.0);
seriesAC_Lt.add(6.00, 60.0);
seriesAC_Lt.add(8.00, 50.0);
XYSeries seriesBC_M_Lt1 = new XYSeries("BC (masked)");
seriesBC_M_Lt1.add(0.50, 60.0);
seriesBC_M_Lt1.add(1.00, 65.0);
XYSeries seriesBC_M_Lt2 = new XYSeries("BC (masked)");
seriesBC_M_Lt2.add(1.80, 70.0);
XYSeries seriesBC_M_Lt3 = new XYSeries("BC (masked)");
seriesBC_M_Lt3.add(2.80, 50.0);
XYSeries seriesBC_M_Lt4 = new XYSeries("BC (masked)");
seriesBC_M_Lt4.add(3.50, 60.0);
XYSeriesCollection dataset= new XYSeriesCollection();
dataset.addSeries(seriesAC_Rt);
dataset.addSeries(seriesAC_Lt);
dataset.addSeries(seriesAC_M_Lt);
dataset.addSeries(seriesBC_M_Lt1);
dataset.addSeries(seriesBC_M_Lt2);
dataset.addSeries(seriesBC_M_Lt3);
dataset.addSeries(seriesBC_M_Lt4);
XYDataset ds = (XYDataset)dataset;
// create a chart...
JFreeChart chart = ChartFactory.createXYLineChart(
"Puretone Audiogram",
"Hearing Level in dB",
"Frequency in Khz",
ds,
PlotOrientation.VERTICAL,
false,
true,
false
XYPlot plot = (XYPlot)chart.getXYPlot();
// customise the range axis...
plot.setDomainGridlinesVisible(true);
plot.setDomainGridlinePaint(Color.BLUE);
plot.setRangeGridlinesVisible(true);
plot.setRangeGridlinePaint(Color.BLUE);
plot.setDomainAxisLocation(AxisLocation.TOP_OR_LEFT);
plot.getRangeAxis().setInverted(true);
// customise the y-axis...
NumberAxis rangeAxis = (NumberAxis) plot.getRangeAxis();
rangeAxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits());
rangeAxis.setTickUnit(new NumberTickUnit(10.0));
rangeAxis.setAutoRangeIncludesZero(true);
rangeAxis.setUpperBound(110.0);
rangeAxis.setLowerBound(-10.0);
// customise the x axis...
NumberAxis domainAxis = (NumberAxis) plot.getDomainAxis();
domainAxis.setAutoRangeIncludesZero(true);
domainAxis.setUpperBound(8.0);
/* TickUnits standardUnits = new TickUnits();
standardUnits.add(new NumberTickUnit(0.25));
standardUnits.add(new NumberTickUnit(0.5));
standardUnits.add(new NumberTickUnit(1));
standardUnits.add(new NumberTickUnit(2));
standardUnits.add(new NumberTickUnit(3));
standardUnits.add(new NumberTickUnit(4));
standardUnits.add(new NumberTickUnit(6));
standardUnits.add(new NumberTickUnit(8));
domainAxis.setStandardTickUnits(standardUnits);
// display legends on graph
//StandardLegend legend = (StandardLegend) chart.getLegend();
//legend.setDisplaySeriesShapes(true);
//chart.getLegend().setAnchor(Legend.EAST);
plot.getRenderer().setSeriesPaint(3, Color.MAGENTA);
plot.getRenderer().setSeriesPaint(4, Color.MAGENTA);
plot.getRenderer().setSeriesPaint(5, Color.MAGENTA);
plot.getRenderer().setSeriesPaint(6, Color.MAGENTA);
StandardXYItemRenderer renderer = (StandardXYItemRenderer) plot.getRenderer();
renderer.setPlotShapes(true);
renderer.setShapesFilled(false);
Shape[] shapes = new Shape[7];
int[] xpoints;
int[] ypoints;
// legend shape circle
shapes[0] = new Ellipse2D.Double(-5, -5, 10, 10);
// legend shape x
GeneralPath x = new GeneralPath();
x.moveTo(-5f, -5f);
x.lineTo(5f, 5f);
x.moveTo(5f, -5f);
x.lineTo(-5f, 5f);
shapes[1] = (Shape)x;
// legend shape triangle
//xpoints = new int[] {-5, 0, 5};
//ypoints = new int[] {5, -5, 5};
//shapes[2] = new Polygon(xpoints, ypoints, 3);
// legend shape square
shapes[2] = new Rectangle2D.Double(-5, -5, 10, 10);
// legend shape right angle
//GeneralPath la = new GeneralPath();
//la.moveTo(5f, 1f);
//la.lineTo(-5f, 5f);
//la.moveTo(5f, 1f);
//la.lineTo(-5f, -5f);
//shapes[2] = (Shape)la;
// legend shape left angle
//GeneralPath la = new GeneralPath();
//la.moveTo(-5f, 1f);
//la.lineTo(5f, -5f);
//la.moveTo(-5f, 1f);
//la.lineTo(5f, 5f);
//shapes[2] = (Shape)la;
// legend shape left bracket
//GeneralPath lb = new GeneralPath();
//lb.moveTo(3f, -5f);
//lb.lineTo(-3f, -4f);
//lb.lineTo(-3f, 4f);
//lb.lineTo(3f, 5f);
//shapes[2] = (Shape)lb;
// legend shape right bracket
//GeneralPath rb = new GeneralPath();
//rb.moveTo(-3f, 5f);
//rb.lineTo(3f, 4f);
//rb.lineTo(3f, -4f);
//rb.lineTo(-3f, -5f);
//shapes[3] = (Shape)rb;
// legend shape circle arrow right
Shape tempCircle = new Ellipse2D.Double(-3, -5, 10, 10);
xpoints = new int[] {-5, 4, -6};
ypoints = new int[] {14, 9, 6};
Shape tempTra = new Polygon(xpoints, ypoints, 3);
GeneralPath car = new GeneralPath();
car.moveTo(-5f, -5f);
car.append(tempCircle, false);
car.moveTo(2f, 4f);
car.lineTo(-1f, 8f);
car.append(tempTra, false);
car.closePath();
shapes[3] = (Shape)car;
shapes[4] = (Shape)car;
shapes[5] = (Shape)car;
shapes[6] = (Shape)car;
// legend shape circle arrow left
/* Shape tempCircle = new Ellipse2D.Double(-3, -5, 10, 10);
xpoints = new int[] {1, 12, 10};
ypoints = new int[] {10, 6, 15};
Shape tempTra = new Polygon(xpoints, ypoints, 3);
GeneralPath car = new GeneralPath();
car.moveTo(-5f, -5f);
car.append(tempCircle, false);
car.moveTo(2f, 4f);
car.lineTo(8f, 8f);
car.append(tempTra, false);
shapes[3] = (Shape)car;
DrawingSupplier supplier = new DefaultDrawingSupplier(
DefaultDrawingSupplier.DEFAULT_PAINT_SEQUENCE,
DefaultDrawingSupplier.DEFAULT_OUTLINE_PAINT_SEQUENCE,
DefaultDrawingSupplier.DEFAULT_STROKE_SEQUENCE,
DefaultDrawingSupplier.DEFAULT_OUTLINE_STROKE_SEQUENCE,
shapes
plot.setDrawingSupplier(supplier);
plot.getRenderer().setSeriesStroke(3, new BasicStroke(2.0f,
BasicStroke.CAP_ROUND,
BasicStroke.JOIN_BEVEL,
1.0f,
new float[] {2.0f, 6.0f},
0.0f));
// display chart on panel
chartPanel = new ChartPanel(chart);
chartPanel.setPreferredSize(new Dimension(500, 500));
JLabel image = new JLabel(new ImageIcon("legend.gif"));
Container c = getContentPane();
c.setLayout(new BorderLayout());
c.add(chartPanel, BorderLayout.CENTER);
c.add(image, BorderLayout.EAST); -
Customizing Y-Axis Values in Charts
hi,
We are using the column charts in the design studio 1.3 to display the sales information. In the Y- Axis the max/ Min values are 5000/100000000.
Is there any way we can display the value as 5k,100k, 1000k.etc. in the Y-axis.
Thank You,
PalaniOK, I think I see
Something like this that is in BEx Web?
Formatting Axes and Gridlines - Business Intelligence - SAP Library
"Changing the Position and Number of Tick Marks"
I don't know of a way for Design Studio to do that right now unless another community member has an idea. It might be a good suggestion to make on Idea Place (ideas.sap.com) -
CR Enterprise - Custom y-axis labels for line chart
Hi
I have data with a discrete status (STATUS-1...STATUS-5) per day, like
Feb 1: STATUS-1
Feb 2: STATUS-2
Feb 3: STATUS-2
Feb 4: STATUS-1
Feb 30: STATUS-4
Feb 31: STATUS-1
This series I'd like to render in a date axis line chart with the daily status ordinals (1-5) on the y-axis.
Now I wonder how I can label the y-axis ticks with the respective STATUS text instead of the ordinal.
Unfortunately, the option "Total (Y) Axis/Axis/AxisLabels/Display Label" is disabled due to the value's numeric nature.
How can I manually overwrite y-axis labels or map them to custom text?
Thanks. JensHI Jens,
Have you tried creating a formula and using that in 'Show Values' section of the chart?
Formula:
"STATUS-" & {Numeric_field}
-Abhilash -
Graph X-Axis Labels are appearing in middle for negative y-axis values
Hi,
In my Graph Output, the X-Axis Labels are appearing in the middle (where zero is appearing) if the Y-Axis values are negative.
It's a Line-Graph.
Can anyone let me know how to move the X-Axis Labels to down?
I'm using a custom Function module same as 'GFW_PRES_SHOW_MULT' wherein I'm modifying the line colors and appearance. I have to edit in this Function Module to make the X-Axis Labels appear correctly (below) even when there are negative values.
Please let me know which Parameter of the Class CL_CU_AXIS I've to use.
Here's the piece of code:
CALL METHOD graphic_proxy-ref->add_cu_bundle
EXPORTING
port = if_graphic_proxy=>co_port_chart_y_prim_axis
bundle = bundle_axis
IMPORTING
retval = local_retval.
Thanks & Regards,
SowmyaHi Sowmya,
Im Lakshmi working as an ABAP Developer. I have seen your profile in SCN. I saw your postings about OLE charts.
I have a requirement to
1) Output data from an internal table into excel, and
2) Create a chart from the data in excel
So far I have been able to export the data using OLE calls, created a chart object,.
My question:
1. How to put Data Lables
2. How to put Data Table under the Chart
3. How to rename the series names.
Below is the recorded Macro. I don't know how to convert it to ABAP.
Sub Macro1()
ActiveSheet.Shapes.AddChart.Select
ActiveChart.ChartType = xlColumnClustered
Application.CutCopyMode = False
ActiveChart.SetSourceData Source:=Range("B1:E4")
ActiveChart.SeriesCollection(1).Name = "=Sheet2!$A$2"
ActiveChart.SeriesCollection(2).Name = "=Sheet2!$A$3"
ActeChart.SeriesCollection(3).Name = "=Sheet2!$A$4"
ActiveChart.SetElement (msoElementDataLabelOutSideEnd)
ActiveChart.SetElement (msoElementDataTableWithLegendKeys)
End Sub
I have attached the current output and expected output.
I have searched about this in google but i could not find any solution for this.
Your help is greatly appreciated.
Thanks,
Lakshmi. -
How to configure axis value range in combo charts
I am trying to create a combo chart, where one value axis contains values in the millions, and the other contains values less than ten. When I create the chart, it appears that I can only define one range that applies for both axis.
Does someone know how I can configure the range for the second axis?
Thanks in advance...Hi Dwayne,
if you need to value axis, then you need two charts.
You can create a second chart and make it transparent, then overlay the first chart. Maybe it works, but I'm not sure, because I didn't try it. But I suggest you to use two charts if the values are so drastically different.
Best Regards,
Marcel -
Hi,
how to have a vertical grid line on the waveform graph indicator for every 10% percent of the maximum X axis value, so the x axis will split into 10, the vertical grids line in total will be 11 (including first and last)
Example if the maximum X axis value is 11.56, first vertical grid is at the origin(0), second vertical grid is at 1.156 and continue to last one 11.56Thanks JohnM and Evan,
the increment work great and i modify it to pass the 10% into "start" too, so it will start at the point of 10% of maximum range
attached file to let people download in future, if they met the similar situation
Attachments:
10percent.vi 31 KB -
How to make default values for date range?
Dear Colleagues,
My customer is asking for a default value for a date range prompt.
The FromDate should contain the 1st of current month, the ToDate should contain current date.
Does anyone have any idea how I can meet this demand?
Regards SiljeHi Federico,
Thank you for the answer, we are back to the challenge after summer vacations!
I have created a variable in the universe: SELECT current date as TODAY FROM SYSIBM.SYSDUMMY1. I Called it TODAY.
Then I created a prompt in the query based on Date. In Prompt Properties I tagged for "Set Default Values" and I typed in TODAY.
When I try to run the query I get the error message: The date for the query filter based on 'Date' is invalid (WIS10704).
What is wrong? What do I have to do differently?
My goal is to have a default for Date that gives me today..
Regards Silje -
Adding custom axis titles for Bubble Chart
How to add custom axis titles (for each group of axis values) as shown in the attached figure to a bubble chart ?
- SenI'm trying to do essentially the same thing with a LineChart and I think I've got part of it figured out.
I've subclassed CategoryAxis and overridden reduceLabels to return only certain labels (the "group" labels). Then I create a new axis by adding a LineSeries to the chart's <series> element with the new axis within the LineSeries. Then I have an AxisRenderer in the chart's horizontalAxisRenderers tag that refers to the new axis from within the LineSeries.
Subclassed axis:
public class MonthCategoryAxis extends CategoryAxis
public function MonthCategoryAxis()
super();
override public function reduceLabels(intervalStart:AxisLabel, intervalEnd:AxisLabel):AxisLabelSet
var currentLabels:AxisLabelSet = this.getLabels(0); // Param is ignored by super class
var newLabels:Array = []; // Labels to keep
var label:AxisLabel;
var previousLabel:AxisLabel;
for (var i:int = 0; i < currentLabels.labels.length; i++)
label = currentLabels.labels[i];
if (i == 0) // Keep the first label
newLabels.push(label);
else if (label.value.month != previousLabel.value.month)
// Only keep a label if the previous label has a different month
newLabels.push(label);
previousLabel = label;
// Return a new AxisLabelSet with just the labels we want
var newLabelSet:AxisLabelSet = new AxisLabelSet();
newLabelSet.labels = newLabels;
return newLabelSet;
New series to create the subclassed axis in.
<mx:LineSeries>
<mx:horizontalAxis>
<charts:MonthCategoryAxis id="MonthAxis" labelFunction="calendarMonthAxisLabelFunction"/>
</mx:horizontalAxis>
</mx:LineSeries>
The AxisRenderer. canDropLabels must be "true".
<mx:AxisRenderer axis="{MonthAxis}" canDropLabels="true" showLine="false" tickPlacement="none">
<mx:labelRenderer>
<mx:Component>
<mx:Label width="100%">
<mx:Script>
<![CDATA[
override public function set data(axisLabel:Object):void
this.text = outerDocument.getMonthLabel(axisLabel.value);
]]>
</mx:Script>
</mx:Label>
</mx:Component>
</mx:labelRenderer>
</mx:AxisRenderer> -
Chart with custom y axis, with point values only c#
is there a way you can customize a y axis label to display only the points on a chart, or have both uniform intervals with custom values.
for example show the value of a line on a chart in the y axis at the exact point where the line appears on the chart.Unfortunately your post is off topic as it's not specific to Microsoft Training and Certification.
This is a standard response I’ve written in advance to help the many people who post their question in this forum in error, but please don’t ignore it. The links I provide below will help you determine the right forum to ask your question
in.
For technical issues with Microsoft products that you would run into as an end user, please visit the Microsoft Answers forum ( http://answers.microsoft.com ) which has sections for Windows, Hotmail,
Office, IE, and other products.
For Technical issues with Microsoft products that you might have as an IT professional (like technical installation issues, or other IT issues), please head to the TechNet Discussion forums at http://social.technet.microsoft.com/forums/en-us, and
search for your product name.
For issues with products you might have as a Developer (like how to talk to APIs, what version of software do what, or other developer issues), please head to the MSDN discussion forums at http://social.msdn.microsoft.com/forums/en-us, and
search for your product or issue.
If you’re asking a question particularly about one of the Microsoft Dynamics products, a great place to start is here: http://community.dynamics.com/
If you think your issue is related to Microsoft Training and Certification and I've flagged it as Off-topic, I apologise. Please repost your question and include as much detail as possible about your problem so that someone can assist you further.
If you really have no idea where to post your question please visit the Where is the forum for…? forum http://social.msdn.microsoft.com/forums/en-us/whatforum/
When you see answers and helpful posts, please click Vote As Helpful,
Propose As Answer, and/or Mark As Answer
Jeff Wharton
MSysDev (C.Sturt), MDbDsgnMgt (C.Sturt), MCT, MCSE: Data Platform & Business Intelligence
Blog: Mr. Wharty's Ramblings
Twitter: @Mr_Wharty
MC ID:
Microsoft Transcript -
Custom Report Not fetching values for parameter of report (Valueset not pop
Hi,
I am running custom report on Oracle application R12. This report parameters used standard value set for fetching purchase order number. The value set is not populating any values for the custom report. but for the standard report where this valuse set populating proper result.
It's bit Supprising ...the same valuset populating values for standard reports but not for custom report developed by me.
Value set query using table valueset and getting values from po_headers (View)
ThanksHi All,
Luckily I have been able to rectify the problem !
I tried retrieving the output using LISTCUBE to show the SID of the InfoObject also for which I was unable to get the data. After the report successfully gave the output for those I/O, I checked again I could see the data in the I/O maintain master data !
It worked like magic to me !
But I could guess that since it is a virtual I/O therefore it is not able to retrieve the data from the table directly and is able to do that only after the SID of this I/O is retrieved.
(If a characteristic does not have any master data, the values from the SID table are displayed for the "Values in Master Data Table" mode.)
Closing the thread !
Regards
Shalabh -
Open Order value for Customer in Credit Master
Hi All,
For ABC customer, if I check for Credit master(F.35), credit management(FD33) & Sales Summary, the Open order value(sales Value) is 10, 30,000.00 EUR.
If I calculate adding
Back orders - 83681.98
Open orders - 196763.43
Open Contract - 9,669.79
Open Delivers u2013 9,245.23
Receivables - 37,938.77.
Total will be 3, 37, 299.20
Please any one can tell where I can find the difference value(mean which tcode or report).
Thanks & Regards
SunilHi,
Check with transaction code VKM1 or VKM4 or FCV3. The columns will show the details.
Regards -
How to set the parameter ID value for a range
I am trying to call transaction KSB1 (Display actual line items for cost center) by supplying all the default values for the selection options/parameters and skipping the selection screen from the calling program. However, for the cost center range, both HIGH and LOW field have the same PID (i.e. KOS). Same thing for the cost element range. When I set the value for PID "KOS", only the low value got populated.
I tried to pass a BDC table to the
CALL TRANSACTION 'KSB1' USING bdc_tab
, but the PID used before takes higher priority so the bdc_tab values got overwritten by the PID values for those fields.
Does anybody know how to find or set the PID for a selection range? I need PID for Cost center range, cost element range and the period (PID="VPE").
Any advice is appreicated. Thank you
Minamiotherwise try to make use of SUBMIT command.
<b>Hi Preetahm ,
KSB1 is a Report , not a Tcode to maintain master data or any thing like that ?, u can also cross check?</b>
by using SUBMIT command u have to <b>RKAEP000</b> this program along with the selection screen.
regards
Prabhu
Message was edited by: Prabhu Peram -
Customer Exit Variable in formula to get values for multiple keyfigures
Hi to all,
I have query as defined in following scenario:
CHAR_X C_KF1 (based on KF1) C_KF2 (based on KF2) u2026 C_KFn (based on KFn)
Value1
Value2
u2026
Valuem
C_KF = calculated key figure
I need to create a customer exit variable that will search through selection e.g. CHAR_X/KF1 and give some result. I need this variable for every keyfigure (KF1-KFn). Using customer exit variable is the only solution.
My question is: do I have to create formula variable (customer exit) representing every keyfigure separately (VAR1 u2013 VARn, like in below example)?
CHAR_X C_KF1 (using VAR1) C_KF2 (using VAR2) u2026 C_KFn (using VARn)
Value1
Value2
u2026
Valuem
Or is it possible to create one general formula variable since the way to retrieve the value in variable is always the same (like in below example)? In this case, how do I pass the value of the respective keyfigure to this variable?
CHAR_X C_KF1 (using VAR_X) C_KF2 (using VAR_X) u2026 C_KFn (using VAR_X)
Value1
Value2
u2026
Valuem
Thanks for your replies, points will be awarded!
CheersThat is my concern, the value of variable is not the same.
What variable should do is:
take KF1 id, go through values for CHAR_X, get back one value
This value would always be different, and also "KF" part in code of variable should be different, based on the column where the variable is being used (so, in column C_KF1 ,variable should "pick up" id of KF1, etc.).
I hope it makes it more clear. For now, I do not have the code for variable yet, I am just interested in concept whether it is possible to pass the ID of keyfigure dynamically so I can make decision how to model this request.
Thanks
Maybe you are looking for
-
How do I change the speed of a video clip after making it a Smart Object?
In order to apply the same Camera Raw filter to every segment of a clip I was going to split multiple times, I converted the whole clip to a Smart Object, applied my Camera Raw filter settings, and then split the clip and deleted some portions. Now
-
How to use IBatis paging in jsp?
I'm a new comer in IBatis.If I query the database using the method "executeQueryForList" how to display the record in jsp (for example 10 record) and display next 10 record? I means how to create page number in jsp for user click? If someone used it
-
Hi Gurus, We have replicated three data sources 0CO_PC_PCP_03, ZCKIS and ZKEKO under the info source 0CO_PC_PCP_10. Now we want to see how the report data looks like without having the data source 0CO_PC_PCP_03 data. Is there a way to proceed by elim
-
It explains things on my end. I hope you guys are not in on this. It's intrusive and rather pushy at that. I don't feel I should have to download another video player. The name of the company is updatevideos<i></i>.com. I went there and it took me to
-
BPC 7.5 & Windows 7 Installation
New Forum User here with a question. We upgraded our enviroment from 7.0 to 7.5 this past weekend, And a few of our users have new computers with Windows 7. What is the installation process for BPC so that the Windows 7 has the correct software to wo