Investment Buying Query
Hi,
I would like to know what kind of data is being used by the SAP ECC system to calculate and justify the Investment (Forward) Buying Procedure. I am assuming all the Purchase Order Pricing variants like Price mentioned on PO, Contracts, etc.
Can someone shed some more light on this area as it is not very clear to me.
Regards
Prashant Kedare
HI,
I think the following details would be used
Current Inventory, Current Purchase Cost, Future Purchase Cost, Forecasted Demand, Logistical Capacity, Logistical Cost (Handling, Storage)
Kindly correct or include any more details that need to be considered.
Regards
Prashant Kedare
Similar Messages
-
Consolidation of Investment Task Query -1
Dear Experts,
I have a critical doubt
I have created Cons. Group and Cons Unit as follows
Main Cons Grp
Sub Cons Group1
Cons Unit 1 (Parent Unit) 20% hold on Cons unit 2 (specified in accounting technique as Parent unit)
Cons Unit2 (Subsidiary of Cons Unit 1)
Sub Cons Group 2
Cons Unit 3 (Parent Unit) 1000% hold on Cons unit 4 (specified in accounting technique as Parent unit)
Cons Unit 4 (Subsidiary of Cons Unit 3)
Kindly tell me
1) This kind of Hirerchy will allow me to do COnsolidation of Investment with Minority Interest Calculation)
Or
2) How do I Investment consolidation in the above scenario?
(If you all can help with details)
Regards
Ritesh MRitesh,
Hierarchies in SEM-BCS may have different structure, depending on share of ownership and your purpose.
Your hierarchy:
>
> Sub Cons Group1
>
> Cons Unit 1 (Parent Unit) 20% hold on Cons unit 2 (specified in accounting technique as Parent unit)
> Cons Unit2 (Subsidiary of Cons Unit 1)
>
> Sub Cons Group 2
>
> Cons Unit 3 (Parent Unit) 1000% hold on Cons unit 4 (specified in accounting technique as Parent unit)
> Cons Unit 4 (Subsidiary of Cons Unit 3)
Answering to your questions is impossible because:
1. 20% ownership usually means not a subsidiary, but an associate company, that is another accounting method.
2. Ownership in 1000% is impossible. -
Investment Buy Scenario - Issues
Hi,
I am unable to run the scenario as described in the documentation:
1. Vendor C3000, Plant CFT1, no materials are displayed for the vendor.
The simulation cannot be selected.
I tried other vendors as well as other plants and no materials are
displayed.
Any guidance is greatly appreciated!Hello,
I have the same problem. Have you found a solution for this issue?
Thank you,
Jens -
Hello, This is related to a company buying query.
Create table #company(Name VARCHAR(10),CompanyProfit INTEGER,EffDate DATE,EndDate DATE,ReplacedCompanyName varchar(10))
Insert into #company values ('A',112,'2012-01-01','2012-05-31','B')
insert into #company values ('B',113,'2012-06-01',null,null)
Desired Result:
I have two parameters that I give in the query to get the below results
1. Todays Date :
2.YearMonth (find profit of company which was active as of that month)
Case 1:
When I give Todays Date: 201205
YearMonth:201205
I should display current active company profit 112 and Company Name: A
When I give TodaysDate: 201206
YearMonth:201206
I should display current active company profit 113 and Company Name: B
But when I give Todaysdate:201206
YearMonth: 201205 ( find the active company profit as of 201205)
I have to display Current Active Company Name B but the profit of Company A 112
Case 2:
if a company sold in mid month
Create table #company(Name VARCHAR(10),CompanyProfit INTEGER,EffDate DATE,EndDate DATE,ReplacedCompanyName varchar(10))
Insert into #company values ('c',262,'2012-01-01','2012-05-20','D')
insert into #company values('D',265,'2012-05-21','2012-07-30',null)
When I give Todaysdate 06/01/2012
YearMonth: 06/01/2012
I should display Company Name D and Company Profit of 265
When I give Todaysdate 05/01/2012
YearMonth: 05/01/2012
I should display Company Name D and Company Profit of 265 (not take the company which was sold in the first half of May)
When I give Todaysdate 06/01/2012
YearMonth: 04/01/2012
I should display Company Name D and Company Profit of 262 (display current company's name that is active as of Today, but display the profit of
company which was active as of YearMonth parameter(04/01/2012)
When I give Todaysdate 03/01/2012
YearMonth: 03/01/2012
I should display Company Name C and Company Profit of 262
I need one query which will handle the scenarios and give the result needed.
In addition to this, I have another parameter which is dependent on @todaysdate which is used in my query
DECLARE @LastDayofmonth DATE
SET @Lastdayofmonth = Dateadd(s, -1, Dateadd(mm, Datediff(m, 0, @Todaysdate) + 1, 0));
I tried to create query using the following logic but does not produce the desired result
select Name,CompanyProfit from #company
where effDate < @LastDayofmonth AND (enddate >= @LastDayofmonth
-- OR enddate IS NULL )
So when I run the corrected above query with the parameter values I have given above for each case, I need to get the desired result for each case.
Please help.
ThanksAssuming that you are writing a stored procedure, here is a solution:
Create table #company(Name VARCHAR(10),CompanyProfit INTEGER,EffDate DATE,EndDate DATE,ReplacedCompanyName varchar(10))
Insert into #company values ('A',112,'2012-01-01','2012-05-31','B')
insert into #company values ('B',113,'2012-06-01',null,null)
Insert into #company values ('c',262,'2012-01-01','2012-05-20','D')
insert into #company values('D',265,'2012-05-21','2012-07-30',null)
go
SELECT *FROM #company
go
CREATE PROCEDURE gans2014 @todaysdate date,
@yearmonth date AS
-- Adjust the dates, so that they are always at the end of the month.
SELECT @todaysdate = dateadd(DAY, -1, dateadd(month, 1, convert(char(6), @todaysdate, 112) + '01')),
@yearmonth = dateadd(DAY, -1, dateadd(month, 1, convert(char(6), @yearmonth, 112) + '01'))
CREATE TABLE #current (Name varchar(10) NOT NULL PRIMARY KEY,
CompanyProfit int NOT NULL)
INSERT #current (Name, CompanyProfit)
SELECT Name, CompanyProfit
FROM #company
WHERE EffDate <= @todaysdate
AND (EndDate >= @todaysdate OR EndDate IS NULL)
IF @todaysdate = @yearmonth
BEGIN
SELECT Name, CompanyProfit
FROM #current
END
ELSE IF @yearmonth < @todaysdate
BEGIN
; WITH rekurs AS (
SELECT Name, CompanyProfit, ReplacedCompanyName
FROM #company
WHERE EffDate <= @yearmonth
AND (EndDate >= @yearmonth OR EndDate IS NULL)
UNION ALL
SELECT c.Name, r.CompanyProfit, c.ReplacedCompanyName
FROM #company c
JOIN rekurs r ON r.ReplacedCompanyName = c.Name
WHERE c.EffDate <= @todaysdate
SELECT c.Name, r.CompanyProfit
FROM rekurs r
JOIN #current c ON r.Name = c.Name
END
ELSE
RAISERROR ('Incorrect parameters. @yearmonth must be <= @todaysmonth.', 16, 1)
go
EXEC gans2014 '20120301', '20120301'
go
DROP TABLE #company
DROP PROCEDURE gans2014
Erland Sommarskog, SQL Server MVP, [email protected] -
Hi guys,
We have the discovery system for almost 2 months.
I would like to exlore the BI content that comes with it,
the problem is that when I try to open or create a query I get the error mesages
Terminate: Unexpected error: BExOpenSaveServices - GetNodes: RFC Exeptions
Terminate: query designer must be restarted; further work not possible.
Any ideas
Thanks
ShlomiHi,
that is going to be a long list:
<b>SAP NetWeaver 04s</b>
Portal (SAP NW Portal)
Application Server (SAP NW AS)
Process Integration (SAP NW XI)
Master Data Management (SAP NW MDM)
Business Intelligence (SAP BW)
Visual Composer with BI toolkit
SAP Enterprise Core Component - <b>ECC 6.0</b> (configured with SAP Best Practices tool suite)
Detailed guidance: how to re-deploy scenarios or key content in your own environment
Fully documented prototype and development environment (with a working example to evaluate)
Complete composite application code
<b>xApps for personal productivity</b>
Production Order Rescheduling
Store-Specific Consumer Price
Request for New Supplier Master Data
Request for Quotation Approval
Strategic Investment Buy Simulation
SAP RFID Solution
SAP GRC Access Control
Composite Toolbox
<b>SAP xApp Analytics</b>
Travel Expense Exception
Investment Approval
<b>Other</b>
Microsoft Windows 2003
Microsoft SQL Server 2005
Hope that I did not forget anything.
In short: It covers technology and content.
Best Regards,
rAimund -
IMac 20 inch monitor better than 17 inch?
I'm thinking to buy a iMac (after I had not much luck with a Mini, eg noise).
Can anyone advise me on the display. In principal, I would prefer to have a mac with seperate screen, however at the moment the iMac looks the best option to me.
From the specs published on the apple web page the 20' display is brighter than than the 17'. I also read here in this forum that the display quality is better, which would make it a good investment (buying a 20'), if true.
Could anyone advise me (in either way).
Many thanks
PS: Does the iMac make a lot of noise, like reported from the MacBook or Mini.I have the 20" iMac, and am very happy with it. The screen is fantastic. The large screen is very nice to work with, and you also get a larger disk on the 20" model. 250Gb instead of 160Gb, so factor that into your decision. The 20" also has the option of upgrading the video RAM to 256Mb.
With regards noise, mine make no noise at all, even when running heavy apps such as Aperture & Final Cut Pro.
Good luck
Simon -
Difference in 4.7EE & ECC 6.0 in MM
Hi experts!!!
Happy New Year 2008!!! to all you...
Could u plz help me out difference in 4.7EE and ECC 6.0 versions. where it differs.
Hope will expect ur valuable suggestion will help me a lot for my presentation
Regards
suneelHello
Some of the difference in MM
Archiving
The most frequently used archiving objects have been reworked so that they now correspond to a uniform standard. This has two main advantages: The archiving objects can be used uniformly in archiving projects and accessing archived data across different applications has been improved. The changes concern the following areas:
1. Selection screen
In the selection screen of the write program, you can specify under processing options whether the program should be performed in the test or production mode. If you select the detail log checkbox, a uniform log detailing which objects were processed is delivered in each write program. For certain archiving objects, such detail logs can also be delivered in other program, such as in the deletion or preparatory program. For more information, see the F1 help documentation.
2. Progress confirmation
A progress message appears every 30 minutes in the job log for programs executed in the background. For program executed in dialog mode, the progress message appears in the status line every 10 seconds.
3. Log
With each archiving run, the following information is written to the log (spool list):
- Number of table entries, processed archiving objects, archiving files, and so on.
- Processed business objects (such as orders or billing documents)
As described above, you can choose in the selection screen of the write program whether a detail log listing the individual business objects processed is issued instead of the usual compact log.
4. Interrupting the archiving run
To enable you to react appropriately to a given time frame or restricted disk place during archiving, the write phase of an archiving run can be interrupted and then continued at a later point. This function forms part of archive administration (transaction SARA).
5. Customizing specific to archiving objects
The technical settings in customizing specific to archiving objects have been examined for the processed archiving objects and modified where necessary. You can implement the new parameters by activating the corresponding BC set (transaction SCPR20). The BC set is called ARCH_<archiving object>. For example, the BC set for archiving object SD_VBAK is ARCH_SD_VBAK. We recommend that you implement the new parameters.
6. Network graphic
The network graphic for the individual archiving objects has been examined and any necessary adjustments have been made
7. Enhanced access of the archive
Archive access via the archive information system and the document relationship browser have been enhanced and improved. For some archiving objects, read access from certain application transactions to archived data is now available.
The following is true for process and production orders:
- With the exception of interrupting the archiving run, these archiving objects were not changed for SAP R/3 Enterprise 4.70 software. See SAP Note 713545.
- No progress confirmation messages are displayed
- Customizing specific to archiving objects was not changed
- In general, no other steps are required for the upgrade. In particular, you do not have to create any new variants for write and deletion programs.
For more information on the changes implemented, see SAP note 577847. Special features for upgrade from SAP R/3 Enterprise 4.70
The affected archiving objects were in fact already reworked for SAP R/3 Enterprise 4.70 (see SAP Note 577847). For the implemented changes to take effect, however, they had to be activated explicitly. If you have already activated them for Release 4.70, no further steps are required for this upgrade.
Effects on system administration
As new write and deletion programs have been assigned to the archiving objects, it is generally necessary to check the variants for scheduling the write and deletion programs and to make any necessary adjustments. In particular, it is necessary to enter the new variants for the deletion programs in customizing specific to archiving objects. We recommend using the variants SAP&TEST and SAP&PROD. You can also use the BC sets ARCH_<archiving object> to enter these variants. BC sets are activated using the transaction SCPR20. Note that these actions are not necessary for any archiving objects that have already been upgraded with SAP Note 577847.
BAPI for material Reservation
In the Business object material reservation (object type BUS2093 - material reservation), the following new and enhanced business application programming interfaces (BAPIs) exist. In brackets you will find the names of the corresponding function modules
New BAPIs
- Get items 1 (BAPI_RESERVATION_GETITEMS1): BAPI to read reservation items add the base unit of measure to the returned item data
- Change (BAPI_RESERVATION_CHANGE): BAPI to change individual reservations enable the changing of an existing reservation including the appending of new items. An optional ATP check and calendar check corresponding to the functionality provided by the MB21 transaction will be provided as well for this BAPI.
Changed BAPI
- CreateFromData1 (BAPI_RESERVATION_CREATE1): BAPI to create individual reservations With this BAPI, you can optionally assign an external reservation number. The optional ATP check and calendar check corresponding to the functionality provided by the MB21 transaction will also be provided with this BAPI.
New Report: Display List of Invoice Documents
Logistics invoice verification offers you a new report display list of invoice documents (RMMR1MDI), which you can use to display a list of invoice documents. As an addition to the existing program invoice overview (transaction code MIR6), you have extended selection criteria and display options. For example, on the initial screen you can make selections by one-time customers, invoice gross amount, and entry date. You can also show an expert mode, which enables you to select at plant level by financial accounting document, general ledger account posting, and material posting. In the output list, the report shows both posted and held invoices. It does not show invoices without a corresponding FI document; such as invoices planned for verification in the background, or which the system has already verified as containing errors.
Pick-Up List: Batch Where-Used List Display in MB56
Until now, the top-down and bottom-up analyses in the function pick-up list for batch where-used list (transaction MB5C) where only displayed in the form of simple output lists. As of SAP ERP Central Component 5.00, the function pick-up list for batch where-used list branches to the batch where-used list itself (transaction MB56). In addition, you can define how the data in the batch where-used list is displayed, in the initial screen.
You can use all the settings available in the batch where-used list. For example, expand transfer posting or display vendor batch. However, it is not possible to limit the selection to valid plants in the initial screen of the pick-up list.
Purchase Orders - Funds Management
*Reference funds reservation from purchase requisitions(PRs)/purchase orders (POs) going into stock
- You can now reference a funds reservation from a purchase requsition or a purchase order, even if these documents use account assignment category space, meaning that the order is not for direct consumption, but for inventory stock
Field Status for PRs/POs Without Account Assignment Categories
- It is now possible to customize the funds management (FM) account assignment elements (and funds reservations) for POs and PRs with account assignment category space, meaning items that are not ordered for consumption, but which go into stock. This feature is only supported in the new transactions (ME2N and ME5N).
Effects on Customizing
- If you do not carry out this customizing and FM is active, all the available fields are displayed as optional
Redesign of FM warehouse concept
The main changes are as follows:
- Warehouse funds center and any other account assignment can be derived using the derivation tool
- Statistical indicator must be triggered using a statistical commitment item
Purchase Orders - Order Optimization
To make order optimization available for general use, the following changes were made to the functions that could previously only be used for SAP retail software:
Plants no longer have to be of type store or distribution center. In non-retail solutions, order optimization selects plants of type <BLANK> in the following transactions: Automatic load building (WLB13), manual load building (WLB5) and replenishment workbench (WOD1). The links from these transactions to maintenance transactions for the site master (WB02) were converted to links to the plant master (OX10).
Determining orderable materials You must determine this list using the user exit EXIT_SAPLWPOPO_001
Removing links to promotion transactions Because promotions can only be used in SAP retail software, the options to go to promotion transactions from the menu entries have been removed
Enhanced order optimization
The following changes have been made to the order optimization functions:
Messages changed
- When errors occur during automatic load building, the system now creates information messages instead of error messages. This means it can process all error-free load builds. You can recognize the load builds that contain errors and process them manually.
- In the flow trace for automatic load building you can see more clearly which messages belong to a load build. The system now indicates the start of processing and the end of processing of a load build with a message.
- The existing messages have been extended to include extra information so that you can make the relevant corrections, for example, in the master data.
More detailed control of order optimization possible
- In Customizing for order optimization, more detailed control of the parameters for load building and Investment Buying is now possible using profiles, for example, maximum range of coverage for order optimization. You can now select a profile from the entries from Customizing for order optimization in the selection screen for order optimization. If no profiles have been entered, the system uses the first entry in table TWBO0. This means that the program behavior remains unchanged following an upgrade and you do not have to adjust anything.
Materials without forecast values possible
- Automatic load building now also considers materials without forecast values. Purchase requisitions and purchase orders are processed in the same way as materials with forecast values.
Restriction profile check enhanced
- In customizing for order optimization you can now define for restriction profiles whether an order request link is valid for the minimum restrictions check. In this case, the minimum restrictions count as being fulfilled when at least one of the minimum restrictions is fulfilled.
Results list for automatic load building extended
- In the results list for automatic load building, you can now select and delete rows in blocks or created follow-on documents. This makes faster subsequent processing possible.
- All functions that show additional details screens or branch to display transactions have been switched to cursor-sensitive logic.
- You can now delete individual rows or several rows from the results list. This reduces the extra manual work required. You can make sure manually that the load builds created by automatic load building fulfil a restriction profile. When you delete rows, the totals of the actual values for a restriction profile are reduced.
Purchase requisitions from automatic load building can be excluded
- You can now exclude purchase requisitions with certain document types from processing in automatic load building. The procurement process for these purchase requisitions then takes place outside of automatic load building.
New follow-on documents possible
- If you do not start automatic load building in simulation mode, the system now offers purchase requisitions as possible order documents in addition to purchase orders. You can determine whether the load building always creates purchase requisitions or only when all restrictions defined in a restriction profile are fulfilled. If in the latter case, not all the restrictions are fulfilled, the transaction behaves as it would in simulation mode. Purchase requisitions as follow-on documents save you work. You can, for example, delete purchase requisitions or assign them to another vendor.
- You can now have purchase requistions generated for additional quantities from the results list.
Validity of the results list dependent on a plant calendar
- In Customizing for order optimization, you can now set the number of calendar days for which the entries in the results list for automatic load building are valid. You can set a short validity period and the validity period of the entries that were created after a weekend or public holiday gives your MRP controllers sufficient time to check and adjust the results.
Regards
Edited by: SAP Enjoy on Jan 4, 2008 4:12 PM -
Difference in 4.7 EE & ECC6.0
Hi Experts!!!
Can any body help it out waht are the differences in 4.7EE and ECC 6.0 in table format. Tommorrow i am going to present it in my company..
S.No MODULE PROCESS DESCRIPTION Comparision to present version. T.CODE Status
Thanks a lot for helping .
regards
suneelhi
Some of the difference in MM
Archiving
The most frequently used archiving objects have been reworked so that they now correspond to a uniform standard. This has two main advantages: The archiving objects can be used uniformly in archiving projects and accessing archived data across different applications has been improved. The changes concern the following areas:
1. Selection screen
In the selection screen of the write program, you can specify under processing options whether the program should be performed in the test or production mode. If you select the detail log checkbox, a uniform log detailing which objects were processed is delivered in each write program. For certain archiving objects, such detail logs can also be delivered in other program, such as in the deletion or preparatory program. For more information, see the F1 help documentation.
2. Progress confirmation
A progress message appears every 30 minutes in the job log for programs executed in the background. For program executed in dialog mode, the progress message appears in the status line every 10 seconds.
3. Log
With each archiving run, the following information is written to the log (spool list):
Number of table entries, processed archiving objects, archiving files, and so on.
Processed business objects (such as orders or billing documents)
As described above, you can choose in the selection screen of the write program whether a detail log listing the individual business objects processed is issued instead of the usual compact log.
4. Interrupting the archiving run
To enable you to react appropriately to a given time frame or restricted disk place during archiving, the write phase of an archiving run can be interrupted and then continued at a later point. This function forms part of archive administration (transaction SARA).
5. Customizing specific to archiving objects
The technical settings in customizing specific to archiving objects have been examined for the processed archiving objects and modified where necessary. You can implement the new parameters by activating the corresponding BC set (transaction SCPR20). The BC set is called ARCH_<archiving object>. For example, the BC set for archiving object SD_VBAK is ARCH_SD_VBAK. We recommend that you implement the new parameters.
6. Network graphic
The network graphic for the individual archiving objects has been examined and any necessary adjustments have been made
7. Enhanced access of the archive
Archive access via the archive information system and the document relationship browser have been enhanced and improved. For some archiving objects, read access from certain application transactions to archived data is now available.
The following is true for process and production orders:
With the exception of interrupting the archiving run, these archiving objects were not changed for SAP R/3 Enterprise 4.70 software. See SAP Note 713545.
No progress confirmation messages are displayed
Customizing specific to archiving objects was not changed
In general, no other steps are required for the upgrade. In particular, you do not have to create any new variants for write and deletion programs.
For more information on the changes implemented, see SAP note 577847. Special features for upgrade from SAP R/3 Enterprise 4.70
The affected archiving objects were in fact already reworked for SAP R/3 Enterprise 4.70 (see SAP Note 577847). For the implemented changes to take effect, however, they had to be activated explicitly. If you have already activated them for Release 4.70, no further steps are required for this upgrade.
Effects on system administration
As new write and deletion programs have been assigned to the archiving objects, it is generally necessary to check the variants for scheduling the write and deletion programs and to make any necessary adjustments. In particular, it is necessary to enter the new variants for the deletion programs in customizing specific to archiving objects. We recommend using the variants SAP&TEST and SAP&PROD. You can also use the BC sets ARCH_<archiving object> to enter these variants. BC sets are activated using the transaction SCPR20. Note that these actions are not necessary for any archiving objects that have already been upgraded with SAP Note 577847.
BAPI for material Reservation
In the Business object material reservation (object type BUS2093 - material reservation), the following new and enhanced business application programming interfaces (BAPIs) exist. In brackets you will find the names of the corresponding function modules
New BAPIs
Get items 1 (BAPI_RESERVATION_GETITEMS1): BAPI to read reservation items add the base unit of measure to the returned item data
Change (BAPI_RESERVATION_CHANGE): BAPI to change individual reservations enable the changing of an existing reservation including the appending of new items. An optional ATP check and calendar check corresponding to the functionality provided by the MB21 transaction will be provided as well for this BAPI.
Changed BAPI
CreateFromData1 (BAPI_RESERVATION_CREATE1): BAPI to create individual reservations With this BAPI, you can optionally assign an external reservation number. The optional ATP check and calendar check corresponding to the functionality provided by the MB21 transaction will also be provided with this BAPI.
New Report: Display List of Invoice Documents
Logistics invoice verification offers you a new report display list of invoice documents (RMMR1MDI), which you can use to display a list of invoice documents. As an addition to the existing program invoice overview (transaction code MIR6), you have extended selection criteria and display options. For example, on the initial screen you can make selections by one-time customers, invoice gross amount, and entry date. You can also show an expert mode, which enables you to select at plant level by financial accounting document, general ledger account posting, and material posting. In the output list, the report shows both posted and held invoices. It does not show invoices without a corresponding FI document; such as invoices planned for verification in the background, or which the system has already verified as containing errors.
Pick-Up List: Batch Where-Used List Display in MB56
Until now, the top-down and bottom-up analyses in the function pick-up list for batch where-used list (transaction MB5C) where only displayed in the form of simple output lists. As of SAP ERP Central Component 5.00, the function pick-up list for batch where-used list branches to the batch where-used list itself (transaction MB56). In addition, you can define how the data in the batch where-used list is displayed, in the initial screen.
You can use all the settings available in the batch where-used list. For example, expand transfer posting or display vendor batch. However, it is not possible to limit the selection to valid plants in the initial screen of the pick-up list.
Purchase Orders - Funds Management
*Reference funds reservation from purchase requisitions(PRs)/purchase orders (POs) going into stock
You can now reference a funds reservation from a purchase requsition or a purchase order, even if these documents use account assignment category space, meaning that the order is not for direct consumption, but for inventory stock
Field Status for PRs/POs Without Account Assignment Categories
It is now possible to customize the funds management (FM) account assignment elements (and funds reservations) for POs and PRs with account assignment category space, meaning items that are not ordered for consumption, but which go into stock. This feature is only supported in the new transactions (ME2N and ME5N).
Effects on Customizing
If you do not carry out this customizing and FM is active, all the available fields are displayed as optional
Redesign of FM warehouse concept
The main changes are as follows:
Warehouse funds center and any other account assignment can be derived using the derivation tool
Statistical indicator must be triggered using a statistical commitment item
Purchase Orders - Order Optimization
To make order optimization available for general use, the following changes were made to the functions that could previously only be used for SAP retail software:
Plants no longer have to be of type store or distribution center. In non-retail solutions, order optimization selects plants of type <BLANK> in the following transactions: Automatic load building (WLB13), manual load building (WLB5) and replenishment workbench (WOD1). The links from these transactions to maintenance transactions for the site master (WB02) were converted to links to the plant master (OX10).
Determining orderable materials You must determine this list using the user exit EXIT_SAPLWPOPO_001
Removing links to promotion transactions Because promotions can only be used in SAP retail software, the options to go to promotion transactions from the menu entries have been removed
Enhanced order optimization
The following changes have been made to the order optimization functions:
Messages changed
- When errors occur during automatic load building, the system now creates information messages instead of error messages. This means it can process all error-free load builds. You can recognize the load builds that contain errors and process them manually.
- In the flow trace for automatic load building you can see more clearly which messages belong to a load build. The system now indicates the start of processing and the end of processing of a load build with a message.
- The existing messages have been extended to include extra information so that you can make the relevant corrections, for example, in the master data.
More detailed control of order optimization possible
In Customizing for order optimization, more detailed control of the parameters for load building and Investment Buying is now possible using profiles, for example, maximum range of coverage for order optimization. You can now select a profile from the entries from Customizing for order optimization in the selection screen for order optimization. If no profiles have been entered, the system uses the first entry in table TWBO0. This means that the program behavior remains unchanged following an upgrade and you do not have to adjust anything.
Materials without forecast values possible
- Automatic load building now also considers materials without forecast values. Purchase requisitions and purchase orders are processed in the same way as materials with forecast values.
Restriction profile check enhanced
- In customizing for order optimization you can now define for restriction profiles whether an order request link is valid for the minimum restrictions check. In this case, the minimum restrictions count as being fulfilled when at least one of the minimum restrictions is fulfilled.
Results list for automatic load building extended
- In the results list for automatic load building, you can now select and delete rows in blocks or created follow-on documents. This makes faster subsequent processing possible.
- All functions that show additional details screens or branch to display transactions have been switched to cursor-sensitive logic.
- You can now delete individual rows or several rows from the results list. This reduces the extra manual work required. You can make sure manually that the load builds created by automatic load building fulfil a restriction profile. When you delete rows, the totals of the actual values for a restriction profile are reduced.
Purchase requisitions from automatic load building can be excluded
- You can now exclude purchase requisitions with certain document types from processing in automatic load building. The procurement process for these purchase requisitions then takes place outside of automatic load building.
New follow-on documents possible
- If you do not start automatic load building in simulation mode, the system now offers purchase requisitions as possible order documents in addition to purchase orders. You can determine whether the load building always creates purchase requisitions or only when all restrictions defined in a restriction profile are fulfilled. If in the latter case, not all the restrictions are fulfilled, the transaction behaves as it would in simulation mode. Purchase requisitions as follow-on documents save you work. You can, for example, delete purchase requisitions or assign them to another vendor.
- You can now have purchase requistions generated for additional quantities from the results list.
Validity of the results list dependent on a plant calendar
- In Customizing for order optimization, you can now set the number of calendar days for which the entries in the results list for automatic load building are valid. You can set a short validity period and the validity period of the entries that were created after a weekend or public holiday gives your MRP controllers sufficient time to check and adjust the results.
reward if useul
rb -
DISCOVERY System and its Components
Hello,
Do you know what all the SAP componets are combined in the SAP Discovery System??
Like ERP2005, NW2004s, EP, CAF, BI, MDM...anything else????
Is this list correct??? Please update me with the complete list...
Thank you,
NikeeHi,
that is going to be a long list:
<b>SAP NetWeaver 04s</b>
Portal (SAP NW Portal)
Application Server (SAP NW AS)
Process Integration (SAP NW XI)
Master Data Management (SAP NW MDM)
Business Intelligence (SAP BW)
Visual Composer with BI toolkit
SAP Enterprise Core Component - <b>ECC 6.0</b> (configured with SAP Best Practices tool suite)
Detailed guidance: how to re-deploy scenarios or key content in your own environment
Fully documented prototype and development environment (with a working example to evaluate)
Complete composite application code
<b>xApps for personal productivity</b>
Production Order Rescheduling
Store-Specific Consumer Price
Request for New Supplier Master Data
Request for Quotation Approval
Strategic Investment Buy Simulation
SAP RFID Solution
SAP GRC Access Control
Composite Toolbox
<b>SAP xApp Analytics</b>
Travel Expense Exception
Investment Approval
<b>Other</b>
Microsoft Windows 2003
Microsoft SQL Server 2005
Hope that I did not forget anything.
In short: It covers technology and content.
Best Regards,
rAimund -
HEllo
I would like to know from where we can get the list of Tcodes and Tables related to IS Retail
Regards
MohammedHi ,
Pl find below list of Retail TCodes :
R11 Merchandise Related Master Data
Transaction code transaction text
SU3 Maintain User Profile
MM41 Create Article
MM42 Chang Article
MM43 Display Article
WSL11 Evaluation of listing condition
WSO7 Display Assortment Module Assignment to Assortment
MASS_MARC Logistic/replenishment Mass Maintenance
REFSITE Reference Sites Mangement
WSL1 Listing conditions
MR21 Price Change
MB1C Enter Other Goods Receipts
MB1B Enter Transfer Posting
MB03 Display Transfer Posting
RWBE Stock Overview Generic Articles
R12 Retail Pricing
Transaction code transaction text
SU3 Maintain User Profile
VKP5 Create Price Calculation
WPMA Direct Request For POS Outbound
WMB1 Create Price Entry
WKK1 Create Market-basket Price Calculation
SPRO Assign Price Point Group to Org. Level/Merchandise Category
WVA3 Display VKP Calcultion Sur
WVA7 Display VKP Calcultion Sur
WEV3 Display Ret. Markup SP Ca
MEKE Conditions By Vendor
ME21N Create Purchase Order
V-61 Create Customer Discount Condition
V-64 Display Customer Discount
VK13 Display Condition Records
V/LD Execute Pricing Report
VA01 Create Sales Order
MEI4 Create Automatic Document worklist
BD22 Delete Change Pointers
WVN0 Generate Pricing Worklist
WVN1 Release Worklist
R13 Assortment Management
Transaction code transaction text
SU3 Maintain User Profile
WSOA3 Assortment Display
WSOA1 Assortment Create
WSOA2 Assortment Change
WSOA6 Assortment Assignment Tool
REFSITE Reference Sites Mangement
WSL5 Modules In Assortment
MM41 Create Article
MM42 Chang Article
WSL1 Listing conditions
WSP4 Create Individual Listing Material / Assortment
WSO1 Assortment Module Create
WSO5 Maintain Assortment Module assignment to Assortment
SE38 ABAP Editor
WLWB Space Management: Layout Workbench
WPLG Display Article In Layout Module
WLCN Delete All Listing Conditions From Layout Module
WSOA1 Assortment Create
WSK1 Assortment Copy
WSPL Display / edit article master segments that cannot be generted
WSL0 Merchandise Categories Article Assortments Consistency Check
WSP6 Delete Individual Listing Material/Assortment
WSM8 Reorganize Listing Conditions By Merchandise Category
WSM4A Automatic Relisting Via Change to Assortment Master Data
WSL11 Evaluation of listing condition
WB02 Site Change
MB1C Enter Other Goods Receipts
WSE4 Article Discontinuation( Article / Site Discontinuation)
WSM9 Deletion of Obselete Listing Conditions
SE16 Data Browser
R21 Procurement of Replenishable Merchandise
Transaction code transaction text
SU3 Maintain User Profile
MM42 Chang Article
MP30 Execute Forecast: Initial
MP33 Forecast Reprocessing
MD21 Display Planning File Entries
MD03 Requirements Planning Single-Item, Single-Level
MD05 RP List
MD04 Stock/Requirements List
MB01 Enter Other Goods Receipts
ME01 Maintain Source List
ME51 Create Purchase Requisition
ME52 Change Purchase Requisition
ME59 Automatic Creation of Purchase Orders from Requisitions
ME21N Create Purchase Order
MIGO Goods Receipt for Purchase Order
ME13 Display Info Record
ME31K Create Contract
ME33K Display Contract
RWBE Stock Overview
MB1C Enter Other Goods Receipts
WWP1 Planning Workbench
WWP3 Planning Workbench
SPRO Maintain Rounding Profile
WB02 Site Change
MK02 Change Vendor
MD04 Display Stock/Requirements Situation
WLB1 Determining Requirements for Investment Buying
WLB6 ROI-Based PO Proposal for Purchase Price Changes
WLB2 Investment Buying Analysis
WLB13 Automatic Load Building
WLB4 Results List for Automatic Load Building Run
WLB5 Combine a Number of POs to Create a Collective Purchase Order
ME2L Purchasing Documents per Vendor
ME23N Display Purchase Order
ME61 Maintain Vendor Evaluation
ME63 Calculate Scores for Semi-Automatic and Automatic Subcriteria
ME64 Evaluation Comparison
ME65 Ranking List of Vendors
ME6B Ranking List of Vendor Evaluations Based on Material/Material Group
R22 Procurement of Non-replenishable Merchandise
Transaction code transaction text
SU3 Maintain User Profile
MM41 Create Article
MM42 Chang Article
WSL1 Listing conditions
MR21 Price Change Overview
ME51 Create Purchase Requisition
ME41 Create RFQ
ME47 Maintain Quotation
MB1C Other Goods Receipts
ME49 Price Comparison List
ME1E Quotation Price History
ME48 Display Quotation
ME4M Purchasing Documents for Article
ME21N Create Purchase Order
ME28 Release (Approve) Purchasing Documents
MB01 Goods Receipt for Purchase Order
ME2L Display Purchasing Documents per Vendor
ME23N Display Purchase Order
SPRO Maintain Rounding Profile
MD03 Single Item, Single Level
MD04 Stock/Requirements List
RWBE Stock Overview
WLB13 Automatic Load Building
WLB4 Results List for Automatic Load Building Run
WLB5 Bundle multiple orders logically
ME63 Calculate Scores for Semi-Automatic and Automatic Subcriteria
ME61 Maintain Vendor Evaluation
ME64 Evaluation Comparison
ME65 Ranking List of Vendors
ME6B Ranking List of Vendor Evaluations Based on Material/Material Group
R23 Fresh Items Procurement
Transaction code transaction text
SU3 Maintain User Profile
WDBI Assortment List: Initialization and Full Version
WDFR Perishables Planning
MB1C Other Goods Receipts
MIGO Goods Receipt Purchase Order
WF30 Merchandise Distribution: Monitor
VL06O Outbound Delivery Monitor
MB0A Goods Receipt-PO Unknown
WDFR Perishables Planning
VL10B Fast Display Purchase Orders,
MB01 Post Goods Receipt for PO
RWBE Stock Overview
ME61 Maintain Vendor Evaluation
ME63 Calculate Scores for Semi-Automatic and Automatic Subcriteria
MEKH Market Price
ME64 Evaluation Comparison
ME65 Ranking List of Vendors
ME6B Ranking List of Vendor Evaluations Based on Material/Material Group
R25 Subsequent Settlement
Transaction code transaction text
SU3 Maintain User Profile
MEB3 Display Rebate arrangement
MEU2 Perform Comparison of Business Volumes
MEB4 Create Settlement Document Via Report
MEB3 Create Service Notification-Malfn.
MEB1 Create Agreement
ME21N Create Purchase Order
MB01 Goods Receipt for Purchase Order
ME81 Analysis of Order Values
MIRO Enter Invoice
MEB8 Detailed Settlement
SECATT Generating business volume with CATT
SECATT Generating business volume with CATT
R26 Invoice Verification
Transaction code transaction text
SU3 Maintain User Profile
ME21N Create Purchase Order
MB01 Goods Receipt for Purchase Order
ME81 Analysis of Order Values
MIRO Enter Incoming Invoice
MIR4 Display Invoice Document
MIR7 Park Invoice
MIRA Enter Invoice for Invoice verification in Background
WC23 Invoice Verification-Background Check
MRRL Evaluated Receipt Settlement (ERS)
ME22N Retroactive Price Changes in Purchase Order
MRNB Revaluation with Log. Invoice Verification
MIR6 Invoice Overview-Selection Criteria
MRBR Release Blocked Invoices
R31 Sales Order Management
Transaction code transaction text
SU3 Maintain User Profile
VV32 Change Export Billing Document
VV31 Create Export Billing Document
MB1C Enter Other Goods Receipts
ME21N Create Purchase Order
VV32 Change Export Billing Document
RWBE Stock Overview
VV31 Create Export Billing Document
VA01 Create Sales Order
MM42 Chang Article
VA03 Display Sales Order
RWBE Stock Overview
VL01N Enter Other Goods Receipts
LT03 Create Transfer Order for Delivery Note
LT12 Confirm Transfer Order
ME5A Displaying Purchase Requisition
ME81 Analysis of Order Values
MIRO Enter Invoice
VA02 Change Sales Order
SECATT Backorder Processing
WFRE Distribution of Returns Among Backorders
V_V2 Rescheduling sales and stock transfer documents
VA05 List of Sales Order
V_R2 Rescheduling of sales and stock transfer documents
SECATT Generating Processing Document(s) via CATT
VF01 Create Billing Document
VF05 List of Billing Documents
VF02 Change Billing Doc
VF04 Maintain Billing Due List
V.21 Log of Collective Run
F-29 Post Customer Down Payment
F-39 Clear Customer Down Payment
VL02N Outbound Delivery Single Document
VF31 Output from Billing
MB1B Enter Transfer Posting
VL06O Outbound Delivery Monitor
VBO3 Displaying the Status of Rebate Agreement
VBO2 Settlement of the Agreement
VBO1 Creating Rebate Agreement
VBOF Update Billing Documents
LT03 Create Transfer Order for Delivery Note
LT12 Confirm Transfer Order
VA02 Releasing Credit Memo Request for the Partial Rebate Settlement
VL01N Create Outbound Delivery with Order Reference
VA01 Create Sales Order
VA03 Display Sales Order
VA41 Create Contract
VA43 Display Contract
CV01N Create Document
MM42 Chang Article
MM43 Display Article
WWM1 Create product catalog
XD02 Customer Display
OVKK Define Pricing Procedure Determination
SPRO Maintain Pricing Procedures
WWM2 Change Product Catalog
WAK2 Promotion Change
R32 Instore Customer Relationship Management
Transaction code transaction text
SU3 Maintain User Profile
SICF HTTP Service Hierarchy Maintenance
ME5A List Display of Purchase Requisitions
ME21N Generating a Purchase Order on the Basis of the Purchase Requisition
MIRO Entering an Incoming Vendor Invoice
VF01 Create Billing Document
VF02 Change Billing Doc
R33 Service - Return ProcessingTransaction code transaction text
SU3 Maintain User Profile
WPMI POS Outbound:Initialization
WPMA Direct request for POS ountbound
WPER POS Interface Monitor
WPMU Creating Change Message
WE02 Displaying Created IDocs in POS Monitor
MM42 Chang Article
VD02 Customer Change
WB60 Creating Site Group
WB66 Maintain Assignment of Sites
WAK1 Create promotion
WE02 Displaying Idoc
WDBI Initialization and Full Version
WDBM Manual Selection Assortment List
RWBE Stock Overview
MB1C Other Goods Receipts
WPUK POS Simulation:Selection
WPUF Cash Removal
FB03 Displaying Accounting Document
FAGLL03 Displaying Clearing Account
WPCA Execute Settlement
F-06 Post Incoming Payments:Header Data
WVFB Simulation Store Orders:Header Data Selection
WE02 Displaying Confirmation Order
VL10B Fast Display Purchase Orders,
VL02N Outbound Delivery Single Document
WPUW Goods Movements
MB0A Returning Goods to Vendor
MB1B Posting Goods to Unrestricted Use
ME23N Displaying Purchase Order
MIRO Invoice Verification
WR60 Replenishment:Parameter Overview
ME27 Create Purchase Order
WRP1 Replenishment:Planning
VL02N Change Outbound Delivery
LT12 Confirm Transfer Order
RWBE Stock Overview
WB02 Site Change
MB1C Enter Other Goods Receipts
MI01 Create physical inventory document
MI31 Selected Data for Phys. Inventory Docmts W/O Special Stock
MI02 Change physical inventory document
WVFD Send physical inventory document
WVFI Simulation:Store Physical Inventory/Sales Price Change
MI03 Display physical inventory document
MI20 List of Inventory Differences
MIDO Display Physical Inventory Overview
WPUW Goods Movements
WPUS Simulation:Inbound Processing
WE19 Test tool for IDoc processing
MM41 Create Article
VBG1 Create Article Grouping
VBK1 Create bonus buy
R34 Store Business online
Transaction code transaction text
SU3 Maintain User Profile
SICF HTTP Service Hierarchy Maintenance
WB02 Site Change
WSOA6 Assortment Assignment Tool
WSM8 Reorganize Listing Conditions By Merchandise Category
WDBI Assortment List:Initialization and Full Version
WA01 Create allocation table:Initial
WA08 Follow-On Document Generation Allocation Table
VL02N Change Outbound Delivery
WAK1 Create Promotion
WAK5 Promo. Subsequent processing
WPUK POS Simulation
MM42 Change Article
VL10B Fast display Purchase Orders
VL02N Change Outbound Delivery
WMBE Stock Overview
MB1C Enter Other Goods Receipts
VKP1 Change Price Calculation
VKU6 Revaluation at Retail
R35 Promotion Management
Transaction code transaction text
SU3 Maintain User Profile
RWBE Stock Overview
MB1C Enter Other Goods Receipts
WB60 Creating Site Group
WB66 Maintaining Site Group
WA21 Allocation Rule Create
WAK1 Create promotion
WAK5 Promo. Subsequent processing
WAK2 Change Promotion
WA08 Follow-On Document Generation Allocation Table
VL06O Outbound Delivery Monitor
MB0A Goods Receipt-PO Unknown
WAK15 Promotions per Site
WAK14 Promotions per article
VA01 Create Sales Order
VL01N Create Outbound Delivery with Order Reference
VL06P Outbound Deliveries for Picking
VL06C Confirming Transfer Order and Post Goods Issue
VL03N Display Outbound Delivery
VF01 Create Billing Document
R41 Distribution Center Logistics with Lean-WM
Transaction code transaction text
ME21N Create Purchase Order
VL31N Creating Inbound Delivery
WAP2 Create Purchase Order
VL41 Create Rough Goods Receipt
WAP2 Create Purchase Order
MB0A Goods Receipt PO Unkown
MB03 Display Article Document
MBRL Enter Return Delivery
MB02 Change Article Document
MB90 Output from Goods Movements
VL01NO Create Output Delivery Without Order Reference
LT03 Create Transfer Order for Delivery Note
LT12 Confirm Transfer Order
VL02N Posting Goods issue
VL01NO Create Outbound Delivery Without Order Reference
VL35 Create Piching Waves According to Delivery Compare Times
VL06P Outbound Deliveries for Picking
LT42 Create TOs by Mult.Processing
LT25N Transfer Order for Each Group
VLSP Subsequent Outbound-Delivery Split
VL06G Outbound Deliveries for Goods Issue
MI01 Create physical inventory document
MI31 Selected Data for phys.Inventory Docmts W/o Special Stock
MI04 Enter inventory count
MI20 List of Inventory Differences
MIDO Display Physical Inventory Overview
VL06O Outbound Delivery Monitor
VL37 Wave Pick Monitor
VLLG Rough Workload Estimate
R42 Distribution Center Logistics With Lean Warehouse Management
Transaction code transaction text
SU3 Maintain User Profile
RWBE IM Stock Overview
LS26 WM Stock Overview
SPRO Assign Processor to Queues
ME21N Create Purchase Order
VL31N Creating Inbound Delivery
WAP2 Create Purchase Order
VL41 Create Rough Goods Receipt
MB0A Goods Receipt PO Unknown
LT06 Create Transfer Order for Article Document
LT12 Confirm Transfer order
LRF1 Resource Planning with the RF Monitor
LM00 Mobile Data Entry
LRF1 Monitoring with the RF Monitor
MB03 Display Article Document
MBRL Enter Return Delivery
MB02 Change Article Document
MB90 Output from Goods Movements
LB12 Process Article Document
LP21 Replenishment for Fixed Bins in WM
LB10 Display Transfer Requirement: List for Storage Type
VL01NO Create Outbound Delivery Without Order Reference
LT03 Create Transfer Order for Delivery Note
LRF1 Resource Planning in the Monitor for Mobile Data Entry
LRF1 Monitoring from the Mobile Data Entry Monitor
VL02N Posting Goods Issue
VL35 Create Picking Waves According to Delivery Compare Times
VL06P Outbound Deliveries for Picking
LT42 Create TOs by Mult. Processing
LT25N Transfer Orders for Each Group
VLSP Subsequent Outbound-Delivery Split
VL06G Outbound Deliveries for Goods Issue
LX16 Carry out Continuous Inventory
LI11N Enter Inventory Count
LI14 Start Recount
LI20 Clear Differences in WM
LI21 Clearing of differences in Inventory Management
LX18 Statistics for Inventory Differences
LX25 Inventory status
LL01 Warehouse Activity Monitor
VL06O Outbound Deliveries for Picking
VL37 Wave Pick Monitor
VLLG Rough Workload Estimate: Total Overview
R43 Merchandise Distribution
Transaction code transaction text
SU3 Maintain User Profile
ME21N Create Purchase Order
ME31K Create contract
WA21 Allocation Rule Create
WA01 Create Allocation Table
WA11 Allocation Table Message Bundling / Notification Creation
WA04 Create Notification
WA08 Create Follow-On Documents
MB01 Goods Receipt for Purchase Order
WF10 Create Collective Purchase Order
MB01 Create Purchase Order
WF30 Adjusting Distribution and Generating an Outbound Delivery
VL06O Outbound Delivery Monitor
VL02N Outbound Delivery Single Document
WF50 Adjusting Distribution
WF70 Creating Distribution Order
LT23 Display Distribution Order
WF60 Generating Outbound Delivery
WA01 Create allocation table:Initial
R50 ECR-Compliant Procurement Processes
Transaction code transaction text
PRICAT Initial Screen: Price Catalog Maintenance
PRICATCUS1 Change View "Assignment of ILN-Vendor-Purchasing group": Overview
PRICATCUS2 Change View "Assignment of ILN-merch.catgry-SAP merch.catgry": Ove
PRICATCUS3 Change View "Assignment of SAP merchandise category - purchasing group"
WE19 Test tool for IDoc processing
WE20 Partner profiles
ME21N Create Purchase Order
WE02 Idoc list
ME23N Display Purchase Order
MB0A Goods Receipt - PO Unknown: Initial Screen
MIR4 Display Invoice Document
WVM2 Transfer of Stock and Sales Data
Regards,
ManiKumaar -
Suggestions from tkprof output
Hi All,
I need to tune the following sql query. I have given the tkprof output of the sql, can you please suggest ways to improvise the query?
Trace file: hsctst09_ora_1671386_10046.trc
Sort options: prsela fchela exeela
count = number of times OCI procedure was executed
cpu = cpu time in seconds executing
elapsed = elapsed time in seconds executing
disk = number of physical reads of buffers from disk
query = number of buffers gotten for consistent read
current = number of buffers gotten in current mode (usually for update)
rows = number of rows processed by the fetch or execute call
error connecting to database using: rms12/rms12
ORA-01017: invalid username/password; logon denied
EXPLAIN PLAN option disabled.
select distinct RPE.promo_event_display_id Event_Number,
RPE.description Event_Description,
RPE.start_date Event_Start_Date,
RPE.end_date Event_End_Date,
(CASE RPD.state
WHEN 'pcd.active' THEN 'Active'
WHEN 'pcd.approved' THEN 'Approved'
WHEN 'pcd.cancelled' THEN 'Cancelled'
WHEN 'pcd.conflictCheckForApproved' THEN 'Conflict Check'
WHEN 'pcd.submitted' THEN 'Submitted'
WHEN 'pcd.complete' THEN 'Complete'
WHEN 'pcd.substate.working.worksheet' THEN 'Worksheet'
ELSE 'Unknown'
END) Event_Status,
RP.promo_display_id Promotion_ID,
RP.description Promotion_Description,
RP.start_date Promotion_Start_Date,
RP.end_date Promotion_End_Date,
RPDT.dept Valid_Section,
RTH.threshold_display_id Threshold_Number,
RTH.name Threshold_Description,
RPC.comp_display_id Component_ID,
RPC.name Component_Description,
RPC.tsl_comp_level_desc Description_at_the_till,
'Threshold' Component_Type,
RPC.tsl_ext_promo_id External_ID,
decode(RPC.funding_percent,null,'No','Yes') Funding_Indicator,
(CASE RPD.apply_to_code
WHEN 0 THEN 'Regular Only'
WHEN 1 THEN 'Clearance Only'
WHEN 2 THEN 'Regular and Clearance'
ELSE NULL
END) Apply_to,
RPD.start_date Component_start_date,
RPD.end_date Component_End_Date,
'="'||RPT.item||'"' Item,
IM.item_desc Item_Description,
'="'||TRPCT.tpnd_id||'"' Pack,
IM1.item_desc Pack_Description,
decode(TRPCT.primary_tpnd,1,'Yes','No') Primary_Pack,
RPC.funding_percent Corporate_Funding_Percent,
DP.contribution_pct Supplier_Funding_Percent,
RPCT.uptake_percent Uptake_Percent,
RPT.tsl_uplift_perc Uplift_Percent,
NULL List_Type,
NULL Buy_Type,
NULL Buy_Value,
(CASE RTI.threshold_type
WHEN 0 THEN 'Amount'
WHEN 1 THEN 'Quantity'
WHEN 2 THEN 'Weight'
ELSE NULL
END) Get_Type,
RTI.threshold_amount Get_Value,
(CASE RTI.change_type
WHEN 0 THEN 'Percent Off'
WHEN 1 THEN 'Amount Off'
WHEN 2 THEN 'Fixed Price'
WHEN 3 THEN 'No Change'
WHEN 4 THEN 'Exclude'
WHEN 5 THEN 'ClubCard Points'
WHEN 6 THEN 'Voucher'
WHEN 7 THEN 'Cheapest Free'
ELSE NULL
END) Change_Type,
RTI.change_amount Change_Amount,
RTI.tsl_voucher_number Voucher_Number,
NULL Get_Quantity,
RZFR.selling_uom Selling_UOM,
RPCT.tsl_coupon_number Coupon_Number,
RPCT.tsl_coupon_desc Coupon_Description,
RPT.zone_id Zone,
RPD.Ignore_Constraints Ignore_Constraints,
RPT.tsl_feature_space_end_num Feature_Space
from rpm_promo RP,
rpm_promo_comp RPC,
rpm_promo_comp_detail RPD,
rpm_promo_event RPE,
rpm_promo_dept RPDT,
rpm_promo_comp_threshold RPT,
rpm_threshold RTH,
rpm_threshold_interval RTI,
v_item_master IM,
item_supplier SU,
rpm_promo_comp_thresh_link RPCT,
tsl_rpm_promo_comp_tpnd TRPCT,
v_item_master IM1,
rpm_zone_future_retail RZFR,
( select isu.supplier,
isu.item,
dh.deal_id,
dcp.promotion_id,
dcp.promo_comp_id,
dcp.contribution_pct
from item_supplier isu inner join
deal_head dh on (isu.supplier = dh.supplier)
inner join deal_comp_prom dcp on (dcp.deal_id = dh.deal_id) ) dp
where RP.promo_id = RPC.promo_id
and RPD.promo_comp_id = RPC.promo_comp_id
and RPE.promo_event_id = RP.promo_event_id
and RP.promo_id = RPDT.promo_id
and RPDT.dept = IM.dept
and DP.promotion_id (+) = RP.promo_id
and RPT.rpm_promo_comp_detail_id = RPD.rpm_promo_comp_detail_id
and RPT.threshold_id = RTH.threshold_id
and RPT.threshold_id = RTI.threshold_id
and TRPCT.rpm_promo_comp_detail_id = RPD.rpm_promo_comp_detail_id
and RPT.item = IM.item
and IM.item = SU.item
and RPD.promo_comp_id = RPCT.promo_comp_id
and TRPCT.tpnb_id = RPT.item
and TRPCT.tpnd_id = IM1.item
and RZFR.item = IM.item
UNION ALL
-- Simple Query
select distinct RPE.promo_event_display_id Event_Number,
RPE.description Event_Description,
RPE.start_date Event_Start_Date,
RPE.end_date Event_End_Date,
(CASE RPD.state
WHEN 'pcd.active' THEN 'Active'
WHEN 'pcd.approved' THEN 'Approved'
WHEN 'pcd.cancelled' THEN 'Cancelled'
WHEN 'pcd.conflictCheckForApproved' THEN 'Conflict Check'
WHEN 'pcd.submitted' THEN 'Submitted'
WHEN 'pcd.complete' THEN 'Complete'
WHEN 'pcd.substate.working.worksheet' THEN 'Worksheet'
ELSE 'Unknown'
END) Event_Status,
RP.promo_display_id Promotion_ID,
RP.description Promotion_Description,
RP.start_date Promotion_Start_Date,
RP.end_date Promotion_End_Date,
RPDT.dept Valid_Section,
NULL Threshold_Number,
NULL Threshold_Description,
RPC.comp_display_id Component_ID,
RPC.name Component_Description,
RPC.tsl_comp_level_desc Description_at_the_till,
'Simple' Component_Type,
RPC.tsl_ext_promo_id External_ID,
decode(RPC.funding_percent,null,'No','Yes') Funding_Indicator,
(CASE RPD.apply_to_code
WHEN 0 THEN 'Regular Only'
WHEN 1 THEN 'Clearance Only'
WHEN 2 THEN 'Regular and Clearance'
ELSE NULL
END) Apply_to,
RPD.start_date Component_start_date,
RPD.end_date Component_End_Date,
'="'||RPS.item||'"' Item,
IM.item_desc Item_Description,
'="'||TRPCT.tpnd_id||'"' Pack,
IM1.item_desc Pack_Description,
decode(TRPCT.primary_tpnd,1,'Yes','No') Primary_Pack,
RPC.funding_percent Corporate_Funding_Percent,
DP.contribution_pct Supplier_Funding_Percent,
RPS.tsl_simple_uptake_percent Uptake_Percent,
RPS.tsl_uplift_perc Uplift_Percent,
NULL List_Type,
NULL Buy_Type,
NULL Buy_Value,
NULL Get_Type,
NULL Get_Value,
(CASE RPS.change_type
WHEN 0 THEN 'Percent Off'
WHEN 1 THEN 'Amount Off'
WHEN 2 THEN 'Fixed Price'
WHEN 3 THEN 'No Change'
WHEN 4 THEN 'Exclude'
WHEN 5 THEN 'ClubCard Points'
WHEN 6 THEN 'Voucher'
WHEN 7 THEN 'Cheapest Free'
ELSE NULL
END) Change_Type,
RPS.change_amount Change_Amount,
RPS.tsl_voucher_number Voucher_Number,
NULL Get_Quantity,
RZFR.selling_uom Selling_UOM,
RPS.tsl_coupon_number Coupon_Number,
RPS.tsl_coupon_desc Coupon_Description,
RPS.zone_id Zone,
RPD.Ignore_Constraints Ignore_Constraints,
RPS.tsl_feature_space_end_num Feature_Space
from rpm_promo RP,
rpm_promo_comp RPC,
rpm_promo_comp_detail RPD,
rpm_promo_event RPE,
rpm_promo_dept RPDT,
rpm_promo_comp_simple RPS,
v_item_master IM,
item_supplier SU,
tsl_rpm_promo_comp_tpnd TRPCT,
v_item_master IM1,
rpm_zone_future_retail RZFR,
( select isu.supplier,
isu.item,
dh.deal_id,
dcp.promotion_id,
dcp.promo_comp_id,
dcp.contribution_pct
from item_supplier isu inner join
deal_head dh on (isu.supplier = dh.supplier)
inner join deal_comp_prom dcp on (dcp.deal_id = dh.deal_id) ) dp
where RP.promo_id = RPC.promo_id
and RPD.promo_comp_id = RPC.promo_comp_id
and RPE.promo_event_id = RP.promo_event_id
and RP.promo_id = RPDT.promo_id
and RPDT.dept = IM.dept
and DP.promotion_id (+) = RP.promo_id
and RPS.rpm_promo_comp_detail_id = RPD.rpm_promo_comp_detail_id
and TRPCT.rpm_promo_comp_detail_id = RPD.rpm_promo_comp_detail_id
and RPS.item = IM.item
and IM.item = SU.item
and RZFR.item = RPS.item
and TRPCT.tpnb_id = RPS.item
and TRPCT.tpnd_id = IM1.item
UNION ALL
-- Multi-Buy Query
select distinct RPE.promo_event_display_id Event_Number,
RPE.description Event_Description,
RPE.start_date Event_Start_Date,
RPE.end_date Event_End_Date,
(CASE RPD.state
WHEN 'pcd.active' THEN 'Active'
WHEN 'pcd.approved' THEN 'Approved'
WHEN 'pcd.cancelled' THEN 'Cancelled'
WHEN 'pcd.conflictCheckForApproved' THEN 'Conflict Check'
WHEN 'pcd.submitted' THEN 'Submitted'
WHEN 'pcd.complete' THEN 'Complete'
WHEN 'pcd.substate.working.worksheet' THEN 'Worksheet'
ELSE 'Unknown'
END) Event_Status,
RP.promo_display_id Promotion_ID,
RP.description Promotion_Description,
RP.start_date Promotion_Start_Date,
RP.end_date Promotion_End_Date,
RPDT.dept Valid_Section,
NULL Threshold_Number,
NULL Threshold_Description,
RPC.comp_display_id Component_ID,
RPC.name Component_Description,
RPC.tsl_comp_level_desc Description_at_the_till,
'MultiBuy' Component_Type,
RPC.tsl_ext_promo_id External_ID,
decode(RPC.funding_percent,null,'No','Yes') Funding_Indicator,
(CASE RPD.apply_to_code
WHEN 0 THEN 'Regular Only'
WHEN 1 THEN 'Clearance Only'
WHEN 2 THEN 'Regular and Clearance'
ELSE NULL
END) Apply_to,
RPD.start_date Component_start_date,
RPD.end_date Component_End_Date,
'="'||RPG.item||'"' Item,
IM.item_desc Item_Description,
'="'||TRPCT.tpnd_id||'"' Pack,
IM1.item_desc Pack_Description,
decode(TRPCT.primary_tpnd,1,'Yes','No') Primary_Pack,
RPC.funding_percent Corporate_Funding_Percent,
DP.contribution_pct Supplier_Funding_Percent,
NULL Uptake_Percent,
TRPM.uplift_perc Uplift_Percent,
decode(TBD.list_type,0,'Buy List',1,'Get List') List_Type,
TBD.buy_item_type Buy_Type,
TBD.buy_item_value Buy_Value,
NULL Get_Type,
NULL Get_Value,
(CASE TBD.change_type
WHEN 0 THEN 'Percent Off'
WHEN 1 THEN 'Amount Off'
WHEN 2 THEN 'Fixed Price'
WHEN 3 THEN 'No Change'
WHEN 4 THEN 'Exclude'
WHEN 5 THEN 'ClubCard Points'
WHEN 6 THEN 'Voucher'
WHEN 7 THEN 'Cheapest Free'
ELSE NULL
END) Change_Type,
TBD.change_amount Change_Amount,
TBD.voucher_number Voucher_Number,
TBD.get_quantity Get_Quantity,
RZPR.selling_uom Selling_UOM,
TB.tsl_coupon_number Coupon_Number,
TB.tsl_coupon_desc Coupon_Description,
TBZ.zone_id Zone,
RPD.Ignore_Constraints Ignore_Constraints,
NULL Feature_Space
from rpm_promo RP,
rpm_promo_comp RPC,
rpm_promo_comp_detail RPD,
rpm_promo_event RPE,
rpm_promo_dept RPDT,
tsl_rpm_promo_comp_m_b TB,
tsl_rpm_promo_comp_m_b_dtl TBD,
tsl_rpm_promo_multi_buy_zone TBZ,
tsl_rpm_promo_get_item RPG,
v_item_master IM,
item_supplier SU,
tsl_rpm_promo_comp_tpnd TRPCT,
v_item_master IM1,
rpm_zone_future_retail RZPR,
tsl_rpm_promo_mb_attr TRPM,
( select isu.supplier,
isu.item,
dh.deal_id,
dcp.promotion_id,
dcp.promo_comp_id,
dcp.contribution_pct
from item_supplier isu inner join
deal_head dh on (isu.supplier = dh.supplier)
inner join deal_comp_prom dcp on (dcp.deal_id = dh.deal_id) ) dp
where RP.promo_id = RPC.promo_id
and RPD.promo_comp_id = RPC.promo_comp_id
and RPE.promo_event_id = RP.promo_event_id
and RP.promo_id = RPDT.promo_id
and RPDT.dept = IM.dept
and DP.promotion_id (+) = RP.promo_id
and RPD.rpm_promo_comp_detail_id = TB.rpm_promo_comp_detail_id
and TB.rpm_promo_comp_detail_id = TBD.rpm_promo_comp_detail_id
and TBD.rpm_promo_comp_detail_id = TBZ.rpm_promo_comp_detail_id
and RPG.item = IM.item
and IM.item = SU.item
and TRPM.item = RPG.item
and TRPM.rpm_promo_comp_detail_id = RPD.rpm_promo_comp_detail_id
and TRPM.zone_id = TBZ.zone_id
and RZPR.item = RPG.item
and TRPCT.tpnb_id = RPG.item
and TRPCT.tpnd_id = IM1.itemcall count cpu elapsed disk query current rows
Parse 1 4.16 4.48 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 5 53.01 276.29 91547 1615664 9 48
total 7 57.17 280.78 91547 1615664 9 48
Misses in library cache during parse: 1
Optimizer mode: CHOOSE
Parsing user id: 191
Rows Row Source Operation
48 UNION-ALL (cr=17287 pr=3663 pw=1876 time=2033194 us)
13 SORT UNIQUE (cr=11286 pr=1052 pw=0 time=2033182 us)
364 NESTED LOOPS OUTER (cr=11286 pr=1052 pw=0 time=1861854 us)
364 NESTED LOOPS (cr=10922 pr=1051 pw=0 time=1857466 us)
75 NESTED LOOPS (cr=10770 pr=1041 pw=0 time=1855506 us)
15 NESTED LOOPS (cr=10723 pr=1029 pw=0 time=1857844 us)
15 NESTED LOOPS (cr=10691 pr=1021 pw=0 time=1857525 us)
15 NESTED LOOPS (cr=10689 pr=1021 pw=0 time=1857391 us)
15 NESTED LOOPS (cr=10657 pr=1017 pw=0 time=1856760 us)
15 NESTED LOOPS (cr=10655 pr=1017 pw=0 time=1856639 us)
15 NESTED LOOPS (cr=10623 pr=1006 pw=0 time=1855895 us)
15 NESTED LOOPS (cr=10606 pr=1003 pw=0 time=1846410 us)
1208 NESTED LOOPS (cr=8188 pr=989 pw=0 time=1846542 us)
1208 NESTED LOOPS (cr=5770 pr=978 pw=0 time=1834421 us)
1208 NESTED LOOPS (cr=4560 pr=971 pw=0 time=1821047 us)
1208 HASH JOIN (cr=3350 pr=970 pw=0 time=1801632 us)
1367 HASH JOIN (cr=2533 pr=157 pw=0 time=25928 us)
96 TABLE ACCESS FULL RPM_PROMO_COMP_THRESH_LINK (cr=9 pr=8 pw=0 time=435 us)
1371 HASH JOIN (cr=2524 pr=149 pw=0 time=24005 us)
1371 TABLE ACCESS FULL RPM_PROMO_COMP_THRESHOLD (cr=47 pr=0 pw=0 time=33 us)
190227 TABLE ACCESS FULL RPM_PROMO_COMP_DETAIL (cr=2477 pr=149 pw=0 time=87 us)
132392 TABLE ACCESS FULL TSL_RPM_PROMO_COMP_TPND (cr=817 pr=813 pw=0 time=337 us)
1208 TABLE ACCESS BY INDEX ROWID RPM_THRESHOLD_INTERVAL (cr=1210 pr=1 pw=0 time=16962 us)
1208 INDEX RANGE SCAN RPM_THRESHOLD_INTERVAL_I1 (cr=2 pr=1 pw=0 time=4680 us)(object id 459922)
1208 TABLE ACCESS BY INDEX ROWID RPM_THRESHOLD (cr=1210 pr=7 pw=0 time=8397 us)
1208 INDEX UNIQUE SCAN PK_RPM_THRESHOLD (cr=2 pr=1 pw=0 time=3405 us)(object id 459954)
1208 TABLE ACCESS BY INDEX ROWID RPM_PROMO_COMP (cr=2418 pr=11 pw=0 time=37425 us)
1208 INDEX UNIQUE SCAN PK_RPM_PROMO_COMP (cr=1210 pr=4 pw=0 time=4700 us)(object id 459902)
15 TABLE ACCESS BY INDEX ROWID RPM_PROMO (cr=2418 pr=14 pw=0 time=69147 us)
1208 INDEX UNIQUE SCAN PK_RPM_PROMO (cr=1210 pr=4 pw=0 time=4755 us)(object id 459849)
15 TABLE ACCESS BY INDEX ROWID RPM_PROMO_EVENT (cr=17 pr=3 pw=0 time=9808 us)
15 INDEX UNIQUE SCAN PK_RPM_PROMO_EVENT (cr=2 pr=0 pw=0 time=55 us)(object id 459871)
15 TABLE ACCESS BY INDEX ROWID ITEM_MASTER (cr=32 pr=11 pw=0 time=638 us)
15 INDEX UNIQUE SCAN PK_ITEM_MASTER (cr=17 pr=7 pw=0 time=398 us)(object id 460014)
15 INDEX UNIQUE SCAN PK_DEPS (cr=2 pr=0 pw=0 time=55 us)(object id 460063)
15 TABLE ACCESS BY INDEX ROWID ITEM_MASTER (cr=32 pr=4 pw=0 time=284 us)
15 INDEX UNIQUE SCAN PK_ITEM_MASTER (cr=17 pr=3 pw=0 time=179 us)(object id 460014)
15 INDEX UNIQUE SCAN PK_DEPS (cr=2 pr=0 pw=0 time=47 us)(object id 460063)
15 INDEX UNIQUE SCAN PK_RPM_PROMO_DEPT (cr=32 pr=8 pw=0 time=423 us)(object id 461683)
75 TABLE ACCESS BY INDEX ROWID RPM_ZONE_FUTURE_RETAIL (cr=47 pr=12 pw=0 time=846 us)
75 INDEX RANGE SCAN RPM_ZONE_FUTURE_RETAIL_I1 (cr=32 pr=12 pw=0 time=536 us)(object id 459917)
364 INDEX RANGE SCAN PK_ITEM_SUPPLIER (cr=152 pr=10 pw=0 time=915 us)(object id 461283)
0 VIEW PUSHED PREDICATE (cr=364 pr=1 pw=0 time=4468 us)
0 NESTED LOOPS (cr=364 pr=1 pw=0 time=4023 us)
0 NESTED LOOPS (cr=364 pr=1 pw=0 time=3596 us)
0 TABLE ACCESS BY INDEX ROWID DEAL_COMP_PROM (cr=364 pr=1 pw=0 time=2839 us)
0 INDEX SKIP SCAN PK_DEAL_COMP_PROM (cr=364 pr=1 pw=0 time=2252 us)(object id 460586)
0 TABLE ACCESS BY INDEX ROWID DEAL_HEAD (cr=0 pr=0 pw=0 time=0 us)
0 INDEX UNIQUE SCAN PK_DEAL_HEAD (cr=0 pr=0 pw=0 time=0 us)(object id 460002)
0 INDEX RANGE SCAN ITEM_SUPPLIER_I1 (cr=0 pr=0 pw=0 time=0 us)(object id 461281)
35 SORT UNIQUE (cr=6001 pr=2611 pw=1876 time=1787923 us)
483 TABLE ACCESS BY INDEX ROWID RPM_ZONE_FUTURE_RETAIL (cr=6001 pr=2611 pw=1876 time=1781697 us)
579 NESTED LOOPS (cr=5969 pr=2609 pw=1876 time=205507332 us)
95 NESTED LOOPS (cr=5777 pr=2600 pw=1876 time=1777879 us)
41 NESTED LOOPS (cr=5693 pr=2592 pw=1876 time=1778919 us)
41 HASH JOIN (cr=5609 pr=2573 pw=1876 time=1778377 us)
276 TABLE ACCESS FULL DEPS (cr=5 pr=0 pw=0 time=36 us)
41 NESTED LOOPS (cr=5604 pr=2573 pw=1876 time=1776404 us)
41 HASH JOIN (cr=5520 pr=2567 pw=1876 time=1776506 us)
41 NESTED LOOPS (cr=5515 pr=2567 pw=1876 time=1753418 us)
41 HASH JOIN (cr=5431 pr=2555 pw=1876 time=1752249 us)
132392 TABLE ACCESS FULL TSL_RPM_PROMO_COMP_TPND (cr=817 pr=0 pw=0 time=44 us)
57 HASH JOIN (cr=4614 pr=1820 pw=1099 time=1200744 us)
129467 TABLE ACCESS FULL RPM_PROMO_COMP_SIMPLE (cr=1693 pr=164 pw=0 time=186 us)
45903 HASH JOIN (cr=2921 pr=557 pw=0 time=81106 us)
236 HASH JOIN (cr=444 pr=28 pw=0 time=37993 us)
373 NESTED LOOPS OUTER (cr=413 pr=23 pw=0 time=10806 us)
373 HASH JOIN (cr=40 pr=23 pw=0 time=6301 us)
277 TABLE ACCESS FULL RPM_PROMO_EVENT (cr=6 pr=1 pw=0 time=79 us)
373 TABLE ACCESS FULL RPM_PROMO (cr=34 pr=22 pw=0 time=4177 us)
0 VIEW PUSHED PREDICATE (cr=373 pr=0 pw=0 time=4164 us)
0 NESTED LOOPS (cr=373 pr=0 pw=0 time=3634 us)
0 NESTED LOOPS (cr=373 pr=0 pw=0 time=3221 us)
0 TABLE ACCESS BY INDEX ROWID DEAL_COMP_PROM (cr=373 pr=0 pw=0 time=2799 us)
0 INDEX SKIP SCAN PK_DEAL_COMP_PROM (cr=373 pr=0 pw=0 time=2244 us)(object id 460586)
0 TABLE ACCESS BY INDEX ROWID DEAL_HEAD (cr=0 pr=0 pw=0 time=0 us)
0 INDEX UNIQUE SCAN PK_DEAL_HEAD (cr=0 pr=0 pw=0 time=0 us)(object id 460002)
0 INDEX RANGE SCAN ITEM_SUPPLIER_I1 (cr=0 pr=0 pw=0 time=0 us)(object id 461281)
1452 TABLE ACCESS FULL RPM_PROMO_COMP (cr=31 pr=5 pw=0 time=8984 us)
190227 TABLE ACCESS FULL RPM_PROMO_COMP_DETAIL (cr=2477 pr=529 pw=0 time=1525455 us)
41 TABLE ACCESS BY INDEX ROWID ITEM_MASTER (cr=84 pr=12 pw=0 time=21811 us)
41 INDEX UNIQUE SCAN PK_ITEM_MASTER (cr=43 pr=2 pw=0 time=500 us)(object id 460014)
276 TABLE ACCESS FULL DEPS (cr=5 pr=0 pw=0 time=39 us)
41 TABLE ACCESS BY INDEX ROWID ITEM_MASTER (cr=84 pr=6 pw=0 time=750 us)
41 INDEX UNIQUE SCAN PK_ITEM_MASTER (cr=43 pr=2 pw=0 time=360 us)(object id 460014)
41 INDEX UNIQUE SCAN PK_RPM_PROMO_DEPT (cr=84 pr=19 pw=0 time=1025 us)(object id 461683)
95 INDEX RANGE SCAN PK_ITEM_SUPPLIER (cr=84 pr=8 pw=0 time=717 us)(object id 461283)
483 INDEX RANGE SCAN RPM_ZONE_FUTURE_RETAIL_I1 (cr=192 pr=9 pw=0 time=1661 us)(object id 459917)
0 SORT UNIQUE (cr=0 pr=0 pw=0 time=34 us)
0 HASH JOIN (cr=0 pr=0 pw=0 time=8 us)
276 TABLE ACCESS FULL DEPS (cr=5 pr=0 pw=0 time=175 us)
0 HASH JOIN (cr=0 pr=0 pw=0 time=4 us)
110442 TABLE ACCESS FULL RPM_ZONE_FUTURE_RETAIL (cr=990 pr=101 pw=0 time=108 us)
0 HASH JOIN (cr=0 pr=0 pw=0 time=11 us)
126852 TABLE ACCESS FULL ITEM_MASTER (cr=5389 pr=5268 pw=0 time=1522285 us)
8076819 HASH JOIN (cr=1591993 pr=82513 pw=128338 time=97917982 us)
1611192 HASH JOIN (cr=1591176 pr=80224 pw=78099 time=57413444 us)
1611192 HASH JOIN (cr=1590457 pr=28794 pw=27384 time=20659952 us)
793008 HASH JOIN (cr=1589595 pr=1843 pw=1267 time=12259546 us)
276 TABLE ACCESS FULL DEPS (cr=5 pr=0 pw=0 time=383 us)
793008 NESTED LOOPS (cr=1589590 pr=1843 pw=1267 time=10672032 us)
793008 HASH JOIN (cr=3572 pr=1815 pw=1267 time=2741847 us)
43362 HASH JOIN (cr=3426 pr=493 pw=0 time=379252 us)
985 TABLE ACCESS FULL TSL_RPM_PROMO_MULTI_BUY_ZONE (cr=5 pr=4 pw=0 time=207 us)
43362 HASH JOIN (cr=3421 pr=489 pw=0 time=288896 us)
388 HASH JOIN (cr=2934 pr=5 pw=0 time=22834 us)
1624 TABLE ACCESS FULL TSL_RPM_PROMO_COMP_M_B_DTL (cr=9 pr=0 pw=0 time=34 us)
194 HASH JOIN (cr=2925 pr=5 pw=0 time=30088 us)
795 TABLE ACCESS FULL TSL_RPM_PROMO_COMP_M_B (cr=4 pr=2 pw=0 time=179 us)
45903 HASH JOIN (cr=2921 pr=3 pw=0 time=109197 us)
236 HASH JOIN (cr=444 pr=3 pw=0 time=16642 us)
373 NESTED LOOPS OUTER (cr=413 pr=0 pw=0 time=7419 us)
373 HASH JOIN (cr=40 pr=0 pw=0 time=2166 us)
277 TABLE ACCESS FULL RPM_PROMO_EVENT (cr=6 pr=0 pw=0 time=48 us)
373 TABLE ACCESS FULL RPM_PROMO (cr=34 pr=0 pw=0 time=414 us)
0 VIEW PUSHED PREDICATE (cr=373 pr=0 pw=0 time=4519 us)
0 NESTED LOOPS (cr=373 pr=0 pw=0 time=4033 us)
0 NESTED LOOPS (cr=373 pr=0 pw=0 time=3611 us)
0 TABLE ACCESS BY INDEX ROWID DEAL_COMP_PROM (cr=373 pr=0 pw=0 time=3166 us)
0 INDEX SKIP SCAN PK_DEAL_COMP_PROM (cr=373 pr=0 pw=0 time=2559 us)(object id 460586)
0 TABLE ACCESS BY INDEX ROWID DEAL_HEAD (cr=0 pr=0 pw=0 time=0 us)
0 INDEX UNIQUE SCAN PK_DEAL_HEAD (cr=0 pr=0 pw=0 time=0 us)(object id 460002)
0 INDEX RANGE SCAN ITEM_SUPPLIER_I1 (cr=0 pr=0 pw=0 time=0 us)(object id 461281)
1452 TABLE ACCESS FULL RPM_PROMO_COMP (cr=31 pr=3 pw=0 time=38 us)
190227 TABLE ACCESS FULL RPM_PROMO_COMP_DETAIL (cr=2477 pr=0 pw=0 time=36 us)
69561 TABLE ACCESS FULL TSL_RPM_PROMO_MB_ATTR (cr=487 pr=484 pw=0 time=361 us)
25271 TABLE ACCESS FULL TSL_RPM_PROMO_GET_ITEM (cr=146 pr=55 pw=0 time=53 us)
793008 TABLE ACCESS BY INDEX ROWID ITEM_MASTER (cr=1586018 pr=28 pw=0 time=7006432 us)
793008 INDEX UNIQUE SCAN PK_ITEM_MASTER (cr=793010 pr=19 pw=0 time=3817845 us)(object id 460014)
211165 INDEX FAST FULL SCAN PK_ITEM_SUPPLIER (cr=862 pr=834 pw=0 time=341 us)(object id 461283)
378625 TABLE ACCESS FULL RPM_PROMO_DEPT (cr=719 pr=715 pw=0 time=333 us)
132392 TABLE ACCESS FULL TSL_RPM_PROMO_COMP_TPND (cr=817 pr=0 pw=0 time=80 us)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 5 0.00 0.00
db file sequential read 627 0.51 1.69
db file scattered read 699 0.08 0.68
SQL*Net more data to client 1 0.00 0.00
SQL*Net message from client 4 50.64 149.95
direct path write temp 56227 0.32 219.45
direct path read temp 11746 0.01 0.69
control file sequential read 7 0.00 0.00
SQL*Net break/reset to client 2 0.00 0.00
SQL ID:
Plan Hash: 1248216388
SELECT NAME NAME_COL_PLUS_SHOW_PARAM,DECODE(TYPE,1,'boolean',2,'string',3,
'integer',4,'file',5,'number', 6,'big integer', 'unknown') TYPE,
DISPLAY_VALUE VALUE_COL_PLUS_SHOW_PARAM
FROM
V$PARAMETER WHERE UPPER(NAME) LIKE UPPER('%USER_DUMP_DEST%') ORDER BY
NAME_COL_PLUS_SHOW_PARAM,ROWNUM
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 2 0.01 0.01 0 0 0 1
total 4 0.01 0.02 0 0 0 1
Misses in library cache during parse: 1
Optimizer mode: CHOOSE
Parsing user id: 191
Rows Row Source Operation
1 SORT ORDER BY (cr=0 pr=0 pw=0 time=15029 us)
1 COUNT (cr=0 pr=0 pw=0 time=15015 us)
1 MERGE JOIN (cr=0 pr=0 pw=0 time=15004 us)
1495 FIXED TABLE FULL X$KSPPCV (cr=0 pr=0 pw=0 time=3021 us)
1 FILTER (cr=0 pr=0 pw=0 time=10994 us)
1 SORT JOIN (cr=0 pr=0 pw=0 time=9469 us)
1 FIXED TABLE FULL X$KSPPI (cr=0 pr=0 pw=0 time=7735 us)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 2 0.00 0.00
SQL*Net message from client 2 2763.24 2763.24
SQL ID:
Plan Hash: 643305917
SELECT 'Y'
FROM
SEC_USER_GROUP SUG WHERE SUG.USER_ID = SYS_CONTEXT('USERENV', 'SESSION_USER')
AND EXISTS(SELECT 'x' FROM FILTER_GROUP_MERCH FGM WHERE FGM.SEC_GROUP_ID =
SUG.GROUP_ID AND ROWNUM = 1) AND ROWNUM = 1
call count cpu elapsed disk query current rows
Parse 1 0.01 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.00 0.01 1 3 0 0
total 3 0.01 0.02 1 3 0 0
Misses in library cache during parse: 1
Optimizer mode: CHOOSE
Parsing user id: 191 (recursive depth: 2)
Rows Row Source Operation
0 COUNT STOPKEY (cr=3 pr=1 pw=0 time=12073 us)
0 INDEX FULL SCAN PK_SEC_USER_GROUP (cr=3 pr=1 pw=0 time=12070 us)(object id 460226)
0 COUNT STOPKEY (cr=2 pr=1 pw=0 time=12026 us)
0 INDEX RANGE SCAN UK_FILTER_GROUP_MERCH (cr=2 pr=1 pw=0 time=12023 us)(object id 461052)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 1 0.01 0.01
SQL ID:
Plan Hash: 643277548
SELECT 'Y'
FROM
SEC_USER_GROUP SUG WHERE SUG.USER_ID = SYS_CONTEXT('USERENV', 'SESSION_USER')
AND (EXISTS(SELECT 'x' FROM FILTER_GROUP_ORG FGO WHERE FGO.SEC_GROUP_ID =
SUG.GROUP_ID AND ROWNUM = 1) OR EXISTS(SELECT 'x' FROM SEC_GROUP_LOC_MATRIX
SGLM WHERE SGLM.GROUP_ID = SUG.GROUP_ID AND ROWNUM = 1)) AND ROWNUM = 1
call count cpu elapsed disk query current rows
Parse 1 0.01 0.01 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.02 0.00 2 3 0 0
total 3 0.03 0.02 2 3 0 0
Misses in library cache during parse: 1
Optimizer mode: CHOOSE
Parsing user id: 191 (recursive depth: 2)
Rows Row Source Operation
0 COUNT STOPKEY (cr=3 pr=2 pw=0 time=8617 us)
0 FILTER (cr=3 pr=2 pw=0 time=8614 us)
1 INDEX FULL SCAN PK_SEC_USER_GROUP (cr=1 pr=0 pw=0 time=39 us)(object id 460226)
0 COUNT STOPKEY (cr=1 pr=1 pw=0 time=5403 us)
0 INDEX RANGE SCAN PK_FILTER_GROUP_ORG (cr=1 pr=1 pw=0 time=5400 us)(object id 461061)
0 COUNT STOPKEY (cr=1 pr=1 pw=0 time=3127 us)
0 INDEX SKIP SCAN UK_SEC_GROUP_LOC_MATRIX (cr=1 pr=1 pw=0 time=3125 us)(object id 460888)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 2 0.00 0.00
SQL ID:
Plan Hash: 4011473558
SELECT NAME NAME_COL_PLUS_SHOW_PARAM,DECODE(TYPE,1,'boolean',2,'string',3,
'integer',4,'file',5,'number', 6,'big integer', 'unknown') TYPE,
DISPLAY_VALUE VALUE_COL_PLUS_SHOW_PARAM
FROM
V$PARAMETER WHERE UPPER(NAME) LIKE UPPER('%USER_DUMP_DEST%') ORDER BY
NAME_COL_PLUS_SHOW_PARAM,ROWNUM
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 2 0.01 0.01 0 0 0 1
total 4 0.01 0.01 0 0 0 1
Misses in library cache during parse: 0
Optimizer mode: CHOOSE
Parsing user id: 191
Rows Row Source Operation
1 SORT ORDER BY (cr=0 pr=0 pw=0 time=15250 us)
1 COUNT (cr=0 pr=0 pw=0 time=15226 us)
1 MERGE JOIN (cr=0 pr=0 pw=0 time=15207 us)
1495 FIXED TABLE FULL X$KSPPCV (cr=0 pr=0 pw=0 time=3166 us)
1 FILTER (cr=0 pr=0 pw=0 time=11059 us)
1 SORT JOIN (cr=0 pr=0 pw=0 time=9512 us)
1 FIXED TABLE FULL X$KSPPI (cr=0 pr=0 pw=0 time=7741 us)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 2 0.00 0.00
SQL*Net message from client 2 3143.23 3143.23
SQL ID:
Plan Hash: 643140929
SELECT 'Y'
FROM
SEC_USER_GROUP SUG WHERE SUG.USER_ID = SYS_CONTEXT('USERENV', 'SESSION_USER')
AND ROWNUM = 1
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.00 0.00 1 1 0 1
total 3 0.00 0.01 1 1 0 1
Misses in library cache during parse: 1
Optimizer mode: CHOOSE
Parsing user id: 191 (recursive depth: 2)
Rows Row Source Operation
1 COUNT STOPKEY (cr=1 pr=1 pw=0 time=6617 us)
1 INDEX RANGE SCAN SEC_USER_GROUP_I1 (cr=1 pr=1 pw=0 time=6614 us)(object id 460225)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 1 0.00 0.00
SQL ID:
Plan Hash: 642786159
SELECT DATA_LEVEL_SECURITY_IND, DIFF_GROUP_ORG_LEVEL_CODE,
LOC_LIST_ORG_LEVEL_CODE, LOC_TRAIT_ORG_LEVEL_CODE, SEASON_ORG_LEVEL_CODE,
SKULIST_ORG_LEVEL_CODE, TICKET_TYPE_ORG_LEVEL_CODE, UDA_ORG_LEVEL_CODE,
DIFF_GROUP_MERCH_LEVEL_CODE, SEASON_MERCH_LEVEL_CODE,
TICKET_TYPE_MERCH_LEVEL_CODE, UDA_MERCH_LEVEL_CODE, TSL_LOC_SEC_IND
FROM
SYSTEM_OPTIONS
call count cpu elapsed disk query current rows
Parse 1 0.01 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.00 0.00 1 4 0 1
total 3 0.01 0.01 1 4 0 1
Misses in library cache during parse: 1
Optimizer mode: CHOOSE
Parsing user id: 191 (recursive depth: 2)
Rows Row Source Operation
1 TABLE ACCESS FULL SYSTEM_OPTIONS (cr=4 pr=1 pw=0 time=6518 us)
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 1 0.00 0.00
SQL ID:
Plan Hash: 643306006
begin :con := FILTER_POLICY_SQL.V_ITEM_MASTER_S(:sn, :on); end;
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 1
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.00 0.00 0 0 0 1
Misses in library cache during parse: 0
Optimizer mode: CHOOSE
Parsing user id: 191 (recursive depth: 1)
SQL ID:
Plan Hash: 647750573
begin :con := FILTER_POLICY_SQL.V_ITEM_MASTER_S(:sn, :on); end;
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 1
Fetch 0 0.00 0.00 0 0 0 0
total 2 0.00 0.00 0 0 0 1
Misses in library cache during parse: 0
Optimizer mode: CHOOSE
Parsing user id: 191 (recursive depth: 1)
OVERALL TOTALS FOR ALL NON-RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
Parse 3 4.16 4.49 0 0 0 0
Execute 3 0.00 0.00 0 0 0 0
Fetch 9 53.03 276.32 91547 1615664 9 50
total 15 57.19 280.82 91547 1615664 9 50
Misses in library cache during parse: 2
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
SQL*Net message to client 10 0.00 0.00
SQL*Net message from client 9 3143.23 6091.69
SQL*Net more data from client 8 0.00 0.00
db file sequential read 627 0.51 1.69
db file scattered read 699 0.08 0.68
SQL*Net more data to client 1 0.00 0.00
direct path write temp 56227 0.32 219.45
direct path read temp 11746 0.01 0.69
control file sequential read 7 0.00 0.00
SQL*Net break/reset to client 2 0.00 0.00
OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
call count cpu elapsed disk query current rows
Parse 93 0.08 0.07 0 0 0 0
Execute 579 0.12 0.14 0 0 0 2
Fetch 930 0.06 0.51 63 2154 0 3254
total 1602 0.26 0.73 63 2154 0 3256
Misses in library cache during parse: 25
Misses in library cache during execute: 21
Elapsed times include waiting on following events:
Event waited on Times Max. Wait Total Waited
---------------------------------------- Waited ---------- ------------
db file sequential read 63 0.14 0.47
9 user SQL statements in session.
573 internal SQL statements in session.
582 SQL statements in session.
0 statements EXPLAINed in this session.
Trace file: hsctst09_ora_1671386_10046.trc
Trace file compatibility: 11.1.0.7
Sort options: prsela fchela exeela
1 session in tracefile.
9 user SQL statements in trace file.
573 internal SQL statements in trace file.
582 SQL statements in trace file.
36 unique SQL statements in trace file.
81769 lines in trace file.
17819535 elapsed seconds in trace file.Thanks in advance. -
Intel xserve + OS10.5
I'm about to set up a small office network based around an xserve but with the advent of Intelised Mac and the prospect of OS 10.5, I'm now in a quandary as to whether to wait. We will soon start replacing the older office iMacs with new Intelised ones and my concern is that I'm setting myself up for problems if I buy a current G5 xserve.
Does anyone know whether buying a current xserve will lead me up a blind alley in terms of hardware and software compatibility, system performance and cost.
TaUnlike the desktop and portable markets, where dual booting or running apps in virtualization are attractive, I can't believe that anyone will be doing the same with servers unless they are just playing around. Apple XServes are strong for AFP file services or SAN (XSAN) deployments, and Open Directory... but if you need a PDC, for example, you'll likely buy an Opteron or alternate Conroe platform w/o OS X as it will likely be faster at the same price or cheaper at the same performance level than Apple's hardware. Hardware performance of Apple gear, of course, has always been somewhat of a myth and effective marketing. However, not to say that the dependable hardware combined with the value of OS X isn't the more important issue.
A maxed out G5 XServe moves like a snail compared to the current maxed out Opteron systems, but they are CHEAP and they run OS X, which for some is a value, for others it is not. In the server market, Apple ends up being the budget solution, who would have thought?
To answer your question, I would buy now, because you are buying OS X, I presume. In the future, when the processing power jumps up 10 times, you can evaluate your system architecture and maybe then you can decide that you only need to buy 3 servers instead of 10... or something like that, but if the OS X server is going to meet your needs now, for the services you need to run now, you may not even get any appreciable value from a faster machine, especially if you have to wait for several months to a year. If your really scared about the hardware investment, buy a used G4 or G5 machine (like was mentioned), and install OS X server on it... maybe you only need the power of a G mini or something to tide you over for the Intel XServe? Or buy a G5 cluster unit... no one really needs the optical drive in most environments anyways.
The one thing no one has mentioned so far is that (at
least currently), we would not be switching from Mac
to Win without a restart. That's got to be a huge
PITA for a server on a routine basis.
I just got a single G4 xserve on ebay and max'ed the
ram (2GB) and 4x 180 GB drives for a mixed Mac and
PeeC network.
For what it's worth, there is still a lot of fight in
the old gal left for a small fraction of the cost of
the latest and greatest. 2 or 3 generations ago Macs
still offer a great value NOW. -
Hi
We have about 500GB of data (pictures, music, documents) and we have the following devices:
- MBP 2011
- ATV
- iphones (3)
- Airport Express (latest)
- MBA
We are looking for a simple, reliable and fast solution to be able to:
- store and save all data from several devices wirelessly and without much effort in one place (that includes saving the data from the iphones)
- be able to access this data from all computers, iphones and if possible ATV (but I realize the only option for ATV is itunes home sharing)
- be able to access the data from outside the home network, e.g. over the internet
I understand that itunes home sharing allows to stream music and pictures on the ATV and the iphones. But, I would like to be able to wirelessly save the data from the iphones and also to be able to access other data than music and photos such as documents.
I have two HDDs attached to the Airport Extreme, they seem to be working so far, but I read many posts cautioning againts this. Should I buy the Time Capsule and just live with the fact that it was a lost investment buying the Airport Extreme?
Also, I was wondering if a NAS is the answer to have the desired set-up. But again, NAS seem more focused on a PC world and I am not sure how reliable or fast they would be in an Apple ecosystem.
Another option I thought of is a Mac Mini. But, can it be set in a way allowing access to the files on it from outside the home network?
Please advise what would be an optimal system to:
- save all devices
- access all dataI have an older Synology DiskStation (NAS) here in the house, that serves Terabytes of content wired/wirelessly to Macs, PCs, iPad, iPhone, and two Western Digital My TV Live boxes for use on large TVs. There is an IOS client (DS File in iTunes app store) that allows access to the Synology storage. The Synology can support Apple Filing Protocol (AFP), Server Message Block (SMB2), and Network File System (NFS). It can be configured to serve DLNA access to devices with that capability.
Take a closer look at the Synology DiskStation Manager interface, and even try the live demo.
I do not work for Synology, or profit by directing others to the Synology site. The DiskStation has been in use for several years, and without any crash, has been rock solid reliable. -
What is the best way to query planned orders or work orders for make items and identify the buy component that is short for supply and vice versa?
What is the best way to query planned orders or work orders for make items and identify the buy component that is short for supply and vice versa?
-
It's been only 2 months I hav purchased iPhone 5 invested all my savings.i know how I manage to buy an iPhone . But today apple had declared that iPhone 5 has Been discontinued . I m feeling so low n comfort less ,I want apple to support me.pls Help me????
No worries. Apple will continue to support your phone. By "discontinued", they just mean that they are not selling new ones anymore. You will still be able to get IOS7, you will still be able to get support and service, you will still be able to buy apps and music, use FaceTime, Mail, Messages.....
Nothing has changed except that you can't buy a new one....
Cheer up - all is well!
Cheers,
GB
Maybe you are looking for
-
Unable to send images in Email
Hi, I am trying to send site logo image in Email whenever a Email action is performed. My email template jsp is as :- <img src='<%=getServletContext().getRealPath("/images/e-commerce_header_img1.jpg")%>' /> <dsp:importbean bean="/atg/userprofili
-
B2C checkout thows a blank IE page
When I am in the B2C shopping basket with my items and proceed to the checkout button, thows a blank IE page: http://<host>:50000/b2c/b2c/maintainBasket/(layout=0_1_3_7_1&uiarea=1)/.do?fallback=update what have I missed in the configuration? Note: I
-
Can't sync my itouch with my macbook pro
It keeps saying my ipod belongs to another itunes library and it won't allow me to put my music on this library. It can only wipe everything. But the library I had for it the computer is broken, so there's no way of getting to it. I just want my musi
-
My company ordered my iPhone 6 Plus 16GB on my behalf on 9/25. I am unable to get an order # from them so I can't track it. Is it possible to get an estimated shipping date? I see that today for orders being made it's 11/13, but hopefully since it wa
-
Lenovo Multimedia Remote with keyboard (57Y6336)
Hello, I live in Belgium (Europe) I would like to order the Lenovo Multimedia Remote with keyboard (57Y6336) http://shop.lenovo.com/SEUILibrary/controller/e/web/LenovoPortal/en_US/integration.workflowroductDisplayItem?IsBundle=false&GroupID=38&Code=