Please see this query, not showing data Why?
I created a report and write following query,it was working well since last 4 months but today automaticly not showing data I can undertstand why?
Becuase I didnt make any changes in this query.
Please help me
Urgent
SELECT ALL MERCH_ORDER.ORDERNO, MERCH_ORDER.ORDERDATE, MERCH_ORDER.SHIP_DATE, MERCH_ORDER.PONO,
MERCH_ORDER.SUBPP, MERCH_ORDER.PJNO, BUYER.B_NAME, BUYER.B_AJENT,
MERCH_ORDER.ITEM, MERCH_ORDER.FABRIC, MERCH_ORDER.QUALITY, MERCH_ORDER.COMPOSITION,
MERCH_ORDER.P_SIZE, MERCH_ORDER.QUANTITY, MERCH_ORDER.Q_UNIT,
MERCH_ORDER.NETWHT, MERCH_ORDER.WT_UNIT, MERCH_ORDER.TERM, MERCH_ORDER.COMM,
MERCH_ORDER.PRICE, MERCH_ORDER.CUR_SYMB, MERCH_ORDER.STATUS, MERCH_ORDER.REMARKS,
MERCH_ORDER.WONO, MERCH_ORDER.PRONO, MERCH_ORDER.PES_QUANTITY,
MERCH_ORDER.PES_Q_UNIT, MERCH_ORDER.PES_PRICE, MERCH_ORDER.PES_CUR_SYMB
FROM BUYER, MERCH_ORDER
WHERE MERCH_ORDER.CANCEL IS NULL
AND (MERCH_ORDER.B_CODE = BUYER.B_CODE)
and merch_order.orderno not in
(select export_order1.orderno from export_order1)
ORDER BY MERCH_ORDER.ORDERNO
Where "first table" is merch_order and "second table" is export_order1?
How many distinct orders are in each table?
Are there any NULL order numbers in either table?
I'd put money on the fact that if commenting out a clause causes a number of rows to be returned, that clause is filtering out all the rows. You'll need to go through your data to figure out why the NOT IN clause is filtering out all your rows.
Justin
Similar Messages
-
Query not showing data correctly
Hi All
i have one query on FILG cube in which FIscal period and one amount field is in columns
when i see in display data i have seen that there is a data for the period 001/2009, 002/2009 and 006/2009
but when i run the query it only display the data for the period 001/2009, 002/2009 and 006/2009 data is displayed in the overall result columns
this is happening only for one company code
please reply if anyone has came across this issue
ThanksHI,
when i run the query with selection on Fisper - 001/2009 to 006/2009 and comp code -2000
then it displays data for 001/2009, 002/2009
but the data of 006/2009 is displayed in overall result column
there should be one another column with 006/009
for example
Fiscal Year/Period 001/2009 002/2009 Overall Result
Amount Amount Amount
but when i see in listcube it shows the data for Fiscal period 001/2009, 002/2009 and 006/2009 -
Hi,
I have an infoset which is on top of two ODSs.
Data for a particular cost center is present in both the ODSs.
There is no data prsent in RSISET for that CC.
Also the query is not showing any data for that CC but data is showing data
for other CC for the same date.
Please help.
*points assured*Dear Sourav,
You can Check if there is some other primary Key differences in the Infosets .Have you declared only Costcenter as the Key for both the ODS Objects ?? Check the other links that you have maintained as a part of key in Infoset.
Hope it helps..
Thanks,
Krish -
Problem between SSMS and Report ! Filter query not showing data or showing wrong data
Hi all,
In short: I have a report with multiple values such as name of shop, postal code etc. The parameters have no default value and act as "like". If someone enters "krant" he'll get all the shop names that contain "krant" in their
name etc.
Same goes for postal code, if someone enters 2550 he'll get all data for 2550. The problem although is that if a user start with postal code as parameters and leaves the shop name empty, the shop name is not shown in my report! The other way around it works,
when I enter shop name i'll get all shops + postal code in my report.
I know this is because POS name cannot be shown in report because it's left blank, but I want my MDX query to be able to give me the POS names even if I only enter postal code.
Can someone please please look at my query below? I need to add 4 more parameters this way later on too!
SELECT
[Measures].[Sales amount]
ON COLUMNS, NON EMPTY
Filter(
[Point of sale].[POS name].AllMembers,
InStr(
[Point of sale].[POS name].CurrentMember.MEMBER_CAPTION,
@PAR_POSName
) > 0
*Filter(
[Point of sale].[POS postal code].AllMembers,
InStr(
[Point of sale].[POS postal code].CurrentMember.MEMBER_CAPTION,
@PAR_POSTAL_CODE
) > 0
*[Point of sale].[Client id].[Client id]
*[Point of sale].[POS id].[POS id]
*[Point of sale].[POS street].[POS street]
*[Point of sale].[POS town].[POS town]
*[Point of sale].[POS housenumber].[POS housenumber]
ON ROWS
FROM [mycube]You have to use
StrToMember (MDX) /
StrToSet (MDX) /
StrToTuple (MDX) to convert the Parameter; see
Parameterized Reporting Services Reports with Analysis Services as a Data Source
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Discoverer Plus 10gR2 not show data when the script of view have package
Hi my friends.
I have a problem with discoverer plus, I don't know is a problem or I'm doing something wrong.
I have a four views, the views containg in the SELECT stament and WHERE clause packages, example:
SELECT d.price,
d.total,
d.min,
d.mx,
TO_CHAR (SYSDATE, 'q') quarter,
d.fid,
k_xdcd_qry.f_xdc_obt_price (d.prod, d.id) --> package
k_xpxpd_qry.f_xpeds_salary_ca_u (
d.prod,
d.id) xp --> package
FROM px_prices_proc c,
xp_sla_max d,
xmp_sla_puc b
WHERE a.prod = b.prod
AND a.id = b.id
AND a.prod = k_xps_tools.f_obt_prod --> package
When I used the views on discoverer plus for construct the report, when execute the query not show data.
Appreciate it if you could help or tell me I'm doing wrong or does not support Discoverer Plus package execution.Hi Tux,
This appears to be a grant issue. Apparently, you have granted execute with respect to this package to the EUL owner or the view would not have compiled. If you have not given EUL owner the grant option, I would recommend doing this as well.
This appears to be an Oracle APPS EUL (tell me if I am wrong). If this is the case, it goes without saying that APPS will need to be granted the execute privilege.
Also, by default, a stored package executes with the privileges of its owner. If your custom package was designed this way, are the objects which it references received the appropriate grant? I assume you tested this, but I am concerned that the line, a.prod = k_xps_tools.f_obt_prod, in the where clause could be resulting in the Null set being returned.
Patrick -
PLD Report does not show data from Query
Hello,
SAP b1 9.0 PL08 on MSSQL 2008 and I get data on the query, but when the PLD prints, it shows nothing. Is there a way to filter the data that the PLD shows? Does PLD have its own SQL script it uses b/c its not showing data from the query.
Thanks,
NickHi Nicholas,
Please check below links.
query based print layout design
Print Layout Designer \Custom Reports
How to Make a Print Layout (PLD) Report from a SBO Query | SBOnotes.com
http://www.tegrous.com/wp-content/uploads/2011/07/HowTo_QPrintLs_88.pdf
Hope this help
Regards::::
Atul Chakraborty -
Why is this query not using the index?
check out this query:-
SELECT CUST_PO_NUMBER, HEADER_ID, ORDER_TYPE, PO_DATE
FROM TABLE1
WHERE STATUS = 'N'
and here's the explain plan:-
1
2 -------------------------------------------------------------------------------------
3 | Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
4 -------------------------------------------------------------------------------------
5 | 0 | SELECT STATEMENT | | 2735K| 140M| 81036 (2)|
6 |* 1 | TABLE ACCESS FULL| TABLE1 | 2735K| 140M| 81036 (2)|
7 -------------------------------------------------------------------------------------
8
9 Predicate Information (identified by operation id):
10 ---------------------------------------------------
11
12 1 - filter("STATUS"='N')
There is already an index on this column, as is shown below:-
INDEX_NAME INDEX_TYPE UNIQUENESS TABLE_NAME COLUMN_NAME COLUMN_POSITION
1 TABLE1_IDX2 NORMAL NONUNIQUE TABLE1 STATUS 1
2 TABLE1_IDX NORMAL NONUNIQUE TABLE1 HEADER_ID 1
So why is this query not using the index on the 'STATUS' Column?
I've already tried using optimizer hints and regathering the stats on the table, but the execution plan still remains the same, i.e. it still uses a FTS.
I have tried this command also:-
exec dbms_stats.gather_table_stats('GECS','GEPS_CS_SALES_ORDER_HEADER',method_opt=>'for all indexed columns size auto',cascade=>true,degree=>4);
inspite of this, the query is still using a full table scan.
The table has around 55 Lakh records, across 60 columns. And because of the FTS, the query is taking a long time to execute. How do i make it use the index?
Please help.
Edited by: user10047779 on Mar 16, 2010 6:55 AMIf the cardinality is really as skewed as that, you may want to look at putting a histogram on the column (sounds like it would be in order, and that you don't have one).
create table skewed_a_lot
as
select
case when mod(level, 1000) = 0 then 'N' else 'Y' end as Flag,
level as col1
from dual connect by level <= 1000000;
create index skewed_a_lot_i01 on skewed_a_lot (flag);
exec dbms_stats.gather_table_stats(user, 'SKEWED_A_LOT', cascade => true, method_opt => 'for all indexed columns size auto');Is an example. -
The issue: Outlook to iPhone sync failure – Sync suddenly stopped working for calendar events but continued for contacts and notes. Finally Fixed!!!
SUPPORT TEAM – PLEASE SEE THIS – Complete explanation of cause and correction steps.
The cause: It is now clear what caused this problem. For years I had several “all-day” events in my Outlook calendar (birthdays, anniversaries, etc.). In May 2012 I decided to make some of them one hour events so I could add alerts to remind me of the event. I did this by dragging them in Outlook to the time I wanted and expanding them to the time slot desired and then adding the alarm.
The symptom: Syncing stopped working for the calendar but continued working for contacts and notes. I didn’t realize sync was failing until months later when I missed two very important phone calls, so when I noticed it the cause was not obvious.
The failed attempts: I’m head of a software firm and my calendar sync is a crucial to my business life so I took this on with a vengeance. From a quick look at events in Outlook and the iPhone I could see that the problem started in May 2012. Events before May were in both Outlook and the iPhone but events after May were only one or the other. Unfortunately I had changed several other things at the same time relating to other events so again the cause was not obvious. MANY calls with AppleCare proved them incompetent so my internal IT guys assisted trying many things. We tried a huge number of calendar changes and several versions of iTunes, iPhone OS and Office as well as both iPhone 4 and 5, all without success.
The fix: After 18 months of frustration, MANY hundreds of $ expense and MANY hours of wasted time I saw a blog that had a calendar sync problem and it indicated all day events were related. I changed the display of the Outlook calendar to the list view, added columns so I could see “all day” event check marks as well as times of events, sorted on the “all day” event column to move them to the top, and for all events that were “all day” events AND had a start and end time, I removed recurrence and then added the annual recurrence back…
After I fixed all events that had BOTH “all day” set and had a start/end time, I tried another sync. It synced for the first time in 18 months!
Problem occurred May 2012 – fixed Nov 2013Hi, to remove dummy '_ModGrp' entries, rather than crashing the 'Suppr' key on your keyboard, you can use this basic VBA macro (launched for instance from Excel).
It will recursively remove all '_ModGrp...' folders
Sub RemoveFolders_Click()
Dim oOutlook As Outlook.Application
Set oOutlook = New Outlook.Application
Set objNameSpace = oOutlook.GetNamespace("MAPI")
Call CleanFolders(objNameSpace.Folders)
End Sub
Sub CleanFolders(objFolders As Outlook.Folders)
For i = objFolders.Count To 1 Step -1
If Left(objFolders(i).Name, 7) = "_ModGrp" Then
objFolders.Remove( i )
Else
If Not objFolders(i).Folders Is Nothing Then
Call CleanFolders(objFolders(i).Folders)
End If
End If
Next i
End Sub -
I have downloaded iTunes 11.1 but iTunes radio is still not showing up, why is this happening?
Hello there, jrodxo125.
The following Knowledge Base article provides some great information about iTunes Radio:
About iTunes Radio
http://support.apple.com/kb/HT5848
Keep in mind it is currently available only in the US. Additionally:
To use iTunes Radio, you must have iOS 7 or OS X Lion v10.7 or later, iTunes 11.1, or Apple TV 6.0 or later installed on your device or computer as well as an Apple ID for use in the iTunes Store.
Thanks for reaching out to Apple Support Communities.
Cheers,
Pedro D. -
PMI Problem (End-to-End Monitor does not show data)
(End-to-End Monitor does not show data)
As I know that XML Messages Alerts T-code: SXMB_NOMI shows all alerts including errors as well I put date Range: 01-01-2008 to 01-08-2008 and filters for "Errors" system does show more then 300 errors
But problem in RWB - End-to-End Monitoring, when I click on display and date range 01-01-2008 to 01-08-2008 its give me graphical overview in right of window
and shows summary:
Errors: 0 Average
Open 904 Maximum
Successfully Completed 0 Minimum
Overall: 904
I thing End-to-End Monitor doesn't get data from PMI...
why does't show any errors, which is shows in SXMB_MONI
Please tell me how to resolve that problem
Thanks in Advanced
Edited by: issue2008 issue on Aug 26, 2008 12:02 PMHi,
A destination pointing to the Integration Server is created on the J2EE engine to collect the data for the end-to-end monitoring. If this destination is incorrect or if there are several clients in the system of the integration server, the data may be sent to the incorrect client.
This might be a reason so you can implement the correction of the destination in a manual way as follows:
Open the J2EE visual administrator.
Select the Destination service.
Select the HTTP "pmistore" destination.
Enter the URL for the ICF service spi_gate of the Integration Server in the following form "http://<host>:<port>/sap/bc/spi_gate?sap-client=<xxx>", where 'host' denotes the host of the integration server, 'port' denotes the HTTP port, and xxx is the client of the Integration Server.
Thanks,
Hemant -
Hi All,
I have build a cube in ssas 2008. The cube processes successfully. but wheni browse the cube it does not show data.
I check it in dsv Fact table--> Explore data --> it displays data. But i cannot see the data when i browse the cube.
I have 3 cubes in one solution, there i also processed the complete solution. There is no problem with other cubes except for this one.
I have only dragged the measure and not the dimension. hence i do not think there can be any relationship issue.
Can anybody please suggest??
Thanks & Regards, Chaitali ThakerHi Chaitali,
Check if the CALCULATE; command is present in the Scripts/Calculations tab.
Ensure that you specify the relationship between dimensions and measure groups.
Set any related dimension UnknownMember properties to Visible.
thank you,
Radhakishan -
EXCEL out put is not showing data
Hi All,
My report is working fine it is showing data in XML but it is not showing data in Excel output. Excel output is empty.
i have attached excel and xml files. please help me.
FYI: these are migrated reports from 10g to 11g.
Thanks in advance for your timeUsing ua.bat we upgraded 10g to 11g., we got sucessfully message.
after upgrade if i try to open excel it is not showing opening and showing action instead of excel name . I though excel out put has corrupted. i downloaded excel layout from 10g and uploaded in 11g report using upload layout.
we did not make any changes in database.
below one is not related to this one but .. after upgraded reports multi parametrs did not work if i select more than one column ( i opened as different topic) then i have removed
( (coalesce(null, :P_PPD_REGION) is null) and kept(region.X_REGION in (:P_PPD_REGION) from following statement then i did report is working with multi parameters.
my doubt is is it correct thing i did ? if not how can my multi parameter will work . we are using oracle as database.
AND ( (coalesce(null, :P_PPD_REGION) is null) or (region.X_REGION in (:P_PPD_REGION)) )
AND ( (coalesce(null, :P_COUNTRY) is null) or (region.REGION_CD in (:P_COUNTRY)) )
AND ( (coalesce(null, :P_SITE_NUM) is null) or (ptcl_site.site_num in (:P_SITE_NUM)) )
I really appreciate for your support. -
2lis_03_bf data is not showing data in RSA3
Hi,
I have loaded 2lis_03_bx first for a plant using MCNB transaction,its showing data in RSA3 then I have loaded 2lis_03_bf datasource for the same plant using transaction 0LI2BW. but it is not showing data in RSA3.
I have done the above process in background.
In SM37 it is showing the following message for the 2lis_03_bf datasource
<b>Job started
Step 001 started (program RMCBNEUB, variant &0000000000003, user ID TCS_SRM)
Date fields for info structure S032 are not generated
Job finished</b>
steps:
1.Before loading the data I have deleted data using LBWG
2.In LBWE, 2lis_03_bf is already activated.
Please help me out on resolving the above issue
Thanks in AdvanceODS Settings
BEx reporting option --> If this indicator is not set, no SID's are generated for the new characteristics when the data in the ODS object is activated.This optimizes the performance of the activation process, but the ODS object is not available as an InfoProvider for queries.
Refer this link for more information...
http://help.sap.com/saphelp_nw04/helpdata/en/a6/1205406640c442e10000000a1550b0/frameset.htm -
Hi when i run this query its showing an error ORA_22905 cannot access rows
hi when i run this query its showing an error ORA_22905 cannot access rows from an non nested table item can anyone help me out
SELECT
DISTINCT SERVICE_TBL.SERVICE_ID , SERVICE_TBL.CON_TYPE, SERVICE_TBL.S_DESC || '(' || SERVICE_TBL.CON_TYPE || ')' AS SERVICE_DESC ,SERVICE_TBL.CON_STAT
FROM
TABLE(:B1 )SERVICE_TBL
WHERE
CON_NUM = :B2
thanks & regardsNote the name of this forum is SQL Developer *(Not for general SQL/PLSQL questions)* (so for issues with the SQL Developer tool). Please post these questions under the dedicated SQL And PL/SQL forum.
Regards,
K. -
error when using feedback: "Your feedback seems to contain a URL. Please remove this and similar personal data from the text, then try again. Thanks!"
Using FF4.0 b10 with MS XP sp3well, for starters, is there a URL (link) in the text? if so, you will have to take it out, and include it in the little link area under the comments box.
If not, check to see if you have 'Http://' or '.com' or something similar in the text.
Maybe you are looking for
-
How can I change the iCloud account associated with my iphone
I changed my e-mail address a few months ago including changing my Apple ID to reflect my new e-mail. For some reason, my iphone and my ipad are both stuck with the iCloud username of my old e-mail address. When I try to delete these accounts like ot
-
How do I install premire 10 to new imac with ML
I get the error message listed below when I try to install from the original DVD for adobe premire. I purchased an iMac with version 10.8.5 I am trying to install from my original DVD's Adobe Premire 10 Elements installed alright but the premire
-
I published my site and uploaded it to the web and the places I used Droid Serif Bold the fonts do not appear until I refresh the page. It appears that some script is being loaded by MUSE which doesn't load prior to everything else and only on page r
-
Dear all, I urgently need your help with the issue as described below. About a year ago we have started to use a new bank account nr. The bank GL account nr is 10950000. About 2 months ago we noticied that the planning group for this bank gl account
-
Hi, everyone, I noticed that the Selection tool (V) does not work properly, I use Ai CS3, and I can`t resize,move or select any object or text, Can anyone help me? Thanks a lot Diana