Bex Query showing incorrect data
Hi Experts,
I have a Bex query on an infoset. The infoset is based on Sales Order Line Item DSO and Sales Order Condition DSO. I am refering Net value from Sales Order Line Item DSO. In the query, the values of Net Value is not coming correctly. When i check the value in Sales Order Line Item DSO it shows 100. However, in the query it shows 500. When i checked the infoset, it had 5 records. In each record, the net value was 100. What should i do to get the correct value of Net Value in the query.
Have anyone faced similar problem ?
Please reply as soon as possible.
Thanks,
Saachi
Hi Sachi,
This is a common problem in infoset.
Sales order line item - SLI say
Sales order condition - SC say.
The value you see in your net value field depends on your join condition in the infoset.
Currently you have join in such a way that 1 record in SLI correspods to 5 records in SLC (this is as per your join condition), hence you see this error. Youcan manupilate your join condition to get the required result, if this is viable.
However, in most cases you may not be able to alleviate the fields defining the join.
Say your sales order and item form the joining fields, then in sales order condition DSO you have 5 records for that sales order and item.
The way you could probably avoid net value getting multiplied 5 times is by using exception aggregation with reference char a characteristic in the query.
The ref char should uniquely identify the 5 sales order item condition lines.
(basic principle - we have to net value/ no of lines in Sales order condition DSO [5 in this case] .)
The problem, however is, whenever you consider uniqueness defining fields, you would look at the keys of DSO, because they define uniqueness. One could have multiple infoobject when defining a DSO key.
So you would'nt be able to define any record with only one particular infoobject(ref char), based on which you could define the exception aggreation.
You could define one more data field in the DSO which is a concatenation of all of its keys and then use it in exception aggreg as a reference char in the query.
One more way is to load data from the two DSO to further cubes to achieve the requirement.
I think, this is the limitation with the infoset.
Please let me know if you find any other solution.
Hope it helps,
Regards,
Sunmit.
Similar Messages
-
Status of data in Bex query shows wrong date
Dear Experts,
The Bex qurey after sucessful execution, show the Status of data as old date i.e. feb 2012. but we observed that the data uplaod happens regularly and sucessful.
we tried executing the same query using RSRT/Bex Analyzer/Portal. the results are same i.e. showing incorrect status of data.
Note: The Bex query is built on BI Infoset which sources from DSOs and Master Data infoobjects, and BI version is 7.0.
Kindly please help for resolving the issue.
Best Regards,
Mannu.Hi Vijay,
The data upload has happend today also and it is sucessful, the reporing status is available for requests from respective infoproviders.
'Status of data' is not a filed. if it an information to tell the status of data in query result.
Please find the following steps to find the 'status of data'
go to RSRT->give the query name and execute-> now after query results-> go to last page-> you can find the 'status of data'.
Best Regards,
Mannu -
Crystal report showing Incorrect data against Bex Query
I have created Crystal report on top of Bex Query, I have not done any calculations in the report, just dragging structure and key figure in the report, ran for one month, when I compare with Bex Query with same period, it is showing incorrect data.
I don't know what can be wrong here?
We are Business Objects 3.1 SP3.
Thanks,
RaviHI,
I would suggest you trace the workflow in Web INtelligence according to these notes:
Tracing:
Unix : Note 1235111
Windows : Note 1260004
and then post a link for downloading the trace files here.
regards
Ingo -
Report Viewer shows incorrect data when viewing pages from last to first
Post Author: Fmorales
CA Forum: .NET
Hello.
I've made a huge report with Crystal Reports for Visual Studio 2005, and sometimes the Report Viewer show data with errors.
If I see all pages of my report in order, 1 first, then 2nd, 3, 4... until the last one.... The report is always correct.
If I see all pages in reverse order, 1 first (shown by default), then last one, then last one-1.... until 2nd.. All years show incorrect, except first one...
In an outer section, for every year, there is a final row which shows summarize calculated data. The error consists in that every value of the row is 0.
It seems that Crystal Report calculates while showing, that's good.. but... Why does it ignore the data before when I see directly the last page?? It forces me to see all pages one by one in ascendant order to ensure data is correct.. I must fix that error.
The way I calculate data in the problematic summarize row is a bit complicated, but I'll try... Let's focus in one only column (the other ones are similar). The summarize value is a formula which simply show a global value :
WhilePrintingRecords;
CurrencyVar margenActual;
which is being increasing or decreasing along the group:
WhilePrintingRecords;
CurrencyVar actual:=actual+CurrentFieldValue;
if {PresupPeriodifMesesAux_DS.TIPO} = 'PAGOS' then CurrencyVar margenActual:=margenActual-CurrentFieldValueelse CurrencyVar margenActual:=margenActual+CurrentFieldValue;
DefaultAttribute
It is placed in the backgrond property of a CrossTab cell in a hidden pre-section... Well.. I know it's a bit complicated, but I have to do that way because it was the only trick I found to make a summarize file before printing data summarized (that's why the line "CurrencyVar actual:=actual+CurrentFieldValue;" appeared in formula). So I also wanted to use this formula to acummulate "margenActual".
In the inner section I reset the actual value (this value always go fine):
WhilePrintingRecords;
CurrencyVar actual:=0;
Before end of year I reset the margenActual value:
WhilePrintingRecords;
CurrencyVar margenActual:=0;
I've tried multiple combinations (using WhileReadingRecords instead WhilePrintingRecords) but data is incorrect or I cannot get rid of visualization page's problem....
Any idea?
Thanks a lotquote:
Originally posted by:
ntsiii
If you were previously using <mxXML> you WERE using
e4x.
So remove that tag, create an instance variable of the same
name, typed as xml, and in your result handler, do as VarioPegged
suggests, though I would cast/convert to xml first:
companies = XML(event.result);
trace(companies.toXMLString()); to look at your xml
var xlCompanies:XMLList = xmlCompanies..company; //all such
expressions return XMLList, never XML
trace(xmlCompanies.length()); //
Tracy
Ok so the ID of the mxXML was being interpreted as an E4X
variable at compile time?
I tried changing the name of the ID of the HTTPService call
from "marketData" to "MDATA" and assigning the variable marketData
to the result of the HTTPService query, which if I understand you
correctly should basically make everything work as it was before,
but it seems to be a problem.
when I try to run it puts an exclamation point on this line
<toolbox:TreeMap id="treeMap" width="1200" height="800"
dataProvider="{marketData}"
labelField="@cname" weightField="@amount"
colorFunction="{itemToColor}"
toolTipFunction="{itemToToolTip}"/>
That code refers to a SWC file. Apparently it wants
marketData to be a data provider. If I change the dataProvider
reference above to "MDATA" (the ID of the HTTPService) the App
compiles, but I get two errors at runtime:
TypeError: Error #1009: Cannot access a property or method of
a null object reference.
ReferenceError: Error #1081: Property @age1 not found on
mx.rpc.http.mxml.HTTPService and there is no default value.
What should I change this reference to? It won't compile if I
use the variable I made for the e4x results and it is reading
gibberish if I have it read directly from the
HTTPService....? -
SQL Dev 1.5.3 Data Grid showing incorrect data
After upgrading to SQL Dev 1.5.3, I have seen instances of incorrect data displayed in the data grid (when displaying many records at a time), both in the Table Browser and in SQL Worksheet.
For example, in the grid, it shows a value 1234 for a column. Now when I query just that row, the correct results are shown.
Has anyone noticed this?
Thanks,
ManishAny updates on this? I am hitting this bug and it makes life very uncomfortable as I cannot trust the results.
SQL Developer 1.5.3 + JDK 1.6.11 on Windows XP. -
Date Picker query showing "No Data Found", works in SQLPlus
I have created 2 Date Picker items - P2_START_DATE and P2_END_DATE. I have set the format of these to 'DD-MON-YYYY'.
This is the query I have to select the data based on the values from the date pickers:
select sample_date,reading from meter_data where sample_date between to_date(:P2_START_DATE,'DD-MON-YYYY') and to_date(:P2_END_DATE,'DD-MON-YYYY') order by sample_date;
The P2_START_DATE is '20-JAN-2011', the P3_END_DATE is '21-JAN-2011'.
The query returns "No Data Found" when run in APEX, but when I run this in SQLPlus on the host I get data:
select sample_date,reading from meter_data where sample_date between to_date('20-JAN-2011','DD-MON-YYYY') and to_date('21-JAN-2011','DD-MON-YYYY') order by sample_date
20-JAN-2011 .39
20-JAN-2011 .14
20-JAN-2011 .14
20-JAN-2011 .18
21-JAN-2011 .13
Can someone explain what I'm doing wrong? I have tried a few different formats, with no luck.
TIAHi Jeff,
My Requirement is also looks like same, but am not able figure it out the reason why am getting no data found message in my chart(report).
Requirement:
I have a page, where two date picker(html5) items let say P30_FROM_DATE, P30_TO_DATE are there, apart from this i have one button as well,
when the user select the from and to date from the date picker, and as soon as click on the button (SHOW), need to display the 2D Stacked Bar Char.
so to achieve this, i have created a blank page, under region i have created a chart (2D Stacked Bar Chart), under items--> i have created two date picker items and one button.
my query is
SELECT NULL LINK,
FLOW_STATUS_CODE LABEL,
COUNT(ORDER_NUMBER) VALUE
FROM
OE_ORDER_HEADERS_ALL
WHERE
CREATION_DATE
BETWEEN TO_DATE(:P30_FROM_DATE,'DD-MON-YYYY') AND TO_DATE(:P30_TO_DATE,'DD-MON-YYYY')
GROUP BY FLOW_STATUS_CODE;
Issue:
Once i select the From and To Date, when am click on Show button, am not able to see as desired chart, instead am getting no data found message in the chart location.
Can you please tell me how to do this.
i would like to know that, how do i capture those two date item values in my query, and how do i initiate my report when am pressing button.
please revert back to my below mail.
Regards
Santhosh Kumar. K
[email protected] -
How to use BEX query in BI data archiving?
I see some power point presentations about the use of BEX query in the archiving customizing setting.
But the presentations have no text about the details.
Can somebody help detail how to use BEX to customize archiving objects?
Thanks!Yeah I would be interested in such a solution as well.
Can anyone help here?
Cheers,
Andreas -
Having trouble in MAIL. Running MacOSX(10.6.8) and in MAIL the SENT both doesnt show sent messages( successfully received) and doesnt show correct date sent. Any ideas??
Not sure about the time stamp problem, but the missing "Sent" mails problem is not uncommon. This problem is one that a lot of people have and in my opinion, I think it's a problem with Apple's mail application, nothing at the user's end.
Does this happen only when you include an attachment or does that matter? Also, does it only happen when your outgoing message is delayed a bit? Check your junk/spam folder to see if your sent messages went in there.
This doesn't fix anything, but you might change your e-mail settings so that all new mails are automatically sent Bcc to yourself.
Sometimes the "missing" sent mails are not going in the right folder. I'm sure you probably already know, but in the left-hand column in MAIL, under Mailboxes, there is a second "sent" folder way at the bottom, depending on your other e-mail accounts, such as Yahoo or Gmail). Many people have discovered their missing "sent" e-mails in those.
It is a big hassle, for sure, and has been officially reported. Users with complaints are being told that Apple's Intrusion Detection and Prevention (IDP) systems block the connection from a user's e-mail client when it attempts to store outgoing e-mails, which contain attachments, to the users' sent folder.
This is supposedly due to the Mac OS/Mac Mail sending non-standard or erroneous commands to the server, emulating the activity which would be generated by an attacker attempting to abuse an exploit in the IMAP server. I doubt you are doing anything wrong, so it's just a matter of waiting for them to FIX this annoying issue. -
I have loaded the Active Content of an ODS (the /BIC/ZAXXXXXXXX table) directly via an Insert statement in an ABAP program. I can see the data when I go through SE11 and through the Active Data button inside of the Manage option of the ODS. When I use this ODS via BEx I do not get any data to appear. Does anyone know why this would be? Do I need to load a different table, maybe the change log, instead of the Active content? It has now turned into more of a curiosity question of why an ODS with Active Data, but no Requests, would show no results in BEx. Any help would be appreciated.
JonHi,
maybe loading records straight into the active table doesn't give BW a signal that the data is refreshed. The result from your query are most likely to come from cache ? Try to change the selection of the query or run the query without using the cache.
regards,
Raymond Baggen
Uphantis bv -
BEx Query Providing Incorrect Results
I have two BEx queries that are behaving strangely.
They are providing incorrect results and I can't figure out why.
In both cases, when I save query in development under a different technical name the problem disappear. I can't use this as a permanent solution because users insert queries in workbooks and we have portal links.
Is there a way to somehow fix these queries that
are acting strangely.
Query 1:
When run query get error message
"No roll storage space of length 120 available fro OCCURS area"
Query2: Calculates Wrong Average
When run query:
Adding Cumulative Qty Customer Balance + Quantity Customer Movement
together.
Set Aggregation to Average
ref char Posting Period.
The avearge BEx calculates only considers Cummulative Quantity
End Customer Balance. It should consider consider Quantity Customer Movement as well.
Avg formula : ((Jan End - (.5* Jan Mov) ) + (Feb End - (.5* Feb Mov))+ (Mar End -(.5* March Mov)))/3
I have used the same methodology to calculate average with other queries and it average calculates correctly. These other queries have same InfoProvider and using the same dimensions as queries that are calculating average incorrectly.Hi Mti
Thank you for your reply.
I have checked the details as per your suggestion:
1. KF Aggreagtion tab on Workbench Exception Aggregation is on SUM Summation.
2. RKF on The Query is on (Nothing Defined).
Is there anything else that can be checked?
Thank you -
Bex Query - Show rows from another characteristic
Hi Guys,
I have a problem, I need to create a query to be displayed in Excel that shows accounting informacion by number, like this:
Account Balance
12110201 1 USD
12110202 1 USD
12110204 1 USD
That works so far, the problem is that I need to add 2 more columns and in 1 of the new columns I need to show only some accounts, like this:
Account Balance NewColumn1
12110201 1 USD
12110202 1 USD Balance of 12110202
12110204 1 USD
the other one is more challenging because it need to show informacion from a different account, like this:
Account Balance NewColumn1 NewColumn2
12110201 1 USD
12110202 1 USD Balance of 12110202
12110204 1 USD Balance of 2406910000
the first values came from my accounts tables that contain balance from sub accounts, but the value 2406910000 is in fact a sub account value.
Can some of you expers can help me on this? Is it possible?
Please help.hmmmm
let me ask this:
You have multiprovider A
in that u have Chars
Account
Subaccount
Source of subaccount
& Keyfigures
$ amounts
okey now, lets say u want to display the data as follow:
$amount-----newcolumn1
Account----
2244--$2200--
2245--$3200--
bal. of 1234
2246--$4200--
2247--$1200-----bal. of 734
is that what u are asking to display....
if yes, bring Account in Rows
bring $amount in Collumns
add new selection1, in that add $amounts, then add Subaccounts from characteristics
that way it will show $ for subaccount
for e.g. in above case it will show $value for 1234 which is subaccount of 2245.
My question is when you say "Balance of 22140000" what is that you intend to display here....you want to show $ of Balance i.e $45, $56 etc, or
do you want to show Subaccount Number i.e 1234 or
do u want to show specific texts "Balance of 22140000"
my response above was related to this only, what is that you want to show in ur reports?
what is available in ur multiprovider?
if you wanna show specific texts "Balance of 22140000", this cannot be done because you cannot just create texts in Query designers.
If you wanna show specific $ amounts for that subaccount, answer is create restricted keyfigure
if you wanna show Subaccount Number i.e 1234 etc, that means you will have to create Replacement path variable and then replace values of Subaccount number into that column.
Maybe you will not need cell definition then.
i hope you understand what i am trying to explain..
dont hesitate to reply with detailed explaination, and any questions. -
Query showing less data than the listcube
Hi Gurus,
For the same keyfigure I am getting $20 less in the query but the LISTCUBE of the multiprovider is showing correct value compared to R/3.
Please extend your ideas.
Thanks
NishaHi,
It is exactly the same filter criteria that I have put in the LISTCUBE which is pulling correct data in the list cube.
Thanks -
Query display incorrect data by authorize object
I have 2 location (1001, 1002).
And I set 0plant for authorization. I set 'AA' user for display 1002 location.
I create stock query, that it can input location by 0plant infoobject.
(New variable -> processing by: Authorize -> selection and optional and ready for input)
Result:
Input 1001 -> I receive "No Authorize" -> OK
Input 1002 -> I receive 1002 data -> OK
Input 1001,1002 -> I receive "No Authorize" -> Not OK -> I want to display only 1002 data
No input -> I receive all data both 1001 and 1002 -> Not OK -> I want to display only 1002 data
please help me
critical solution is no input caseHello A J,
are you using the (new) concept of analysis authorizations?
If yes, then think about this important rule: authorizations do not work as a filter. Authorizations define the area that the user is allowed to see, but you still need to define the filters in the query in order to make sure that the query does not select more than the user is authorized to. The variable that you created should help the user filter the data, so it should show you only 1002 in the F4 help, but not 1001. If, however, the user manually enters something out of the authorized area, he should get a "not authorized" error.
So, in your cases:
- Input 1001,1002 -> I receive "No Authorize" -> Not OK -> I want to display only 1002 data
Query tries to select both plants, but the user is only authorized to 1002, so "no authorization" message is expected
- No input -> I receive all data both 1001 and 1002 -> Not OK -> I want to display only 1002 data
This should not happen. Are you sure that data for 1001 is also displayed? If yes, check the authorization log via RSECADMIN to see which authorization allows the user to see plant 1001.
I hope this helps.
Regards,
Maxim -
Last changed date of query showing old date
Hi All,
We have made a change to a query (description change) and saved. When we open the Analyzer we still see the old description and also the last changed date shows an old date. Not the latest date the query was last changed on. We tried generating the query in RSRT, but no luck.
Can someone let us know what we can do?
Thanks!Hi Kams,
We are using the Analyzer, log out back in, etc...
As mentioned we did a regenerate by RSRT 'generate'
any other ideas? -
Display Title in BEX query for Master Data Field
Hi All,
Appreciate if someone can assist me in this.
When we display query result, we will have results of master data field for as master data and Text, e.g Customer and customer text.
BEX display:
Header Line : Customer
Display Line : 90002011 Mary Kay
90002023 John Smith
For the header Line, we have title 'customer', can we have the title for 'Customer Description' instead of having it as a blank field.
Appreciate if someone can assist me in this, I cant find this issue posted by anyone.
Thank you.Hi,
For one object you can not have seperate description for key and text.
Either you need to have seperate object. Check if your Customer object is having some name attribute then display cutomer key with name attribute so that there will be two object and you may change the description in report display.
If this is not possible then you may not have dirctly in reporting. You need to stage one more object in staging area with same cutomer field then one you may use as text the other one as key.
I hope it will help.
Thanks,
S
Maybe you are looking for
-
i bought e75 before 3 month in icad uae.when i repair softwore dont work . It has no guarntee/warenty?
-
Ipod is recognized by itunes but it wont upload songs into ipod help!!!
My ipod is recognized by my computer and the itunes sidebar but it doesnt upload songs that are in my library into the ipod itself. I've tried uninstalling the itunes program and reinstalling it but it doesnt work. i've also restored my ipod but that
-
Implementing hierarchy in a dimension using OMBPLUS script
Hi all, I am trying to create a dimension with two levels using TCL scripts. The first level is 'CHIP' which roll up to 'TOTAL'. I'd like to know how I can implement the hierarchy between the two levels. It would be great if any of you can help me wi
-
Show File name as download link in a report
Hi people, In an application (APEX 4.2.1) I have a reprot whith a file donwload column. I implemented the download as a BLOB column with "DOWNLOAD" as Format Mask. This works fine, I can download attachments, no probs so far. However, I want the Down
-
Does anybody know why Illustrator will open Solidworks DWG files saved in R2007-2009 version but not version R2010?