Fetch the result in combined analysis
Hi
I have created a combined analysis report. Now in the final report I need to find the percentage of two column .each coloumn coming from the 2 reports. How can i write the function for the same.
a simple division is giving me wrong data.Kindly help me with the issue.
Thanks
Meena
This may sound like lot of effort, but will definitely work.
Create a static text. There write a piece of code to read the rows, columns displayed. and to script
on the field that you want navigation code as on click of column, document.location.href = "url of the report with appropriate parameters"
td = document.getElementsByTagName("td");
for(i= 0;i< td.length; i++)
td.onclick = function (){
document.location.href = "url of the report with appropriate parameters"
Let me know if you need more explanation.
Similar Messages
-
OBIEE Report - filter based on the result from another analysis
Hi,
I am using OBIEE 11g,
I am trying to use a filter which is based on the result from another analysis. I have an analysis A which is as table 1, and I want to filter the respective columns of analysis B (Table B) based on analysis A to remove the duplicates for march 01, 02, and 07 , but it is not working properly. I took a max of start and end time when I created analysis A. Please let me know if I did anything wrong. thanks.
Table 1
Employee Number
Date
IN
Out
Start Time
End Time
xxxxxxx
2015-02-26
9:00
13:00
00:00:00
00:00:00
2015-02-27
12:00
18:00
00:00:00
00:00:00
2015-02-28
8:00
14:00
00:00:00
00:00:00
2015-03-01
14:00
20:00
14:00:00
20:00:00
2015-03-02
16:00
20:00
16:00:00
20:00:00
2015-03-07
14:06
20:02
14:00:00
20:00:00
2015-03-11
16:00
20:00
16:00:00
20:00:00
2015-03-14
8:00
14:00
00:00:00
00:00:00
2015-03-25
14:00
20:00
16:00:00
20:00:00
Table 2
Employee Number
Date
IN
Out
Start Time
End Time
Hours
xxxxxxx
2015-02-26
9:00
13:00
00:00:00
00:00:00
-3
2015-02-27
12:00
18:00
00:00:00
00:00:00
6
2015-02-28
8:00
14:00
00:00:00
00:00:00
6
2015-03-01
14:00
20:00
00:00:00
00:00:00
6
14:00:00
20:00:00
6
2015-03-02
16:00
20:00
00:00:00
00:00:00
4
16:00:00
20:00:00
4
2015-03-07
14:06
20:02
00:00:00
00:00:00
6
14:00:00
20:00:00
6
2015-03-11
16:00
20:00
16:00:00
20:00:00
4
2015-03-14
8:00
14:00
00:00:00
00:00:00
6
2015-03-25
14:00
20:00
16:00:00
20:00:00
4Why avg here?
What columns you want to show in the report?
for a employee for given date if he have 2 rows then you may sum up hours right?
Employee Number
Date
IN
Out
Start Time
End Time
Hours -
Crystal Report is very slow to fetch the results of a Query used in Command
Hello All,
We have a query which is used in command object in Business Objects Crystal reports XI. This report is executed against IBM DB2 database. It is taking 40 min to getback the results. Here is the Query. Please suggest how can i improve the performance of this query in report as another reporting tool is taking 2-3 min time to fetch the results with the same query.
SELECT
A1.CARR_NUM , A1.CST_CTR_NUM ,A1.CLM_CLOSE_STS_CD , A1.CLM_RJCT_STS_CD ,A1.CLM_VOID_STS_CD , A1.PMT_MTCH_DT , A1.ASC_TRANS_TYP_CD , A1.DRUG_DESC ,
A1.BATCH_NUM , T5.TPA_RJCT_CD , A1.DIV_NUM , A1.INVC_NUM , A1.SERVICE_DT , A1.ACTL_REFILL_NUM , A1.CLM_DSPSN_CD , A1.INVC_RSBMT_CD , A1.TP_TOTAL_DUE_AMT ,
A1.INTL_BILG_MTHD_CD , A1.CARR_EOB_1_CD , T5.CARR_EOB_CD_DESC , A1.NTNL_DRUG_CD , A1.PTNT_FRST_NM , A1.PTNT_MDDL_INTL , A1.PTNT_LST_NM , A1.PTNT_BIRTH_DT ,
A1.CRDHLDR_ID_NUM
FROM
(SELECT DISTINCT
T1.CARR_NUM , T1.CST_CTR_NUM , T1.CLM_CLOSE_STS_CD , T1.CLM_RJCT_STS_CD , T1.CLM_VOID_STS_CD , T3.PMT_MTCH_DT ,
T3.ASC_TRANS_TYP_CD , T2.DRUG_DESC , T4.BATCH_NUM , T1.DIV_NUM , T1.INVC_NUM , T1 . SERVICE_DT , T1.ACTL_REFILL_NUM ,
T1.CLM_DSPSN_CD , T1.INVC_RSBMT_CD ,T1.TP_TOTAL_DUE_AMT , T1.INTL_BILG_MTHD_CD ,T3.CARR_EOB_1_CD ,T1.NTNL_DRUG_CD , T2.PTNT_FRST_NM , T2.PTNT_MDDL_INTL , T2.PTNT_LST_NM , T2.PTNT_BIRTH_DT , T2.CRDHLDR_ID_NUM
FROM
PDRD2LO.VINVC_CLM T1
, PDRD2LO.VPMNT_DTL T3
, PDRD2LO.VINVC_CLM_2 T2
, PDRD2LO.VINVC_ITM_PHARM T4
WHERE
T1.CLM_CLOSE_STS_CD ='OP'
AND T1.CLM_RJCT_STS_CD ='RJ'
AND T1.CLM_VOID_STS_CD ='NV'
AND T3.ASC_TRANS_TYP_CD ='40'
AND T1.CARR_NUM = T3.CARR_NUM
AND T1.CST_CTR_NUM = T3.CST_CTR_NUM
AND T1.DIV_NUM = T3.DIV_NUM
AND T1.INVC_NUM = T3.INVC_NUM
AND T1.SERVICE_DT = T3.SERVICE_DT
AND T1.CLM_CTRL_NUM = T3.CLM_CTRL_NUM
AND T1.ACTL_REFILL_NUM = T3.ACTL_REFILL_NUM
AND T1.INVC_ITM_NUM = T3.INVC_ITM_NUM
AND T1.REFILL_TRANS_NUM = T3.REFILL_TRANS_NUM
AND T1.CARR_NUM = T2.CARR_NUM
AND T1.CST_CTR_NUM = T2.CST_CTR_NUM
AND T1.DIV_NUM = T2.DIV_NUM
AND T1.INVC_NUM = T2.INVC_NUM
AND T1.SERVICE_DT = T2.SERVICE_DT
AND T1.ACTL_REFILL_NUM = T2.ACTL_REFILL_NUM
AND T1.CLM_CTRL_NUM = T2.CLM_CTRL_NUM
AND T1.INVC_ITM_NUM = T2.INVC_ITM_NUM
AND T1.REFILL_TRANS_NUM = T2.REFILL_TRANS_NUM
AND T1.INVC_CTRL_NUM = T4.INVC_CTRL_NUM) A1
LEFT OUTER JOIN PDRD2LO.VCARR_EOB T5
ON A1.CARR_EOB_1_CD = T5.CARR_EOB_CD
AND A1.CARR_NUM = T5.CARR_NUM
AND A1.DIV_NUM = T5.DIV_NUM
Thanks!Hi Zilla Eh ,
Thanks for the reply.
The another reporting tool name is impromptu and it takes 2-3 min , where in Crystal report is taking around 40 min. Please let me know if you any other questions.
Regards
Ravi -
XMLELEMENT/ XMLAGG functions - Fetching the result into a variable
Hi, I have a query to generate an XML output. I have the following questions:
1) I am typecasting the result from this query to a VARCHAR2 and I want to assign the output to a VARCHAR2 variable. Can you please help me with that. When I try to get this into a varchar variable, i get the following error:
declare
x varchar2(6000);
begin
SELECT CAST(xmlelement("itemMaster",
xmlelement("itemNumber",lpad(d.dept_i,3,0)||lpad(d.class_i,2,0)||lpad(d.item_i,4,0)),
xmlelement("itemDesc",NVL(d.ITEM_DESC_T,lpad(d.dept_i,3,0)||lpad(d.class_i,2,0)||lpad(d.item_i,4,0))),
xmlelement("paltSize",p1_test),
xmlelement("stdUOM",p1_test),
xmlelement("sellByDayQty",d.sell_by_day_q),
xmlelement("shflfUOM",p1_test),
xmlelement("minShflfDayQty",d.min_shflf_day_q),
xmlelement("itemCatgCode",NVL(d.dc_item_catg_c,'GM')),
xmlelement("strgTempZoneCode",NVL(d.strg_tmpr_zone_c,'01')),
xmlelement("retailAmt",retl_a),
xmlelement("expireDateFlag",NVL(d.expire_date_f,'N')),
xmlelement("randomWtFlag",NVL(d.rndm_wt_f,'N')),
xmlelement("wetFlag",NVL(d.wet_f,'N')),
xmlelement("areaCode",d.area_c),
xmlelement("vcpQty",d.vcp_q),
xmlelement("sspQty",d.ssp_q),
xmlelement("hndlTypeCode",d.hndl_type_c),
xmlelement("mstrPackTypeCode",d.mstr_pk_type_c),
xmlelement("mstrItemTypeCode",NVL(d.mstr_item_type_c,'00')),
xmlelement("sszCode",d.reg_ssz_excpt_c),
xmlelement("agriFlag",NVL(d.agrl_f,'N')),
xmlelement("itemRankCode",d.item_rank_c),
xmlelement("hazardFlag",NVL(d.hazd_mtrl_f,'N')),
xmlelement("createDate",to_char(d.create_d,'MM-DD-YYYY HH24:MI:SS')),
xmlelement("updateDate",to_char(d.modf_ts,'MM-DD-YYYY HH24:MI:SS')),
xmlelement("actvnDate",to_char(d.actvn_d,'MM-DD-YYYY HH24:MI:SS')),
xmlelement("organicCode",d.ognc_c),
xmlelement("lotCntlFlag",NVL(d.lot_cntl_f,'N')),
xmlelement("flammableFlag",NVL(d.flam_c,'N')),
xmlelement("recordMode",c.action_c),
xmlelement("areaType",p1_test),
xmlelement("uoms",
xmlelement("uom",
xmlelement("prodUOM",p1_test),
xmlelement("ratioDen",p1_test),
xmlelement("consldtRule",p1_test),
xmlelement("unitWtQty",NVL(d.unit_wt_q,1)),
xmlelement("vcpHeightQty",NVL(d.vcp_ht_q,1)),
xmlelement("vcpWidthQty",NVL(d.vcp_wth_q,1)),
xmlelement("vcpLengthQty",NVL(d.vcp_lgth_q,1)),
xmlelement("layerQty",p1_test)
(SELECT xmlelement("aliases",
xmlagg(xmlelement("upcCode",trunc(b.bar_code_i))
ORDER BY b.dept_i,b.class_i,b.item_i
FROM dc_item_bar_code b,
dc_item a
WHERE a.dept_i = b.dept_i
AND a.class_i = b.class_i
AND a.item_i = b.item_i
AND a.dept_i = c.dept_i
AND a.class_i = c.class_i
AND a.item_i = c.item_i
AS VARCHAR2(4000)
) INTO x
FROM dc_item d, item_wm_trigger_w c
WHERE d.dept_i = c.dept_i
AND d.class_i = c.class_i
AND d.item_i = c.item_i;
end;
ERROR at line 1:
ORA-06550: line 49, column 33:
PLS-00306: wrong number or types of arguments in call to 'XMLAGG'
ORA-06550: line 49, column 33:
PL/SQL: ORA-00904: "XMLAGG": invalid identifier
ORA-06550: line 4, column 1:
PL/SQL: SQL Statement ignored
When I run this query without the
declare
begin
select....
into...
end
construct, it's working perfectly fine.
Any help would be greatly appreciated.
Thanks,
NitinI think I confused you. The 'pre' tags are for this Oracle Forum ( not your code). If your code was formatted we can look at it better .
For example, I have put your code in those tags(you won't see them), they are for the forum software to process.
See, how I didn't lose the formatting?
DECLARE
x VARCHAR2(6000);
BEGIN
SELECT CAST(xmlelement("itemMaster",
xmlelement("itemNumber",
lpad(d.dept_i, 3, 0) || lpad(d.class_i, 2, 0) ||
lpad(d.item_i, 4, 0)),
xmlelement("itemDesc",
NVL(d.ITEM_DESC_T,
lpad(d.dept_i, 3, 0) ||
lpad(d.class_i, 2, 0) ||
lpad(d.item_i, 4, 0))),
xmlelement("paltSize", p1_test),
xmlelement("stdUOM", p1_test),
xmlelement("sellByDayQty", d.sell_by_day_q),
xmlelement("shflfUOM", p1_test),
xmlelement("minShflfDayQty", d.min_shflf_day_q),
xmlelement("itemCatgCode", NVL(d.dc_item_catg_c, 'GM')),
xmlelement("strgTempZoneCode",
NVL(d.strg_tmpr_zone_c, '01')),
xmlelement("retailAmt", retl_a),
xmlelement("expireDateFlag", NVL(d.expire_date_f, 'N')),
xmlelement("randomWtFlag", NVL(d.rndm_wt_f, 'N')),
xmlelement("wetFlag", NVL(d.wet_f, 'N')),
xmlelement("areaCode", d.area_c),
xmlelement("vcpQty", d.vcp_q),
xmlelement("sspQty", d.ssp_q),
xmlelement("hndlTypeCode", d.hndl_type_c),
xmlelement("mstrPackTypeCode", d.mstr_pk_type_c),
xmlelement("mstrItemTypeCode",
NVL(d.mstr_item_type_c, '00')),
xmlelement("sszCode", d.reg_ssz_excpt_c),
xmlelement("agriFlag", NVL(d.agrl_f, 'N')),
xmlelement("itemRankCode", d.item_rank_c),
xmlelement("hazardFlag", NVL(d.hazd_mtrl_f, 'N')),
xmlelement("createDate",
to_char(d.create_d, 'MM-DD-YYYY HH24:MI:SS')),
xmlelement("updateDate",
to_char(d.modf_ts, 'MM-DD-YYYY HH24:MI:SS')),
xmlelement("actvnDate",
to_char(d.actvn_d, 'MM-DD-YYYY HH24:MI:SS')),
xmlelement("organicCode", d.ognc_c),
xmlelement("lotCntlFlag", NVL(d.lot_cntl_f, 'N')),
xmlelement("flammableFlag", NVL(d.flam_c, 'N')),
xmlelement("recordMode", c.action_c),
xmlelement("areaType", p1_test),
xmlelement("uoms",
xmlelement("uom",
xmlelement("prodUOM", p1_test),
xmlelement("ratioDen", p1_test),
xmlelement("consldtRule", p1_test),
xmlelement("unitWtQty",
NVL(d.unit_wt_q, 1)),
xmlelement("vcpHeightQty",
NVL(d.vcp_ht_q, 1)),
xmlelement("vcpWidthQty",
NVL(d.vcp_wth_q, 1)),
xmlelement("vcpLengthQty",
NVL(d.vcp_lgth_q, 1)),
xmlelement("layerQty", p1_test))),
(SELECT xmlelement("aliases",
xmlagg(xmlelement("upcCode",
trunc(b.bar_code_i))
ORDER BY b.dept_i,
b.class_i,
b.item_i))
FROM dc_item_bar_code b, dc_item a
WHERE a.dept_i = b.dept_i
AND a.class_i = b.class_i
AND a.item_i = b.item_i
AND a.dept_i = c.dept_i
AND a.class_i = c.class_i
AND a.item_i = c.item_i)) AS VARCHAR2(4000))
INTO x
FROM dc_item d, item_wm_trigger_w c
WHERE d.dept_i = c.dept_i
AND d.class_i = c.class_i
AND d.item_i = c.item_i;
END;
/ -
ViewObject Query [Expert Mode] not fetching the results
I have modified the EO query by selecting the Expert Mode.
When i ran the query in Sql plus im able to view the records, but when i execute the view object, im unable to see the records.
Any help?
Thanks,
RaghuHi ,
There is no where clause for the query. Also i have set maxfetchSize as -1.
Hence it should retrive the results from database. Also i printed the Query using getQuery() method.
When i ran the same query offline, i was able to retrive the values.
1. The VO has an entity usage.
2. The VO query is modified in Expert mode.
When vo.executeQuery() is called, it returned 0 records
Following messages are displayed in the log
[389] ViewRowImpl.createMissingEntities: returning null, no matching discrVals for ArSepaMandatesEO in ArSepaMandateDtlsVO
[390] Discr values: 1
[391] ViewRowImpl.createMissingEntities: returning null, no matching discrVals for ArSepaMandatesEO in ArSepaMandateDtlsVO
[392] Discr values: 1
[393] ViewRowImpl.createMissingEntities: returning null, no matching discrVals for ArSepaMandatesEO in ArSepaMandateDtlsVO
[394] Discr values: 1
[395] ViewRowImpl.createMissingEntities: returning null, no matching discrVals for ArSepaMandatesEO in ArSepaMandateDtlsVO
[396] Discr values: 1
[397] ViewRowImpl.createMissingEntities: returning null, no matching discrVals for ArSepaMandatesEO in ArSepaMandateDtlsVO
[398] Discr values: 1
Thanks,
Raghu -
How to view how much time is remaing to fetch the result
Hi,
could you please help me how do I view that How much time is remaining to get the final output of my query. one of my query is running from last 7 hours just wanted to now how much time it will take to give final result. is there any way to see it ?
Thanks in Advance.In general, no.
You can try looking at v$session_longops using your session_id to see if something shows up there.
Certain long operations will have an entry in that view with an estimate of the completion time. -
How to view the results of progress analysis
Dear Experts,
I executed progress analysis for my project analysis in CNE1 for my project.
After execution, PA has been completed for two WBS elements. But iam not able to see any POC values or costs.
Where should I check and confirm that Progress analysis has been carried out successfully.
Pls suggest.Hi,
Run the transactio CNE5 for the project progress analysis ,you will get the following reports.
The standard reports offer various values we can use to assess the progress of our project. The following fields are defined in the standard progress analysis reports:
- Planned POC in percent
- Actual POC in percent
- Budget Cost of Work Schedule, BCWS
- Budget Cost of Work Performed, BCWP
- Cost variance (CV)
- Schedule variance (SV)
- Value index (CPI)
- Estimated costs at completion (EAC)
Regards,
Raj -
Hi,
I faced up to a 'peculiar' situation with a costly db view.
I attempted to reduce the total view cost
specifically for 223 records fetched{the cost from 149 reduced to 74,
the recursive calls from 796 reduced to 224,
the consistent gets from 311516 reduced to 310341,
the physical reads from 7 reduced to 0}
but the amount of time needed to fetch the results is greater than the old version of the db view....{it may be the double...}
Have you any idea about this...????
Note: I have got fresh statistics...
I use db 10g v.2
Thanks,
SimTry tracing the query and see what tkprofs shows you.
alter session set events '10046 trace name context forever, level 12';
run the query
alter session set events '10046 trace name context off';
Then run tkprofs on the trace file produced to see where the database is spending its time/effort. Do likewise for the baseline query in a different session (so you will generate a different trace file).
If that does not produce anything useful, try using
alter session set events '10053 trace name context forever';
run the query
alter session set events '10053 trace name context off';
Then examine the trace file to see if you can learn anything.
Since you have not given us anything more to go on, that is about all the help I can give.... -
To_date function not fetching the desired result.....
Hi Gurus,
I get varied results from the below 2 queries, I am pessimistic about using to_char instead prefer using to_date, but query doesn't seem to fetch the complete data while using the to_date but with to_char it works. Please can someone make this to_date used query below work for me.
Main table structure:
Column Name ID Pk Null? Data Type Default Histogram Encryption Alg Salt
MINISTRY_CODE 1 Y VARCHAR2 (15 Byte) Yes
BILL_MONTH 2 Y DATE Yes
CUBIC 3 Y NUMBER Yes
GALLONS 4 Y NUMBER Yes
AMOUNTS 5 Y NUMBER Yes
MTR_TYPE 6 Y CHAR (1 Byte) Yes 1st query:
SELECT ministry_code,
DECODE(mtr_type, 'C','Billed Cubic',
'G','Billed Gallons',
'A','Billed OMR',
'R','Collected',
'U','Total Unpaid Bills') mtr_type,
SUM(CASE
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month,'MMYYYY') = '012011' AND mtr_type = 'C' THEN cubic
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month,'MMYYYY') = '012011' AND mtr_type = 'G' THEN (gallons)
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month,'MMYYYY') = '012011' AND mtr_type = 'A' THEN amounts
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month,'MMYYYY') = '022011' AND mtr_type = 'R' THEN amounts
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month,'MMYYYY') <= '022011' AND mtr_type = 'U' THEN amounts ELSE 0 END) January
FROM tmp_paew_month_gafu1 WHERE ministry_code IN
(SELECT DISTINCT ministry_code FROM tmp_paew_month_gafu GROUP BY ministry_code)
GROUP BY ministry_code,mtr_type
ORDER BY 1,3 DESCSAMPLE OUTPUT:
MINISTRY_CODE MTR_TYPE JANUARY
001 Billed Gallons 5326252
001 Billed Cubic 24210.2363636364
001 Total Unpaid Bills 16402.5
001 Billed OMR 13287.36
001 Collected 10410.508
002 Total Unpaid Bills 12089.99
002 Billed Cubic 0
002 Billed OMR 0
002 Billed Gallons 0
002 Collected 0
003 Total Unpaid Bills 27418.711
2nd query:
SELECT ministry_code,
DECODE(mtr_type, 'C','Billed Cubic',
'G','Billed Gallons',
'A','Billed OMR',
'R','Collected',
'U','Total Unpaid Bills') mtr_type,
SUM(CASE
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_char(bill_month) = to_date('012011','MMYYYY') AND mtr_type = 'C' THEN cubic
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_date(bill_month) = to_date('012011','MMYYYY') AND mtr_type = 'G' THEN (gallons)
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_date(bill_month) = to_date('012011','MMYYYY') AND mtr_type = 'A' THEN amounts
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_date(bill_month) = to_date('022011','MMYYYY') AND mtr_type = 'R' THEN amounts
WHEN mtr_type NOT IN ('C','G','A','R','U') THEN 0 WHEN to_date(bill_month) <= to_date('022011','MMYYYY') AND mtr_type = 'U' THEN amounts ELSE 0 END) January
FROM tmp_paew_month_gafu1 WHERE ministry_code IN
(SELECT DISTINCT ministry_code FROM tmp_paew_month_gafu GROUP BY ministry_code)
GROUP BY ministry_code,mtr_type
ORDER BY 1,3 DESCSample OUTPUT:
MINISTRY_CODE MTR_TYPE JANUARY
001 Total Unpaid Bills 106062.002
001 Billed OMR 0
001 Billed Cubic 0
001 Billed Gallons 0
001 Collected 0
002 Total Unpaid Bills 42023.243
002 Collected 0
002 Billed Gallons 0
002 Billed Cubic 0
002 Billed OMR 0
003 Total Unpaid Bills 133260.435What is the sense of to_date(bill_month) in the second query?
bill_month is already a date. to_date function will expect a character parameter and convert it in a date value.
So what will happen? First the bill_month will be implicitely converted to a character value.
Second this character value will be converted back to a date. You gave no format string. So both conversions will be made will your setting of nls_date_format.
I can only guess what you really want. Perhaps you want to trunc the bill_month with trunc(bill_month,'MM').
Please give us
- table create script
- insert statements for test data
- required output for these test data
- description of your requirements
Edited by: hm on 22.11.2012 23:16 -
Hi Group,
I have a requirement to develop a Z-report depending on the o/p of the tcode CS15.
The result should be same as that of the CS15 with the a few additions:
(1)Providing option to accept multiple Materilal Numbers
(2)Filtering out the selection criteria on the fileds MRP Controller, Profit Center and etc.,
my queries are:
(1)In the Standard report, I was getting the fields Required Quantity and Result Quantity in the output. Whereas for me
I was using a fm 'CS_WHERE_USED_MAT' to fetch the BOM items but whereas in the return parameter (STPOV) does not
contain these fields(Result Quan and Reqd. Quan).
(2)I have to show the Material Type in the output. But when I fetch the records from the above FM, I was getting the Component
details but not the Materials. - the user wants the Material Type to be shown for each record.
Kindly provide me inputs on the above queries.
Regards,
Vishnu.Hi,
You can refer my wiki which i posted long back.
link:[Inverse BOM Explosion|http://wiki.sdn.sap.com/wiki/display/Snippets/InverseBOMExplosion-ABAP] . Please note that the coding is not so good. If its today i could have wriiten it better
In case of quantities you will not get it directly . filrtering the material type is really easy comparing the result with MARA-MTART. -
Any Standard Class to Fetch the PayRoll Result
Hi Experts,
There is any standard class or method to fetch the details in the Pay Result(RT CRT Tables) from PC_payresult T-code in HR PayRoll module.
Thanks,
P.s.RajCheck classes CL_HR_PAY_RESULT*
Personally I never used it. Classical FM approach for getting payroll results is a confident and reliable way of extracting clusters, you may use these
CU_READ_RGDIR
PYXX_READ_PAYROLL_RESULT
CD_READ_DATE_RANGE_ACTUAL_NV
CD_EVALUATION_PERIODS
CD_READ_PREVIOUS
CD_READ_PREVIOUS_ORIGINAL
CD_RETROCALC_PERIOD
CD_PAYROLL_UNTIL
CD_HIGHEST_PAYDT
H99_DISPLAY_PAYRESULT
Regards
Marcin -
Not able to fetch the specification limits results in the quality certific
Hi ,
I am facing an issue in outgoing Quality certificate. I am able to fetch the specifications for the the inspection characteristic& their result in the quality certificate.Although some of the are reflecting but some are not.
Please advice.
Regards,
Vivek SharmaHelli Vivek,
What is misleading in the information I gave you?
The transaction QC03 is used to view the Quality certificate.
The text element is found on the characteristics overview screen.
You should be able to determine the certificate type used.
Furthermore you must distinguish if you are using quantitive or qualitative characteristics.
If you are using qualititive characteristics you might need text 0002
Regards,
Isabelle
Edited by: Isabelle Britten on Jul 17, 2008 10:33 AM -
Display document of the results analysis for Project
Hello expert,
I'd like to know if a transaction exists to display the document for which I can find the number in the S_ALR_87013572 Project results report and which is linked to the displayed line items.
Any idea?
Regards,
Céline O.Hello,
I'm looking for a transaction to display the document which is created for the calculation of the results analysis.
We can find the number of the document when we run the KKA2 transaction : Menu/ Resutl Analysis/ Display Line Items of result Analysis.
That document number is also shown in the S_ALR_87013572 Project results report and I'd like to find a way to display it easily ((like FB03 for the accounting document, for example) by using the document number only.
Céline O. -
I want to combine a bunch of queries and dump the results - spreadsheet
I have a bunch of SQL queries. I want to run the SQL queries and dump the results into one single spreadsheet in a formatted fashon.
Assume that one of my queries returns the following:
Week 10, Door, 15
Week 10, Window, 20
Week 10, Stair, 25
Week 11, Door, 50
Week 11, Window, 75
Week 11, Stair, 100
Week 12, Door, 1
Week 12, Window, 2
Week 12, Stair, 3
I would then want to take all these results and put them into a spreadsheet with a bunch of other results:
So header would look like:
Week 1, Week 2, Week 3, ...Week 10, Week 11, Week 12...
Then, down below there would be three rows which have the following in Col A:
Door
Window
Stair
So in row "Door", under Col "Week 10", there would be a 15
Under "Window", under Col "Week 11", there would be a 75
Under "Stair", under Col "Week 12", there would be a 3
The column headers would all be in weeks, but I want to basically make a matrix out of my SQL queries. So there would be many rows besides "Door", "Window", and "Stair", but they would all have similar results as supplied by my other queries. Anyone know how to do such mapping?Check this link --
[url http://forums.oracle.com/forums/search.jspa?threadID=&q=pivot&objID=f75&dateRange=last90days&userID=&numResults=15]Pivot Search In Oracle
Regards.
Satyaki De. -
Combine 2 Answers and divide the results
Hello,
Is it possible to further calculations of results of two-generated queries.
I created two queries. The results can I view in the dashboard. However, I am unable to carry out further calculations with the results. Now I wanted to divide a query from the other.
How can this be done?
Thanks
JohHi,
Well I think what you suggest is merging the "rows" of two ansers into a new answer. This works quite well but doesn't help in our case. We have to answers:
1) A two-row-table with row1 a product-id and row2 the total costs spend to produce this product in the last quarter.
2) A two-row-table with row1 a product-id and row2 how often the product was sold.
Of cause it is now quite interesting to find out the costs per unit. I can't believe it isn't possible to do such a simple thing :-( Is there no way around it or are we simple missing it?
Unfortunately we have no way to derive these costs per unit in another way. I could eventually do this if I could self-join my Facts-table with itself but I think this too isn't possible? It would be quite easy for me to provide a regular-sql-statement to calculate these costs but since this has joins between tables of my star-schema I don't know how to translate this into a BI-Suite-SQL-Query.
Any help would be highly appreciated on this thing,
-Johannes
Maybe you are looking for
-
Help I have no scrollbars in Mail, contacts, or Safari! I don't think I can use these applications without scrollbars
-
Problems creating Datasource in Weblogic for E-biz R12 DB
Hi, I've got an instance of E-Business Release 12 on a 10.2.0.2.0 DB which I am trying to create a Datasource and connection pool for in Weblogic Server 11g. I have successfully set up connections for other DB's but I am unable to connect to this Ebi
-
HT4623 how do i restore to a previous ( before iso9 ) backup
how do i restore to a previous ( previous iso8 ) back up. My ipad is not working and gets stuck on apps. I DO NOT like new update
-
Can I change how my folders behave?
I am confused by how my folders behave in Lion. I would like them to behave like they did in Snow Leopard. Being able to arrange them by kind is important to the work I do. But now I get these strange separations instead of the files arranged by thei
-
ELoad - request time / response time / web transaction ?
Hi there, does anyone know if the test results presented by eLoad should be understood as request time (time between the last byte sent and the first received), response time (first sent, first received) or web transaction (the longest one - first se