Query likely cost of Openreach SFI visit
Really getting to the end of my tether by experiencing some sort of interference, (non audible) on my line. The source of which I personally can't pin down. Usual "first aid" remedies tried like connecting router directly to master socket, doing away with extensions etc. Broadband speeds stay up for a while following a non BT ISP request for a Profile reset. Then after a while, speeds start to drop when router shows several ERR_SIG_INTERRUPTs. So, throwing caution to the wind I was wondering what it would cost for an Openreach person to visit and sort out my line once and for all, whether it be an internal fault or external fault? Also, if I decided to go down this route, how do I go about requesting a visit? I know 151 won't be interested if there is no voice fault. Thanks and Regards
John F
“Dogs come when they're called; cats take a message and get back to you later.”
Mary Bly
Solved!
Go to Solution.
Amunre wrote:
Really getting to the end of my tether by experiencing some sort of interference, (non audible) on my line. The source of which I personally can't pin down. Usual "first aid" remedies tried like connecting router directly to master socket, doing away with extensions etc. Broadband speeds stay up for a while following a non BT ISP request for a Profile reset. Then after a while, speeds start to drop when router shows several ERR_SIG_INTERRUPTs. So, throwing caution to the wind I was wondering what it would cost for an Openreach person to visit and sort out my line once and for all, whether it be an internal fault or external fault? Also, if I decided to go down this route, how do I go about requesting a visit? I know 151 won't be interested if there is no voice fault. Thanks and Regards
John F
Hi.
You need to request this via your ISP.
http://www.andyweb.co.uk/shortcuts
http://www.andyweb.co.uk/pictures
Similar Messages
-
Query for Cost Code in oracle HRMS
Hello Exports,
i am new in oacle hrms,
So Can you please tell how to fetch cost code in oracle hrms r12 ( i need sql query for cost code )
Thankstry the following (assignment costing as at today):
select ppx.full_name
,ppx.employee_number
,pax.assignment_number
,pax.primary_flag
,pcax.proportion
,pcak.segment1
,pcak.segment2
,pcak.segment3
,pcak.segment4
from per_assignments_x pax
,per_people_x ppx
,pay_cost_allocations_x pcax
,pay_cost_allocation_keyflex pcak
where ppx.person_id = pax.person_id
and pax.assignment_id = pcax.assignment_id
and pcak.cost_allocation_keyflex_id = pcax.cost_allocation_keyflex_id -
Query with Cost Center Hierarchy giving incorrect results
Hi All,
I have a universe built based on BEx query on Cost Center cubes. When enabling hierarchy in BEx Query and building Web intelligence Report based on the universe, I get incorrect results. The levels of the hierarchy is incorrect, many of the cost centers are missing etc. I checked the universe and confirmed that all levels of hierarchy are generated correctly. The Lov generated for these levels are correct and I see the complete hierarchy when using the BEx Variable in Universe for filtering.
I tried the same query with Hierarchy disabled with a different universe and it is providing correct results. Not sure what I'm missing here. Any inputs regarding this is appreciated.
Thanks & Regards,
SreeIngo, Thanks for your suggestion. Of course, I did update the Universe after any changes in the query. Tried different query setting related to hierarchy to make it work, but didn't many any difference and I get consistently incorrect results.
One thing what I wanted to confirm is, if there is any known bug in SP 2 Fix Pack 2.7 related to hierarchies. If not, it might be me doing some thing wrong and I will look into in more detail.
Thanks & Regards,
Sree -
Re: Query for Cost center actual by period.
Hi Experts,
Good Morning everybody,
I want cost center actual values (with cost element) by period. I have created query through T.code-SQVI by joining tables COSP and CSKS.
I got the report, but i cannot see the foreign currency postings in SQVI report. so there was a difference between SQVI and KSB1 report.
Why i cannot see Foreign currency postings in SQVI report. please advise me, whether any other table that i can use in the query for cost center actuals by period.
Thanks in advance & Points will be assign for useful answers,
KUMARSee the answer in FI thread.
Hi,
KSB1 is based on COEP table. COSP shows only external postings. You should take COSS as well for internal postings in CO. Check the nature of the join with CSKS: notice COSP has OBJNR field which is not the same as KOSTL in CSKS.
Anyway, I'd suggest you using not the join between tables, but one of standard logical databases SAP provides. For cost centres, you can use CIK.
Regards,
Eli -
Query item cost after revaluation
Dear All,
I want to create inventory aging report with revaluation cost.
Could I find all info. from OINM table? and How?
Many thanks!
Wingthanks Rahul
Inventory audit report in b1 could not fulfill our company's requirement
we want a report as follow
item | Total QTY | Total AM T| 30day QTY | 30day AMT| 60day QTY| 60day AMT | over 90day QTY| over 90day AMT |
I know how to query the cost from good receipt transaction in OINM but don't know how to query the related revaluation cost.
Please help
Edited by: wing168 on Nov 28, 2011 8:09 AM -
Re: Query for Cost Code in oracle HRMS
Hi
I am also looking out for something similar. I need the query which will give me the costing details of each of the elements (Costed Element Name | Costing Account | Balancing Account).
Any pointers on this would be highly appreciated.
Thanks
Regards
TruptiHi Trupti,
Please don't outsource your work. Forums are only to help you but not do your work.
You need to put your efforts, so that others can help you.
For now, I already had this query, so you can use it -
select pel.element_link_id,
ppf.payroll_name
,pj.name Job
,hou.name HR_ORG,ppg.group_name People_Group
,hra.location_code
,pet.element_name,pet.reporting_name
,pet.processing_type
,pec.classification_name
,pel.costable_type
,pel.link_to_all_payrolls_flag
,pcak1.concatenated_segments Element_Cost_Segments
,pcak1.segment1
cost_segment1
,pcak1.segment2
cost_segment2
,pcak1.segment3
cost_segment3
,pcak1.segment4
cost_segment4
,pcak1.segment5
cost_segment5
,pcak1.segment6
cost_segment6
,pcak1.segment7
cost_segment7
,pcak1.segment8
cost_segment8
,pcak2.concatenated_segments Balancing_Cost_Segments
,pcak2.segment1
Bal_segment1
,pcak2.segment2
Bal_segment2
,pcak2.segment3
Bal_segment3
,pcak2.segment4
Bal_segment4
,pcak2.segment5
Bal_segment5
,pcak2.segment6
Bal_segment6
,pcak2.segment7
Bal_segment7
,pcak2.segment8
Bal_segment8
from pay_element_links_f pel
,apps.PAY_COST_ALLOCATION_KEYFLEX pcak1
,apps.PAY_COST_ALLOCATION_KEYFLEX pcak2
,pay_element_types_f pet
,pay_payrolls_f ppf
,pay_element_classifications pec
,per_jobs pj
,hr_all_organization_units hou
,PAY_PEOPLE_GROUPS ppg
,hr_locations_all hra
where pel.element_type_id = pet.element_type_id
and ppf.payroll_id(+) = pel.payroll_id
and pcak1.cost_allocation_keyflex_id(+) = pel.cost_allocation_keyflex_id
and pcak2.cost_allocation_keyflex_id(+) = pel.balancing_keyflex_id
and pel.business_group_id = :BG_ID
and pet.classification_id = pec.classification_id
and pj.job_id(+) = pel.job_id
and hou.organization_id(+) = pel.organization_id
and ppg.people_group_id(+) = pel.people_group_id
and hra.location_id(+) = pel.location_id
and sysdate between pel.effective_start_date and pel.effective_end_date
and sysdate between pet.effective_start_date and pet.effective_end_date
and sysdate between ppf.effective_start_date(+) and ppf.effective_end_date(+)
order by ppf.payroll_name,pet.element_name,pec.classification_name;
Cheers,
Vignesh -
Hello Experts,
Please help me how the table "digital_compatibility" be modified for faster performance?
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Productio
NLSRTL Version 10.2.0.1.0 - Production
Count of records for the tables:-
SELECT count(*) FROM DEVICE_TYPE; --421
SELECT count(*) FROM DIGITAL_COMPATIBILITY; --227757
CREATE TABLE DEVICE_TYPE
DEVICE_TYPE_ID NUMBER(38,0),
DEVICE_TYPE_MAKE VARCHAR2(256 BYTE),
DEVICE_TYPE_MODEL VARCHAR2(256 BYTE),
DEVICE_DISPLAY_NAME VARCHAR2(256 BYTE),
PARTNER_DEVICE_TYPE VARCHAR2(256 BYTE),
DEVICE_IMAGE_URL VARCHAR2(256 BYTE),
FOH_BUTTON_NAME VARCHAR2(256 BYTE),
FOH_ACTIVE_FLAG CHAR(1 BYTE),
BB_RETAIL_FLAG CHAR(1 BYTE),
DISPLAY_DESCRIPTION VARCHAR2(256 BYTE),
DEVICE_CATEGORY_ID NUMBER(38,0),
DEVICE_SUB_CATEGORY_ID NUMBER(38,0),
DEVICE_BRAND_ID NUMBER(38,0),
PARENT_ID NUMBER(38,0),
POWERED_BY VARCHAR2(256 BYTE),
CARRIER VARCHAR2(256 BYTE),
CAPABILITY_SET_ID NUMBER(38,0),
CREATED_BY VARCHAR2(32 BYTE),
CREATED_DATE DATE,
UPDATED_BY VARCHAR2(32 BYTE),
UPDATED_DATE DATE,
POWERED_BY_DEVICE_TYPE VARCHAR2(64 BYTE),
OPERATING_SYSTEM VARCHAR2(32 BYTE),
OPERATING_SYSTEM_VERSION VARCHAR2(32 BYTE),
BROWSER VARCHAR2(32 BYTE),
BROWSER_VERSION VARCHAR2(32 BYTE),
CLASSIFICATION VARCHAR2(32 BYTE),
CONSTRAINT PK_DEVICE_TYPE PRIMARY KEY ( DEVICE_TYPE_ID));
CREATE INDEX DEVICE_TYPE_IDX ON DEVICE_TYPE
CAPABILITY_SET_ID ,
UPPER( PARTNER_DEVICE_TYPE )
CREATE TABLE DIGITAL_COMPATIBILITY
DIGITAL_COMPATIBILITY_ID NUMBER NOT NULL ENABLE,
CAPABILITY_SET_ID NUMBER,
OBJECT_TYPE VARCHAR2(38 BYTE) NOT NULL ENABLE,
CREATED_DATE DATE NOT NULL ENABLE,
CREATED_BY VARCHAR2(38 BYTE) NOT NULL ENABLE,
UPDATED_DATE DATE NOT NULL ENABLE,
UPDATED_BY VARCHAR2(38 BYTE) NOT NULL ENABLE,
OBJECT_ID VARCHAR2(114 BYTE),
ENCODE_PROFILE_ID NUMBER
CREATE INDEX ENCODE_PROFILE_ID_IDX ON DIGITAL_COMPATIBILITY
ENCODE_PROFILE_ID,
OBJECT_ID,
OBJECT_TYPE
Query
=====
EXPLAIN PLAN FOR
SELECT /*+ INDEX(dc, ENCODE_PROFILE_ID_IDX) */
DISTINCT dc.object_id AS title_id
FROM digital_compatibility dc,
device_type dt
WHERE dc.capability_set_id = dt.capability_set_id
AND upper(dt.partner_device_type) = :1
AND dc.object_id IN (:2, :3, :4, :5, :6, :7, :8, :9, :10, :11, :12, :13, :14, :15, :16, :17, :18, :19, :20, :21, :22, :23, :24, :25, :26, :27, :28, :29, :30, :31, :32, :33)
AND dc.object_type =:"SYS_B_0";
Explain plan
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
| 0 | SELECT STATEMENT | | 2 | 472 | 274 (4)|
| 1 | HASH UNIQUE | | 2 | 472 | 274 (4)|
|* 2 | MAT_VIEW ACCESS BY INDEX ROWID| DIGITAL_COMPATIBILITY | 1 | 93 | 68 (3)|
| 3 | NESTED LOOPS | | 2 | 472 | 273 (4)|
|* 4 | INDEX FULL SCAN | DEVICE_TYPE_IDX | 4 | 572 | 1 (0)|
|* 5 | INDEX FULL SCAN | ENCODE_PROFILE_ID_IDX | 8 | | 67 (3)|
Predicate Information (identified by operation id):
2 - filter("DC"."CAPABILITY_SET_ID"="DT"."CAPABILITY_SET_ID")
4 - access(UPPER("PARTNER_DEVICE_TYPE")=:1)
filter(UPPER("PARTNER_DEVICE_TYPE")=:1)
5 - access("DC"."OBJECT_TYPE"=:SYS_B_0)
filter(("DC"."OBJECT_ID"=:2 OR "DC"."OBJECT_ID"=:3 OR "DC"."OBJECT_ID"=:4 OR
"DC"."OBJECT_ID"=:5 OR "DC"."OBJECT_ID"=:6 OR "DC"."OBJECT_ID"=:7 OR
"DC"."OBJECT_ID"=:8 OR "DC"."OBJECT_ID"=:9 OR "DC"."OBJECT_ID"=:10 OR
"DC"."OBJECT_ID"=:11 OR "DC"."OBJECT_ID"=:12 OR "DC"."OBJECT_ID"=:13 OR
"DC"."OBJECT_ID"=:14 OR "DC"."OBJECT_ID"=:15 OR "DC"."OBJECT_ID"=:16 OR
"DC"."OBJECT_ID"=:17 OR "DC"."OBJECT_ID"=:18 OR "DC"."OBJECT_ID"=:19 OR
"DC"."OBJECT_ID"=:20 OR "DC"."OBJECT_ID"=:21 OR "DC"."OBJECT_ID"=:22 OR
"DC"."OBJECT_ID"=:23 OR "DC"."OBJECT_ID"=:24 OR "DC"."OBJECT_ID"=:25 OR
"DC"."OBJECT_ID"=:26 OR "DC"."OBJECT_ID"=:27 OR "DC"."OBJECT_ID"=:28 OR
"DC"."OBJECT_ID"=:29 OR "DC"."OBJECT_ID"=:30 OR "DC"."OBJECT_ID"=:31 OR
"DC"."OBJECT_ID"=:32 OR "DC"."OBJECT_ID"=:33) AND "DC"."OBJECT_TYPE"=:SYS_B_0)
Note
- 'PLAN_TABLE' is old version
Trace
recursive calls 280
db block gets 16
consistent gets 97
physical reads 0
redo size 3224
bytes sent via SQL*Net to client 589
bytes received via SQL*Net from client 1598
SQL*Net roundtrips to/from client 2
sorts (memory) 4
sorts (disk) 0
Thanks ....You index on DIGITAL_COMPATIBILITY is on ENCODE_PROFILE_ID, OBJECT_ID, OBJECT_TYPE
But you query for object_id and object_type.
How much rows you you identify with this? What the PK?
The way it's now, it needs to read the full index, then the table and as DEVICE_TYPE is small it makes a NL to it.
Makes sense.
If you would add an index on OBJECT_ID, OBJECT_TYPE and capability_set_id ORACLE would just need to read the INDEX. -
I have a number of users who recieve a budget report. The query in the report is restricted by a variable on Cost Centre. There is an authorisation logged against the user in RSECADMIN for cost centre so when the report runs it knows they only have authorisation to view budgets for that specific cost centre.
However I want to design another report that shows overtime spend for all cost centres. If I give the users authority to view overtime spend for all cost centres the budget report restriction fails e.g. they have now got access to all cost centres and see all budgets.
Is there anyway around this?In that case it is very simple and yes you can separate both authorizations.
In RSECADMIN built two authorizations:
Aut_1:
Cost_center: only the cost centers the user should have
0TCAACTVT: 03 (display only)
0TCAIPROV: <The_InfoProvider_the_query_restricted_by_only_some_profit_centers_in_here>
0TCAKYFNM: * (all key figures)
0TCAVALID: * (Valid for ever)
Aut_2:
Cost_center: * (all cost centers)
0TCAACTVT: 03 (display only)
0TCAIPROV: <The_InfoProvider_the_query_restricted_by_all_profit_centers_in_here>
0TCAKYFNM: * (all key figures)
0TCAVALID: * (Valid for ever)
Give both authorizations to the user. When the user opens the query built on the InfoProvider that exist in Aut_1, the system will retrieve the Aut_1 authorizations values, therefore, only some Cost Centers.
When the user opens the query built on the InfoProvider that exist in Aut_2, the system will retrieve the Aut_2 authorizations values, therefore, all Cost Centers.
This is because, the systema builds union on 0TCAIPROV characteristic. If they are different, then, different values are granted as you wish.
Diogo. -
SAP Query - material costs split by labour/ingredients
Hi,
Is it possible to create a SAP query to show the following;
Material / Lab unit cost / Material lab cost
I'd also like to be able to select r show 1 or 2 cost variants.
I essentially need a list of materials and their costs broken down into their constituent parts.
How can I do this please?
ThanksHi Commandante
You can not have WIP split in the FI GL accounts.....
However, there is a work around possble which can give you the break up in report
You need to do small tweaking to get WIP by cost component
1. Define as many LINE IDs as your cost components in OKTZ
2. For eg: If you have cost components like raw material, packing material, labor, machine cost.... then define similar LINE IDs and do the relevant configuration for WIP as per these line IDs.... Assign the specific cost elements in WIP config instead of masking....
3. Assign cost comp str in OKN0 and choose product group = Material Group.. Transport it to production
4. Run KKRV to collect the data
5. Now run the WIP reports in KKO0
When you execute your KKO0 reports, WIP would be with the same breakup as your cost components
This is a tried and tested approach!!
Regards
Ajay M -
Re: query for cost centers by period
hi experts,
we want cost center actual values (with cost element) by period. i have created query through sqvi by joining tables COSP and CSKS.
i got the report but i cannot see foreign currency postings in the SQVI report. so there is difference in the SQVI and KSB1 report.
why i cannot see foreign currency postings in SQVI report (COSP table). so is there any other table i need to join in the qurey if anybody face the same problem give me your inputs.
thanks in advance,
KK.hi kk,
i think in cosp1 u have taken total value in transaction currency better you take total value in controlling currency then your output you will get your output which you expecting.
hope it helpful ifnot revert me.
regards,
sb. -
Query apache access logs for Vists, Visit duration
I need help in querying for Vists, Visit duration in mins ..etc from apache access logs. A Visit is considered new if time difference between requests is greater than 60 mins.
ID VISITS VISIT-DURATION-MINS
'Usr-A' 3 112
'Usr-B' 2 34
My data is as below:
ID,TIME-HR-MIN
'Usr-A','01/01/2012 00:45'
'Usr-A','01/01/2012 00:49'
'Usr-A','01/01/2012 00:53'
'Usr-A','01/01/2012 01:04'
'Usr-A','01/01/2012 01:05'
'Usr-A','01/01/2012 01:09'
'Usr-A','01/01/2012 01:10'
'Usr-A','01/01/2012 01:11'
'Usr-A','01/01/2012 01:13'
'Usr-A','01/01/2012 01:14'
'Usr-A','01/01/2012 01:15'
'Usr-A','01/01/2012 02:00'
'Usr-A','01/01/2012 02:01'
'Usr-A','01/01/2012 02:19'
'Usr-A','01/01/2012 03:53'
'Usr-A','01/01/2012 03:59'
'Usr-A','01/01/2012 04:07'
'Usr-A','01/01/2012 04:11'
'Usr-A','01/01/2012 16:30'
'Usr-A','01/01/2012 16:37'
'Usr-A','01/01/2012 16:38'
'Usr-A','01/01/2012 16:39'
'Usr-B','01/01/2012 01:45'
'Usr-B','01/01/2012 01:46'
'Usr-B','01/01/2012 01:48'
'Usr-B','01/01/2012 01:49'
'Usr-B','01/01/2012 01:50'
'Usr-B','01/01/2012 02:07'
'Usr-B','01/01/2012 02:08'
'Usr-B','01/01/2012 02:09'
'Usr-B','01/01/2012 02:10'
'Usr-B','01/01/2012 05:21'
'Usr-B','01/01/2012 05:23'
'Usr-B','01/01/2012 05:30'Hello
I think this gives you what you need, although I think Usr-A has a total of 121 minutes not 112...
with visit as
( select 'Usr-A' id,TO_DATE('01/01/2012 00:45','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 00:49','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 00:53','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 01:04','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 01:05','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 01:09','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 01:10','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 01:11','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 01:13','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 01:14','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 01:15','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 02:00','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 02:01','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 02:19','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 03:53','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 03:59','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 04:07','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 04:11','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 16:30','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 16:37','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 16:38','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-A' id,TO_DATE('01/01/2012 16:39','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-B' id,TO_DATE('01/01/2012 01:45','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-B' id,TO_DATE('01/01/2012 01:46','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-B' id,TO_DATE('01/01/2012 01:48','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-B' id,TO_DATE('01/01/2012 01:49','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-B' id,TO_DATE('01/01/2012 01:50','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-B' id,TO_DATE('01/01/2012 02:07','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-B' id,TO_DATE('01/01/2012 02:08','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-B' id,TO_DATE('01/01/2012 02:09','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-B' id,TO_DATE('01/01/2012 02:10','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-B' id,TO_DATE('01/01/2012 05:21','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-B' id,TO_DATE('01/01/2012 05:23','dd/mm/yyyy hh24:mi') time_hr_min from dual union all
select 'Usr-B' id,TO_DATE('01/01/2012 05:30','dd/mm/yyyy hh24:mi') time_hr_min from dual
SELECT
id,
COUNT(*) num_visits,
SUM(visit_time) total_visit_time
FROM
SELECT
id,
SUM(visit_time) * 60 visit_time
FROM
SELECT
id,
time_hr_min,
visit_time,
MAX(marker)OVER(PARTITION BY id ORDER BY time_hr_min) marker
FROM
( SELECT
id,
time_hr_min,
CASE
WHEN visit_dur > 1
THEN
0
ELSE
visit_dur
END visit_time,
CASE
WHEN rn = 1
THEN
1
WHEN visit_dur > 1
THEN
rn
END marker
FROM
( SELECT
id,
time_hr_min,
ROW_NUMBER() OVER(PARTITION BY id ORDER BY time_hr_min) rn,
(time_hr_min - LAG(time_hr_min) OVER( PARTITION BY
id
ORDER BY
time_hr_min)
) * 24 visit_dur
FROM
visit
GROUP BY
id,
marker
GROUP BY
id
ORDER BY
id
ID NUM_VISITS TOTAL_VISIT_TIME
Usr-A 3 121
Usr-B 2 34
2 rows selected. HTH
David -
Query- Personnel Cost Planning-Immediate Help required
Hi,
I have a query.
I am trying to Assign Percentage to Cost Item ( Personnel cost Planning)- Bonus which is a dependent cost item to Direct Cost Item-Base Salary but when I run the
T. Code:- PHCPADMN the Bonus Percentage is not getting reflected and if I run the report-Plan data it is not showing any calculation of percentage.
Kindly any immediate help is highly appreciable as I need to resolve it ASAP.
Regards,
HappyHi Soniya
I think you should look into following links:
help.sap.com/printdocu/core/Print46c/en/data/pdf/PACMCP/PACMCP.pdf
help.sap.com/saphelp_46c/helpdata/en/fd/45a4f79d6411d189b60000e829fbbd/content.htm
Thanks
Yash -
Hi,
The concept of costing in projcet system which i understood is as follow
1.We create project profile in OPSA and under organisation tab page we assign the plant to the profile, which means we can use this profile for the specified plant.
2. We have costing variants defined - PS02 plan and PS03 actual. This variants are maintained for the plants, which is defined in the above project profile. This costing variants consists of the costing type and valuation variant. The valuation variant further consist of the priorities for the prices of material and activity and the costing sheet. Now costing sheet contains the base rate and the overhed rates for the various cost like production and material.
Now when we create the project using the above project profile and with the standard project structure, we can add the activity to it. Now consider that the activity is internal activity and the work centre responsible for that activity is defined inside it. So whenever the project is saved then the cost is calculated on the time defined for the activity and the rate for that activity type in KP26 (Combination for the cost centre and the activity type). Now if i add the material to this activity the rates for the material are taken as per the criteria from the valuation variant and overhead charges from the costing sheet.
My question is
1. What is then logic of defining the base rate for production and other things in costing sheet.
2. If i want to add the overhead cost for the internal activity. How to add that?
Hope somebody will reply ASAP.
ThanksHi Raghunandan.....
Bisically Costing Sheet is used in Overhead Calculation --
Now see the structure of Costing sheet---
1.Base Row- Have cost element from --to or Cost element Group ...in which Cost (that is collected from material or from other activites..like Freight ..and etc) will be collected on which overhead will be calculate.
2.Define Overhead Rate l
3.Cost Element in which overhead amount will be credit.
Rewards points..
Thanks & Regards
SMITH -
Likely Cost to Upgrade from Photoshop CS5 Basic to CS6 Extended?
I know an exact answer to this question is not available yet, but I would like to get a feel for what to expect when CS6 is released. I currently have Photoshop CS5 Basic. I would like to upgrade it to CS6 Extended when CS6 is released. Am I going to have to start all over as a brand new owner?
TIAThe Extended version does seem to be about 3D
http://www.adobe.com/content/dam/Adobe/en/products/photoshopfamily/pdfs/photoshop-cs5-edit ion-comparison-ue.pdf
But I had a feeling there was also something to do with image stacks and Median.
I have found this link for CS4. Ah yes, here you go -
I just want an idea of what I'm getting myself in for before I take it to the Apple Store. It isn't a complete flash on/off action but is definitely flickering relatively frequently.
Thanks!Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try another cable
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar
Maybe you are looking for
-
I am so angry at messages because when i am trying to sign in, they want my email adress. when i put my email adress it says unable to verify adress. an email with a verification link has been sent to the above email adress. I did that like over a bi
-
Now let me understand this battery issue !
Most everyone is complaining about poor battery life ,,, correct ? My HTC TP2 could go strong w/12hrs b4 needing a charge, Iphone would last 10hrs. with heavy use until a charge needed. Verizon/Htc put up commercials that had a lightening/heavy elect
-
Help how do I sync my new 4s when I have no comPuter inorder to get contacts apps and games onto it
-
Doubt about BTE 0001011_E (in F-43 Tcode)
Hi I need to make some validations in F-43 tcode where i will send some differents error messages depending on header (company, currency..) and detail (posting key, account..) data. I found the BTE 001011_E (FM 'OPEN_FI_PERFORM_00001011_E) , i al
-
How do you set up groups/folders on iphone 4s?
I just recently got an iphone 4s and am just wondering how to set up folders/groups, like the existing one for utilities? do I do that on the phone, or do I have to set it up initially through the sync menu in itunes?