Defining a query with characteristic 0BCS_TASK for Status Reporting
Hello,
there is a new characteristic available for Status Reporting called 0BCS_TASK. In the master data of that info object we defined all possible tasks. Now i want to recreate a query but showing just the tasks from the Consmonitor and sorted like they are arranged in the Consmonitor. Is there a way how to do it as i want? Can use 0BCS_TASK within a structure and the entries i want to show as a selection?
I tried it with a Structure and and had the values of that charcteristic as a Selction but it did not work.
Thanks in advance and kind regards,
Murat
HI Lillia,
I don't see a file attached - is there one?
Anyway, some feedback from our project - we decided not to use this status report funcitonality for the following reasons:
1. The interested parties have access to the monitor (UCMON) and understand it well enough to gauge progress from there without needing a separate report
2. If required they could use Print (Ctrl+P) then System---> List --> Save --> Local File --> to export to .txt or .xls
(NB it really isn't required here so make sure this method would meet your requirements first)
Then we saved the effort and maintenance of building the new infoprovider and queries.
Similar Messages
-
Must I define abstract interfaces with different names for BPM?
Must I define abstract interfaces with different names for BPM?
When interface appeared several times with different values and usage.
Of course they are the same message type.Hi,
Check this
RFC Scenario using BPM --Starter Kit
Regards
Seshagiri -
Define Logical Systems and Template Names for BW Reports
Hi experts
I would like to know if someone used the mentioned functionality 'Define Logical Systems and Template Names for BW Reports, I would like to know too IF I create a Z REPORT for example in webdynpro and insert it in this configuration it will work and where it will appear in sourcing cockpit?
sds.
JavierHello Muthu,
BW reports will be shown in SRM Box if the corresponding BW roles for SRM are integrated with SRM roles.
You might to activate the corresponding datasource of this in SRM.
And since you have to connect the source system to BW, I think you have to define SRM system as logical system in BW.
Regards,
Pavan -
How to associate a submitted query with a sessionid (for kill by enduser)
After submitting queries in batch mode through a (self-programmed) user interface, we would like to give the enduser the possibility of killing executing queries submitted by himself.
I guess the keyword is to get hold of the session id, after starting/submitting the query.
One way could be by retrieving information from V$SESSION after the job has been started (and before next job is started) and look for 'a new session id/serial#'. When identified, it is stored along with the query making it possible for the application to issue 'ALTER SYSTEM KILL SESSION (x,y);'.
Does anyone see problems with this solution or have better suggestions ? A detailed description would be highly appriciated.
We are using Oracle 8.1.6 (HP/Unix).
Best regards
CarstenThe main problem to the suggested solution is you END USERS.
I would never-ever give them an ability to kill sessions. Never!
What will happend if they kill an Oracle session and immidiently start another one
while the first session was only marked as killed. And even more. Sometimes I saw situations when it was not enough to kill Oracle sessions but Unix sessions also need to be killed.
In another words, let your end user submit a request to a person (like DBA) who knows what he is doing and how to handle a "run-away" process.
Best regards. -
Query with different currency for different users
Hi at all,
just a crazy thing happened. I created a query. Every user gets the result with the currency EURO.
Only one user here gets the country currency like US$, Francs etc.
If he logs in on a different PC, he also gets EURO.
So I think the problem is because of his PC.
I already checked his user data in SAP and BW.
And he really uses the same query with the same filters...
Thanks for helping...
Kind regards from totally confused MarielleHi,
Check the Front end Patch levels on both the machines. If they are different, then you can decide what you want to do, either upgrade it on other PCs or not use the one that has it.
Cheers,
Kedar -
Query engine failed error for crytal report refreshing to new params in jsp
Using licensed weblogic 8.1 server in production mode. Weblogic workhsop has inetegrated supprot for crystal reports 9. Using standalone report & accessing sql server through odbc, i got result for different parameters passed.
Problem Area : Passing parameter to have specific report causes unexpected query engine failed error in com.crystaldecisions.report.web.viewer.CrystalViewer class. If viewer.refresh method is commented, then static (already saved) report is displayed through jsp. But using viewer.refresh method for dynamic report genertaion for new parameters through jsp gives above error.Hello
I'm experiencing the same problem. Please let me know if you've any solution. -
Is it possibe to define a badi with multiple filters for single implementation ?
is it possible to have a badi with multiple filters in one implmentation?
Hello Siva,
There is no hierarchical concept in filter values. You can have multiple filter values and at any time you can pass only one filter value while invoking Badi.
The concept of hierarchy can be implemented by combination of filter and methods.
1. You can have filter as the first level and have multiple filters.
2. Then you can define methods in Badi and this now becomes 2 level.
Thanks and Regards,
Veera -
Outgoing Payment Query with GL Name for all payment means
Hi all
Thanks a lot for the earlier help of Nagarajan!
I managed to improve this Query now the only problem is the Bank Transfer Bank account name does not appear on the same line as the Bank transfer amount.
Please help to test execute on your Demo Database and let me know the correction.
DECLARE @REPORTBY AS NVARCHAR(1)
/* SELECT FROM [dbo].[OFPR] T0 */
/* WHERE */ DECLARE @DATEFROM datetime
SET @DATEFROM =/* T0.F_RefDate */'[%0]'
/* SELECT FROM [dbo].[OFPR] T1 */
/* WHERE */ DECLARE @DATETO datetime
SET @DATETO=/* T1.T_RefDate */'[%1]'
SET @DATEFROM = '20140101'
SET @DATETO = '20140131'
SELECT ISNULL(T01.BeginStr,'') + ' ' + CONVERT(NVARCHAR(20), T0.DOCNUM) [DOCUMENT NO.]
, T0.DocDate [DATE]
, T0.CardCode [CARDCODE]
, T0.CardName [NAME]
, T0.DocCurr
, T0.DocTotal [TOTAL incl. GST]
, T0.DocTotalFC [TOTAL (FC) incl. GST]
, T0.Comments [Remarks]
, T0.JrnlMemo
, T0.CounterRef [Ref 2]
/*BANK CHARGES*/
, T0.BcgSum [Bank Charges], T0.BcgSumFC [Bank Charges (FC)]
/*CHECK PAYMENT*/
, T2.CheckAct, T4.AcctName, T2.Currency [Check Curr.]
, T2.CheckSum, T0.CheckSumFC
, T2.AcctNum, T2.BankCode
/*BANK TRANSFER*/
, T0.TrsfrAcct, T4.AcctName, T0.TrsfrSum, T0.TrsfrSumFC
, T0.CashAcct, T6.AcctName, T0.CashSum, T0.CashSumFC
/*CREDIT CARD/ADJUSTMENT PAYMENT*/
, T03.CardName [ADJ. TYPE], T3.CreditAcct [ADJ. ACC.], T5.AcctName, T0.CreditSum, T0.CredSumFC
/*PAYMENT ON ACCOUNT*/
, T0.PayNoDoc, T0.NoDocSum, T0.NoDocSumFC
, T0.DocRate
, T0.DiffCurr
FROM OVPM T0
LEFT OUTER JOIN NNM1 T01 ON T0.ObjType = T01.ObjectCode AND T0.Series = T01.Series
LEFT OUTER JOIN VPM1 T2 ON T0.DocNum = T2.DocNum
LEFT OUTER JOIN (VPM3 T3 LEFT OUTER JOIN OCRC T03 ON T3.CreditCard = T03.CreditCard)
ON T0.DocNum = T3.DocNum left join OACT t4 on T2.CheckAct = T4.AcctCode left join OACT t5 on T5.AcctCode = t3.creditacct left join OACT T6 on t0.CashAcct = t6.AcctCode
WHERE T0.DocType = 'C'
AND T0.DOCDATE BETWEEN @DATEFROM AND @DATETO
UNION ALL
SELECT ISNULL(T01.BeginStr,'') + ' ' + CONVERT(NVARCHAR(20), T0.DOCNUM) [DOCUMENT NO.]
, T0.DocDate [DATE]
, T0.CardCode [CARDCODE]
, T0.CardName [PAY-TO NAME]
, T0.DocCurr
, T0.DocTotal [TOTAL incl. GST]
, T0.DocTotalFC [TOTAL (FC) incl. GST]
, T0.Comments [Remarks]
, T0.JrnlMemo
, T0.CounterRef [Ref 2]
/*BANK CHARGES*/
, T0.BcgSum [Bank Charges], T0.BcgSumFC [Bank Charges (FC)]
/*CHECK PAYMENT*/
, T2.CheckAct, T4.AcctName, T2.Currency [Check Curr.]
, T2.CheckSum, T0.CheckSumFC
, T2.AcctNum, T2.BankCode
/*BANK TRANSFER*/
, T0.TrsfrAcct, T4.AcctName, T0.TrsfrSum, T0.TrsfrSumFC
, T0.CashAcct, T6.AcctName, T0.CashSum, T0.CashSumFC
/*CREDIT CARD/ADJUSTMENT PAYMENT*/
, T03.CardName [ADJ. TYPE], T3.CreditAcct [ADJ. ACC.], T5.AcctName, T0.CreditSum, T0.CredSumFC
/*PAYMENT ON ACCOUNT*/
, T0.PayNoDoc, T0.NoDocSum, T0.NoDocSumFC
, T0.DocRate
, T0.DiffCurr
FROM OVPM T0
LEFT OUTER JOIN NNM1 T01 ON T0.ObjType = T01.ObjectCode AND T0.Series = T01.Series
LEFT OUTER JOIN VPM1 T2 ON T0.DocNum = T2.DocNum
LEFT OUTER JOIN (VPM3 T3 LEFT OUTER JOIN OCRC T03 ON T3.CreditCard = T03.CreditCard)
ON T0.DocNum = T3.DocNum left join OACT t4 on T2.CheckAct = T4.AcctCode left join OACT t5 on T5.AcctCode = t3.creditacct left join OACT T6 on t0.CashAcct = t6.AcctCode
WHERE T0.DocType = 'S'
AND T0.DOCDATE BETWEEN @DATEFROM AND @DATETO
UNION ALL
SELECT ISNULL(T01.BeginStr,'') + ' ' + CONVERT(NVARCHAR(20), T0.DOCNUM) [DOCUMENT NO.]
, T0.DocDate [DATE]
, T0.CardCode [CARDCODE]
, T0.CardName [NAME]
, T0.DocCurr
, T0.DocTotal [TOTAL incl. GST]
, T0.DocTotalFC [TOTAL (FC) incl. GST]
, T0.Comments [Remarks]
, T0.JrnlMemo
, T0.CounterRef [Ref 2]
/*BANK CHARGES*/
, T0.BcgSum [Bank Charges], T0.BcgSumFC [Bank Charges (FC)]
/*CHECK PAYMENT*/
, T2.CheckAct, T4.AcctName, T2.Currency
, T2.CheckSum, T0.CheckSumFC
, T2.AcctNum, T2.BankCode
/*BANK TRANSFER*/
, T0.TrsfrAcct, T4.AcctName, T0.TrsfrSum, T0.TrsfrSumFC
, T0.CashAcct, T6.AcctName, T0.CashSum, T0.CashSumFC
/*CREDIT CARD/ADJUSTMENT PAYMENT*/
, T03.CardName [ADJ. TYPE], T3.CreditAcct [ADJ. ACC.], T5.AcctName, T0.CreditSum, T0.CredSumFC
/*PAYMENT ON ACCOUNT*/
, T0.PayNoDoc
, CASE T0.DOCTYPE WHEN 'A' THEN 0 ELSE T0.NoDocSum END [PMNT ON ACC.]
, CASE T0.DOCTYPE WHEN 'A' THEN 0 ELSE T0.NoDocSumFC END [PMNT ON ACC. (FC)]
, T0.DocRate [Payment Rate]
, T0.DiffCurr
FROM OVPM T0
LEFT OUTER JOIN NNM1 T01 ON T0.ObjType = T01.ObjectCode AND T0.Series = T01.Series
LEFT OUTER JOIN VPM1 T2 ON T0.DocNum = T2.DocNum
LEFT OUTER JOIN (VPM3 T3 LEFT OUTER JOIN OCRC T03 ON T3.CreditCard = T03.CreditCard)
ON T0.DocNum = T3.DocNum left join OACT t4 on T2.CheckAct = T4.AcctCode left join OACT t5 on T5.AcctCode = t3.creditacct left join OACT T6 on t0.CashAcct = t6.AcctCode
WHERE T0.DocType = 'A'
AND T0.DOCDATE BETWEEN @DATEFROM AND @DATETOHi,
Please post your discussion without mentioning member name.
Try this:
DECLARE @REPORTBY AS NVARCHAR(1)
/* SELECT FROM [dbo].[OFPR] T0 */
/* WHERE */ DECLARE @DATEFROM datetime
SET @DATEFROM =/* T0.F_RefDate */'[%0]'
/* SELECT FROM [dbo].[OFPR] T1 */
/* WHERE */ DECLARE @DATETO datetime
SET @DATETO=/* T1.T_RefDate */'[%1]'
SET @DATEFROM = '20140101'
SET @DATETO = '20140131'
SELECT ISNULL(T01.BeginStr,'') + ' ' + CONVERT(NVARCHAR(20), T0.DOCNUM) [DOCUMENT NO.]
, T0.DocDate [DATE]
, T0.CardCode [CARDCODE]
, T0.CardName [NAME]
, T0.DocCurr
, T0.DocTotal [TOTAL incl. GST]
, T0.DocTotalFC [TOTAL (FC) incl. GST]
, T0.Comments [Remarks]
, T0.JrnlMemo
, T0.CounterRef [Ref 2]
/*BANK CHARGES*/
, T0.BcgSum [Bank Charges], T0.BcgSumFC [Bank Charges (FC)]
/*CHECK PAYMENT*/
, T2.CheckAct, T4.[AcctName], T2.Currency [Check Curr.]
, T2.CheckSum, T0.CheckSumFC
, T2.AcctNum, T2.BankCode
/*BANK TRANSFER*/
, T0.TrsfrAcct,T6.[AcctName],T0.TrsfrSum, T0.TrsfrSumFC
, T0.CashAcct,T4.[AcctName], T0.CashSum, T0.CashSumFC
/*CREDIT CARD/ADJUSTMENT PAYMENT*/
, T03.CardName [ADJ. TYPE], T3.CreditAcct [ADJ. ACC.], T5.[AcctName],T0.CreditSum, T0.CredSumFC
/*PAYMENT ON ACCOUNT*/
, T0.PayNoDoc, T0.NoDocSum, T0.NoDocSumFC
, T0.DocRate
, T0.DiffCurr
FROM OVPM T0
LEFT OUTER JOIN NNM1 T01 ON T0.ObjType = T01.ObjectCode AND T0.Series = T01.Series
LEFT OUTER JOIN VPM1 T2 ON T0.DocNum = T2.DocNum
LEFT OUTER JOIN (VPM3 T3 LEFT OUTER JOIN OCRC T03 ON T3.CreditCard = T03.CreditCard)
ON T0.DocNum = T3.DocNum left join OACT t4 on T2.CheckAct = T4.AcctCode left join OACT t5 on T5.AcctCode = t3.creditacct left join OACT T6 on t0.CashAcct = t6.AcctCode
WHERE T0.DocType = 'C'
AND T0.DOCDATE BETWEEN @DATEFROM AND @DATETO
union all
SELECT ISNULL(T01.BeginStr,'') + ' ' + CONVERT(NVARCHAR(20), T0.DOCNUM) [DOCUMENT NO.]
, T0.DocDate [DATE]
, T0.CardCode [CARDCODE]
, T0.CardName [NAME]
, T0.DocCurr
, T0.DocTotal [TOTAL incl. GST]
, T0.DocTotalFC [TOTAL (FC) incl. GST]
, T0.Comments [Remarks]
, T0.JrnlMemo
, T0.CounterRef [Ref 2]
/*BANK CHARGES*/
, T0.BcgSum [Bank Charges], T0.BcgSumFC [Bank Charges (FC)]
/*CHECK PAYMENT*/
, T2.CheckAct, T4.[AcctName], T2.Currency [Check Curr.]
, T2.CheckSum, T0.CheckSumFC
, T2.AcctNum, T2.BankCode
/*BANK TRANSFER*/
, T0.TrsfrAcct,T6.[AcctName], T0.TrsfrSum, T0.TrsfrSumFC
, T0.CashAcct,T4.[AcctName], T0.CashSum, T0.CashSumFC
/*CREDIT CARD/ADJUSTMENT PAYMENT*/
, T03.CardName [ADJ. TYPE], T3.CreditAcct [ADJ. ACC.], T5.[AcctName],T0.CreditSum, T0.CredSumFC
/*PAYMENT ON ACCOUNT*/
, T0.PayNoDoc, T0.NoDocSum, T0.NoDocSumFC
, T0.DocRate
, T0.DiffCurr
FROM OVPM T0
LEFT OUTER JOIN NNM1 T01 ON T0.ObjType = T01.ObjectCode AND T0.Series = T01.Series
LEFT OUTER JOIN VPM1 T2 ON T0.DocNum = T2.DocNum
LEFT OUTER JOIN (VPM3 T3 LEFT OUTER JOIN OCRC T03 ON T3.CreditCard = T03.CreditCard)
ON T0.DocNum = T3.DocNum left join OACT t4 on T2.CheckAct = T4.AcctCode left join OACT t5 on T5.AcctCode = t3.creditacct left join OACT T6 on t0.CashAcct = t6.AcctCode
WHERE T0.DocType = 'S'
AND T0.DOCDATE BETWEEN @DATEFROM AND @DATETO
union all
SELECT ISNULL(T01.BeginStr,'') + ' ' + CONVERT(NVARCHAR(20), T0.DOCNUM) [DOCUMENT NO.]
, T0.DocDate [DATE]
, T0.CardCode [CARDCODE]
, T0.CardName [NAME]
, T0.DocCurr
, T0.DocTotal [TOTAL incl. GST]
, T0.DocTotalFC [TOTAL (FC) incl. GST]
, T0.Comments [Remarks]
, T0.JrnlMemo
, T0.CounterRef [Ref 2]
/*BANK CHARGES*/
, T0.BcgSum [Bank Charges], T0.BcgSumFC [Bank Charges (FC)]
/*CHECK PAYMENT*/
, T2.CheckAct, T4.[AcctName], T2.Currency [Check Curr.]
, T2.CheckSum, T0.CheckSumFC
, T2.AcctNum, T2.BankCode
/*BANK TRANSFER*/
, T0.TrsfrAcct, T6.[AcctName], T0.TrsfrSum, T0.TrsfrSumFC
, T0.CashAcct,T4.[AcctName], T0.CashSum, T0.CashSumFC
/*CREDIT CARD/ADJUSTMENT PAYMENT*/
, T03.CardName [ADJ. TYPE], T3.CreditAcct [ADJ. ACC.], T5.[AcctName],T0.CreditSum, T0.CredSumFC
/*PAYMENT ON ACCOUNT*/
, T0.PayNoDoc, T0.NoDocSum, T0.NoDocSumFC
, T0.DocRate
, T0.DiffCurr
FROM OVPM T0
LEFT OUTER JOIN NNM1 T01 ON T0.ObjType = T01.ObjectCode AND T0.Series = T01.Series
LEFT OUTER JOIN VPM1 T2 ON T0.DocNum = T2.DocNum
LEFT OUTER JOIN (VPM3 T3 LEFT OUTER JOIN OCRC T03 ON T3.CreditCard = T03.CreditCard)
ON T0.DocNum = T3.DocNum left join OACT t4 on T2.CheckAct = T4.AcctCode left join OACT t5 on T5.AcctCode = t3.creditacct left join OACT T6 on t0.CashAcct = t6.AcctCode
WHERE T0.DocType = 'A'
AND T0.DOCDATE BETWEEN @DATEFROM AND @DATETO
Thanks & Regards,
Nagarajan -
Tuning SQL query with similar subqueries for select columns
Hi all,
My query is something like below:
1> SELECT
2> A.COL1,
3> SUM(CASE WHEN A.flag=100 AND NVL(B.flag,0)=0 AND
4> EXISTS (
5> SELECT 'ROW_EXISTS'
6> FROM A A0
7> WHERE A0.COL2=100 AND NVL(A0.flag,0)=0 AND 0.DIRN<>A.DIRN)
8> THEN 1
9> ELSE 0
10> END) SUM_COLUMN1,
11>SUM(CASE WHEN A.flag=100 AND
12> EXISTS (
13> SELECT 'ROW_EXISTS'
14> FROM A A0
15> WHERE A0.COL2=100 AND A0.DIRN<>A.DIRN)
16> THEN 1
17> ELSE 0
18>END) SUM_COLUMN2
19>FROM A,B
20>WHERE A.COL=B.KEY_COL
21>GROUP BY A.COL1
My problem is that I need to index scan the tables A aliased as A0 in the two exist queries. Lines: 5-7 and 13-15.
The major performance degradation i see with the query is that it has to scan A0 twice to compute SUM_COLUMN1 and SUM_COLUMN2.
Is there any way by which i can use the same subquery to scan the table just once to compute the columns.
The table A has more than a 100million records. So i need to improve performance of this query though it is a small issue.
Please feel free to ask me more if i'm not clear with the example.
Thanks in advance,
RajAlso you could use analytic functions:
SQL> select deptno, sum(case when e.mgr is not null and
2 exists (select 1 from emp e1 where e1.empno <> e.empno
3 and e1.deptno = 10 and e1.sal >= 1500)
4 then 1 else 0 end) sum1,
5 sum(case when e.mgr is not null and e.sal >= 1200 and
6 exists (select 1 from emp e1 where e1.empno <> e.empno and e1.deptno = 10)
7 then 1 else 0 end) sum2
8 from emp e
9 group by deptno
10 /
DEPTNO SUM1 SUM2
10 2 2
20 5 3
30 6 5
SQL> select deptno, sum(case when mgr is not null and
2 (d12 != empno or empno !=d11) then 1 else 0 end) sum1,
3 sum(case when mgr is not null and (d21 != empno or empno !=d22)
4 and sal >= 1200 then 1 else 0 end) sum2
5 from (
6 select deptno, empno, mgr, sal,
7 min(case when deptno = 10 and sal >= 1500
8 then empno else -1 end) over(order by null) d11,
9 max(case when deptno = 10 and sal >= 1500
10 then empno else -1 end) over(order by null) d12,
11 min(case when deptno = 10 then empno else -1 end) over(order by null) d21,
12 max(case when deptno = 10 then empno else -1 end) over(order by null) d22
13 from emp e
14 )
15 group by deptno
16 /
DEPTNO SUM1 SUM2
10 2 2
20 5 3
30 6 5In your case it could be something like
SELECT COL1,
SUM( CASE WHEN a_flag = 100 and nvl(b_flag,0)=0 and
(DIRN != MIN_A OR DIRN != MAX_A) THEN 1 ELSE 0 END) SUM_COLUMN1,
SUM( CASE WHEN a_flag = 100 and
(DIRN != MIN_B OR DIRN != MAX_B) THEN 1 ELSE 0 END) SUM_COLUMN2
FROM (
SELECT A.COL1, A.FLAG A_FLAG, B.FLAG B_FLAG, A.DIRN,
MIN(CASE WHEN A.COL2=100 and NVL(A.flag,0) = 0 THEN A.DIRN ELSE null END) OVER(order by null) MIN_A,
MAX(CASE WHEN A.COL2=100 and NVL(A.flag,0) = 0 THEN A.DIRN ELSE null END) OVER(order by null) MAX_A,
MIN(CASE WHEN A.COL2=100 THEN A.DIRN ELSE null END) OVER(order by null) MIN_B,
MAX(CASE WHEN A.COL2=100 THEN A.DIRN ELSE null END) OVER(order by null) MAX_B
FROM A,B
WHERE A.COL=B.KEY_COL
GROUP BY COL1
Rgds. -
Difference in Query generated by OBIEE for same report
Hi,
I am using a a report(X) in a filter condition.
I am seeing a peculiar issue with OBIEE server. When i am running a report(X) alone, the query generated is different. But when i am using the same report in filter condition of other report(Y), the same report is generating some other query. The first report(X) is running fine but the second(Y) is not running at all.
Case 1(Report X) Query: The report is breaking into 3 parts for different fact tables and combining the data to give result.
Case 2(Report Y): A single query is being formed and within it is fecthing the data from different fact tables using subqueries.
Case2 is creating a lot of problem as the performance is totally poor.
Any suggesstions??
Thanks
TatajiHi, we haven't debugged the application or traced the query against the production server (it's in our customer's office) buy I think there's no difference since the query itself has been tested using sqldeveloper against both servers (XE 11.2 and Enterprise 11.1) and the behavior is consistent. By consistent I mean:
- The query executed via sqldeveloper against Oracle XE 11.2 runs ok and so does the application.
- The query executed via sqldeveloper against Oracle Enterprise 11.1 fails with an ORA-01790 error, and so does the application (exceptions are being logged in the Event Log).
To sum up: the same query runs ok in Oracle XE 11.2 and fails in Oracle Enterprise 11.1.
Additional information: we have tried explicit casting the NULL literals to the corresponding data types (in the UNION ALLs) and the query works fine in both versions. ¿Is there an option in ODAC to tell the query generator to write this explicit castings?
Regarding the DB schema and the LINQ query, I'll be sending them asap.
Regards,
Ernesto. -
Sequence with in sequence for XML Report
Hi
I am doing XML Report in Oracle Apps.
For that i need sequence with in sequence.
I am able to do sequence using the below code.
<xsl:value-of select="count(preceding::RECEIPT_NUM) + 1"/>
but my problem is for every department the sequence must start with 1..
Ex.
Now am getting Values....
Department 1
1
2
3
4
5
Department 2
6
7
8
Department 3
9
10
11
12
But i want as below
Department 1
1
2
3
4
5
Department 2
1
2
3
Department 3
1
2
3
4
Please help to solve this issue.....
Thanks in Advance
AdinaMONTHLY STOCK STATEMENT FROM 01-SEP-07 TO 30-SEP-07
S.N
o
ITEM ITEM CODE UO
M
Opening
Balance
Receipts Issues Closing
Balance
Remarks
Department : 1 ANJANEYA
1 RMVCOP0003 CU. COIL DIA- 8.0 MM FOR COPPER RODS Kg -137.6 0 0 -137.6
Department Total : -137.6 0 0 -137.6
Department : 2 BALAJI TEC
2 RMVCAS0038 350G2 CASTING (708P1 ROTOR POLE END PLATE) No -707 364 0 -343
3 RMVCAS0049 901 G1 CASTINGS RAW MATERIAL No 516.3 1012.248 -165 1363.548
Department Total : -328.3 1376.248 -165 882.948
Department : 3 BHAGYA
4 CPPCLM0061 AUX. CORE COIN LAMINATIONS No 551 0 -172 379
5 RMVCLM0061 AUXILLARY CORE COIN LAMINATION No -1 0 0 -1
6 CPPCLM0008 GEB 13/13EA STATOR COIN LAMINATION No -1070 0 -454 -1524
7 CPPCLM0025 GEB 30 COIN LAMINATION No 490 0 -124 366
8 RMVCLM0063 GEB13 /13EA ROTOR COIN LAMINATION No 608 200 -520 288
9 RMVCLM0062 GEB13 /13EA STATOR COIN LAMINATION No 1367 0 -192 1175
10 RMVCLM0053 GEB16 / ST.COIN LAMINATION / 2MM THICK No 411 0 0 411
11 RMVCLM0052 GEB22 / 20 ST.COIN LAMINATION / 2MM THICK No 295 450 -245 500
Department Total : 2322.7 2026.248 -1872 2476.948
Department : 4 FG STORES
13 FGA5LC2508RT0241Y1 ABB AUSTRALIA / 2508 / 50C530C6W CR 5 0 0 5
15 FGA5WL2527RT0005F3 ABB AUSTRALIA /2527/CRCA Set 0 0 -2 -2
16 FGB3LL2456RT0000F4 BHEL BHOPAL/2456/CRCA Kg -9904 0 0 -9904
17 FGB3LL2456ST0000F4 BHEL BHOPAL/2456/CRCA Kg 5935.994 0 0 5935.994
18 FGB2LL1863ST0000B3 BHEL RC / 1863/ M36 Kg 28427.769 0 0 28427.769
19 FGC1LL2365ST0000D2 CGL - BHOPAL / 2365 / 50C530 Kg -536.798 0 0 -536.798
20 FGC1LL2365RT0000D2 CGL BHOPAL/2365/CS/M45 Kg -8.078 0 0 -8.078
24 FGE2WC2522ST0315Y3 EMOD / 2522 / 50C600 /WELDED CORE CR -3 0 0 -3
25 FGE2DC2522RT0240Y3 EMOD /2522 /ROOR DIE CASTING /50C600C6W CR 3 0 0 3
26 FGE2DC2522RT0290Y3 EMOD /2522 /ROOR DIE CASTING /50C600C6W CR -3 0 0 -3 -
How to create the Query and T Code for Special Reports
Dear Freinds,
Could any one advise the process to create the Query and the T code for some special combination of reports. Where can we find the documentation on this if that exists?
Thanks for the help.
Regards
Moderator: Please, search SDN - you'll find the answersHI
Go to Tools -->ABAP WorkBench -->Utilities --> SQVI QuickViewer ( Query Builder)
Go to Tools -->ABAP WorkBench -->Utilities -->SAP Query -->SQ01,SQ02,SQ03
first create Infosets in SQ02, Assign Infoset to UserGroups in SQ03 and create a Query in SQ01.
Create a Transaction Code in SE93.
regards
Venkat -
PROBLEM WITH ACTIVATION KEY FOR CRYSTAL REPORT
I have bought 2 licenses of Crystal Report and one of them does'nt work.
Could you please tell me what i have to do to get a new one ?
Thank's for your help.
Regards
EricHave you downloaded & followed the SAP Crystal documentation for 8.8? There are a number of changes in how we need to do things.
Also, optional parameters do not work & neither to default values in parameters. These are still to be fixed -
How to create 2 transaction codes for same report program with diff title
Hi All -
I have created report program and create 2 transaction codes with different short description. I want to display the Tcodes decriptions instead of program attributes title.
Can anyone pls tell me how to do this?
Thanks,
KannanHi Kannan,
define 2 titlebars t1 and t2 for the report. In report initialization,
IF sy-tcode = 't1'
SET TITLE t1.
ELSE.
SET TITLE t2.
ENDIF.
Regards,
Clemens -
Drill Down BeX Query with hierarchy in WEBI
Hi,
I am using a Bex Query with Hierarchy in my WEBI report. Is it possible to drill down ? I am not able to use Scope of Analysis because it is disabled. I am very new to WEBI. Please help me out.
Thanks in Advance.
Lakshmi Mohanhttp://www.google.co.in/url?sa=t&rct=j&q=drill%20down%20bex%20query%20with%20hierarchy%20in%20webi%20%20%20&source=web&cd=2&ved=0CDQQFjAB&url=https%3A%2F%2Fcw.sdn.sap.com%2Fcw%2Fservlet%2FJiveServlet%2FpreviewBody%2F137316-102-1-277519%2FWeb%2520Intelligence%2520on%2520SAP%2520implementation%2520best%2520practices.pdf&ei=xofcTpSgF5DJrAeaxpiIBw&usg=AFQjCNHuwDIpvxciPKJyEdoz3GiVjRKgqA
http://www.scribd.com/doc/62293080/40/Query-Drill-for-hierarchies
Maybe you are looking for
-
Itunes does not start for one user but works for others on the same mac
All of a sudden my itunes does not fire up. All other users on the same mac it is working fine. I have deleted and reinstalled itunes. Any help would be great. Cheers
-
Put the same form layer over identical pdf's
Hi All, At first sight I couldn't find a topic which describes what I would like to do. We are using a printed PDF as a checklist / customer service report for our projects. This PDF has always the same structure, and is automaticaly generated via ou
-
Accessing access database through jdbcodbc
Hi, i'm trying to access a sample database in MS Access through a simple jsp, here is the code: <%@ page language="java" contentType="text/html; charset=utf-8" %> <%@ page import="com.crystaldecisions.sdk.occa.report.application.*, com.crystaldecisio
-
The Mail 5.1 in OS X 10.7.2 uses a lot of processor performance - in my cas over 150%. On my MacBook Pro '13 (2009) could reduce the battery life. Does everyone know a conclusion? I've deleted the cache of all application and reinstall the last OS up
-
Ipod mini and ihome clock radio
I've been searching this forum for info on problems using my iHome with my ipod mini, and others seem to be having the same problems, but are assuming it's a glitch with the mini, not the iHome. I used my mini with my iHome for a few days with no pro