2 level Manager Query
Hello,
I've one query which fetches 2 level manger id and its name.
I've written one query its shows me the output but missing those employee who have same Manger, and Final Manager.
Like below
Empid Empl Name Mgr id Mgr Name FM id FM Name
006 ABC 004 XYZ 002 PQR
004 XYZ 002 PQR 002 PQRThe Employees like emplid 006 are ok with my query but employees with id 004 are missing from query o/p.
how can i fetch all the employee?
below is my query.
SELECT A.emplid,
A.Name_Display,
AA.EMPLID MGR_ID,
AA.NAME_DISPLAY NAME_DISPLAY_MGR,
ab.supervisor_id EMPLID_FM,
FMGN.name_display NAME_DISPLAY_FM
FROM PS_PERSONAL_DATA A,
(SELECT EMPLID, NAME_DISPLAY FROM PS_PERSONAL_DATA) AA,
(SELECT ad.emplid, ad.supervisor_id
FROM ps_job ad
WHERE ad.effdt = (SELECT MAX(t3.effdt)
FROM ps_job t3
WHERE ad.emplid = t3.emplid)) AB,
(SELECT EMPLID, NAME_DISPLAY FROM PS_PERSONAL_DATA) FMGN,
PS_JOB D
WHERE A.EMPLID = D.EMPLID
AND AA.EMPLID = D.SUPERVISOR_ID
AND D.supervisor_id = AB.emplid
AND FMGN.Emplid = AB.supervisor_id
AND D.effdt =
(SELECT MAX(t1.effdt) FROM PS_JOB t1 WHERE t1.emplid = D.EMPLID)
ORDER BY A.emplid;Yes it Is Peoplesoft 9.00 And Oracle 10.2
Regards!
Hi,
You give us insufficient information to help you. You have many tables involved in your query, you should give us their creation scripts, and also give us, by providing insert statements, some data for each of these tables.
Similar Messages
-
Second level Manager Unable to view the leave request
Hello Experts
We are using three levels approval leave request, first level manager able to approve successfully, when second level manager approving the leave request is unable to see any contents inside the request, its showing blank.
Kindly help me on this.
Thanks
Neelima.Hi,
I have a requirement in which I have to sent Leave Workflow to three approvers. For that I maintain the approvers in a customising table. What I did is, I took a copy of the standard Leave WF and added a step in loop (to read the table maintained, through a bor method). For the last approver, he has to get the standard leave approval task and for that reason i looped my custom bor for 2 times and put the standard leave approval task outside the loop.
Now the issue is that, eventhough the first approver gets the workitem and approves that, the next approver is not getting the workitem for him. Workflow is going into an error state stating that the successor node is not found.
Please tell me whether my approach for customising leave workflow is correct. And if correct, what could be the reason for the error that I get.
Regards, -
Hello everybody.
I am currently working with Sharepoint Online search and am trying to find information about managing Query suggestions (CRUD operations).
Would anybody have any information as to how I could do this in CSOM or PowerShell ? I truely am having a hard time on this.Hi,
Please check below. This should help you. You can REST APIs
Retrieving query suggestions using the Search REST service
https://msdn.microsoft.com/en-us/library/office/dn194079.aspx
Please remember to click 'Mark as Answer' on the answer if it helps you -
How to make Default the Higher-Level Manager of the employee
Dear experts,
how to make Default the Higher-Level Manager of the employee as Further Participant in performance management ?
Regards,
TVSHi,
The delivered BAdI below defaults in both the appraiser and appraisee as part-appraisers//Default Further Participants.
BAdI Area: Appraisal Enhancements
BAdI Definition: HRHAP00_DOC_DEF_DO (Appraisal - Default Further Participants)
App. Enhn.: DEFAULT_ALL_MANAGERS
Implementation: HRTMC_DEF_OTHERS
Implementation short text: Determine All Managers
Implement this BADI in SE18/SE19 and write the desired code in the BADI methods
Hope this will help u out.....
Regards
Lakhan -
Manage query - run time errors
Hi,
we have one user working at one desktop which receives error "run-time error 5" followed by "401 Automation error" when selecting the manage query wizard proceeding from the BPC Excel action pane.
We only have this at one desktop. Any ideas?
DriesHi,
You can check the query run time by using T code RSRT.
1. Go to T code RSRT
2. Give your query name.
3. Click on the "Execute + Debug" tab
4. Various check boxed for Debug options will appear on the screen
5. Under the "Others" node you will find the check box for "Display Statics Data"
6. Check this check box and click on continue.
7. This will execute the query and provide you selection screen if any.
8. Once the query is completely executed, click on "back" button or simply hit F3.
9. This takes you to the "Statistic Data for Query Runtime screen"
10. Here you can take the total of "Duration" column to get the total duration for query execution.
Please refer following link for details:
[http://help.sap.com/saphelp_nw70/helpdata/en/43/e3807a6df402d3e10000000a1553f7/frameset.htm]
Hope this answers your query.
- Geetanjali -
The next level manager is unable to view or access appraisal forms for all
I am facing an issue where in the next level manager is not able to see the appraisal docs of employees.
Follwing is the link that we found on SDN related to the same issue-
Next higher level manager should see the appraisal docs of the employees
During the PM testing, an issue was discovered with the existing logic of the Default Next Level Manager BADI.
When a manager manually reports to a NL managers organization unit, the next level manager is unable to view or access appraisal forms for all the employees who report to the manager.
For example,
NL Manager/Cheif: Susan
Manager/Chief: John
Employees: Mary and Matt
If Johns position (manager/chief) has a A 999 Reports to dotted line relationship to Susans organization unit (NL Manager), then Susan is unable to access, approve or reject the appraisal forms for Mary and Matt (Johns direct reports).
The relationship type is A 999 Reports to dotted line
Type of related object O (Organizational Unit)
We need to update the BADI in order for the next level manager to be able to access appraisal forms as described in the example above.
BADI implementation Name : Z_HRHAP00_DOC_DEF_DO
Method - IF_EX_HRHAP00_DOC_DEF_DO~DEFAULT_OTHERS
Now we are facing the following issue-
After identification of the employees who report to the managers organizational unit using the A 003 Belongs to relationship we are not sure how to pass these employees information from BADI to appraisal form, so that the previously identified Next Level Manager will be able to access, accept and reject appraisal forms for these employees.
For further details please refer the thread. I was not able to understand how this can be achieved.
Can anyone please mention in brief how I should be able to do this. I am new to this and I would appreciate any help .
Regards,
Satish.There are no Function Modules to my knowledge. Pls try the transaction S_AHR_61016530 which would display the User's approvers as per hierarchy. This would bring datas from the HR tables. If this helps pls award points.
-
dear all
I'm looking for the meaning of "Service level management" and it purpose in SAP solution manager. can someone tell me what it is really?
Thanks for your helpHi
Check the foll links
https://websmp110.sap-ag.de/~sapidb/011000358700000059852008E
https://websmp110.sap-ag.de/~sapidb/011000358700000873942006E
https://websmp110.sap-ag.de/~sapidb/011000358700006405632006E
http://help.sap.com/saphelp_smehp1/helpdata/en/c7/6b1ec041ae44e28df020b232cb5fb4/frameset.htm
http://www.sap-press.com/products/Service-Level-Management-%252d-the-ITIL-Process-in-SAP-Operations.html
Regards
Prakhar -
Access Level Management for Lync2013
In Microsoft Communicator 2007, there was an option to set the 'Access Level Management' as a global setting. Is this feature still available in Lync 2013 apart from setting the 'Access Levels' for each contact individually.
Since we migrated from Microsoft Communicator 2007 to Lync2013 and we needed to change some 'Access Levels', I wasn't able to do so. So would like to check if this feature can be enabled or disabled at the global level.
Thanks. Any suggestions would be highly appreciated.
BR,
FriedaHi,
In Lync 2013, you can view the contact in turn of Relationship as following:
You can modify the relationship of the contact by right click the contact, and choose "Change Privacy Relationship", then you can choose the relationship you want such as Workgroup, Blocked Contacts.
Best Regards,
Eason Huang
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Eason Huang
TechNet Community Support -
Performance Appraisal - Default 2nd level manager as Part Appraiser
Hello
Unfortnately, we are not having much success with this. The requirement is to <b>default 2nd level manager</b> as Part Appraiser and <b>not show</b> the Manager and EE as part appraiser.
For this we created a implementation for the BADI <b>HRHAP00_DOC_DEF_DP</b> and incorporated the same in our appraisal template. But the system is now bringing only the EE as the part appraisal.
Has someone worked on something similar and is so what is the best way to approach this?
Thanks,Hi Harun
Thank you for your feedback. By any chance would it be possible for you to post the code that we could use as a template on our end. The reason being, the ABAP person working on this project is very new and any guidance in terms of the tables to be included etc. would be greatly appreciated.
Many thanks in advance. -
Cannot locate policy manager query/update service
Hi,
I installed soa_server 11.1.1.4.0 on windows server 2003 machine, I got a weird issue while accessing the weblogic policy manager through em. I logged into em console, weblogic domain, domain, webservvice, policy throw this erro below
"*Cannot locate policy manager query/update service. Policy manager service look up did not find a valid service, due to: Unable to connect to WS Policy Manager. <- oracle.wsm.policymanager.PolicyManagerException: WSM-02118 : The query service cannot be created. <- javax.naming.NameNotFoundException: While trying to lookup 'QueryService#oracle.wsm.policymanager.ejb.IStringQueryServiceRemote' didn't find subcontext 'QueryService#oracle'. Resolved ''; remaining name 'QueryService#oracle/wsm/policymanager/ejb/IStringQueryServiceRemote'*"
even my wls-m is running , I can access the http://host/wls-pm.
Last three days I have spend for this issue but no clue.I disabled SSL, enable with SSL host validation false but also get this error.Please sort out this issue.
Thanks
GovindanProblem solved.
Soln:
Given ip address in the Listen Address field of weblogic Admin and SOA server. :)
Thanks
Govindan P -
Tuning Oracle Applicatons Order Management Query
Hi
We are trying to build a Order Management related workbench for this I have created below query as per the client requirement.
And I have to use one package function to get Available_qty based on client defination. Package Function name is "xx_eg_calculated_onhand".
User will query this view based on Customer_id and Salesperson_id. When this view executed with these two values its taking long time.
But, if user queries with order_number it is getting executed fastly. Could somebody let me know what should I do to get this query execute fast when
user query with either customer_id or salesrep_id OR both.
CREATE OR REPLACE VIEW xxrelease_sales_orders_v (row_id,
sales_oder,
cust_po_number,
line_id,
carrier,
segment1,
customer_item_number,
description,
ship_from,
ship_to,
request_date,
order_quality,
available_qty,
shipped_quality,
uom,
customer_name,
sales_person_name,
delivery_detail_id,
cust_hold,
release_check,
line_status,
organization_code,
org_id,
order_number,
tolerance,
delivery_id,
organization_id,
salesrep_id,
party_id,
inventory_item_id,
header_id,
cust_account_id,
location_id,
cust_acct_site_id
AS
SELECT a.row_id,
a.Sales_Order,
a.Cust_Po_Number,
a.Line_ID,
a.Carrier,
a.segment1,
a.Customer_Item_Number,
a.description,
a.Ship_From,
a.ship_to,
a.request_date,
a.order_quality,
DECODE(SIGN(a.Available_qty),-1, 0, a.available_qty) Available_Qty,
DECODE(SIGN(LEAST(a.order_quality, a.Available_qty)), -1,0, LEAST(a.order_quality, a.Available_qty)) Shipped_Qty,
a.uom,
a.Customer_Name,
a.Sales_Person_Name,
a.delivery_detail_id,
a.cust_hold,
a.release_check,
a.Line_status,
a.organization_code,
a.org_id,
a.order_number,
a.tolerance,
a.delivery_id,
a.organization_id,
a.salesrep_id,
a.party_id,
a.inventory_item_id,
a.header_id,
a.cust_account_id,
a.location_id,
a.cust_acct_site_id
From (
SELECT ooh.ROWID row_id,
ooh.order_number||'-'||ool.line_number||'.'||ool.shipment_number Sales_Order,
ool.cust_po_number,
ool.line_id,
NVL (ool.freight_carrier_code, 'NA') carrier,
msi.segment1,
ool.ordered_item Customer_Item_Number,
msi.description,
haou.name Ship_From,
hl.city || ' ' || hl.state || ' ' || hl.postal_code ship_to,
NVL (ool.request_date, SYSDATE) request_date,
NVL (ool.ordered_quantity, 0) order_quality,
xxeg_releaseworkbench_form_pkg.xx_eg_calculated_onhand(ool.line_id) Available_qty,
ool.order_quantity_uom uom,
hp.party_name Customer_Name,
hca.account_number Customer_Number,
jrs.name Sales_Person_Name,
wdd.delivery_detail_id,
0 cust_hold,
0 release_check,
oe_line_status_pub.Get_Line_Status(ool.line_id, ool.flow_status_code) Line_status,
ool.org_id,
ooh.order_number,
NVL (ool.ship_tolerance_above, 0) tolerance,
wda.delivery_id,
ool.ship_from_org_id organization_id,
jrs.salesrep_id,
hp.party_id,
msi.inventory_item_id,
ooh.header_id,
hca.cust_account_id,
hps.location_id,
hcsu.cust_acct_site_id,
ooh.ship_to_org_id site_use_id,
hcas.party_site_id,
'0' organization_code
FROM oe_order_headers_all ooh,
oe_order_lines_all ool,
wsh_delivery_details wdd,
wsh_delivery_assignments wda,
mtl_system_items_b msi,
hz_cust_accounts hca,
hz_parties hp,
jtf_rs_salesreps jrs,
hz_cust_site_uses_all hcsu,
hz_cust_acct_sites_all hcas,
hz_party_sites hps,
hz_locations hl,
hr_all_organization_units haou
WHERE ooh.header_id = ool.header_id
AND ooh.header_id = wdd.source_header_id
AND ool.line_id = wdd.source_line_id
AND wdd.delivery_detail_id = wda.delivery_detail_id
AND ool.inventory_item_id = msi.inventory_item_id
AND ooh.ship_from_org_id = msi.organization_id
AND ooh.sold_to_org_id = hca.cust_account_id
AND hca.party_id = hp.party_id
AND ool.salesrep_id = jrs.salesrep_id
AND ool.org_id = jrs.org_id
AND ooh.ship_to_org_id = hcsu.site_use_id
AND hcsu.cust_acct_site_id = hcas.cust_acct_site_id
AND hcas.party_site_id = hps.party_site_id
AND hps.location_id = hl.location_id
AND ool.ship_from_org_id = haou.organization_id
AND wdd.released_status = 'R'
AND hcsu.site_use_code = 'SHIP_TO'
AND ool.flow_status_code = 'AWAITING_SHIPPING'
--and hca.cust_account_id = 1531 and jrs.salesrep_id = 100000060
--AND ooh.order_number = '361130'
) a
Function
FUNCTION xx_eg_calculated_onhand (p_so_line_id IN NUMBER) RETURN NUMBER IS
--CREATE OR REPLACE PROCEDURE xx_eg_calculated_onhand (p_so_line_id IN NUMBER) IS
-- Steps Involved to calculate the onhand availability
-- 1. Get Inventory Item ID and Warehouse from given sales order line ID
-- Local Variable Declration
l_inventory_item_id apps.oe_order_lines_all.inventory_item_id%TYPE := 0;
l_organization_id apps.oe_order_lines_all.ship_from_org_id%TYPE := 0;
l_order_quantity_uom apps.oe_order_lines_all.order_quantity_uom%TYPE := '';
l_primary_uom_code apps.mtl_system_items_b.primary_uom_code%TYPE := '';
l_onhand_reserve NUMBER(15,2) := 0;
l_hard_reservation NUMBER(15,2) := 0;
l_so_soft_reservation NUMBER(15,2) := 0;
l_wo_soft_reservation NUMBER(15,2) := 0;
l_so_released_ware_qty NUMBER(15,2) := 0;
-- Cursor declrations
-- Get inventory item, warehouse and order UOM Details
CURSOR Get_inv_and_org_details IS
SELECT ool.inventory_item_id,
ool.ship_from_org_id,
ool.order_quantity_uom,
msi.primary_uom_code
FROM apps.oe_order_lines_all ool,
apps.mtl_system_items_b msi
WHERE ool.line_id = NVL(p_so_line_id,0)
AND ool.inventory_item_id = msi.inventory_item_id
AND ool.ship_from_org_id = msi.organization_id;
-- Get Hard Reservation details for given item and warehouse
CURSOR Get_Hard_reservation(p_inventory_item_id IN NUMBER, p_organization_id IN NUMBER) IS
SELECT SUM(reservation_quantity)
FROM apps.mtl_reservations
WHERE inventory_item_id = NVL(p_inventory_item_id,0)
AND organization_id = NVL(p_organization_id, 0)
AND demand_source_line_id <> p_so_line_id;
-- Get Soft reservation details for given item and warehouse for Sales order
CURSOR Get_so_soft_reservation (p_inventory_item_id IN NUMBER, p_organization_id IN NUMBER) IS
SELECT SUM(mlqv.onhand_qty)
FROM xxapps.xx_eg_lot_reservations xelr,
xxapps.mtl_lot_qty_vw mlqv,
apps.oe_order_lines_all ool
WHERE xelr.lot_no = mlqv.lot_no
AND xelr.so_line_id = ool.line_id
AND mlqv.org_id = ool.ship_from_org_id
AND mlqv.item_id = ool.inventory_item_id
AND mlqv.org_id = p_organization_id
AND mlqv.item_id = p_inventory_item_id;
-- Get Soft reservation details for given item and warehouse for work orders
CURSOR Get_wo_soft_reservation (p_inventory_item_id IN NUMBER, p_organization_id IN NUMBER) IS
SELECT SUM(mlqv.onhand_qty)
FROM xxapps.xx_eg_lot_reservations xelr,
xxapps.mtl_lot_qty_vw mlqv,
wip.wip_requirement_operations wro
WHERE xelr.lot_no = mlqv.lot_no
AND xelr.wip_entity_id = wro.wip_entity_id
AND mlqv.org_id = wro.organization_id
AND mlqv.item_id = wro.inventory_item_id
AND mlqv.org_id = p_organization_id
AND mlqv.item_id = p_inventory_item_id;
-- Get Sales order lines quantity for the shipment status 'Released to Wareshoue'
CURSOR Get_so_qty (p_inventory_item_id IN NUMBER, p_organization_id IN NUMBER) IS
SELECT SUM(requested_quantity)
FROM apps.wsh_deliverables_v
WHERE released_status='S'
AND inventory_item_id = p_inventory_item_id
AND organization_id = p_organization_id;
BEGIN
Dbms_output.put_line('Function Started with so_line_id = '||p_so_line_id);
-- Get the inventory_item_id and warehouse id and
-- ordered quantity uom details
-- By opening the cursor Get_inv_and_org_details
OPEN Get_inv_and_org_details;
FETCH Get_inv_and_org_details INTO l_inventory_item_id,l_organization_id,l_order_quantity_uom,l_primary_uom_code;
CLOSE Get_inv_and_org_details;
Dbms_output.put_line('Inventory item id = '||l_inventory_item_id||' and warehouse id = '||l_organization_id);
IF (l_inventory_item_id = 0 OR l_inventory_item_id IS NULL) OR
(l_organization_id = 0 OR l_organization_id IS NULL) THEN
dbms_output.put_line('No inventory/wareshouse details available for given sales order line');
RETURN 0;
END IF;
-- Get onhand available to reserve quantity using API
-- passing inventory item id and organization id as
-- a parameters.
l_onhand_reserve := apps.xx_utility_pkg.Get_Available_to_Reserve_org(l_inventory_item_id,l_organization_id);
Dbms_output.put_line('Onhand availability to Reserve quantity = '||l_onhand_reserve);
-- Get hard reservation quantity by
-- passing inventory item id and organization id as
-- a parameters to cursor Get_Hard_reservation
OPEN Get_Hard_reservation(l_inventory_item_id,l_organization_id);
FETCH Get_Hard_reservation INTO l_hard_reservation;
CLOSE Get_Hard_reservation;
Dbms_output.put_line('Hard Reserve quantity = '||l_hard_reservation);
-- Get Soft reservation quantity by
-- passing inventory item id and organization id as
-- a parameters to cursor
-- Get_so_soft_reservation for sales lines
OPEN Get_so_soft_reservation(l_inventory_item_id,l_organization_id);
FETCH Get_so_soft_reservation INTO l_so_soft_reservation;
CLOSE Get_so_soft_reservation;
-- Get Soft reservation quantity by
-- passing inventory item id and organization id as
-- a parameters to cursor
-- Get_wo_soft_reservation for work orders
OPEN Get_wo_soft_reservation(l_inventory_item_id,l_organization_id);
FETCH Get_wo_soft_reservation INTO l_wo_soft_reservation;
CLOSE Get_wo_soft_reservation;
-- Get Sales order line sum quantity for those
-- lines which has a status of 'Released to Warehouse'
-- at their shipment level for given parameters
OPEN Get_so_qty(l_inventory_item_id,l_organization_id);
FETCH Get_so_qty INTO l_so_released_ware_qty;
CLOSE Get_so_qty;
INSERT INTO xxapps.xxeg_calculated_onhand_tbl
order_line_id,
inventory_item_id,
organization_id,
available_to_reserve,
hard_reservation,
soft_reservation_so,
soft_reservation_wo,
other_so_lines_qty,
run_date
VALUES
p_so_line_id,
l_inventory_item_id,
l_organization_id,
NVL(l_onhand_reserve,0),
NVL(l_hard_reservation,0),
NVL(l_so_soft_reservation,0),
NVL(l_wo_soft_reservation,0),
NVL(l_so_released_ware_qty,0),
sysdate
Commit Work;
Create table xxapps.xxeg_calculated_onhand_tbl
order_line_id NUMBER,
inventory_item_id NUMBER,
organization_id NUMBER,
available_to_reserve NUMBER,
hard_reservation NUMBER,
soft_reservation_so NUMBER,
soft_reservation_wo NUMBER,
other_so_lines_qty NUMBER,
run_date DATE
RETURN (NVL(l_onhand_reserve,0) + NVL(l_hard_reservation,0) - (NVL(l_so_soft_reservation,0) + NVL(l_wo_soft_reservation,0)) - NVL(l_so_released_ware_qty,0));
EXCEPTION
WHEN others THEN
RETURN (0);
END xx_eg_calculated_onhand;
KiranHi
I have gathered a explain plan. Could somebody let me know whats going on.
plan_table_output
| Id | Operation | Name | Rows | Bytes | Cost |
| 0 | SELECT STATEMENT | | 1 | 404 | 87 |
| 1 | NESTED LOOPS | | 1 | 404 | 87 |
| 2 | NESTED LOOPS | | 1 | 374 | 86 |
| 3 | NESTED LOOPS | | 1 | 323 | 85 |
| 4 | NESTED LOOPS | | 1 | 300 | 84 |
| 5 | NESTED LOOPS | | 1 | 290 | 83 |
| 6 | NESTED LOOPS | | 1 | 280 | 80 |
| 7 | NESTED LOOPS | | 1 | 261 | 79 |
| 8 | NESTED LOOPS | | 1 | 209 | 78 |
| 9 | NESTED LOOPS | | 1 | 192 | 75 |
| 10 | NESTED LOOPS | | 1 | 164 | 74 |
| 11 | NESTED LOOPS | | 1 | 76 | 72 |
| 12 | NESTED LOOPS | | 1 | 46 | 3 |
| 13 | TABLE ACCESS BY INDEX ROWID| HZ_CUST_ACCOUNTS | 1 | 16 | 2 |
|* 14 | INDEX UNIQUE SCAN | HZ_CUST_ACCOUNTS_U1 | 1 | | 1 |
| 15 | TABLE ACCESS BY INDEX ROWID| HZ_PARTIES | 1 | 30 | 1 |
|* 16 | INDEX UNIQUE SCAN | HZ_PARTIES_U1 | 1 | | |
| 17 | TABLE ACCESS BY INDEX ROWID | OE_ORDER_HEADERS_ALL | 1 | 30 | 69 |
|* 18 | INDEX RANGE SCAN | OE_ORDER_HEADERS_N2 | 1 | | 1 |
|* 19 | TABLE ACCESS BY INDEX ROWID | OE_ORDER_LINES_ALL | 1 | 88 | 2 |
|* 20 | INDEX RANGE SCAN | OE_ORDER_LINES_N1 | 6 | | 1 |
| 21 | TABLE ACCESS BY INDEX ROWID | JTF_RS_SALESREPS | 1 | 28 | 1 |
|* 22 | INDEX UNIQUE SCAN | JTF_RS_SALESREPS_U1 | 1 | | |
|* 23 | TABLE ACCESS BY INDEX ROWID | WSH_DELIVERY_DETAILS | 1 | 17 | 3 |
|* 24 | INDEX RANGE SCAN | WSH_DELIVERY_DETAILS_N3 | 4 | | 2 |
| 25 | TABLE ACCESS BY INDEX ROWID | MTL_SYSTEM_ITEMS_B | 1 | 52 | 1 |
|* 26 | INDEX UNIQUE SCAN | MTL_SYSTEM_ITEMS_B_U1 | 1 | | |
|* 27 | TABLE ACCESS BY INDEX ROWID | HZ_CUST_SITE_USES_ALL | 1 | 19 | 1 |
|* 28 | INDEX UNIQUE SCAN | HZ_CUST_SITE_USES_U1 | 1 | | |
| 29 | TABLE ACCESS BY INDEX ROWID | WSH_DELIVERY_ASSIGNMENTS | 1 | 10 | 3 |
|* 30 | INDEX RANGE SCAN | WSH_DELIVERY_ASSIGNMENTS_N3 | 1 | | 2 |
| 31 | TABLE ACCESS BY INDEX ROWID | HZ_CUST_ACCT_SITES_ALL | 1 | 10 | 1 |
|* 32 | INDEX UNIQUE SCAN | HZ_CUST_ACCT_SITES_U1 | 1 | | |
|* 33 | TABLE ACCESS BY INDEX ROWID | HZ_PARTY_SITES | 1 | 23 | 1 |
|* 34 | INDEX UNIQUE SCAN | HZ_PARTY_SITES_U1 | 1 | | |
|* 35 | TABLE ACCESS BY INDEX ROWID | HZ_LOCATIONS | 1 | 51 | 1 |
|* 36 | INDEX UNIQUE SCAN | HZ_LOCATIONS_U1 | 1 | | |
| 37 | TABLE ACCESS BY INDEX ROWID | HR_ALL_ORGANIZATION_UNITS | 1 | 30 | 1 |
|* 38 | INDEX UNIQUE SCAN | HR_ORGANIZATION_UNITS_PK | 1 | | |
Predicate Information (identified by operation id):
14 - access("HCA"."CUST_ACCOUNT_ID"=1531)
16 - access("HCA"."PARTY_ID"="HP"."PARTY_ID")
18 - access("OOH"."SOLD_TO_ORG_ID"=1531)
filter("OOH"."SOLD_TO_ORG_ID"="HCA"."CUST_ACCOUNT_ID")
19 - filter("OOL"."FLOW_STATUS_CODE"='AWAITING_SHIPPING' AND "OOL"."SALESREP_ID"=100000060)
20 - access("OOH"."HEADER_ID"="OOL"."HEADER_ID")
22 - access("JRS"."SALESREP_ID"=100000060 AND "OOL"."ORG_ID"="JRS"."ORG_ID")
filter("OOL"."SALESREP_ID"="JRS"."SALESREP_ID")
23 - filter("OOH"."HEADER_ID"="WDD"."SOURCE_HEADER_ID" AND "WDD"."RELEASED_STATUS"='R')
24 - access("OOL"."LINE_ID"="WDD"."SOURCE_LINE_ID")
26 - access("OOL"."INVENTORY_ITEM_ID"="MSI"."INVENTORY_ITEM_ID" AND
"OOH"."SHIP_FROM_ORG_ID"="MSI"."ORGANIZATION_ID")
27 - filter("HCSU"."SITE_USE_CODE"='SHIP_TO')
28 - access("OOH"."SHIP_TO_ORG_ID"="HCSU"."SITE_USE_ID")
30 - access("WDD"."DELIVERY_DETAIL_ID"="WDA"."DELIVERY_DETAIL_ID")
32 - access("HCSU"."CUST_ACCT_SITE_ID"="HCAS"."CUST_ACCT_SITE_ID")
33 - filter("HZ_PARTY_SITES"."ACTUAL_CONTENT_SOURCE"<>'DNB' AND
"HZ_PARTY_SITES"."ACTUAL_CONTENT_SOURCE"<>'SST')
34 - access("HCAS"."PARTY_SITE_ID"="HZ_PARTY_SITES"."PARTY_SITE_ID")
35 - filter(NVL("HZ_LOCATIONS"."ACTUAL_CONTENT_SOURCE","HZ_LOCATIONS"."CONTENT_SOURCE_TYPE")<>'DNB'
AND NVL("HZ_LOCATIONS"."ACTUAL_CONTENT_SOURCE","HZ_LOCATIONS"."CONTENT_SOURCE_TYPE")<>'SST')
36 - access("HZ_PARTY_SITES"."LOCATION_ID"="HZ_LOCATIONS"."LOCATION_ID")
38 - access("OOL"."SHIP_FROM_ORG_ID"="HAOU"."ORGANIZATION_ID")
Note: cpu costing is off
Regards
Kiran -
How to disable (or) Hide the UDF Field in the Row level through Query
Hi suda,
thanks for your reply. i also want to know the formatted search query for the UDF present in the row level, i want to hide that also.so pls msg me the query.
i have written as N$[item.column.row] but it is not working,so keep me posted if your query that works well.
Regards
Magesh.Magesh,
I just saw your other messages...
Go to Tools > User defined fields > Manage User Fields -- Under Marketing Documents > Rows check the field name here.
Then go the Form itself and Click on Form Settings Icon or Click CTRLSHIFTS or Tools > Form Settings and from the Table format Tab make your changes..
Good luck
Suda -
Report Level Calculation query.
Hi Experts,
I have a query on one of my reports. I
had notification,task no in rows and three other key figures in columns
1)no of properties failed which will be at notificatn header level.
2)no of properties remedied whcih will be at notification item (i.e task level).
3) Outstanding properties.
Please find the sample output which i require for two notifications.
A has got 10 properties failed and 3 prop remedied in first task , 5 remedied in sec task , 1 remedied in third task.
So outstanding Prop key figure for A 2 task is No of properites failed - [ no of prop remedied first task + sec task].
Nftn Task No (No of Prop Failed) (No of Prop Remedied ) (Outstanding Prop )
A 1 10 3 7 10-3
2 10 5 2 10 u2013 (3+5)
3 10 1 1 10-(351)
[Result ] 10 9 1
B 1 5 1 4 5 - 1
2 5 2 2 5 - (1+2)
3 5 0 2 5 - (120)
[Result ] 5 3 2
[Overall Result ] 15 12 3
I could attain the output as below which is little ok but not 100% complete output they requrie.
I could not get overall result as 15 for No of Prop Failed because single results make average to get 10 instead of 30.
So single results 10 and 5 average comes to 7.5. How can we make one result row to act like one condiotn and another outmost result row to other condition.
How to obtain the outstanding column populated above. What i made is i made sumct(no of prop remedied) so i got 9 for A and 3 for B and then subtracted 10 - 9 across all tasks which is little ok but not absolutely correct.
Nftn Task No (No of Prop Failed) (No of Prop Remedied ) (Outstanding Prop )
A 1 10 3 1 10-9
2 10 5 1 10 -9
3 10 1 1 10-9
[Result ] 10 9 1
B 1 5 1 2 5 - 3
2 5 2 2 5 - 3
3 5 0 2 5 - 3
[Result] 5 3 2
[Overall Result] 7.5 12 XX
can any one share some thoughts on this one.
Thanks
Vamsi
Edited by: vamsi talluri on Nov 8, 2010 6:51 PMHi,
first of all you should not leverage the InfoProvider directly but instead use the BEx Query and this type of prompting could then be done as an EXIT variable in the BEx query.
ingo -
How to suppress hierarchy levels on query visualization
Hello Gurus, Does anybody know how to suppress from a level down on a query visualization?
I mean, if I have the following structure...
Level 1
Level 2
Level 2
Level 3
Level 3
Level 1
Level 2
Level 3
...I want users to be able to expand only until Level 2, not seing Level 3 down on and without displaying those arrows ">" at the left of Level 2 nodes.
If I set "Expand to Level" hierarchy property to "2" in query designer, the hierarchy is displayed correctly at the very first opening, but the users still have the arrow ">" sign at Level 2 and are able to expand the levels down on from there.
Tks in advance! Regards,
Marcelo Domingues.You can create hierarchy authorization.
Cheers,
Neel. -
Enterprise manager query execution time monitoring
I have a few Virtual machines ( each with Oracle client 11g installed ) in VMWARE and VBOX and have a host Win7 with a Oracle 11g database.
What I am trying to achieve is that when I run a query from one of the virtual machines, let's say SELECT * FROM table x, Enterprise manager will tell me how long it took to run that query.
I have looked at SQL Monitoring area of Enterprise manager but it doesn't straightaway pick up the execution times and is very lazy and unreliable.
All help will be greatly appreciated.will tell me how long it took to run that query. use sqlplus
SQL> set autotrace traceonly statistics time on
18:48:10 SQL> select * from employees;
107 rows selected.
Statistics
0 recursive calls
0 db block gets
15 consistent gets
0 physical reads
0 redo size
10817 bytes sent via SQL*Net to client
600 bytes received via SQL*Net from client
9 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
107 rows processed
18:48:22 SQL>
Maybe you are looking for
-
Sharepoint 2013 Excel External Data Source Refresh Issue
I have been facing this issue for quite some time now.. i have created an Excel sheet in Excel-13 and have imported data from an external data source [SQL server 2012]. Everything is working fine, with the excel sheet on the desktop. Data refreshes,
-
HP Color LaserJet 2600n and Airport Express Issues
To me it seems like more of an issue with the Airport Express and Snow Leopard. Am I totally off base on this. I tried the work around post in another thread on here and it just fails to connect to the printer properly. Either way, I wonder how long
-
IOS 5 Photos.app bug?
I've been actively using the share button in photos.app to post pictures to Twitter for months now. I occasionally crop my pictures before tweeting them, and today I finally realized what's happening after (rather embarrassingly) tweeting a photo tha
-
Creating dynamical flat file name in mapping?
Hi. I know about the variations on how to use an input parameter and/or sysdate to create a dynamic output file name in a mapping. My challenge is nearly the same, but I cannot make OWB generate the correct code. Problem: - got a one column table tha
-
I was facing some problem in my macbook when i upgraded from os mavericks to new os yosemite. So I went to the apple store and they downgraded my macbook. Now after all the softwares removed i wanted to get pages keynote and pages in my laptop on whi