Quota accumulated up to a maximum of 90 days
Hi,
How can we set the condition for Quota accumulated up to a maximum of 90 days throught the employee working in that company.
Appreciate your ans
Hi Piscian,
Please set Max entitlement field in accrual entitlement to 90 too.
If still no answer, please write a simple code in ZXPADU02 exit that compares the amount field of IT2006 with 90 and throws an error if it is more than that.
Good luck,
Dilek
Similar Messages
-
How can I calculate the maximum number of days between two dates in a range of dates?
I have a column of dates spanning the couse of a few months. I would like to know if I can calculate the maximum number of days between each row and display the highest number. I currently have another column that calculates the days betwen the rows and I am currently just looking at the totals and highlighting the highest period.
Is this possible? Any help or suggestions are appreciated.
Thank you,
TrevorThis sounds totally possible, Can you post a screen shot of your table to make responding more focused? If you mean you want to:
A) compute the difference (in days) between two date in the same row, then
B) find the max duration (in days)
Here is my take on this problem:
D2 = C2-B2
select D2 and fill down
F1=MAX(D)
to perform the conditional formatting (to highlight the max duration) select column D, then set up conditional formatting as shown in the 1st image -
what is the maximum number of days a movie is available for watch if taken on rent on apple Tv, and for how many times i can watch a movie if taken on rent?
About renting movies from the iTunes Store - Apple Support
-
Absence Quota to be generated on basis of Working Day
Hi Experts,
I have got a scenario in Time management ( negative time management, no time evaluation) where the client wants absence quota to be generated on the basis of working days of employee. I have checked the configuration for creating base entitlement V_t559E but the following options are available:
Currently i have done the cofiguration on the basis of Accrual period, leave entitlement is 22 days in a year. Wherein entilement each month is coming to 1.83 leaves, but client wants that in case employee is come for only 5 working days in a month the leave generation should accordingly get prorated and in case of 0 working days in a month there should be no entitlement.
Calendar year
Accrual period
Time evalution period
Payroll period
Other period
Please help.
Regard,
JyotiFirstly Update the Period Parameters as per ur dates this has to be done manually T549Q
later generate the Pay Roll Periods useing this Period Paramter
and Change the evaluation Period parameter in T559L to the Period paratmeter which you have generated
a lot of threads has been raised on the same issue please check -
Withholding Tax - Accumulation per day?
Hi guys,
I´m configuring a Withholding Tax Type for payment posting and I need that the accumulation type off this tax be per day.
I know that the configuration´s possibilities are:
Per Calendar Year
Per quarter
Per month
Per Year, Starting with Month __
So I don´t know if there is a standart possibility to do the accumulation per day.
For exemple: Only if a sum of payments to a vendor exceeds $10,00 in a day, the Withholding Tax must be taken into account.
Please, Anyone can help me?Dear,
You can have accumulation for minimum one month and maximum one year....it is not possible to be done per day......not at all
Regards,
Chintan Joshi -
Select just the values between min and max of an accumulated value over day
Hello Forum,
a value is accumulated over a day and over a period of time. Next day the value is reseted and starts again to be accumulated:
with sampledata as (select to_date('09.09.2012 00:04:08', 'dd.mm.yyyy hh24:mi:ss') ts, 120 val from dual union all
select to_date('09.09.2012 01:03:08', 'dd.mm.yyyy hh24:mi:ss') ts, 120 val from dual union all
select to_date('09.09.2012 02:54:11', 'dd.mm.yyyy hh24:mi:ss') ts, 120 val from dual union all
select to_date('09.09.2012 03:04:08', 'dd.mm.yyyy hh24:mi:ss') ts, 120 val from dual union all
select to_date('09.09.2012 04:04:19', 'dd.mm.yyyy hh24:mi:ss') ts, 120 val from dual union all
select to_date('09.09.2012 05:04:20', 'dd.mm.yyyy hh24:mi:ss') ts, 120 val from dual union all
select to_date('09.09.2012 06:12:02', 'dd.mm.yyyy hh24:mi:ss') ts, 23 val from dual union all
select to_date('09.09.2012 07:12:03', 'dd.mm.yyyy hh24:mi:ss') ts, 29 val from dual union all
select to_date('09.09.2012 08:12:04', 'dd.mm.yyyy hh24:mi:ss') ts, 30 val from dual union all
select to_date('09.09.2012 09:12:11', 'dd.mm.yyyy hh24:mi:ss') ts, 45 val from dual union all
select to_date('09.09.2012 10:12:12', 'dd.mm.yyyy hh24:mi:ss') ts, 60 val from dual union all
select to_date('09.09.2012 11:12:13', 'dd.mm.yyyy hh24:mi:ss') ts, 75 val from dual union all
select to_date('09.09.2012 12:21:24', 'dd.mm.yyyy hh24:mi:ss') ts, 95 val from dual union all
select to_date('09.09.2012 13:21:26', 'dd.mm.yyyy hh24:mi:ss') ts, 120 val from dual union all
select to_date('09.09.2012 14:21:27', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('09.09.2012 15:21:30', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('09.09.2012 16:21:32', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('09.09.2012 17:21:33', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('09.09.2012 21:21:33', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('09.09.2012 23:21:33', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('10.09.2012 00:04:08', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('10.09.2012 01:03:08', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('10.09.2012 02:54:11', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('10.09.2012 03:04:08', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('10.09.2012 04:04:19', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('10.09.2012 05:04:20', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('10.09.2012 06:12:02', 'dd.mm.yyyy hh24:mi:ss') ts, 14 val from dual union all
select to_date('10.09.2012 07:12:03', 'dd.mm.yyyy hh24:mi:ss') ts, 34 val from dual union all
select to_date('10.09.2012 08:12:04', 'dd.mm.yyyy hh24:mi:ss') ts, 58 val from dual union all
select to_date('10.09.2012 09:12:11', 'dd.mm.yyyy hh24:mi:ss') ts, 70 val from dual union all
select to_date('10.09.2012 10:12:12', 'dd.mm.yyyy hh24:mi:ss') ts, 120 val from dual union all
select to_date('10.09.2012 11:12:13', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('10.09.2012 12:21:24', 'dd.mm.yyyy hh24:mi:ss') ts, 153 val from dual union all
select to_date('10.09.2012 13:21:26', 'dd.mm.yyyy hh24:mi:ss') ts, 153 val from dual union all
select to_date('10.09.2012 14:21:27', 'dd.mm.yyyy hh24:mi:ss') ts, 153 val from dual union all
select to_date('10.09.2012 15:21:30', 'dd.mm.yyyy hh24:mi:ss') ts, 153 val from dual union all
select to_date('10.09.2012 16:21:32', 'dd.mm.yyyy hh24:mi:ss') ts, 153 val from dual union all
select to_date('10.09.2012 21:21:33', 'dd.mm.yyyy hh24:mi:ss') ts, 153 val from dual)
select ts, val
from sampledata
order by ts asc;How should I change the select statement to skip all data sets before the first minimum and the duplicates after the maximum of a day in order to get such a result:
TS VAL
09.09.12 06:12 23
09.09.12 07:12 29
09.09.12 08:12 30
09.09.12 09:12 45
09.09.12 10:12 60
09.09.12 11:12 75
09.09.12 12:21 95
09.09.12 13:21 120
09.09.12 14:21 142
10.09.12 06:12 14
10.09.12 07:12 34
10.09.12 08:12 58
10.09.12 09:12 70
10.09.12 10:12 120
10.09.12 11:12 142
10.09.12 12:21 153Thank youThis solution works perfectly when the accumulated value has its low and its high on the same day. But I found out :( , that there is also data, which has its low yesterday and its high today. For a better understandig of the case, there is a machine, wich is working over 3 Shifts with irregular start and end time. For example Shift1 cann start at 5:50 or at 7:15. The accumulated value of the worked time is accumuated for each shift extra. This solution works for the shift 1 (approximate between 06:00-14:00) and for the shift 2(approximate between 14:00-22:00), because there is the low and the high of the accumulated value on the same day. This solution does not work for the shif 3(approximate between 22:00-06:00), because the high of the accumulated value is or can be the next day.
So the thread title should be: "Select just the values between min and max of an accumulated value over the same day(today) or over two successive days (yesterday and today)
Sampledata for shift 1 or shift 2:
{code}
with sampledata as (select to_date('09.09.2012 00:04:08', 'dd.mm.yyyy hh24:mi:ss') ts, 120 val from dual union all
select to_date('09.09.2012 01:03:08', 'dd.mm.yyyy hh24:mi:ss') ts, 120 val from dual union all
select to_date('09.09.2012 02:54:11', 'dd.mm.yyyy hh24:mi:ss') ts, 120 val from dual union all
select to_date('09.09.2012 03:04:08', 'dd.mm.yyyy hh24:mi:ss') ts, 120 val from dual union all
select to_date('09.09.2012 04:04:19', 'dd.mm.yyyy hh24:mi:ss') ts, 120 val from dual union all
select to_date('09.09.2012 05:04:20', 'dd.mm.yyyy hh24:mi:ss') ts, 120 val from dual union all
select to_date('09.09.2012 06:12:02', 'dd.mm.yyyy hh24:mi:ss') ts, 23 val from dual union all
select to_date('09.09.2012 07:12:03', 'dd.mm.yyyy hh24:mi:ss') ts, 29 val from dual union all
select to_date('09.09.2012 08:12:04', 'dd.mm.yyyy hh24:mi:ss') ts, 30 val from dual union all
select to_date('09.09.2012 09:12:11', 'dd.mm.yyyy hh24:mi:ss') ts, 45 val from dual union all
select to_date('09.09.2012 10:12:12', 'dd.mm.yyyy hh24:mi:ss') ts, 60 val from dual union all
select to_date('09.09.2012 11:12:13', 'dd.mm.yyyy hh24:mi:ss') ts, 75 val from dual union all
select to_date('09.09.2012 12:21:24', 'dd.mm.yyyy hh24:mi:ss') ts, 95 val from dual union all
select to_date('09.09.2012 13:21:26', 'dd.mm.yyyy hh24:mi:ss') ts, 120 val from dual union all
select to_date('09.09.2012 14:21:27', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('09.09.2012 15:21:30', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('09.09.2012 16:21:32', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('09.09.2012 17:21:33', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('09.09.2012 21:21:33', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('09.09.2012 23:21:33', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('10.09.2012 00:04:08', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('10.09.2012 01:03:08', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('10.09.2012 02:54:11', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('10.09.2012 03:04:08', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('10.09.2012 04:04:19', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('10.09.2012 05:04:20', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('10.09.2012 06:12:02', 'dd.mm.yyyy hh24:mi:ss') ts, 143 val from dual union all
select to_date('10.09.2012 07:12:03', 'dd.mm.yyyy hh24:mi:ss') ts, 144 val from dual union all
select to_date('10.09.2012 08:12:04', 'dd.mm.yyyy hh24:mi:ss') ts, 145 val from dual union all
select to_date('10.09.2012 09:12:11', 'dd.mm.yyyy hh24:mi:ss') ts, 146 val from dual union all
select to_date('10.09.2012 10:12:12', 'dd.mm.yyyy hh24:mi:ss') ts, 147 val from dual union all
select to_date('10.09.2012 11:12:13', 'dd.mm.yyyy hh24:mi:ss') ts, 148 val from dual union all
select to_date('10.09.2012 12:21:24', 'dd.mm.yyyy hh24:mi:ss') ts, 153 val from dual union all
select to_date('10.09.2012 13:21:26', 'dd.mm.yyyy hh24:mi:ss') ts, 153 val from dual union all
select to_date('10.09.2012 14:21:27', 'dd.mm.yyyy hh24:mi:ss') ts, 153 val from dual union all
select to_date('10.09.2012 15:21:30', 'dd.mm.yyyy hh24:mi:ss') ts, 153 val from dual union all
select to_date('10.09.2012 16:21:32', 'dd.mm.yyyy hh24:mi:ss') ts, 153 val from dual union all
select to_date('10.09.2012 21:21:33', 'dd.mm.yyyy hh24:mi:ss') ts, 153 val from dual)
, got_analytics AS
SELECT ts, val
, MIN (val) OVER ( PARTITION BY TRUNC (ts)
ORDER BY ts DESC
) AS min_val_after
, CASE
WHEN ROW_NUMBER () OVER ( PARTITION BY TRUNC (ts)
ORDER BY val
, ts
) = 1
THEN -1 -- Impossibly low val
ELSE LAG (val) OVER ( PARTITION BY TRUNC (ts)
ORDER BY ts
END AS prev_val
, MIN (val) OVER (PARTITION BY TRUNC (ts))
AS low_val_today
, NVL ( LAST_VALUE (val) OVER ( ORDER BY ts
RANGE BETWEEN UNBOUNDED PRECEDING
AND ts - TRUNC (ts) PRECEDING
, -1
) AS last_val_yesterday
FROM sampledata
SELECT ts
, val
FROM got_analytics
WHERE val <= min_val_after
AND val > prev_val
AND ( val > low_val_today
OR val != last_val_yesterday
ORDER BY ts
{code}
with the expected results:
{code}
1 09.09.2012 06:12:02 23
2 09.09.2012 07:12:03 29
3 09.09.2012 08:12:04 30
4 09.09.2012 09:12:11 45
5 09.09.2012 10:12:12 60
6 09.09.2012 11:12:13 75
7 09.09.2012 12:21:24 95
8 09.09.2012 13:21:26 120
9 09.09.2012 14:21:27 142
10 10.09.2012 06:12:02 143
11 10.09.2012 07:12:03 144
12 10.09.2012 08:12:04 145
13 10.09.2012 09:12:11 146
14 10.09.2012 10:12:12 147
15 10.09.2012 11:12:13 148
16 10.09.2012 12:21:24 153
{code}
And the sampledata for shift 3 is:
{code}
with sampledata as (select to_date('08.09.2012 00:04:08', 'dd.mm.yyyy hh24:mi:ss') ts, 23 val from dual union ALL
select to_date('08.09.2012 02:04:08', 'dd.mm.yyyy hh24:mi:ss') ts, 45 val from dual union all
select to_date('08.09.2012 05:03:08', 'dd.mm.yyyy hh24:mi:ss') ts, 78 val from dual union all
select to_date('08.09.2012 06:54:11', 'dd.mm.yyyy hh24:mi:ss') ts, 90 val from dual union all
select to_date('08.09.2012 08:04:08', 'dd.mm.yyyy hh24:mi:ss') ts, 90 val from dual union all
select to_date('08.09.2012 10:04:19', 'dd.mm.yyyy hh24:mi:ss') ts, 90 val from dual union all
select to_date('08.09.2012 12:04:20', 'dd.mm.yyyy hh24:mi:ss') ts, 90 val from dual union all
select to_date('08.09.2012 16:12:02', 'dd.mm.yyyy hh24:mi:ss') ts, 90 val from dual union all
select to_date('08.09.2012 17:12:03', 'dd.mm.yyyy hh24:mi:ss') ts, 90 val from dual union all
select to_date('08.09.2012 19:12:04', 'dd.mm.yyyy hh24:mi:ss') ts, 90 val from dual union all
select to_date('08.09.2012 21:12:11', 'dd.mm.yyyy hh24:mi:ss') ts, 90 val from dual union all
select to_date('08.09.2012 22:00:12', 'dd.mm.yyyy hh24:mi:ss') ts, 24 val from dual union all
select to_date('08.09.2012 22:12:13', 'dd.mm.yyyy hh24:mi:ss') ts, 40 val from dual union all
select to_date('08.09.2012 23:21:24', 'dd.mm.yyyy hh24:mi:ss') ts, 68 val from dual union all
select to_date('09.09.2012 01:03:08', 'dd.mm.yyyy hh24:mi:ss') ts, 79 val from dual union all
select to_date('09.09.2012 02:54:11', 'dd.mm.yyyy hh24:mi:ss') ts, 124 val from dual union all
select to_date('09.09.2012 03:04:08', 'dd.mm.yyyy hh24:mi:ss') ts, 125 val from dual union all
select to_date('09.09.2012 04:04:19', 'dd.mm.yyyy hh24:mi:ss') ts, 126 val from dual union all
select to_date('09.09.2012 05:04:20', 'dd.mm.yyyy hh24:mi:ss') ts, 127 val from dual union all
select to_date('09.09.2012 06:12:02', 'dd.mm.yyyy hh24:mi:ss') ts, 127 val from dual union all
select to_date('09.09.2012 07:12:03', 'dd.mm.yyyy hh24:mi:ss') ts, 127 val from dual union all
select to_date('09.09.2012 08:12:04', 'dd.mm.yyyy hh24:mi:ss') ts, 127 val from dual union all
select to_date('09.09.2012 09:12:11', 'dd.mm.yyyy hh24:mi:ss') ts, 127 val from dual union all
select to_date('09.09.2012 10:12:12', 'dd.mm.yyyy hh24:mi:ss') ts, 127 val from dual union all
select to_date('09.09.2012 11:12:13', 'dd.mm.yyyy hh24:mi:ss') ts, 127 val from dual union all
select to_date('09.09.2012 12:21:24', 'dd.mm.yyyy hh24:mi:ss') ts, 127 val from dual union all
select to_date('09.09.2012 13:21:26', 'dd.mm.yyyy hh24:mi:ss') ts, 127 val from dual union all
select to_date('09.09.2012 14:21:27', 'dd.mm.yyyy hh24:mi:ss') ts, 127 val from dual union all
select to_date('09.09.2012 15:21:30', 'dd.mm.yyyy hh24:mi:ss') ts, 127 val from dual union all
select to_date('09.09.2012 16:21:32', 'dd.mm.yyyy hh24:mi:ss') ts, 127 val from dual union all
select to_date('09.09.2012 17:21:33', 'dd.mm.yyyy hh24:mi:ss') ts, 127 val from dual union all
select to_date('09.09.2012 21:21:33', 'dd.mm.yyyy hh24:mi:ss') ts, 127 val from dual union ALL
select to_date('09.09.2012 22:21:33', 'dd.mm.yyyy hh24:mi:ss') ts, 5 val from dual union ALL
select to_date('09.09.2012 22:51:33', 'dd.mm.yyyy hh24:mi:ss') ts, 23 val from dual union all
select to_date('09.09.2012 23:21:33', 'dd.mm.yyyy hh24:mi:ss') ts, 40 val from dual union all
select to_date('10.09.2012 00:04:08', 'dd.mm.yyyy hh24:mi:ss') ts, 50 val from dual union all
select to_date('10.09.2012 01:03:08', 'dd.mm.yyyy hh24:mi:ss') ts, 60 val from dual union all
select to_date('10.09.2012 02:54:11', 'dd.mm.yyyy hh24:mi:ss') ts, 78 val from dual union all
select to_date('10.09.2012 03:04:08', 'dd.mm.yyyy hh24:mi:ss') ts, 142 val from dual union all
select to_date('10.09.2012 04:04:19', 'dd.mm.yyyy hh24:mi:ss') ts, 145 val from dual union all
select to_date('10.09.2012 05:04:20', 'dd.mm.yyyy hh24:mi:ss') ts, 146 val from dual union all
select to_date('10.09.2012 06:12:02', 'dd.mm.yyyy hh24:mi:ss') ts, 146 val from dual union all
select to_date('10.09.2012 07:12:03', 'dd.mm.yyyy hh24:mi:ss') ts, 146 val from dual union all
select to_date('10.09.2012 08:12:04', 'dd.mm.yyyy hh24:mi:ss') ts, 146 val from dual union all
select to_date('10.09.2012 09:12:11', 'dd.mm.yyyy hh24:mi:ss') ts, 146 val from dual union all
select to_date('10.09.2012 10:12:12', 'dd.mm.yyyy hh24:mi:ss') ts, 146 val from dual union all
select to_date('10.09.2012 11:12:13', 'dd.mm.yyyy hh24:mi:ss') ts, 146 val from dual union all
select to_date('10.09.2012 12:21:24', 'dd.mm.yyyy hh24:mi:ss') ts, 146 val from dual union all
select to_date('10.09.2012 13:21:26', 'dd.mm.yyyy hh24:mi:ss') ts, 146 val from dual union all
select to_date('10.09.2012 14:21:27', 'dd.mm.yyyy hh24:mi:ss') ts, 146 val from dual union all
select to_date('10.09.2012 15:21:30', 'dd.mm.yyyy hh24:mi:ss') ts, 146 val from dual union all
select to_date('10.09.2012 16:21:32', 'dd.mm.yyyy hh24:mi:ss') ts, 146 val from dual union all
select to_date('10.09.2012 21:21:33', 'dd.mm.yyyy hh24:mi:ss') ts, 146 val from dual)
, got_analytics AS
SELECT ts, val
, MIN (val) OVER ( PARTITION BY TRUNC (ts)
ORDER BY ts DESC
) AS min_val_after
, CASE
WHEN ROW_NUMBER () OVER ( PARTITION BY TRUNC (ts)
ORDER BY val
, ts
) = 1
THEN -1 -- Impossibly low val
ELSE LAG (val) OVER ( PARTITION BY TRUNC (ts)
ORDER BY ts
END AS prev_val
, MIN (val) OVER (PARTITION BY TRUNC (ts))
AS low_val_today
, NVL ( LAST_VALUE (val) OVER ( ORDER BY ts
RANGE BETWEEN UNBOUNDED PRECEDING
AND ts - TRUNC (ts) PRECEDING
, -1
) AS last_val_yesterday
FROM sampledata
SELECT ts
, val
FROM got_analytics
WHERE val <= min_val_after
AND val > prev_val
AND ( val > low_val_today
OR val != last_val_yesterday
ORDER BY ts
{code}
with the unexpected results:
{code}
- ts val
1 08.09.2012 00:04:08 23
2 08.09.2012 22:12:13 40
3 08.09.2012 23:21:24 68
4 09.09.2012 22:21:33 5
5 09.09.2012 22:51:33 23
6 09.09.2012 23:21:33 40
7 10.09.2012 00:04:08 50
8 10.09.2012 01:03:08 60
9 10.09.2012 02:54:11 78
10 10.09.2012 03:04:08 142
11 10.09.2012 04:04:19 145
12 10.09.2012 05:04:20 146
{code}
The result should be:
{code}
- ts val
1 08.09.2012 00:04:08 23
2 08.09.2012 02:04:08 45
3 08.09.2012 05:03:08 78
4 08.09.2012 06:54:11 90
5 08.09.2012 22:00:12 24
6 08.09.2012 22:12:13 40
7 08.09.2012 23:21:24 68
8 09.09.2012 01:03:08 79
9 09.09.2012 02:54:11 124
10 09.09.2012 03:04:08 125
11 09.09.2012 04:04:19 126
12 09.09.2012 05:04:20 127
13 09.09.2012 22:21:33 5
14 09.09.2012 22:51:33 23
15 09.09.2012 23:21:33 40
16 10.09.2012 00:04:08 50
17 10.09.2012 01:03:08 60
18 10.09.2012 02:54:11 78
19 10.09.2012 03:04:08 142
20 10.09.2012 04:04:19 145
21 10.09.2012 05:04:20 146
{code}
Thank you for your help! -
Quote and Contracr line item count limit
Dear Experts,
I heard that there is a limit, that one quote or contract can contains maximum 999 line item.
Is is true? If yes, is it possible to increase this value?
I work on a project for a Utility company, where one quote should address in some cases 1500-2000 POD.
Thanks, MiklosHi Miklós,
I cannot tell you too much about BUS2000112 performance with this high number of items.
Flat lean utilities documents (BUS2000249):
Object type BUS2000249 had some performance improvements the last years.
I would expect that 500 items and also more items will work in a flat lean utilities document from CRM user side of view.
But in case of contracts you might have to wait a while till you can reopen a saved contract when the replication is running.
This is because there is no parallelisation for the replication.
Additionally every single item change will open the whole huge document and create huge BDOCS.
And often we have this single item changes in utilities processes ( switch communication, item distributed status ).
-> Due to the bdoc/ replication issues I would not recommend to create lean utilities contracts with more than 200 items.
Structured documents:
These documents should be able to handle 2000 items if the user is willing to wait a few minutes for quotation/ contract create and quotation accept.
In our system this is around 2-3 minutes (without switch document creation) but this will differ in your system.
The runtime for creating items increases nearly linear with the number of items.
To open persited huge structured documents is no performance issue.
The replication to ERP is done in parallel and the bdocs created are smaller for single item changes.
So BDOC/ and replication should be no big issue.
Please note:
The official SAP documentation describes a maximum number of 200 items for flat lean documents and 1000 items for structured documents.
Unfortunately I have not enough experice with external pricing interface performance to tell you something about.
Best regards,
Stefan -
Sales order referred to Quote - Need Suggestions
Hi All,
We have a scenario where is order is created with reference to a quotation. Now there is more than one quotation created for a customer therefore when users have to create a sales order they have run a report a find a quote therefor they have this report open all day to create sales order for different customers.
My question is: Is there any way through configuration or enhancements we can help users to find a customer specific quote through an easier way.
Thanks for inputs in advance.Hi!
The only solution that comes in my mind is of creating few extra screens in Va01. The process would be as follows:
1) User enters the SO type and Sales area.
2) Dependent on the sales order type, the user will see a screen where he could enter the customer number and the material and press a search button.
3) Now in the search button you can create a report on the lines of Va05, which will execute the query and bring out all the quotes relevant for the customer and the material and other parameters.
4) Once the right quote is select, you can carry on va01 but will have to do a "create with reference to".
Hope this helps,
Abhishek -
Time Management automatic Quota accrual rule
Hi Experts,
I want to configure leaves as per following basis...
we want to generate quota based on ES group, also based on days worked on off days with accrual period.
Example:
Mr X (Employee sub group 01) works 24 days continuously and also works on holidays (which is assigned to his/her calender), after specific period (24 days in this case), he is eligible to get quota for those days which he had worked on holidays. For example 5 off days was included in his 24 days he worked.. now he is eligible to get 5 days off...(Paid)
How can we configure above case ?
Thanks in advance for your time...
Regards,
Muhammad UmerMr. Umer,
Create a Absence type and Quota
Quota generation type is - Generation
Base entitlement - maintain a time type
select Counting rule for (Public Holidays & Holidays)
Generation rule....
write a PCR on the same to store howmany days he worked on Doffs ....in time type....
Copy TR11 PCR and change in to YR11 and insert your Time type in Schema above the CUMBT.
Cheers -
Hi Experts Please Help me in this Open Quotes Requirement
My Requirement is
To provide a Report for the Client with Open quotes and Closed Quotes in the Same Report .
we have Sales Data Coming from 2lis_11_vaitm to the Write Optimized DSO .
Based on the Transaction Group we are Loading the Data into QUOTES CUBE and BOOKINGS CUBE .
TransGrp = 2 = Quotes Cube
TransGrp = 0 = Bookings .
So Far all the Quotes are in QUOTES Cube and Bookings Cube ,
Now the Customer want to their All Open Quotes and Sales orders of their Quotes in the Same Report as they need schedule the Report .
Sales Document is Carrying the Quotes and Sales Order ,It is Differentiated by the Sales Document Category ,
Both the values are Populated by VBELN only ,
When it is Quote sales Doc Categ = B , When it is Sales order Sales Doc Category = C .
For a Sale order you will have Reference Doc , but a Quotation u will not have Reference Doc.
We create a new Sale order Info - Object in Cube and tried Look up for the Sales orders in the Write optimised DSO .
But the Problem comes here
We are working on how to capture the Sales orders for the Open Order in the Previous Delta with the Current Quotes Cube CUBE Q.
FIRST DELTA IN CUBE :
SALES DOC
SALES ORDER
DOC CATEG
REFER DOC
NET VALUE
QT001
QT001
B
250 USD
QT002
SD001
C
QT002
500 USD
SECOND DELTA IN THE CUBE :
SALES DOC
SALES ORDER
DOC CATEG
REFER DOC
NET VALUE
QT001
SD002
C
QT001
250 USD
QT003
QT003
B
4000
In the above the Scenario when the Sales Document QT001 was Picked up in Previous Delta has no Sales Order , when it is Loaded into the Cube in Second Delta , The Cube Contains Both QT001 which is of DOC-CATEG = B & C .
As the Client Requirement is Only to See the Open Quotes till today and Sales Order For the Quotes in the Same Report , we have to Delete the Previous Record QT001 with Category B and Replace it with this New
Sales Order
QT001
SD002
C
QT001
250 USD
We are Working on How to handle this with ABAP . Will update Once we are Good With this .
2nd Solution :
Another Solution Could Be 1. Create a New Cube for Monthly Load for the Quotes With Sales Orders and Only Quotes Using End Routine , Every month the Cube Load has to Be Dropped off and Loaded for the Month .
NOTE : But this Solution Would Not Fulfill the Open Quotes Requirement , that Report is a Daily Report that Need to Bring The OPEN QUOTES with a Validity Period Greater than 30 Days from the Current Date .
Please Propose If you can Find another Better Way .
3rd Solution :
Using an Info-Set With Left Outer Join , as this Would affect the Reporting Performance & this is Ruled out .
I have Suggested Which is Highlighted in the Green , Please Share YOUR THOUGHTS ON THIS , if this is the Solution , please Suggest How to Write a Code for This , Your Suggestions Would be Very Valuable .Hi Sagar,
Go BD87 --> mention the Idoc Number or date range --> Click Execute > select the respective IDOC where it says Idocs ready to be transferred to application> No resources, immed. Processing not possible. To few free..... Please notice if the Idocs belong to a BW request (they usually start with RS..), the stuck Idocs could also belong to another application. To manually process the stuck Idocs just mark the Idocs and press PROCESS. The load will then start running again.
The same you can do it from RSMO as well,
In RSMO you have a menu button called BW (this is directly TA:BD87 on BW system) --> click on that and then do the execute. The idocs which are stored on the bw side will be reloaded to datatarget.
Hope this helps,
Sudhakar. -
Error in generating quota for unpaid leaves
hello gurus,
I have 3 Absence Quotas - (1) Annual Leave (2) Long Service Leave (3) Sick Leave
I have attached the same reduction rule for all 3 abs quotas
I generated Leave without pay for a day in the month of May 2011.
When generating quotas for May 2011 for Annual & Sick Leave its generating for 30 days but for Long Service Leave its generating for 31 days
Any idea how the quota generation goes wrong only for Long Service Leave ??
pls help!!
rgds,0Requid :187.98
what was this request ID...
go to RSRQ and give the request ID and execute...it gives the load monitor...
chk the load to which it belongs to either master or transaction...
if it belongs to master...then try to find the object to which it was loaded...and schedule the change run for the same object....
rgds, -
I have a requirement to create a time quota with a constant value on the first day of every year.
And another time quota with a constant value on the first of Januray and first of June.
How Can this be configured so that i don't have to use the upload programs?Hi ,
I have answered similar type of question before.So I am just pasting that here.
This is how you create a quota which is to be generated by the time eval.
I will try to give all the steps here.Please let me know if you need any more info.
I hope you know how to crate a quotatype with the quota grouping of your organization.
1.Create a timetype say for example 9120.(let us say 20 is your quota type).
2.then go to Timemanagement>timedata recording and adm>Managing time accounts with abs/att quotas>Calculating abs entitlements>set base entitlements.
in that create new entry for your quota type .ANd enter ESG ,PSG,Rule and sequence number .Under the Base entitlement tab,leave seniority,age and all if not needed in ur company and under the entitlement tab and under Day Balnce enter the time type you created here 9120.and select accrual period radio button.save it.
3.Timemanagement>timedata recording and adm>Managing time accounts with abs/att quotas>Calculating abs entitlements>Determine validity /deduction interval.
create a newentry with your quota type and select accrual period radio buttons.
4.Goto V_T559L table and find your quotatype or create new entry and on left hand side under dialog structure select the 2 nd folder quotatypes and find your quota type and select increase radio button and save the changes.
5.And the rest is same as the general quota configuration. -
9i Dataguard Problem in MAXIMUM PROTECTION mode
Dear All
Hi
I have 9i Rel 2 (9.2.07) dataguard environment on Linux Redhat Advanced Server 3
The Pretenction mode is Maximum Protection
One day I noticed that my dataguard Database is about 100 log files before than the Primary:
On priamry the current log sequence# was 7804
But in standby the last log that was transfered and applied was 7716
In primary I executed the following select:
SQL> Select protection_mode , protection_level from v$database;
the result was:
protection_mode=MAXIMUM PROTECTION
protection_level=SYNCHRONIZING
What I want to know is:
Why the primary database did not become shutdown when it is in MAXIMUM PROTECTION mode and why it has continued working when the log files could not transfer to standby database ????
Thank you in advance for your replyAnybody any idea ??????
-
Calculate Average and Maximum of KeyFigure values by Date.
Hi Experts,
There are certain KeyFigures such as CPU Utilization, Memory Allocated, etc in BEx Analyzer coming from InfoCube by Date (0CALDAY).
The End-user is interested in looking at Average CPU Utilization / Day and Maximum CPU Utilization / Day as different Columns.
I tried to change the configurations of these KeyFigures to Average and Maximum in the Back-end (BI ETL) but it is not working.
We are working on BI 7.0.
Could anyone please help with this?
Your time is much appreciated. Points will be assigned.
Thanks,
ChanduHi Chandra,
I'm having the same issue, how did you solved this with a Formula in BEX?
I need have one key figure with two behaviors average and sum, is it possible?
Regards,
Fernando -
Regarding Absence Quotas - SAP Time Management
1. I want to delete absence quota info type (2006) but iam unable to delete that ..
I deleted absence infotype (2001)
Planned working time
I changed absence infotype (2006)
I changed Time constraint from Z to 2 still i couldnt able to delete absence infotype (2006)
It is throwing an error message "Record already deducted (deletion not possible)"...
2. How many times i can execute RPTQTA00 Program?
Suppose I created absence quotas Casual Leave 15 days
if i generate twice it is showing 20 days underneath another 20 days
what would be the reason for that?
3. 2001 infotype is completly blocked I cant enter absence hours in that screen itself locked what would be the reason for that
plz answer immediatlyEntries made manually...
when i configured absence quotas automatically it has shown in absence infotype > 13 casual leaves but i configured 20 it has shown 13 I generated RPTQTA00 it has shown in green colour (13 casual leaves)..
I deleted that absence quota in 2006 infotype which is showing 13 and i entered 20 in place of 13 now when i generate rptqta00 it is showing 13 plus 20 that is 33..
i tested for another employee i updated 20 casual leaves when i ran that program it is showing 20 casual leaves in white colour and 13 leaves which is updated automatically in 2006 before even after deleting that 13eit is showing in green colour
how can i delete green colour data that is showing 13 casual leaves
Now i generated RPTQTA00
what can i do now? Please let me know..
Iam unable to delete absence quotas too? still that error not resolved....
Below are the steps that i followed...
Please check my procedure correctly...
1st Step
I updated 20 casual leaves in absence quotas
2nd step
I entered number of deduction days
3 step
Generated RPTQTA00
Maybe you are looking for
-
Printer :- HP Deskjet 3050A is not copying and printing properly
Hi , Could some body help me, i am tring to pring or copy my document but printer give me only paper with black and white lines or color lines. see in attached image . please advise me what should i do to fix this. thanks regards sumit
-
Organizing emails with a POP server
-
Bapi / Function to save FI document
Hallo everybody! Is there a function module to create an FI document? Thank you very much indeed!!!
-
Why does my genius update every time i sync
Every time i connect my iphone to itunes and sync it, at the end of the sync process on step 6 of 6 it says "syncing genius data copying 266 items to iphone" This is not really an issue, except if when it finishes the sync, and i click the sync butto
-
Im trying to download itunes it says i need quicktime that keeps coming up with error saying to go to c;/windows/installer/quicktime.msi what does this mean