Vendor Evaluation in different date Range
Hi Experts,
Vendor Evaluation is configured in our client. Our requirement is like this. We want to get vendor evalulation month wise.
like
01.04.2009 - 30.04.2009
01.05.2009 - 31.05.2009
01.06.2009 - 30.06.2009
01.07.2009 - 31.07.2009
How can I get vendor evaluation of a vendor for above period.
Please guide me, full points for helping answers.
Regards
GR
Hi,
Check Vendor Evaluation Report tr. ME6H(after selection drilldown on the basis of month), Hope this will work for you
thanks...
Similar Messages
-
Crosstab or Crosstabs with different date ranges not lining up.
I have a crosstab with a dimension (item) in the vertical axis, and different date ranges on the Horizontal (top) axis.
I want to display counts of a measure over specific ranges of time. For instance, count of items sold for weeks 1,2,3,4, horizontally, then count of items sold for months 1,2,3,4 horizontally, next to each other.
Problem is that count rows by item do not line up. Count by week has fewer items, so it has fewer rows than the counts by month. I need it to have the same number of rows, and just show 0 or blank in that row, instead of just not being there. I need all rows to line up by item.
Its like there needs to be an outer join, but I haven't been able to make it work. What am I missing?
Does that make sense?
Any ideas welcome. Thank you!Wavery,
You are looking to display a grid with a high degree of consistency, regardless of the data present. There is no "single" step capability provided by WebI to achieve this, so it requires creativity on your part. A second data provider (DP) for your report is necessary and can be either a view in your database, a custom SQL, or some folks have even built a derived table in their universe to accommodate. At any rate, there are one of two ways to achieve. If you are familar with SQL and the "union" statement, you would run the basic SQL, then via union, dummy up a second query that has all the requisite columns, but for the measures you would use a value of zero so as not to affect the generated facts. For example, suppose you had a report for a hardware store, and you wanted to track the following items: Nails, Flashlights, and Screws. Your basic query might look like this:
select item,sum(inventory) from inventory_table where item in ('nail','flashlight','screw') group by item
Then your next portion of code:
union select 'Nail',0 union select 'Flashlight',0 union select 'Screw',0
See how the union is providing "dummy" info? To do this in WebI with a second DP, you would not use union, but a separate view perhaps, then in WebI apply Merge Dimensions on the item column (and the equivalent of an outer join).
Thanks,
John -
Vendor Evaluation - Statistical Delivery Date
Hi,
The statistical delivery date is an important field during the calculation of the on-time delivery score. (see note 310666)
After implementing a new support package this field wasn't filled up automatically anymore. Fortunately note 1039344 and 1164767 helped overcome this.
But ... in the meantime purchase orders were created and received without a statistical delivery date.
Which date / or what does sap do when calculating on-time delivery score if there is no statistical delivery date ? Does it take the "delivery date" into account ?
with regardsUse this link http://help.sap.com/search/highlightContent.jsp
http://help.sap.com/printdocu/core/Print46c/EN/data/pdf/MMISVE/MMISVE.pdf
Or find on the SAP help Vendor evaluation white Paper its there.
Edited by: Prashant Prasad on Jul 31, 2009 12:01 PM -
Display of 2 rows of data for 2 different date range selection
Hi Folks,
I have a requirement as follows,
User has an option of selecting 2 Date Ranges
From and To Date and again From and To Date
The result should display 2 different rows of data with From and To Date range selection.
Eg:
12/09/20008 to 03/09/2009 10 20 30 40
23/10/2009 to 18/12/2010 40 20 10 30
Difference 30 0 20 10
% Change x y z q
Thanks for your input.
Regards,
KJYou will need to use union report, and you would have fours union's in this report.
Union - 1: Data from 1st Date Range
Union - 2: Data from 2nd Date Range
Union - 3: Variance Calculation
Union - 4: Percentage Variance Calculation.
If the date's are coming from the same field, use cast function to use the same column twice in your prompts. Apply filters on each union as needed.
Thanks. -
Vendor Evaluation Standardizing Delivery Date Variance
Hi,
We are determining what the settings should be for On-Time Delivery and Quantity Reliability under Vendor Evaluation. I understand how the formual works when it determines the scores for these. Can someone tell me from a business process perspective what Standardizing Delivery Date Variance relates to?
Ours has been set to 100 which is 100 days with the scores set as:
Percentage
Score
0
100
10
90
20
95
100
80
200
60
300
40.......
When we pick 100 days, is that supposed to be an average of how many days late goods receipts are? Or is there another way to look at it?
Thanks
BeverlyHave you really read the documentation and the F1 field help, or any of our blogs, documents and wikis here in SCN?
The table that you presented above is far a way from reality. a percentage can go from blank to 99.9 and your from -99.9 to blank
this is to cover both situations early deliveries and late deliveries
the Standard Delivery Date Variance means the it is the maximum number of days a vendor can be late or early to the wanted delivery date, if this value is reached, then he just missed the point in the sense of the word. he does not get any single point for his performance.
You have to ask your business how much days variance they accept before they cancel the order, or at least looking for a new vendor with the next order.
From our point of view everything beyond a week is not at all acceptable and results in a total miss
and in this case you do not need many percentages either in a 5 working day week each day corresponds to 20% -
Number of Vendor in the given date range
Hi All,
I have a requirement like I need to calculate Total Number of Vendors in a given Date in Report Level. Could anyone please let me know how to do this?
Thanks in advance.
with Regards,
Mahi.SHi Al,
Thanks for the prompt answer.
I tried creating a Calculated Key Figure and given Vendor as Characteristic. When I run the report I can see Count 1 for all the Vendors. But the user wants to see total number of records. FYR, please have a look at the below sample data.
Vendor Vendor Account Group Company Code Created on Plant Total number of Vendors
2 ZINT 0101 07/2/1998 # 1
3 ZINT 0101 07/2/1998 # 1
4 ZINT 0101 07/2/1998 # 1
5 ZINT 0101 07/2/1998 # 1
7 ZINT 0101 10/27/1998 # 1
12 ZINT 0101 05/6/1999 # 1
14 ZINT 0101 05/6/1999 # 1
17 ZINT 0101 06/7/1999 # 1
18 ZINT 0101 06/7/1999 # 1
19 ZINT 0101 06/7/1999 # 1
20 ZINT 0101 06/7/1999 # 1
22 ZINT 0101 08/26/1999 # 1
27 ZINT 0101 09/28/1999 # 1
28 ZINT 0101 09/28/1999 # 1
29 ZINT 0101 09/28/1999 # 1
30 ZINT 0101 09/28/1999 # 1
31 ZINT 0101 09/28/1999 # 1
32 ZINT 0101 09/28/1999 # 1
33 ZINT 0101 09/29/1999 # 1
42 ZINT 0101 10/1/1999 # 1
52 ZINT 0101 10/22/1999 # 1
53 ZINT 0101 11/16/1999 # 1
54 ZINT 0101 11/16/1999 # 1
57 ZINT 0101 02/1/2000 # 1
62 ZINT 0101 04/25/2000 # 1
63 ZINT 0101 04/25/2000 # 1
67 ZINT 0101 05/30/2000 # 1
72 ZINT 0101 07/6/2000 # 1
82 ZINT 0101 09/21/2000 # 1
Thanks & Regards,
Mahi.S
Edited by: SRI on Dec 20, 2011 7:57 AM -
How to use decode to calculate sum for different date range
I'm stuck with decode() function:
I have a table like this:
(project_id, approve_date, value, builder_code)
I want to write a SQL query to get sum of values for different month of the approve_date, and group by builder_code)
The result is like this:
builder_code Sum(value)_Sep-03 Sum(value)_Oct-03 Sum(value)_Nov03
1001 1,299 1,322 990
1002 3,332 1,222 333
I tried to use decode for this question but could not get the answer.
Thanks a lotI don't think you need a DECODE() here. I'd do something like this-
create table builder (
project_id number,
approve_date date,
value number,
builder_code number
insert into builder values( 1, to_date('09-01-2003', 'MM-DD-YYYY'), 100, 990 )
insert into builder values( 2, to_date('09-03-2003', 'MM-DD-YYYY'), 150, 990 )
insert into builder values( 3, to_date('09-05-2003', 'MM-DD-YYYY'), 250, 990 )
insert into builder values( 3, to_date('09-05-2003', 'MM-DD-YYYY'), 250, 333)
SELECT sept.builder_code, sept.sept_sum, oct.oct_sum
FROM (SELECT builder_code, sum(value) sept_sum
FROM builder
WHERE approve_date >= to_date('09-01-2003','MM-DD-YYYY')
AND approve_date < to_date('10-01-2003','MM-DD-YYYY')
GROUP BY builder_code) sept,
(SELECT builder_code, sum(value) oct_sum
FROM builder
WHERE approve_date >= to_date('10-01-2003','MM-DD-YYYY')
AND approve_date < to_date('11-01-2003','MM-DD-YYYY')
GROUP BY builder_code) oct
WHERE oct.builder_code(+) = sept.builder_code
BUILDER_CODE SEPT_SUM OCT_SUM
333 250
990 500Justin
Distributed Database Consulting, Inc.
www.ddbcinc.com/askDDBC -
Crosstab Columns Need to be two different date ranges
I'm fairly new to CR and don't know crystal or basic syntax or any coding really.
Using the crosstab expert, I need two columns that are based on a range of dates. Unfortunately the range of dates are not any of the choices I have when I just bring the date into that column box in the expert.
My two columns:
Column 1 = 11/01/2007 12:00:00:00 AM to 10/31/2008 12:00:00:00 AM
Column 2 = 11/01/2008 12:00:00:00 AM to 10/31/2009 12:00:00:00 AM
When I insert a crosstab and use the expert I have two choices for the columns box. I can either create two new formulas or use the group options. I've tried my very inexperienced hand at creating some formulas with laughable results. The group options, although lovely, don't meet my very specific date needs.
Anyone out there have the time to help me? It would be much appreciated.Hello Anne,
Try creating a formula similar to the following;
if in datetime(2007,11,1,12,00,00) to datetime(/2008,10,31,12,00,00)
then "11-2007 to 10-2008"
else if in datetime(2008,11,1,12,00,00) to datetime(/2009,10,31,12,00,00)
then "11-2008 to 10-2009"
and use this formula as the column field in the crosstab. -
Split period into different date ranges
Hi,
Can someone let me know if there is any standard Function module that can split up the periods? For example I have a total period 01.01.2008 to 31.12.2008 and I have a split period of 01.04.2008 to 30.04.2008.
Now my resultant period should be,
1. 01.01.2008 to 31.03.2008
2. 01.04.2008 to 30.04.2008
3. 01.05.2008 to 31.12.2008
Thanks,
Prasath NAre there no programmers around your site? This really is tremendously basic.
PARAMETERS: p_dat TYPE d.
CONSTANTS: c_start_of_all_periods TYPE d VALUE '20080101',
c_end_of_all_periods TYPE d VALUE '20081231'.
DATA: start_of_first_period TYPE d,
end_of_first_period TYPE d,
start_of_split_period TYPE d,
end_of_split_period TYPE d,
start_of_2nd_period TYPE d,
end_of_2nd_period TYPE d.
IF p_dat LT c_start_of_all_periods OR p_dat GT c_end_of_all_periods.
WRITE: / 'Outside range'.
EXIT.
ENDIF.
start_of_split_period = p_dat.
start_of_first_period = c_start_of_all_periods.
end_of_2nd_period = c_end_of_all_periods.
* Get first day of supplied month
start_of_split_period+6(2) = '01'.
* Get day before the first day of supplied month
end_of_first_period = start_of_split_period - 1.
start_of_2nd_period = start_of_split_period.
start_of_2nd_period+6(2) = '28'. " Get 28th of supplied month
ADD 4 TO start_of_2nd_period. " Get 4 days later - this will be in next month
start_of_2nd_period+6(2) = '01'. " Get first day of next month
end_of_split_period = start_of_2nd_period - 1. " Get day before start of 2nd period
WRITE: / start_of_first_period,
end_of_first_period,
start_of_split_period,
end_of_split_period,
start_of_2nd_period,
end_of_2nd_period.
If you are a programmer, I hope this sample is sufficient to show how to deal with all kinds of date handling coding problems.
matt -
Column wise output for different date range
I m having a query which gives the output like
DISTRIBUTOR_CODE APR MAY JUN JUL AUG
R127 01/04/2005
R127 02/04/2005
R127 03/04/2005
R127 01/05/2005
R127 02/05/2005
R127 03/05/2005
R127 01/06/2005
while the output needed by me is
DISTRIBUTOR_CODE APR MAY JUN JUL AUG
R127 01/04/2005 01/05/2005 01/06/2005
R127 02/04/2005 02/05/2005
R127 03/04/2005 03/05/2005
R127
The query is
The query used by me is as below
select distributor_code,
decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),0),'MM'),param_date) apr,
decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),1),'MM'),param_date) may,
decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),2),'MM'),param_date) jun,
decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),3),'MM'),param_date) jul
,decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),4),'MM'), param_date) aug
,decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),5),'MM'), param_date) sep,
decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),6),'MM'),param_date) oct,
decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),7),'MM'),param_date) nov,
decode(to_char(param_date,'MM'),to_char(add_months(min(mindt),8),'MM'),param_date) dec
from ppbsnew.dms_audit_trail t,(select distributor_code dcode ,min(param_date) mindt
from ppbsnew.dms_audit_trail
where trunc(param_Date) between '01-APR-05' and '31-DEC-05' group by distributor_code) t2
where t.distributor_code=t2.dcode
and trunc(param_Date) between '01-APR-05' and '31-DEC-05'
and t.distributor_name is not null
group by distributor_code,param_Datehi
SQL> select job,
2 decode(to_char(hiredate,'MON'),'JAN',hiredate, NULL ) JAN,
3 decode(to_char(hiredate,'MON'),'FEB',hiredate, NULL ) FEB,
4 decode(to_char(hiredate,'MON'),'MAR',hiredate, NULL ) MAR,
5 decode(to_char(hiredate,'MON'),'APR',hiredate, NULL ) APR,
6 decode(to_char(hiredate,'MON'),'MAY',hiredate, NULL ) MAY,
7 decode(to_char(hiredate,'MON'),'JUN',hiredate, NULL ) JUN,
8 decode(to_char(hiredate,'MON'),'JUL',hiredate, NULL ) JUL,
9 decode(to_char(hiredate,'MON'),'AUG',hiredate, NULL ) AUG,
10 decode(to_char(hiredate,'MON'),'SEP',hiredate, NULL ) SEP,
11 decode(to_char(hiredate,'MON'),'OCT',hiredate, NULL ) OCT,
12 decode(to_char(hiredate,'MON'),'NOV',hiredate, NULL ) NOV,
13 decode(to_char(hiredate,'MON'),'DEC',hiredate, NULL ) DEC
14 from emp where to_date(hiredate,'DD-MON-YY') between '01-JAN-81' and '31-DEC-81';
JOB JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC
SALESMAN 20-FEB-81
SALESMAN 22-FEB-81
MANAGER 02-APR-81
SALESMAN 28-SEP-81
MANAGER 01-MAY-81
MANAGER 09-JUN-81
PRESIDENT 17-NOV-81
SALESMAN 08-SEP-81
CLERK 03-DEC-81
ANALYST 03-DEC-81
10 rows selected.Is that you wana achieve??
Khurram Siddiqui
[email protected] -
Displaying different sums in the same row based on date ranges
Say I had a table like this
DECLARE @t1 TABLE (RowId INT PRIMARY KEY IDENTITY(1,1), BusinessType VARCHAR(100), SalesPerson VARCHAR(100), Category VARCHAR(100), OrderAmount DECIMAL(10,2), OrderDate DATETIME )
Now I want to get a result that is grouped first by BusinessType, then SalesPerson and include derived columns that are sums based on different date ranges.
Month-to-date = from the start of the current month to today
Month-to-date previous year = from the start of the current month to today 1 year ago
DECLARE @today DATETIME
DECLARE @today_prev_year DATETIME
DECLARE @year_start DATETIME
DECLARE @year_prev_start DATETIME
DECLARE @month_start DATETIME
DECLARE @month_prev_start DATETIME
SET @today = GETDATE();
SET @today_prev_year = DATEADD(YEAR,-1,@today)
SET @year_start = CAST('01/01/' + CAST(DATEPART(YEAR,GETDATE()) AS VARCHAR(10)) AS DATETIME);
SET @year_prev_start = DATEADD(YEAR,-1,@year_start)
SET @month_start = DATEADD(month, DATEDIFF(month, 0, @today), 0); --gets the first of the current month
SET @month_prev_start = DATEADD(YEAR,-1,@month_start); --gets the first of the current month
SELECT t.BusinessType,t.SalesPerson,t.Category
SUM(CASE WHEN o.OrderDate > @month_start AND ac.DocumentDate < @today THEN o.OrderAmount ELSE 0 END) AS MTDActualAmount
SUM(CASE WHEN o.OrderDate > @month_prev_start AND ac.DocumentDate < @today_prev_year THEN o.OrderAmount ELSE 0 END) AS MTDPrevActualAmount
FROM @t1 t
Hope this is clear as to what Im trying to do. Im ultimately going to pull this into an SSRS report, so im wondering if I can do this different SUM values in the report and handle the grouping there.
Thoughts?Based on your example (with a group by added) it should work.
However, if you incorperated a calendar table (http://social.technet.microsoft.com/wiki/contents/articles/29260.tsql-calendar-functions-and-tables.aspx)
you could lose all those manually set parameters:
DECLARE @t1 TABLE (RowId INT PRIMARY KEY IDENTITY(1,1), BusinessType VARCHAR(100), SalesPerson VARCHAR(100), Category VARCHAR(100), OrderAmount DECIMAL(10,2), OrderDate DATETIME, DocumentDate DATETIME)
INSERT INTO @t1 (BusinessType, SalesPerson, Category, OrderAmount, OrderDate, DocumentDate) VALUES
('A','Joe','CatA',10,'2015-01-01','2015-01-01'),('A','Joe','CatB',10,'2015-01-02','2015-01-01'),('A','Joe','CatA',30,'2015-01-03','2015-01-04'),('A','Joe','CatB',40,'2015-01-04','2015-01-01'),('A','Joe','CatA',100,'2015-02-01','2015-02-01'),
('A','Joe','CatB',100,'2015-02-02','2015-02-01'),('A','Joe','CatA',300,'2015-02-03','2015-02-04'),('A','Joe','CatB',400,'2015-02-04','2015-02-01'),('A','Bob','CatA',1,'2015-01-01','2015-01-01'),('A','Bob','CatB',1,'2015-01-02','2015-01-01'),
('A','Bob','CatA',3,'2015-01-03','2015-01-04'),('A','Bob','CatB',4,'2015-01-04','2015-01-01'),('A','Bob','CatA',10,'2015-02-01','2015-02-01'),('A','Bob','CatB',10,'2015-02-02','2015-02-01'),('A','Bob','CatA',30,'2015-02-03','2015-02-04'),
('A','Bob','CatB',40,'2015-02-04','2015-02-01'),('B','Joe','CatA',10,'2015-01-01','2015-01-01'),('B','Joe','CatB',10,'2015-01-02','2015-01-01'),('B','Joe','CatB',40,'2015-01-04','2015-01-01'),
('B','Joe','CatA',100,'2015-02-01','2015-02-01'),('B','Joe','CatB',100,'2015-02-02','2015-02-01'),('B','Joe','CatA',300,'2015-02-03','2015-02-04')
SELECT t.BusinessType,t.SalesPerson,t.Category,
SUM(CASE WHEN OrderDate >= monthStart AND DocumentDate < today THEN OrderAmount ELSE 0 END) AS MTDActualAmount,
SUM(CASE WHEN OrderDate BETWEEN prevMonthStart AND prevMonthENd AND DocumentDate >= yearStart THEN OrderAmount ELSE 0 END) AS MTDPrevActualAmount
FROM @t1 t
INNER JOIN calendar c
ON today = CAST(CURRENT_TIMESTAMP AS DATE)
Group by t.BusinessType,t.SalesPerson,t.Category -
Delivary date parameter in vendor evaluation
hi
where we maintain the delivary date parameter in vendor evaluation.
nitinHi,
Delivery date in vendor evaluation is a subcriteria for On time delivery and its automatic (3)
Delivery date is calculated from GR from stastical delivery date in delivery schedule TAB and actual receipt date
Hope this is clear to you
BR
Diwakar
reward if useful -
Vendor evaluation - Confirmation Date
Dear all,
am trying to run vendor evaluation for - confirmation date..
i have create a new confirmation spro - MM -purchasing - confirmations - define external conf , setup conf control
i have included this confirmation in the PO ..delivery date in po item line is 23.06.2014.. delivery date in conf in item details 22.06.2014 GR date is 23.06
when i run vend evaluation, 4 Adher. to Conf. Date is coming zero ---
can you pls advise what could be the reason... is my understanding to this Subcriterion is correctHi,
As an example its not available, nor tried self. As a common rule - if a main criteria created and sub criteria exists, when you run evaluation for main - excluding a stage of sub is not possible.
Secondly try transaction code: ME6C
Help says: Set this indicator if you only want to display those vendors that do not have
an evaluation for certain main criteria. When you click on Execute, a screen allowing you to choose one or more main criteria appears. The missing evaluations for these criteria are then listed.
here you can selection option to include/exclude evaluation. -
Visual Composer: Date Range in Query
Hi,
While working in Visual Composer, I have come across the need to re-use the same query 20 times, but with slightly different date ranges. One way would be to create 20 copies of the same query and change the selection dates as needed on each of them. However, is it possible to provide date ranges in a query in Visual Composer? Right now its only letting me enter single values.
Thanks
AdeelProblem can be resolved by using a colon between the dates. Furthermore, the DSTR function in the expression editor can be used to form the desired dates.
-
Vendor evaluation - downgrade analysis
Hi,
I've a requiremnte in my project that the client wants to see why the grade for some criteria is below 100. So, I would like to know if I have any report showing de delays of the vendor and quantity difference in the goods receipt by Purchase Orden.
Then it will be possible to show vendor why he had a grade of 80.
Thanks in advance,
Guizathere is no report in SAP that will give you the evaluation at document level.
Basis for the vendor evaluation is the data captured in info structure S012.
Here you can see the variations at least at period level per vendor material combination.
so you can find the period that causes the bad valuation.
then you have to list the PO for that period in e.g. ME80FN or ME2L and evaluate the PO data yourself.
Maybe you are looking for
-
How to import photos from iPhoto Library to Adobe Photoshop Elements 10 Editor?
I can't use Adobe Photoshop Elements 10 Editor to edit photos from iPhoto Library. If I choose File, Open, and then select 'iPhoto Library', error message is "could not complete your request because of a program error."
-
Screen size - Is it possible to get an accessor to see it enlarged.
I want to get a remote control but I'd like to be able to see the display without having to be right at the unit. Is there an available option?
-
Hi Guys, I am having problem installing StorADE 2.4 in Oracle Java Web Console 3.1 with CAM 6.6. I am sure I have seen them together in Web Console but doesn't seems to be working... I am getting all sort of javv exception errors... Also the installa
-
How to pass XMLNode to JAX-RPc web service
I am new to web services using JAX-RPC. Here is my problem. I need to pass Node object from org.w2c.dom.Node to webservice (using JAX-RPC) and return canonicalBytes back to client. I know I cannot pass Node directly as a parameter to the method (chec
-
I am trying to import a video into Premier Elements 11 and keep getting an error message
I'm trying to import a video into Premier Elements 11 and keep getting an error message but it doesn't say what the error is.