LOP Scenario and working days
Dear Gurus,
Requirement is
Incase of LOP , actual working days to be taken into account for
calculating
For example
if Basic salary is 4800 for the month of June-2010
then work days is 26
and if he/she has one day LOP
then it has to be calculated as below
4800/26=184.61
so 4800-184.61=4616/-
But SAP now calculating as below
4800/30=160
so 4800-160=4640/-
Kindly do the needful
i am very new to PCR and changes explain me how to do it step by step pls
with regards
Partha
Hi
i have changed the processing class somewhat it is working
But perday wage becomes 185 correctly and it calculates for the whole month
185*30=5568 without affecting LOP
where i am missing
with regards
partha
Similar Messages
-
Unpaid and Working Days salary in Payslip
Dear Experts,
Good Afternnon to all.
Kindly guide me to show Unpaid and Working Days salary in Payslip.
How can i do this.
Plse share your valuable experience.
Regards,
SharmaHi
Go to PE51
Then select single node and at the space you want create as below
For Total Days
For Unpaid Absence
And for Working days
Final View Example
Regards,
Srikrishna -
Work Day Calendar - Manufacturing and Shipping have different requi
Hi -
We have a business requirement to open up some Saturdays for order entry and shipping. However, we will not be manufacturing on those Saturdays and do not want MRP to plan receiving or manufacturing on those days. Any workarounds to handle this scenario when shipping and manufacturing use same work day calendar with different schedules?
Thanks in Advance,
RichHello Rich,
Please navigate to following path,
MRP>>Planning Parameters>>Repetitive planning parameters >>Use,
If it Uses "Calendar dates" then there will no problem for the exception that you create in work day calendar.
But if it used "Work dates" then MRP will consider the exception applied to work day calender.
The explanations are as below
• Work dates: Calculate the repetitive planning periods using workdays. This
allows the periods to shift out due to holidays. If a start date falls on a holiday,
the start date is changed to the next valid working day. Each repetitive
planning period consists only of valid working days.
• Calendar dates: Calculate the repetitive planning periods using calendar days.
This allows you to fix the length of the periods regardless of the timing of
holidays (non-workdays). A repetitive planning period can start on a holiday
and include holidays.
You can find more on this in Bill of material user guide
Thanks,
Kaustubha -
Working days between two date fields and Changing Factory Calendar
Hi,
I have to calculate working days between two date fields excluding the weekends and public holidays for Switzerland.
I have written the routine using factory calender and its working fine except for two problems now:
1. If any one of the date field is empty then teh rsult should be zero.
2. And the below code is working from 1996 but my cleints wants it to work for years before 1996 as well.
I also tried to change the Start date in SCAL for factory calendar but it says enter values between 1995 to 2020.
I am new to ABAP. Please help me how i can achieve these for below code.
DATA: IT_HOLIDAYS type TABLE OF ISCAL_DAY,
IS_HOLIDAYS TYPE ISCAL_DAY.
DATA: T_DATE TYPE SY-DATUM,
P_DATE TYPE SY-DATUM.
DATA : X_DATE(4) TYPE C.
DATA: CNT TYPE I.
REFRESH : IT_HOLIDAYS.
CLEAR : IT_HOLIDAYS.
T_DATE = SOURCE_FIELDS-/BIC/ZCCCHP812.
P_DATE = SOURCE_FIELDS-/BIC/ZCCCHP810.
CALL FUNCTION 'HOLIDAY_GET'
EXPORTING
HOLIDAY_CALENDAR = 'CH'
FACTORY_CALENDAR = 'CH'
DATE_FROM = P_DATE
DATE_TO = T_DATE
TABLES
HOLIDAYS = IT_HOLIDAYS
EXCEPTIONS
FACTORY_CALENDAR_NOT_FOUND = 1
HOLIDAY_CALENDAR_NOT_FOUND = 2
DATE_HAS_INVALID_FORMAT = 3
DATE_INCONSISTENCY = 4
OTHERS = 5.
DESCRIBE TABLE IT_HOLIDAYS LINES CNT.
X_DATE = T_DATE - P_DATE - CNT.
RESULT = X_DATE.
Please help
Regards
Zabina
Edited by: Syed786 on Nov 2, 2011 9:15 AMHi Zabina,
Try this function module 'DURATION_DETERMINE'.
Give the factory calendar and unit as DAY
With regards,
Rajesh -
My iPad mini retina display wifi 16 GB is showing blank white display and is like frozen. I can't shut it down or restart. It was working perfectly till 13/4/2015 night and next day morning it showing this problem.There is no physical damage to my iPad and is in perfect good condition. I updated the latest OS 8.3 version 3 days before this issue happened. I took it to the apple authorised service centre but to my shock they told the display and unit has to be replaced which will cost me Rs.15000/-. It's just been one year and 7 days only since i bought my iPad,i.e, just 7 days out of warranty period only.I don't find any fault with the hardware neither no physical damage is there. Need help to sort out this issue.
My iPad mini retina display wifi 16 GB is showing blank white display and is like frozen. I can't shut it down or restart. It was working perfectly till 13/4/2015 night and next day morning it showing this problem.There is no physical damage to my iPad and is in perfect good condition. I updated the latest OS 8.3 version 3 days before this issue happened. I took it to the apple authorised service centre but to my shock they told the display and unit has to be replaced which will cost me Rs.15000/-. It's just been one year and 7 days only since i bought my iPad,i.e, just 7 days out of warranty period only.I don't find any fault with the hardware neither no physical damage is there. Need help to sort out this issue.
-
Working days formula and Crystal 7 - is it possible?
Post Author: Tim F
CA Forum: Formula
Hi folks,
Really hope someone can help, I'm struggling with writing a report that needs to show the difference between two dates in working days. I've found the same formula posted here several times but cannot get it to return a logical value in my report. I'm wondering if that might be because I'm using an older version of Crystal? The formula in question is this one:
//Main formulaWhileReadingRecords;Local DateVar Start := ({PPV_COMPLAINTSEH.DTRECD}); Local DateVar End := ({PPV_COMPLAINTSEH.ACTCMPLTD}); Local NumberVar Weeks; Local NumberVar Days; Local Numbervar Hol;DateVar Array Holidays;
Weeks:= (Truncate (End - dayofWeek(End) + 1 - (Start - dayofWeek(Start) + 1)) /7 ) * 5;Days := DayOfWeek(End) - DayOfWeek(Start) + 1 + (if DayOfWeek(Start) = 1 then -1 else 0) + (if DayOfWeek(End) = 7 then -1 else 0);
Local NumberVar i;For i := 1 to Count (Holidays)do (if DayOfWeek ( Holidays[i] ) in 2 to 6 and Holidays[i] in start to end then Hol:=Hol+1 );
Has anyone come across an alternative way of doing this, or have any ideas why this formula is not working in my report? Any advice would be much appreciated,
Regards,
TimPost Author: Charliy
CA Forum: Formula
You set up a Running Total. Drag the filed you want Summed, Select Sum as the operation if that is not the default.
Just below that you weill see Radio Buttons that say For Every Record, On Change of Group, On Change of Field, Use a Formula, etc - click the one that says Use a Formula. The Blue Bos to its right will turn Red, click on it, this is where you put your formula: NOT(DATEPART('w',{table.date}) IN [6,7])
Save that, then just decide if you want it reset on a Change of Group, or Never (Grand Total). Give it a name and put it on your report. -
Need working days for a particular month and year
Hi,
I need the number of working days for a particular month and year.Saturdays and Sundays are holidays.
Regards,
VigneshTry this:
SQL> var yr NUMBER;
SQL> exec :yr := 2010;
PL/SQL procedure successfully completed.
SQL> with t as (select :yr yr from dual)
2 SELECT TO_CHAR(dat,'MON-RR'),COUNT(*) FROM
3 (select TO_DATE('01-JAN-'||yr) + lv dat FROM
4 (select level - 1 lv,yr from t
5 connect by level <= TO_DATE('31-DEC-'||yr) - TO_DATE('01-JAN-'||yr) + 1))
6 WHERE TO_CHAR(Dat,'DY') NOT IN ('SAT','SUN')
7 GROUP BY TO_CHAR(dat,'MON-RR');
TO_CHAR(DAT, COUNT(*)
APR-10 22
AUG-10 22
DEC-10 23
FEB-10 20
JAN-10 21
JUL-10 22
JUN-10 22
MAR-10 23
MAY-10 21
NOV-10 22
OCT-10 21
TO_CHAR(DAT, COUNT(*)
SEP-10 22
12 rows selected.
SQL> Edited by: AP on Jul 27, 2010 7:54 AM -
Bluetooth shuttted down after I updated to Mavericks, please help me !
I am 70 Years old and worked very happy with my iMac (21,5“ mid 2010, 3,2 GHz Intel Core 3)
until I updated him from SnowLeopard 10.6.8 to Mavericks 10.9.2.
2 Days all was OK. Next Morning-Start he needs (until now) 3 minutes to show me a SCREEN only milky white. After that he starts like ever with all ICONS in about 1 minute. (together 4 min.)
..But I must notice, that I cannot make anything, because the „BLUETOOTH APPLE WIRELESS KEYBOARD and the APPLE MAGIC MOUSE“ doesn't work anything like before.
I could nothing do, I must drop my APPLE only out.
That I maked ever 10x and all was the same... (Maveriks also 4x new updated)
I taked my Logitech-Bluetooth-Mouse from the WIN-Laptop, dropped it in USB from iMAC...and in one second I could work only with this MOUSE...I buyd the Logitech COMBO K520 and all was OK now with my lovely APPLE iMAC to work with him...But without APPLE KEYBOARD and MAGIC MOUSE...and with a 4 min. -START until now.
I asked the EXPERTS from APPLE-SUPPORT under Tel. 0800-6645451 in Germany, became a Number, maked many Things by starting new, but the mistake after all is the same like before.
When I look into ...Apple/ Info/System/ Hardware/ Bluetooth ..my APPLE says: NO INFOs FOUND (Es wurden keine Informationen gefunden.)
Under Hardware/ Diagnose : Selbsttest beim Einschalten: zuletzt ausgeführt: 15.05. 14, Ergebnis: Bestanden (that means OK) !!
I asked many Peaple, who sold APPLE-Computers in the STORS, but they all had no IDEA, how they can help.
I think, it could be a DRIVER when Starting the BIOS, JAVA RUNTIME a.s.o...
Is an Expert under YOU to help me by my Problem with this iMAC ?dietmarfromdeu,
if you start up your iMac in Safe mode, do you still have Bluetooth problems with your Apple wireless keyboard and Magic Mouse? -
I got my screen fixed and the day i got my ipod touch 4th gen back the wifi doesnt work unless i hold it right up to my router. Roughly every foot I move back it loses a bar and if i leave the room it doesn't even have a signal completely. Could the screen replacement have tampered with the wifi capability? Also if it helps I switched internet providers and during the time when my ipod was being fixed a new router was installed and it doesnt seem to work unless directly infront of my ipod.
Take it back to where you had the screen replaced. They messed up the connection to the wifi antenna
Installing iPod Touch 4th Generation Wi-Fi Antenna - iFixit -
Delivery Date should propose only working days (Excluding weekends and holidays
Hello All
I have one requirement here, where delivery dates should propose only working days and it should not allow to add weekends and holidays during the creation of sales order.
I would like to know if there are any standard settings to be done in plant or shiping point?
Kindly need all your input on this
Thanks
NaveenHello All
Same calendar has already been assigned in shipping point,plant and sales org and also in the calendar holidays been maintained, even though when we create a sales order it will accept weekends and holidays
Thanks -
To see the number of working days and leave of an employee for year
HI SAP GURUS,
I want to see the the number of working days and leave of all employees of the organisation for a year. Please tell me is there any report or any transaction code in sap to see the working days and leave for all employees.
Thanks & Regards
SurupaHi,
call transaction PT64.
Best Regards
Bernd -
Add working days to a date excluding weekends and holidays
Hi there,
I need to write a function that will take a specified date and number of days to add as input parameters, and return the working day based on the number of days to add parameter, excluding weekends and any holidays held in a holiday table.
Here is my function so far -
CREATE OR REPLACE FUNCTION f_add_work_days(pd_date IN DATE
,pn_add_days IN PLS_INTEGER) RETURN DATE IS
pd_in_date DATE := pd_date;
ld_next_holiday DATE;
ln_days_left PLS_INTEGER := pn_add_days;
CURSOR cu_holiday(pn_date IN ge740.holdte%TYPE) IS
SELECT pck_utility.f_dtcnv(g.holdte)
FROM ge740 g
WHERE g.holdte >= pn_date
AND g.maint <> 'D'
ORDER BY g.holdte ASC;
BEGIN
OPEN cu_holiday(pck_utility.f_dtcnv(pd_in_date));
FETCH cu_holiday
INTO ld_next_holiday;
CLOSE cu_holiday;
LOOP
IF ln_days_left = 0 THEN
EXIT;
END IF;
pd_in_date := pd_in_date + 1;
IF pd_in_date > ld_next_holiday THEN
OPEN cu_holiday(pck_utility.f_dtcnv(pd_in_date));
FETCH cu_holiday
INTO ld_next_holiday;
CLOSE cu_holiday;
END IF;
CASE
WHEN TO_CHAR(pd_in_date
,'fmDAY') = 'SATURDAY' THEN
pd_in_date := pd_in_date + 2;
ln_days_left := ln_days_left - 1;
WHEN TO_CHAR(pd_in_date
,'fmDAY') = 'SUNDAY' THEN
pd_in_date := pd_in_date + 1;
ln_days_left := ln_days_left - 1;
WHEN pd_in_date = ld_next_holiday THEN
pd_in_date := pd_in_date + 1;
ln_days_left := ln_days_left - 1;
ELSE
ln_days_left := ln_days_left - 1;
END CASE;
END LOOP;
RETURN(pd_in_date);
END f_add_work_days;
I think there is something wrong/missing in the logic as I can't get it to cater for say a double bank holiday(25/26th Dec - if the input parameters are 24/12/2007 and 2, which should return the 28th but returns the 26th!!).
I'm relatively new to PL/SQL and Oracle, so any help, advice, ideas would be greatly appreciated!
thanks in advancesmth like
SQL> with holidays as (select to_date('10.06.2007','dd.mm.yyyy') h_dt from dual),
2 par as (select to_date('08.06.2007','dd.mm.yyyy') dt, 2 add_days from dual)
3 --
4 select min(dt) needed_date
5 from (select p.*,
6 h.*,
7 mod(to_char(dt, 'j'), 7),
8 sum(decode(mod(to_char(dt, 'j'), 7), 5, 0, 6, 0, 1)+--get rid of sat and sun
9 nvl2(h_dt, -1, 0)--check if the day is holiday
10 ) over(order by dt) s
11 from (select dt + level dt, add_days
12 from par
13 connect by level <= 100) p,
14 holidays h
15 where h_dt(+) = dt
16 order by 1)
17 where add_days = s
18 /
NEEDED_DATE
13.06.2007
SQL> ?
Message was edited by:
Volder
PS What Oracle version are you on? -
My Time Capsule keeps saying "backup failed" due to the network password not being correct. I have not changed my password and every day I have to type the same one in and then it works. But then the same thing happens the next day. Can anyone help? This only started doing this about 2 weeks ago.
Hello,
Mac OS X 10.4 Help, I forgot a password in my Keychain
http://docs.info.apple.com/article.html?path=Mac/10.4/en/mh1960.html
Resetting your keychain in Mac OS X...
If Keychain First Aid finds an issue that it cannot repair, or if you do not know your keychain password, you may need to reset your keychain.
http://support.apple.com/kb/TS1544
Open Keychain Access in Utilities, use Keychain First Aid under the Menu item, then either check the Password under that item, change it, or delete it and start over. -
New few scenarios and advice to work in a project
Guys,
I got certified in XI in 2007 teched, but i never worked practically in any project.
Now i am willing to work in a XI project.
So for that I would like to know what kind of scenarios i have to do to get confidence and practicall knowledge on XI and get selected in Client interviews.
As i am certified i am confident about the theoritical knowledge.
i have already done FILE TO FILE scenario.
Planning to do IDOC-FILE.
Guys plz suggest me so that i can be part of XI project.
Suggest me how do i proceed ,what scenarios i have to take up ...:)
Good suggestions will be surely awarded..
Cheershi
as you are certified do practice on the following scenarios:
SAP XI INTRODUCTION
Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part I
Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part II
Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part III
http://www.erpgenie.com/sap/netweaver/xi/namingconventions.htm
http://www.erpgenie.com/sap/netweaver/xi/howto.htm
http://www.erpgenie.com/sap/netweaver/xi/tips.htm
http://www.erpgenie.com/sap/netweaver/xi/xiauthorizations.htm
https://www.sdn.sap.com/irj/sdn/wiki
Interfacing to XI from Webdynpro
Understanding message flow in XI
Ready Reference for XI Developers
Message Mapping
Message Mapping Simplified - Part I
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm
New functions in the Graphical Mapping Tool XI 3.0 SP13
File Content Conversion for Multi Hierarchical Structure
Message Splitting Using the Graphical Mapping Tool
Number formatting to handle LARGE Numbers
Optimizing Lookup's in XI
Minimize memory usage during Message Mapping when replicating an element
Mapping Context Changes in XI
/people/jeyakumar.muthu2/blog/2005/12/19/data-mining-using-apriori-algorithm-in-xi-150-part-ii
/people/jeyakumar.muthu2/blog/2005/11/23/data-mining-using-apriori-algorithm-in-xi-150-part-i
/people/jeyakumar.muthu2/blog/2005/12/30/data-mining-using-apriori-algorithm-in-xi-150-part-iii
Java Mapping to handle flat files in SAP XI
xpath functions in xslt mapping
"JAVA MAPPING", an alternate way of reading a CSV file
B2B Mapping Techniques Using the Graphical Mapping Tool
Duplicating Subtrees and Numbering Them Using the Graphical Mapping Tool
How to parse "XX/YY/ZZ;AA/BB/CC;11/22/33" in message mapping.
Introduction to queues in message mapping
Handling of Mixed Content Element in XI
The specified item was not found.
The specified item was not found.
ValueMapping using the Graphical Mapping Tool
Accessing Value Mapping defined in Directory using Java functions
Comparing Performance of Mapping Programs
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Runtime WorkBench Monitoring
XI CCMS Alert Monitoring : Overview and Features
The specified item was not found.
The specified item was not found.
http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm
The specified item was not found.
The specified item was not found.
The specified item was not found.
The specified item was not found.
XI : How to Re-Process failed XI Messages Automatically
BPM
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/integrationProcess%28ccBPM%29inXI&
Walkthrough with BPM
Reconciliation of Messages in BPM
RFC Scenario using BPM --Starter Kit
The specified item was not found.
Schedule Your BPM
Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
Sync/Async scenarios without BPM
Sync/Async communication in JMS adapter without BPM (SP19)
IDOCs (Multiple Types) Collection in BPM
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
File to File Scenario
Step by Step Guide: XML File 2 XML File Scenario: Part I
Step by Step Guide: XML File 2 XML File Scenario: Part II
Converting XML to PDF using XI
Introduction to simple(File-XI-File)scenario and complete walk through for starters(Part1)
Introduction to simple (File-XI-File)scenario and complete walk through for starters(Part2)
"JAVA MAPPING", an alternate way of reading a CSV file
Dynamic File Name using XI 3.0 SP12 Part - I
Dynamic file name(XSLT Mapping with Java Enhancement) using XI 3.0 SP12 Part -II
Push Data to MVC Architectured application using XI
How to send any data (even binary) through XI, without using the Integration Repository
XI in the role of a FTP
The specified item was not found.
The specified item was not found.
The specified item was not found.
The specified item was not found.
IDOC Scenario
Introduction to IDoc-XI-File scenario and complete walk through for starters.
Troubleshooting File-to-IDOC Scenario in XI.
Convert any flat file to any Idoc-Java Mapping
IDOCs (Multiple Types) Collection in BPM
Outbound Idoc's - Work around using "Party"?
Troubleshooting File-to-IDOC Scenario in XI.
RFC Scenario
Exposing BAPI as Web Services through SAP XI
RFC Scenario using BPM --Starter Kit
The specified item was not found.
The specified item was not found.
HTTP to RFC - A Starter Kit
regards
kummari
Edited by: kummari on Jul 2, 2008 10:52 AM -
Photostream is on, on my iphone4.
Icloud is installed and working. It is set to upload/download photos, everything else is off, as it has been for the last year.
I have 4.8 gigs of 5 gigs available to me in icloud.
6 days ago photostream stopped uploading pics. Since then I uninstalled and reinstalled icloud. It made no difference.
I have 1.6 gigs free on my phone.
Nothing changed it just stopped.DFU mode:
http://www.iclarified.com/entry/index.php?enid=1034
Maybe you are looking for
-
Kernel panic after 10.5.6 update
Hi all, A few hours after updating to Mac OS X 10.5.6 yesterday, I got a kernel panic (trace below). If I recall correctly, only Mail and Safari were open at the time. This is my 2nd kernel panic in the one month since own a new Macbook. What worries
-
Populating a PDF file with Database Field values - URGENT PLEASE REPLY
I have a requirement where in I hae PDF files as templates. The data for these templates is the database. Example : a.pdf Name : Database table : name varchar(20) What I want to do is read this PDF template and populate the Name with the value in the
-
Needed: Recommendation for lower-price color inkjet with postscript
I'd like to keep my total budget for an inkjet printer to under $750 if possible. What are my options, good folks? I am a graphic designer, so I need to be able to proof clean vectors and very good color reproduction. 13 x 19 output would be optimal.
-
Using gnu's gcc instead of solaris cc
To Anyone I would like to use gnu's development tools to compile the oracle demos since oracle's cc isn't installed and won't be installed anytime soon. How do i modify to demo_rdbms.mk to use the gnu tools? Archaned null
-
WARNING 20225 - PDF Port and Printer
I recently bought a new computer and installed Adobe Acrobat 7.0 on it. (Previously I had this software on my older computer where it worked just fine and sufficed for my needs.) When I installed this on my new computer, I got the following error me