Bi analyser query
does .net freamwork 1.1 supports office 2003
i am installing
dotnetfx.exe (.net 1.1)
vjredist.exe (redistributable runtime 1.1)
SAP 640
sap patch 23
BW700SP16_1600.EXE
after installation i am getting toolbar xxxBEx Analysis Toolboxxxx in german language
for example it is showing offnen for open
toolbar doesnt work
Hello Gajanan,
Its a GUI Problem and you should check the appropriate GUI version and recommended Patch level.
Please download this patch from Microsoft , this may fix your problem.
http://support.microsoft.com/kb/907417/
Please refer this OSS Note 147519 - Maintenance strategy / deadlines 'SAP GUI'
Also please try this, right click in the grey area near the toolbars in excel and down the bottom of the list there should toolbars that start xxxBEX####xxx click on these to remove.
Please refer to OSS for BI7.0 GUI
Note 877774 - Pre-requisite for BI 7.0 Frontend
Note 918394 - BI Frontend installation check tool
Note 1050605 - No response for the toolbars in BEx Analyzer 2004s
Note 1049712 - Applying Patches for NetWeaver BI Frontend
930350 - Termination in Web Application Designer when you Drag & Drop
Thanks
Chandran
Similar Messages
-
Dear Experts,
Want to Sales Analysis Query same as Sales Analysis in SAP
In standard SAP when we run report with anual slection criteria for eg, 01/04/2010 To 31/03/12
it's show in one column not display in compare with Quaterwise & Monthwise report.
Result for query is
Customer Code, Customer Name, Year2010 (Sales), Year2011 (Sales), Year2012 (Sales)
Please help me.
BR
DeepOk........
It was my query mistake.......
Please try this......
SELECT Distinct T0.CardCode,T0.CardName,
(isnull((SELECT SUM((case when SUBSTRING((CONVERT(VARCHAR(11),T4.DOCDATE,106)),8,11) like '2006%' then T4.LineTotal else 0 end))
FROM INV1 T4 WHERE T4.ItemCode=T1.ItemCode ),0)) '2006',
(isnull((SELECT SUM((case when SUBSTRING((CONVERT(VARCHAR(11),T4.DOCDATE,106)),8,11) like '2007%' then T4.LineTotal else 0 end))
FROM INV1 T4 WHERE T4.ItemCode=T1.ItemCode ),0)) '2007',
(isnull((SELECT SUM((case when SUBSTRING((CONVERT(VARCHAR(11),T4.DOCDATE,106)),8,11) like '2008%' then T4.LineTotal else 0 end))
FROM INV1 T4 WHERE T4.ItemCode=T1.ItemCode ),0)) '2008',
(isnull((SELECT SUM((case when SUBSTRING((CONVERT(VARCHAR(11),T4.DOCDATE,106)),8,11) like '2009%' then T4.LineTotal else 0 end))
FROM INV1 T4 WHERE T4.ItemCode=T1.ItemCode ),0)) '2009',
(isnull((SELECT SUM((case when SUBSTRING((CONVERT(VARCHAR(11),T4.DOCDATE,106)),8,11) like '2010%' then T4.LineTotal else 0 end))
FROM INV1 T4 WHERE T4.ItemCode=T1.ItemCode ),0)) '2010',
(isnull((SELECT SUM((case when SUBSTRING((CONVERT(VARCHAR(11),T4.DOCDATE,106)),8,11) like '2011%' then T4.LineTotal else 0 end))
FROM INV1 T4 WHERE T4.ItemCode=T1.ItemCode ),0)) '2011',
(isnull((SELECT SUM((case when SUBSTRING((CONVERT(VARCHAR(11),T4.DOCDATE,106)),8,11) like '2012%' then T4.LineTotal else 0 end))
FROM INV1 T4 WHERE T4.ItemCode=T1.ItemCode ),0)) '2012'
FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry
Group By SUBSTRING((CONVERT(VARCHAR(11),T0.DOCDATE,106)),8,11), T1.ItemCode, T0.CardName, t0.CardCode
Regards,
Rahul -
Experts,
I have compiled a Sales Analysis Query for a client who need more information than the Sales Analysis in SBO can give them.
I have found that if I only run the Months of July and August (choose these randomly) I get the correct amounts in the July and August columns.
When I add these months to the whole query, July and August gets multiplied. The more invoices I add for a specific customer the more it is multiplied.
I need to know what is wrong with the whole query. Any help would be appreciated.
Here is the July & August query that is correct:
SELECT T0.[CardCode], T0.[CardName],
(SUM(T9.Debit) - sum(T9.Credit)) AS 'July',
(SUM(T10.Debit) - sum(T10.Credit)) AS 'August'
FROM OCRD T0
LEFT JOIN JDT1 T9 ON T9.ShortName = T0.CardCode AND Month(T9.Duedate) = 7 AND Year(T9.Duedate) = 2010 AND T9.TransType in ('13','14')
LEFT JOIN JDT1 T10 ON T10.ShortName = T0.CardCode AND Month(T10.Duedate) = 8 AND Year(T10.Duedate) = 2010 AND T10.TransType in ('13','14')
WHERE T0.CardType = 'C'
Group By T0.[CardCode], T0.[CardName]
Here is the Total query that mulitplies the data per month:
SELECT T0.CardCode, T0.CardName,
(SUM(T1.Debit) - sum(T1.Credit)) AS 'Total Sales 2009', ((SUM(T1.Debit) - sum(T1.Credit))/12) AS '2009 Monthly Avg', (SUM(T2.Debit) - sum(T2.Credit)) AS 'Total Sales 2010',
((SUM(T2.Debit) - sum(T2.Credit))/Month(GetDate())) AS '2010 Monthly Avg',
(SUM(T3.Debit) - sum(T3.Credit)) AS 'January 2010',
(SUM(T4.Debit) - sum(T4.Credit)) AS 'February 2010',
(SUM(T5.Debit) - sum(T5.Credit)) AS 'March 2010',
(SUM(T6.Debit) - sum(T6.Credit)) AS 'April 2010',
(SUM(T7.Debit) - sum(T7.Credit)) AS 'May 2010',
(SUM(T8.Debit) - sum(T8.Credit)) AS 'June 2010',
(SUM(T9.Debit) - sum(T9.Credit)) AS 'July 2010',
(SUM(T10.Debit) - sum(T10.Credit)) AS 'August 2010',
(SUM(T11.Debit) - sum(T11.Credit)) AS 'September 2010',
(SUM(T12.Debit) - sum(T12.Credit)) AS 'October 2010',
(SUM(T13.Debit) - sum(T13.Credit)) AS 'November 2010',
(SUM(T14.Debit) - sum(T14.Credit)) AS 'December 2010'
FROM OCRD T0
LEFT JOIN JDT1 T1 ON T1.ShortName = T0.CardCode AND Year(T1.Duedate) = 2009 AND T1.TransType in ('13','14')
LEFT JOIN JDT1 T2 ON T2.ShortName = T0.CardCode AND Year(T2.Duedate) = 2010 AND T2.TransType in ('13','14')
LEFT JOIN JDT1 T3 ON T3.ShortName = T0.CardCode AND Month(T3.Duedate) = 1 AND Year(T3.Duedate) = 2010 AND T3.TransType in ('13','14')
LEFT JOIN JDT1 T4 ON T4.ShortName = T0.CardCode AND Month(T4.Duedate) = 2 AND Year(T4.Duedate) = 2010 AND T4.TransType in ('13','14')
LEFT JOIN JDT1 T5 ON T5.ShortName = T0.CardCode AND Month(T5.Duedate) = 3 AND Year(T5.Duedate) = 2010 AND T5.TransType in ('13','14')
LEFT JOIN JDT1 T6 ON T6.ShortName = T0.CardCode AND Month(T6.Duedate) = 4 AND Year(T6.Duedate) = 2010 AND T6.TransType in ('13','14')
LEFT JOIN JDT1 T7 ON T7.ShortName = T0.CardCode AND Month(T7.Duedate) = 5 AND Year(T7.Duedate) = 2010 AND T7.TransType in ('13','14')
LEFT JOIN JDT1 T8 ON T8.ShortName = T0.CardCode AND Month(T8.Duedate) = 6 AND Year(T8.Duedate) = 2010 AND T8.TransType in ('13','14')
LEFT JOIN JDT1 T9 ON T9.ShortName = T0.CardCode AND Month(T9.Duedate) = 7 AND Year(T9.Duedate) = 2010 AND T9.TransType in ('13','14')
LEFT JOIN JDT1 T10 ON T10.ShortName = T0.CardCode AND Month(T10.Duedate) = 8 AND Year(T10.Duedate) = 2010 AND T10.TransType in ('13','14')
LEFT JOIN JDT1 T11 ON T11.ShortName = T0.CardCode AND Month(T11.Duedate) = 9 AND Year(T11.Duedate) = 2010 AND T11.TransType in ('13','14')
LEFT JOIN JDT1 T12 ON T12.ShortName = T0.CardCode AND Month(T12.Duedate) = 10 AND Year(T12.Duedate) = 2010 AND T12.TransType in ('13','14')
LEFT JOIN JDT1 T13 ON T13.ShortName = T0.CardCode AND Month(T13.Duedate) = 11 AND Year(T13.Duedate) = 2010 AND T13.TransType in ('13','14')
LEFT JOIN JDT1 T14 ON T14.ShortName = T0.CardCode AND Month(T14.Duedate) = 12 AND Year(T14.Duedate) = 2010 AND T14.TransType in ('13','14')
WHERE T0.CardType = 'C'
Group By T0.CardCode, T0.CardNameHi,
Try this
SELECT T0.CardCode, T0.CardName,
(SUM(T1.Debit) - sum(T1.Credit)) AS 'Total Sales 2009', ((SUM(T1.Debit) - sum(T1.Credit))/12) AS '2009 Monthly Avg', (SUM(T1.Debit) - sum(T1.Credit)) AS 'Total Sales 2010',
((SUM(T1.Debit) - sum(T1.Credit))/Month(GetDate())) AS '2010 Monthly Avg',
((sum(Case DATENAME(month,T1.DueDate) when 'January' then T1.Debit else 0 end)-sum(Case DATENAME(month,T1.DueDate) when 'January' then T1.Credit else 0 end))) Jan,
(sum(Case DATENAME(month,T1.DueDate) when 'February' then T1.Debit else 0 end)-sum(Case DATENAME(month,T1.DueDate) when 'February' then T1.Credit else 0 end))[Feb],
(sum(Case DATENAME(month,T1.DueDate) when 'March' then T1.Debit else 0 end)-sum(Case DATENAME(month,T1.DueDate) when 'March' then T1.Credit else 0 end))Mar,
(sum(Case DATENAME(month,T1.DueDate) when 'April' then T1.Debit else 0 end)-sum(Case DATENAME(month,T1.DueDate) when 'April' then T1.Credit else 0 end))Apr,
(sum(Case DATENAME(month,T1.DueDate) when 'May' then T1.Debit else 0 end)-sum(Case DATENAME(month,T1.DueDate) when 'May' then T1.Credit else 0 end))May,
(sum(Case DATENAME(month,T1.DueDate) when 'June' then T1.Debit else 0 end)-sum(Case DATENAME(month,T1.DueDate) when 'June' then T1.Credit else 0 end))Jun,
(sum(Case DATENAME(month,T1.DueDate) when 'July' then T1.Debit else 0 end)-sum(Case DATENAME(month,T1.DueDate) when 'July' then T1.Credit else 0 end))Jul,
(sum(Case DATENAME(month,T1.DueDate) when 'August' then T1.Debit else 0 end)-sum(Case DATENAME(month,T1.DueDate) when 'August' then T1.Credit else 0 end))Aug,
(sum(Case DATENAME(month,T1.DueDate) when 'September' then T1.Debit else 0 end)-sum(Case DATENAME(month,T1.DueDate) when 'September' then T1.Credit else 0 end))Sep,
(sum(Case DATENAME(month,T1.DueDate) when 'October' then T1.Debit else 0 end)-sum(Case DATENAME(month,T1.DueDate) when 'January' then T1.Credit else 0 end))Oct,
(sum(Case DATENAME(month,T1.DueDate) when 'November' then T1.Debit else 0 end)-sum(Case DATENAME(month,T1.DueDate) when 'November' then T1.Credit else 0 end))Nov,
(sum(Case DATENAME(month,T1.DueDate) when 'December' then T1.Debit else 0 end)-sum(Case DATENAME(month,T1.DueDate) when 'December' then T1.Credit else 0 end)) Dec
FROM OCRD T0
LEFT JOIN JDT1 T1 ON T1.ShortName = T0.CardCode AND Year(T1.Duedate) = 2010 AND T1.TransType in ('13','14')
WHERE T0.CardType = 'C'
group by DATENAME(month,T1.DueDate), T0.CardCode, T0.CardName
Thanks,
Neetu -
Hi
I have a requirement to change the query which is exactly
the same as Days Overdue analysis query (0FIAR_C03_Q0005)
based on FI_AR line item cube which calculate the ageing buckets.
In this query we have a key due date and all the ranges are
calculated on this and they are all fixed 30, 60, 90,....
But In my case the user want to have the flexibility to enter the bucket values as 15, 25, 35,....
and then all the key figures should calculated accordingly..
Please advise how this can be achieved....
Many Thanks in advance.
Kind Regards,
Kate.Kate
U will have to create a variable on a date which is a basis for overdue calculation and then make a replacement path for the same, in a coding for make a fields as a parameter (so that it will appear in the selection screen of the query) Now, u will offset date by this parameter value. This u have to Code in ABAP in Exit with the help of ABAPer, it's bit of abnormal requirement, It will great if u could manage to do this.
Please let me know the progress so that i can add a bit whenever required.
Message was edited by: sunraj -
Hi Everyone,
Can any one help me to get the customized GL Account Analysis query with group by main & sub account ..
I have a oracle standard report query GL Account Analysis (132 Char), i found it difficult to change..
Please Help me to get this.
Thank You
Regards
MohsinHi Vijay,
Thanks for replay,
I tried with two roles, but no success.
I think that in the new concept, the union is created even there are different roles.
The only way when there was a success in splitting the union was when the one query I created over one multi provider and the second over another. Then in both analysis objects i restrict the multi providers that they are relevant to. But I am still wondering if there any possibility to split the union when the queries are made over one multi provider.
I am not sure if the characteristics in 0bi_all can help me for restriction. For example i saw that there is a special object for restricting a queries, but it won't work when i tried. -
Experts,
I have a client show need the Sales Analysis report in one excel file without having to open up each customer line to export this.
I created the following query, but get the error "Arithmetic overflow error converting expression to data type datetime. 'User-Defined Values' "
SELECT T0.[DocNum], T0.[ObjType], T0.[DocDate], T0.[DocDueDate], T0.[CardCode], T0.[CardName], T0.[DocTotal], T0.[VatSum], (T0.[DocTotal] - T0.[VatSum]) AS 'Total-Tax', T0.[GrosProfit], (T0.[GrosProfit]/(T0.[DocTotal] - T0.[VatSum])*100) AS 'GrossProfit%'
FROM OINV T0
UNION
SELECT T0.[DocNum], T0.[ObjType], T0.[DocDate], T0.[DocDueDate], T0.[CardCode], T0.[CardName], T0.[DocTotal], T0.[VatSum], (T0.[DocTotal] - T0.[VatSum]) AS 'Total-Tax', T0.[GrosProfit], (T0.[GrosProfit]/(T0.[DocTotal] - T0.[VatSum])*100) AS 'GrossProfit%'
FROM ORIN T0
WHERE T0.[DocDate] >=[%0] AND T0.[DocDate] <=[%1]
ORDER BY T0.[CardCode]
Any help in solving this error will be welcome!
MarliHi Marli,
Try this:
SELECT T0.[DocNum], T0.[ObjType], T0.[DocDate], T0.[DocDueDate], T0.[CardCode], T0.[CardName], T0.[DocTotal], T0.[VatSum], (T0.[DocTotal] - T0.[VatSum]) AS 'Total-Tax', T0.[GrosProfit], (T0.[GrosProfit]/(T0.[DocTotal] - T0.[VatSum])*100) AS 'GrossProfit%'
FROM OINV T0
WHERE T0.[DocDate] >=[%0] AND T0.[DocDate] <=[%1] and T0.VatSum !=0
UNION
SELECT T0.[DocNum], T0.[ObjType], T0.[DocDate], T0.[DocDueDate], T0.[CardCode], T0.[CardName], T0.[DocTotal], T0.[VatSum], (T0.[DocTotal] - T0.[VatSum]) AS 'Total-Tax', T0.[GrosProfit], (T0.[GrosProfit]/(T0.[DocTotal] - T0.[VatSum])*100) AS 'GrossProfit%'
FROM ORIN T0
WHERE T0.[DocDate] >=[%0] AND T0.[DocDate] <=[%1] and T0.VatSum !=0
ORDER BY T0.[CardCode]
Thanks,
Neetu -
Account Transaction Analysis query
Hello,
I want to create a GL Account Transactions Analysis Report. Can anybody help me with the tables needed for the query?
ThanksTry looking at e.g. report $GL_TOP/reports/US/GLRJED.rdf - main tables are:
gl_code_combinations cc,
gl_je_lines jel,
gl_je_headers jeh,
gl_je_batches jeb,
gl_je_categories cat,
gl_je_sources src
PS. gl_code_combinations_kfv has concatenated_segments which is very handy rather than dealing with the accounting key flexfield segments separately.
Gareth
Blog: http://garethroberts.blogspot.com
Added PS. -
Sales Analysis query per item group summarized per BP Group
Dear experts,
My client is requiring me to create a query that when i select a certain item group it returns a sum/total of sold items in that group per BP group
format:
parameter: Item Group A
BP Group A 1,000
BP Group B 2,000
BP Group C 1,000
I have managed to get total sales per BP Group but i cant seem to figure how to break it down per Item Group
here is my query:
SELECT T2.[GroupCode], SUM(ISNULL(T0.Debit,0) - ISNULL(T0.Credit,0)) as "Amount(LC)" FROM JDT1 T0 INNER JOIN OJDT T1 ON T0.TransId = T1.TransId and T0.TransType IN (13,14)
INNER JOIN OCRD T2 ON T2.CardCode = T0.ShortName
WHERE T1.[RefDate] BETWEEN [%0] and [%1]
GROUP BY T2.[GroupCode]
how can I link Item Groups to JDT1?Hi Carlo
Try This
SELECT t5.ItmsGrpNam AS ItemGroup,
t7.GroupName AS BPGroup,
SUM(ISNULL(T0.Debit,0) - ISNULL(T0.Credit,0)) AS "Amount(LC)"
FROM JDT1 T0
INNER JOIN OINV T1 ON T0.transid = T1.transid
LEFT OUTER JOIN INV1 T3 ON T1.docentry = T3.docentry
LEFT OUTER JOIN oitm T4 ON t4.itemcode = T3.itemcode
LEFT OUTER JOIN oitb T5 ON T4.ItmsGrpCod = T5.ItmsGrpCod
INNER JOIN ocrd T6 ON T0.ShortName = T6.CardCode
INNER JOIN OCRG T7 ON t7.GroupCode=t6.GroupCode
WHERE T1.DocDate BETWEEN [%0] AND [%1]
GROUP BY t5.ItmsGrpNam,
t7.GroupName
Rgds -
Tuxedo Performance Analysis - Query - tried txrpt not receiving report
Hi All,
We have currently migrated from Solaris-8 - Tuxedo 8 environment to Solaris 10 - Tuxedo 11gr1 Staging environment.
All the application binaries were running fine.
However we conducted a performance testing for 500 users we could see the performance coming down, when compared to our old performance report of
Solaris 8 - tux8 environment.
However we doubt it may be some issue with the network or some other server via which the requests are hitting or responses leaving our system.
Can you suggest any utility or its usage by which we can check that our current Tuxedo version is working fine than the older one?
Like how much time tuxedo is taking now to process,the throughputs.
can you please suggest some way to monitor or generate some sort of report to compare tuxedo 8 performance and Tuxedo 11g R1 performance for same application.
tried the txrpt
I5_RQMG_0002_00
SRVGRP=AQUREQGRP
SRVID=2000
CLOPT="-r -s PSY_MG_0002_00:I5_RQMG_0002_00 -o logs/slog/I5_RQMG_0002_00.out -e logs/slog/I5_RQMG_0002_00.err"
MIN=1 MAX=1
RQADDR="I5_RQMG_0012_00Q2"
REPLYQ=Y
for this above server :
-rwxrwxrwx 1 tuxedo tuxedo 71022518 May 29 14:56 I5_RQMG_0002_00.err
I get the above file generated.
Executed the command:
tuxconsolas1:/apps/tuxapps/intserv/logs/slog>txrpt -nPSY_MG_0002_00 -d05/29 -s02:00 -e14:00 I5_RQMG_0002_00.err > txrpt.out
I am just receiving :
tuxconsolas1:/apps/tuxapps/intserv/logs/slog>less txrpt.out
START AFTER: Tue May 29 02:00:00 2012
END BEFORE: Tue May 29 14:00:00 2012
in the report and the process hangs for me.
Am i doing any error?
Edited by: 835542 on May 29, 2012 10:27 AMHi,
If you want detailed performance analysis of your Tuxedo 11gR1 application, you can use TSAM (Tuxedo System and Application Monitor) to get very detailed performance information including time spent on network links, time spent waiting in IPC queues, etc. Unfortunately you won't be able to use the same tool for your Tuxedo 8.0 application as it is too old for TSAM to support.
Regards,
Todd Little
Oracle Tuxedo Chief Architect -
Top-N Analysis query in explicit cursor
Hi all,
I am using developer tool Reports 6i and database 10g
i have written a cursor query
cursor cur_voy is
select * from(select bvd_voy,bvd_vessel from bl_details,bl_voyage_details
where bdl_company =bvd_company
order by bvd_reference,bvd_serial asc)
where rownum<=1;
but its show error :- Encountered the symbol 'order' when expecting one of the following
.(),*,@,%,&,-,+,/,mod,rem ..........
why it shows errors ?
please help
Thanks in advance
RinzHi,
Please post the complete block/proc...
The sql seems ok..
similar logic posted below...
declare
cursor c1 is
WITH t AS
(SELECT 1 ID, 'AA' NAME
FROM DUAL
UNION ALL
SELECT 2 ID, 'BB' NAME
FROM DUAL
UNION ALL
SELECT 3 ID, 'CC' NAME
FROM DUAL),
t2 AS
(SELECT 1 ID, 'DD' name2
FROM DUAL
UNION ALL
SELECT 2 ID, 'EE' name2
FROM DUAL
UNION ALL
SELECT 3 ID, 'FF' name2
FROM DUAL)
SELECT *
FROM (SELECT NAME, name2
FROM t, t2
WHERE t.ID = t2.ID
ORDER BY t.ID, t2.ID asc)
where rownum<=1 ;
begin
null;
end; -
Hello Team,
We have done with the SPM Installations & Configuration with the client BI system. The following Queries buit on the Multiprovider 0ASA_MP01 is not running in BEx(Opens with error) and RSRT.
0ASA_MP01_Q1002 Spend Analysis Final
0ASA_MP01_Q0002 Contract Age
0ASA_MP01_Q0003 Expiring Contracts
When executing the quereis the Varaible screen appears, then screen proceed to program error. I tried checking with and without variables while executing the queries.
The error messages are as follows,
For Spend Analysis Final
I>> Row: 82 Inc: LRRMSU13 Prog: SAPLRRMS
ASystem error in program SAPLRRI2 and form CUDIM_FUELLEN_GEN-03- (see long
For Contract Age
I>> Row: 82 Inc: LRRMSU13 Prog: SAPLRRMS
ASystem error in program CL_RSR_RRK0_ATTR_C and form CREATE_PARTITION-01-
ASystem error in program SAPLRRK0 and form INITIALIZE_DATA_ACCESS-01- (see
For Expiring Contracts
I>> Row: 82 Inc: LRRMSU13 Prog: SAPLRRMS
ASystem error in program CL_RSR_RRK0_ATTR_C and form CREATE_PARTITION-01-
ASystem error in program SAPLRRK0 and form INITIALIZE_DATA_ACCESS-01- (see
The Other SPM standard queries built on 0ASA_MP04 & 0ASA_C13 are running fine.
Please guide me to sort this issue.
Thanks..
Santhosh Kumar NHi Santosh
Yes, it is critical to get all the Spend related queries in an excutable state before you are able to launch the application.
This seems to be some issue on the BW side, pls have your BW Basis administrator check it out. Maybe your BW server is not properly patched.
I did a quick search on the term "CREATE_PARTITION-01" AND "CL_RSR_RRK0_ATTR_C " in Svc Market Place and foudn these three BW notes: 1489975, 1340340, 1412925. Pls see if they apply. Also feel free to do additional note searches for yourself.
Once the BW issues are resolved the SPM queries shoudl work.
Do write back and confirm what helped fix the problem.
Regards
Rajesh -
How to analyse in Query Designer
As per Query,
1.
Deferred Holidays = 'Deferred annual leave days' + ' Deferred annual leave days, / previous year' - 'Deferred holidays taken this year'
After executing query i am getting ansswe as "-1", but as per client it has to come as "0"
What is approach for analysing query
2.
Holidays left
*'Remaining annual leave, this year' + 'Remaining annual leave, old' - 'No. of paid annual l' - 'Deferred annual leave days'*
As per client it has to be 38, but as per query we are getting 33
ALL THESE ARE MENTIONED IN COLUMNS ONLY.
What is approach for analysing queryHi Sri,
Narrow down your output, as you gave example like 0 or 38.
Check for same in your cube/DSO. E.g. if you are looking for this data based on employee then search for that emplyee info in your data provider.
Do the calculation on paper and confirm that data in cube is correct. If so then only you can be sure that problem is in the query.
then it will be easy fix, as you will have issue with your formula only. try to put all formula variable as individual column in report and then check the data.
If you reduce your result it will be easily identified for 1 record.
Thanks,
Vinod -
Query to match Sales Analysis output exactly
Hello,
I have tried several queries to match the output of the Sales Analysis report. I have done so by customer and by sales employee. I have failed to create a query that always matches the outcome of the Sales Analysis query exactly. I would greatly appreciate it if someone could provide such a query even if it just matches net A/R invoice total by date range so that it can be compared with Sales Analysis tool. From there I can use joins to see other results, e.g., net sales by sales employee by customer.
Thank you,
LangThanks for your response. Yes, we need to account for credit memos and have already done so. I had not thought to check for canceled state on invoices though, so thanks for that. I did a quick query and there were no canceled invoices in the database, however, it will be good to incorporate regardless. My annual net is close to being correct, but must be exact. I don't need any other information to be output except net balance, i.e., balance after credit memos, document discounts, miscellaneous expenses recorded in freight field, and ?. Using doctotal on documents takes into account the document discounts and miscellaneous expenses. Another way to go is work at the line item level, e.g., INV1 or JDT1, and then account for the document discount and freight (totalexpns). Approaches that use INV1 linetotal naturally fail on their own since they don't account for document discounts and freight expenses. At the risk of being redundant, any approaches that don't include credit memos will naturally fail as well. Here is a few approaches I have tried (that have been almost correct, but not exact, i.e., off by hundreds or a few thousand with net being in the single digit millions):
Approach #1:
declare @start datetime
declare @end datetime
set @start = '01/01/2008'
set @end = '12/31/2008'
select sum(t2.subtotal) from (select t0.doctotal as subtotal
from oinv t0
where t0.docdate between @start and @end
union all
select -1*t0.doctotal as subtotal
from orin t0
where t0.docdate between @start and @end) t2
Note: this approach was off by a couple hundred dollars or so. I would like to run this query in B1, but it summarizes a union and that seems to cause B1 to not be able to handle it. It runs fine in any other SQL Server client. I would rather run it in B1 with dynamically selectable start and end dates, via '[%0]' etc. The same is true for Approach #2 below.
Approach #2:
declare @start datetime
declare @end datetime
set @start = u201801/02/2008u2019
set @end = u201812/31/2008u2019
Select sum(t5.subtotal) from (Select SUM as subtotal
From INV1 T0
Inner JOIN OINV T1 ON T1.DocEntry = T0.DocEntry
Where T1.DocDate BETWEEN @start AND @end
Union All
Select -SUM as subtotal
From RIN1 T0
Inner JOIN ORIN T1 ON T1.DocEntry = T0.DocEntry
Where T1.DocDate BETWEEN @start AND @end
union all
select sum(t0.totalexpns) as subtotal
from oinv t0
where t0.docdate between @start and @end union all
select sum(t0.totalexpns) as subtotal
from orin t0
where t0.docdate between @start and @end) t5
Note: the outcome of this is identical to Approach #1.
Approach #3:
SELECT SUM as u2018Net Balanceu2019
from JDT1 T0
Inner Join OJDT T1 ON T1.TransId = T0.TransID and
(T1.TransType = u201813u2019 or T1.TransType = u201814u2019)
Inner Join OCRD T2 ON T2.CardCode = T0.ShortName
LEFT JOIN OINV T3 ON T3.TransId = T1.TransId
LEFT JOIN ORIN T4 ON T4.TransID = T1.TransId
Where T1.refdate Between u2018[%0]u2019 and u2018[%1]u2019 and T2.CardType = u2018Cu2019
Note: This query fails because it does not account for miscellaneous expenses recorded in the freight field of invoices and credit memos. Adding those in is possible, but fails due to the 'Inner Join OCRD T2 ON T2.CardCode = T0.ShortName. This is because in the case of freight expense journal line items the shortname does not match the cardcode of the BP, but rather the system account it references. I haven't spent more time to rework the logic of the join to overcome this, but it could possibly be added back in via a union which is subsequently totaled.
I think I tried a few other approaches as well, but to no avail.
A related question/annoyance: I have noticed that certain queries in B1 cannot be executed correctly (they throw an error or have strange behavior like returning only the first row returned) though they can run fine in SQL Server Manager or other SQL Server clients. Why is that? It is annoying and unrealistic to have clients have to use another tool for certain queries. Examples of such queries are those involving cursors, certain summarizing selects that work on a union as input, and queries that contain certain elements of TSQL, like variable declarations (not sure about this last one, but it seems to sometimes cause the query to fail in B1). I wish I knew how to overcome this so that all queries could run in B1.
Edited by: Lang Riley on Jan 22, 2009 8:08 PM
Edited by: Lang Riley on Jan 22, 2009 8:15 PM -
Vendor open items Overdue Analysis on top of 0FIAP_C03 ---" NO DATA FOUND"
Hi All,
I have created a vendor overdue analysis query on top of 0FIAP_C03 same as days overdue analysis on top OFIAR_C03.
But when i am executing vendor open items overdue analysis i am getting " NO APPLICATION DATA FOUND" while my days overdue analysis of FIAR is working.
So can you tell what are changes that need to be made in vendor overdue analysis as i have exactly copied days overdue analysis except here its vendor not customer.
But i checked in ECC side data is there for vendor open item overdue analysis
Looking for a quick reply.
With regards,
MontzI assume that there is data in the AP cube and the read pointer is upto date (ie all request are available for reporting)
When doing a list cube on AP can you see the data?
Then if all is fine it is a simple case of going through the RKFs and filters finding out where there is a join failure -
Pivot sales analysis report by day for a particular month - sap has by month and annual
Hi guys,
I'm trying to come up with a pivot sales analysis query report for items for the month by displaying individual days sales, sales amount, gross profit, gross profit %
e.g
Month of March
1st, 2nd, 3rd, 4th.....31st march. In sap their is a sales analysis report by
days of the month
1st March
2nd march
31st march
item no
item description
Qty
sale amount
gross profit
gross profit%
qty
sale amt
gross profit
gross profit %
Qty
sale amt
gross profit
gross profit %
sugar
20
20,000
5,000
25
30
30,000
10000
33.3
40
40000
15000
37.5
n02
n03
no4
Regards BrianHi,
Due to pivot limitation, not possible to get above data in pivot table.
Try this simple query which matches system sales analysis by item.
SELECT t1.itemcode as Itemcode, T1.[Dscription] as 'Item description', sum(T1.[Quantity]) as Qty, sum(T1.[LineTotal]) as 'sales amount', sum(T1.[GrssProfit]) as 'Gross Profit'
FROM OINV T0 INNER JOIN INV1 T1 ON T0.DocEntry = T1.DocEntry WHERE month( T0.[DocDate]) = '1' and year( T0.[DocDate]) =2014 GROUP BY T1.[ItemCode], T1.[Dscription]
Thanks & Regards,
Nagarajan
Maybe you are looking for
-
One of our laptops keep crashing indesign and illustrator all the time on windows 8. Viallisen sovelluksen nimi: InDesign.exe, versio: 9.2.2.103, aikaleima: 0x537279c1 Viallisen moduulin nimi: AdobePSL.dll, versio: 14.0.0.31988, aikaleima: 0x5272de8e
-
How would I be able to take my credit card off iTunes
How would I be able to take off my credit card information
-
Business Place and Section Code mandatory
Hi Experts, How to make Business place and Scetion code madatory field in MIRO and FB60. bcoz while posting a entry to vendor it is not asking B place and S Code. Thanks in advance JAved
-
Material Master : Message in a Bottle
Hi all, I'm new in the functional aspects of SAP. I begin with a hard task : I'm responsible of Material Master, Vendor Master and Change Master. This is a really hard task for me because I never what is important to know to do a good Material Custom
-
Waas traffic interseption with ace
i will use ACE for waas traffic interception and i need help in: 1. if i used ace so there is no need to wccp for traffic interception Right? 2.if i used ace should i make 3 vlans vlan10 for clints(face wan) vlan12 for waes & vlan11 for datacenter ma