Reporting - Selection Problem.
Guys,
I have a question about a selection. I have a selection when I go into it's properties, For Number of places they are defined as - Number of decimal places = From KeyFigure: 0.00. When I run the query it rounds up the number which is fine. I copied that structure to create another query, when I run this query, it does not round up the number and give me a long unformatted number. I understand that I can change the decimal places to make this work but why did it even work in the first place with the original query?
Thanks,
RG.
HI,
Check the Infoobject -- key figure definition.
if it is not defined as 0.00 there then its made in query designer.
Hope this helps..
Similar Messages
-
Interactive report performance problem over database link - Oracle Gateway
Hello all;
This is regarding a thread Interactive report performance problem over database link that was posted by Samo.
The issue that I am facing is when I use Oracle function like (apex_item.check_box) the query slow down by 45 seconds.
query like this: (due to sensitivity issue, I can not disclose real table name)
SELECT apex_item.checkbox(1,b.col3)
, a.col1
, a.col2
FROM table_one a
, table_two b
WHERE a.col3 = 12345
AND a.col4 = 100
AND b.col5 = a.col5
table_one and table_two are remote tables (non-oracle) which are connected using Oracle Gateway.
Now if I run above queries without apex_item.checkbox function the query return or response is less than a second but if I have apex_item.checkbox then the query run more than 30 seconds. I have resolved the issues by creating a collection but it’s not a good practice.
I would like to get ideas from people how to resolve or speed-up the query?
Any idea how to use sub-factoring for the above scenario? Or others method (creating view or materialized view are not an option).
Thank you.
Shaun S.Hi Shaun
Okay, I have a million questions (could you tell me if both tables are from the same remote source, it looks like they're possibly not?), but let's just try some things first.
By now you should understand the idea of what I termed 'sub-factoring' in a previous post. This is to do with using the WITH blah AS (SELECT... syntax. Now in most circumstances this 'materialises' the results of the inner select statement. This means that we 'get' the results then do something with them afterwards. It's a handy trick when dealing with remote sites as sometimes you want the remote database to do the work. The reason that I ask you to use the MATERIALIZE hint for testing is just to force this, in 99.99% of cases this can be removed later. Using the WITH statement is also handled differently to inline view like SELECT * FROM (SELECT... but the same result can be mimicked with a NO_MERGE hint.
Looking at your case I would be interested to see what the explain plan and results would be for something like the following two statements (sorry - you're going have to check them, it's late!)
WITH a AS
(SELECT /*+ MATERIALIZE */ *
FROM table_one),
b AS
(SELECT /*+ MATERIALIZE */ *
FROM table_two),
sourceqry AS
(SELECT b.col3 x
, a.col1 y
, a.col2 z
FROM table_one a
, table_two b
WHERE a.col3 = 12345
AND a.col4 = 100
AND b.col5 = a.col5)
SELECT apex_item.checkbox(1,x), y , z
FROM sourceqry
WITH a AS
(SELECT /*+ MATERIALIZE */ *
FROM table_one),
b AS
(SELECT /*+ MATERIALIZE */ *
FROM table_two)
SELECT apex_item.checkbox(1,x), y , z
FROM table_one a
, table_two b
WHERE a.col3 = 12345
AND a.col4 = 100
AND b.col5 = a.col5If the remote tables are at the same site, then you should have the same results. If they aren't you should get the same results but different to the original query.
We aren't being told the real cardinality of the inners select here so the explain plan is distorted (this is normal for queries on remote and especially non-oracle sites). This hinders tuning normally but I don't think this is your problem at all. How many distinct values do you normally get of the column aliased 'x' and how many rows are normally returned in total? Also how are you testing response times, in APEX, SQL Developer, Toad SQLplus etc?
Sorry for all the questions but it helps to answer the question, if I can.
Cheers
Ben
http://www.munkyben.wordpress.com
Don't forget to mark replies helpful or correct ;) -
REPORT A PROBLEM link does not work
I received an email with an invoice for a purchase of 5 apps that I DID NOT PURCHASE. IT'S ALL IN CHINESE AND I DON'T EVEN KNOW HOW TO READ CHINESE. After following a tutorial on how to report a problem, i clicked on that link 'report a problem' next to the apps the thief purchased BUT IT BOUNCES ME BACK TO THE ITUNES SUPPORT PAGE. Unlike the tutorial, it did not bounce me to the 'select your problem' page. I want to report this problem so that I may get a refund on those apps i did not buy ( and do not even have on my ipod! ). Please help me.
I can confirm that report a problem sends me nowhere when I click it. Funny how when it comes to reporting that it doesn't work
-
BI Publisher report bursting problem
I am not able to make my report burst to separate files for ftp delivery. I am running BI Publisher version 10.1.3.4.1 (stand-alone). My data query looks like this:
select a.agency_id, b.borr_name
from agency_tbl a, borr_tbl b
where a.rpt_date >= 20100101 and a.rpt_date <= 20100110
and a.borr_id = b.borr_id
and a.agency_id in (80013,80019)
order by a.agency_id, b.borr_name
My bursting/delivery query looks like this:
select agency_id "KEY",
'mytemplate' as TEMPLATE,
'RTF' TEMPLATE_FORMAT,
'en-US' LOCALE,
'PDF' OUTPUT_FORMAT,
'FTP' DEL_CHANNEL,
'myserver' PARAMETER1,
'myid' PARAMETER2,
'mypwd' PARAMETER3,
'/home1/web-docs-443/files/pdffiles' PARAMETER4,
convert(varchar,agency_id) || '.pdf' PARAMETER5
from agency_tbl
where agency_id in (80013,80019)
and rpt_date >= 20100101 and rpt_date <= 20100110
(I have to put "KEY" in quotes because my database is sybase, and KEY is a reserved word.)
I have verified that both queries return data (6 records each, no null agency_id keys).
The goal is to create a file for each agency that lists their associated borrowers.
I can view the report without problems. But when I schedule the report and enable bursting, I get the "Job was failed" email notification, and the report history shows this:
Job Execution Information
History ID 218
Status Failed
Start Processing Time 3/21/11 10:27 AM
End Processing Time 3/21/11 10:27 AM
Time Elapsed 1.68 sec
System Message oracle.apps.xdo.servlet.scheduler.ProcessingException: java.lang.NullPointerException
at oracle.apps.xdo.servlet.scheduler.XDOJob.runBurstingReport(XDOJob.java:2116)
at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:358)
at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
Caused by: java.lang.NullPointerException
at com.sun.java.util.collections.Hashtable.containsKey(Hashtable.java:300)
at oracle.apps.xdo.batch.bursting.DeliveryXMLParser.processRow(Unknown Source)
at oracle.apps.xdo.batch.bursting.DeliveryXMLParser.endDeliveryInfoElement(Unknown Source)
at oracle.apps.xdo.batch.bursting.DeliveryXMLParser.endElement(Unknown Source)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:210)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1318)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:263)
at oracle.apps.xdo.batch.bursting.DeliveryXMLParser.getDeliveryChannels(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.createEnterpriseReportRequest(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.setDeliveryControlFile(Unknown Source)
at oracle.apps.xdo.servlet.scheduler.XDOJob.runBurstingReport(XDOJob.java:1916)
... 3 more
Bursting Definitions
Bursting Node /ROWSET/ROW/agency_id
Delivery Node /ROWSET/ROW/agency_id
Any help will be greatly appreciated. This has me stumped . . . I am out of ideas.What caused our bursting problem:
We had to put the word "KEY" in quotes (in our bursting query), because KEY is a reserved word in sybase. But putting it in quotes caused a problem - the results of the bursting query did not contain a "KEY" tag.
. . . And the solution:
We added the connection property "GET_COLUMN_LABEL_FOR_NAME=true" to our sybase datasource definition. Many thanks to Tim Dexter, and to Paul from the sybase forums (http://newsgroupstats.info/article/forums.sybase.com/sybase.public.jconnect/2308/Column-aliases-not-working.html) c. 2007.
And thanks again to Jorge for the helpful suggestion.
Steve Z. -
RE: HR ABAP Multiple selection problem on input selection-screen
hi friends,
I AM Facing one problem in HR abap report selection-screen , in my report employee details data getting based on payroll area
of selection-screen. Here iam SELECTION-SCREEN declarations made in program level NOT created REPORT CATEGORY FOR
PNP LDB.
ACTUAL MY PROBLEM IS IF I SELECT SINGLE PAYROLL AREA IN SELECTION-SCREEN IT GETTING DATA PERFECTLY FOR THAT
PAYROLL AREA
EX. ZA - PAYROLL AREA IF I SELECT IN SELECTION SCREEN IT FETCHING THAT PAYROLL AREA DATA PERFECTLY, PROBLEM
IS IF I SELECT MULTIPLE PAYROLL AREAS IN SELECTION-SCREEN PAYROLL AREA FIELD ZA AND ZB PAYROLLS IT FETCHING
ONLY ZA -PAYROLL DATA ONLY IT IS NOT FETCHING DATA FROM ZB PAYROLL AREA.MY REQUIREMENT IS IT SHOULD FETCH
BOTH PAYROLL DATA AND SHOWING .
HERE IAM GIVING MY SELECTION SCREEN DECLARATION SYNTAX.
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS:
S_ABKRS FOR P0001-ABKRS NO INTERVALS," NO-EXTENSION, " PAY ROLL AREA
S_PERSA FOR P0001-WERKS NO INTERVALS," NO-EXTENSION, " PERS.AREA
SELECTION-SCREEN END OF BLOCK B2 .
PLEASE Any body knows solution for this selection give me reply.
regards,
gopalIf you are using Logical DB PNP why are you coding Selection Fields for ABKRS and WERKS? Both of these fields are defined in the PNP Selection Screen and if you use those fields then SAP will handle filtering the data.
-
Itunes wont let me report a problem with multiple songs
i wanted to buy ariana grandes old album but it wouldnt let me so i bought some of the songs because i thought i could complete the album but when i went back later it told me that if i bought the album i would have to buy the other songs i already had again and i didnt want duplicates and when i went to report a problem it wouldnt let me refund. please help i just want to buy her album once.
Your first priority should be to change your password, since someone else has access to your account to download these items. You can go to http://iforgot.apple.com to change it. The link for iTunes Support is http://apple.com/support/itunes/contact/. Select the nature of your query and fill out the form, then you should see the email link.
-
Purchase History Report a Problem feature
I was looking at my purchases and clicked the Report a Problem button, but the only thing that happened was that the button disappeared. Odd. Were they just joking? . . . "Ha-ha-ha, did you believe that? Just messin' with you. Bye-bye little button."
Well, ok, they must be serious, but the button just disappeared when I clicked on it, no joke.I'm a novice to this community discussion board so bear with me. I have reported problems with apps in the past and done the steps I have done above and it came up with a drop down list of selected problems you simply chose one and sent it. This time round though I seem to have been redirected to the Apple Support screen which is a screen with multiple tutitorials, ranging from getting started in itunes, how to load apps etc, different devices I can't seem to figure out how to just report a problem. I then choose app (which seems to be the closest choice) and I just seem to go in circles. It's not itunes that is the problem it is the developers of the app as many others have the same problem with the app crashing my next best thing is to wait for an update for the developer to fix the bugs. Which I hope they read the reviews left by consumers. Thanks for your reponse though.
-
Problen in report selection screen
Hi ,
I had a problem in the report.In the report selection screen user asking to keep page no option.So when they select the page no in the selection screen,so from that page number report out put should display.
how to do this.
Thanks,If you generating the LIST using the classical approch you cah use the SCROLL LIST keyword for this purpose.
Like:
DATA: L_PAGENO TYPE I.
L_PAGENO = 3.
START-OF-SELECTION.
DO 100 TIMES.
WRITE: / SY-ABCDE.
ENDDO.
SCROLL LIST INDEX 0 TO: PAGE L_PAGENO.
TOP-OF-PAGE.
WRITE: 'Top-of-page'.
Regards,
Naimesh Patel -
I need some help ASAP!!! I have charges from itunes via in-app purchases that are almost all same amounts but different times. i can not get anyone from apple to respond to me. After i did the whole quick lane via online it said chat later.
On emal that contains bill i even did the report a problem and nothing would happen. I have never had a problem and just want to resolve asap as now its declining my credit card..someone help me PLEASE!!!Follow these exact instructions:
1) http://www.apple.com/support/itunes/contact/
2) Get iTunes support via Express Lane
3) iTunes store
4) Purchases, billing & redemption
5) iTunes Store account billing
6) Fill out info about your device (the one you're accessing iTunes from)
7) Continue
8) Sign in with Apple ID
9) You see "Contact Options." DO NOT choose chat later, but rather select Email. -
In copa reports, i selected a report, i get the following report selections
from period/year
To period/year
plan/act.indicator
version
I want to include sales group to this selection screen of the copa report.please advise.
Thanks®ards
MSReddyDear Friends:
In T.code KEA5, Characteristics fields KMKDGR (customer group) is already present. I want to remove the Characteristics fields which are not necessary for my report.
In field Catalog (menu path-Characteristics-change selection), I selected authorization group, sales group.
I get the following warning messages
Field KMVKGR has the same name as field VKGRP
I saved the Characteristics fields for sales group and authorization group despite the warnings and activated them.
But when i go to t.code KEA5 again (Change Characteristic overview), the fields of authorization group, sales group are not saved.
The sales group (ex:Z01) has to be defaulted when the user login.Is it possible?
How to overcome the problem?Please advise.
Thanks&Regards
MSReddy
Message was edited by:
Sridhar M -
HT204088 how to report a problem -i have been charged several times for a purchase of single app
i have been charged several times for purchase a single app!!
Welcome to the Apple Community.
Select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.
Currently, if your purchase happens to be your most recent purchase you will not be redirected to the report form, in this case use the report a problem option from the invoice that was emailed to you. -
Table Control on a report selection screen -not a dialog transaction screen
Hi
Does anyone know of a way to have table control functionality on a report selection-screen? The program needs to be able to run as a background job (ie cannot be a dialog transaction) and we need to be able to save variants with the selection-screen values.
Any help would be appreciated.
The key point is we want to allow the user to enter a dynamic number of rows of table data on the selection-screen, save a variant containing that data and execute the program with the variant as a background job.
Thanks
Nicole KnightHi Nicole,
The main problem is how to persist the data. If you are not able to create a couple of tables then you could always utilise TVARV instead. On a similar line to my original post you could have the button call a dialog transaction. In here you could do your normal GUI table control. When saving the data simply transpose each column into a separate select-option held on TVARV keyed by the 'variant name' + fieldname. Then retrieve and transpose this back when executing the report.
Other methods could be storing the data in cluster xy (see EXPORT TO DATABASE command).
This seems a bit overkill for what would be a couple of maintenance dialogs.
Cheers,
Pete
PS. The view cluster is just a way of hierarchically performing table maintenance across multiple related tables. It offers a good UI for this purpose (header and item config tables) and is utilised extensively in the IMG. -
Bought the starter pack iap on the game 'Injustice: God Among Us', but it didn't give me what it said it would so I want a refund but finding it diffcult to request one, as reporting a problem just redirects me to this website. How to submit for a refund?
Try going to https://expresslane.apple.com ; select 'All Products and Services' in the first column, 'iTunes' in the second column and then 'iTunes Store' in the third column.
-
TS1424 cannot "report a problem" after iTunes upgrade
I just upgraded to current version of iTunes, and when I click on "report a problem" in e-mailed store receipt, the dialog won't open. It only shows the purchase receipt in iTunes. Help please!
Contact the iTunes Store Customer Service department using the form on their Support page (select the category and subcategory closest to the issue you're reporting and you'll find an "Email Us" button) and explain your problem to them.
Regards. -
I have received an email receipt charging me $109.99 for an app I've never heard of and definitely never downloaded. How do I report the problem and get a refund?
Log into your iTunes account, then click on previous purchases then select the purchased app and then click report a problem. Then write and explain your problem and I am sure it will be considered.
Also change your iTunes password as soon as possible.
Maybe you are looking for
-
CO account assignment on a GR/IR Account (Balance sheet Account)
The GR/IR account line item on Goods Receipt(GR) documents picks up the account assignment ( WBS Element, Cost center or an Order) from the Purchase order account assignment. The GR/IR account is defined as a Balance sheet account. So it is abnormal
-
We have Comcast internet at my apartment. We have a wireless router. My room mates PC works on the wireless. My Mac book pro does not. However, My Mac book Pro DOES work anywhere else I take it. (Library, coffe house etc.) The tech from Comcast state
-
Hi there, I've been trying to find a way to replicate the functionality of btmm as i can't get it to work. the simplest way seems to be to use afp / vnc separately. these two articles are basically what i've been trying - http://guides.macrumors.com/
-
JSF Web Application - endless redirecting loop
I've created a simple JSF WebApplication, just one page, one static text. When I deploy it to the bundled server, everything is OK. When I deploy it to a remote server, that I have access to (Sun Java System Application Server Enterprise Edition 8.1_
-
Anaglyph (cyan-red glasses) 3D in Acrobat 3D?
Hi everyone, I'd like to know if there'd be a way to see 3d content in a pdf 3d file with anaglyph 3d with red-cyan glasses in real time. Is there some code that we could enter in the 3d file to unable that or is there a plugin or something that coul