URL in lieu PH consumed within 3 months from the date of PH
Hi friends
I achieved Unrecorded leave in lieu of PH,through writing PCR but i am having another doubt..This URL in lieu of PH has to be consumed within 3 months from the date of public holiday,how to achieve this??any suggestions from u friends???
Thanks&best regds
Shaila
I have asked a moderator to provide assistance, they will post an invite on this thread.
They are the only BT employees on this forum, and are a UK based team of people, who take personal ownership of your problem.
Once you get a reply, make sure that you are logged into the forum, then click on their name, you will see a screen like this. Click on the link as shown below.
Please do not send them a personal message, as they cannot deal with service issues that way.
For your own security, do not post any personal details, on this forum. That includes any tracking number you are give.
They will respond either by phone or e-mail, when its your turn in the queue.
Please use the tracked e-mail, to reply, not via the forum. Thanks
This is the form you should see when you click on the link. If you do not see this form, then you have selected the wrong link.
When you submit the form, you will receive an enquiry number, so please keep a note of it
There are some useful help pages here, for BT Broadband customers only, on my personal website.
BT Broadband customers - help with broadband, WiFi, networking, e-mail and phones.
Similar Messages
-
How to - get first DAY of the month from the date ?
Hi
pls helphi,
data : DAYNR LIKE HRVSCHED-DAYNR,
DAYTXT LIKE HRVSCHED-DAYTXT.
data langu like sy-langu value 'EN'.
Parameters PDATE LIKE SY-DATUM.
PDATE+6(02) = '01'.
CALL FUNCTION 'RH_GET_DATE_DAYNAME'
EXPORTING
LANGU = LANGU
DATE = PDATE
CALID =
IMPORTING
DAYNR = DAYNR
DAYTXT = DAYTXT
DAYFREE =
EXCEPTIONS
NO_LANGU = 1
NO_DATE = 2
NO_DAYTXT_FOR_LANGU = 3
INVALID_DATE = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
WRITE :/ PDATE, DAYNR, DAYTXT.
(OR)
Try..
DATA:DAYNR LIKE HRVSCHED-DAYNR,
DAYTXT LIKE HRVSCHED-DAYTXT,
DAYFREE LIKE HRVSCHED-NODAY.
DATA:LANGU LIKE SY-LANGU ,
DATE LIKE SY-DATUM,
CALID LIKE P1027-CALID VALUE 'US'.
date = sy-datum.
date+6(2) = 01. "----->to get the first day .
*first day of the month
write:/ 'First date of the month', date.
*Day name
CALL FUNCTION 'RH_GET_DATE_DAYNAME'
EXPORTING
langu = SY-LANGU
date = DATE
CALID = CALID
IMPORTING
DAYNR = DAYNR
DAYTXT = DAYTXT
DAYFREE = DAYFREE
EXCEPTIONS
NO_LANGU = 1
NO_DATE = 2
NO_DAYTXT_FOR_LANGU = 3
INVALID_DATE = 4
OTHERS = 5
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
WRITE:/ DAYTXT.
Don't forget to reward if useful.... -
Gathering data from entire month, from a date within that month
hello, i have the following code
select 'Shipped Amount' Descrip,(SELECT ROUND(sum(line_item_amount),2) from v_bi_invoiced_sales
where client='PROD' and mat_type='CAST'
and to_char(trunc(invoice_date),'YYYYMM')= TO_CHAR(TO_DATE(:P1_FROM_DATE,'MM/DD/YY'),'YYYYMM')) as Monthly,
(SELECT sum(line_item_amount) from v_bi_invoiced_sales
where client='PROD' and mat_type='CAST'
and to_char(trunc(invoice_date),'YYYY')= TO_CHAR(TO_DATE(:P1_FROM_DATE,'MM/DD/YY'),'YYYY')) as Yearly
from dualI have a different report that has only one date field, and i want to find whatever total montly shipping from whatever date is entered. Example: today is march 26th, and if this is entered, i want to find all this shipping from march 1st, 2010 through date. Another example: if Jan 6th, 2010 is entered, i want the entire month of Jan2010 shipping in the monthly shipping field displayed.
thanks
Coreyselect sum(nvl(total_invoice_amt,0)) from a_invoice_header
where client ='PROD'
and invoice_date between :p1_date('01-'||to_char(:p1_date,'MON-RR'),'DD-MON-RR') and last_day(:p1_date)and BILLING_DOC_TYPE ='IN'my ":p1_date" is a date displayed from the date picker (use application format mask) and its source is:
SELECT TRUNC(SYSDATE) FROM DUALso it is basically the system date, i change everything to :p1_date and am still getting:
ORA-01403: no data found
Error ERR-1020 Error in PLSQL item processing (function).
OK
corey -
Hi,
i have a dimension table with month_key having values (201201,201202,201203.......202011,202012) and month name ( Jan 12, feb 12,......NOV 20, Dec 20) and a fact table with columns (month_key ,measure_types, Amount)
My requirement is to create a power pivot report in which when a user select a month from the filter, the report should display the (selected month+18 ) month's data against each type . when JAN 12 is selected ,the jan 2012 +18 = june 2013
, month name should be populated with months till june 2013 only .
i tried creating calculated column"END DATE " in the fact table with dax expression to calculate the 18th monh from the current month as below
month_key END DATE
201201 201306
201202 201307
and thought of filtering the table with month key <= ENDDATE but it is not working as expected. could you please guide me on this ? Is there any time intelligence function that serve the purpose . Iam using excel 2010
..hence could not do any calculation on the report side also. please suggest .
Thanks in advanceDo you need to show the measure calculated for those 18 months as a total on 1 row, or do you need to select a single month and then display on row filters 18 distinct rows?
The first is trivial as driezl has suggested.
The second will require a second calendar table.
I created this example workbook for a coworker who had a similar problem. You will have to use the disconnected table as your filter and pull your related table onto the rows.
Finally, the easiest way to deal with the sort of date arithmetic you need to do is to restructure your date table to have a series of "Sequential" fields. These fields should be the number of units of time since the beginning of your calendar.
For example, consider a calendar starting on January 1, 2010. For January - December 2010, [MonthSequential] = 1, 2, ..., 12. For January - December 2011, [MonthSequential] = 13, 14, ..., 24, and so on, incrementing by 1 for each sequential month in time.
Assuming you have this set up in your date tables (one related to your model - DimDate - and one disconnected - DisconDimDate) your measure would look like this:
18 Month Measure:=
CALCULATE( [Measure]
, FILTER( DimDate
, DimDate[MonthSequential] >= MAX( DisconDimDate[MonthSequential] )
&& DimDate[MonthSequential] <= MAX( DisconDimDate[MonthSequential] ) + 18
Please review this example along with the workbook I have linked above. -
Get the month from a date column with the calculated column
I am trying to get the month from a date field with the help of calculated column. However I get this syntax error whenever I want to submit the formula:
Error
The formula contains a syntax error or is not supported.
the default language of our site is German and [datum, von] is a date field.Hi,
I have created two columns
Current MM-YY
Calculated (calculation based on other columns)
Today
Date and Time
Current MM-YY is calculated value with formula as
=TEXT(Today,"mmmm")
But the output shows as December instead of May.
I have tried =TEXT([Datum, von];"mmmm") but no help.
I am trying to populated the column automatically with current month..ex: if its May the field should show May, next month it should show June an so on.
Any kind help is grateful.
Regards,
Pradeep -
Calculations for 6 months from todays date
Need to calculate the total of all the months starting from today's date for the next 6 months from the current date.
For ex
Month Total
01.07.2008 10
01.08.2008 20
01.09.2008 50
01.10.2008 72
01.11.2008 85
01.12.2008 15
Please advice how to work on this.
Can we use ranges?
Thanks in advance.Hi dolly,
Ref this code.....
TYPE-POOLS :
slis.
TABLES :
pernr.
INFOTYPES :
0000,
0001,
0002.
TYPES :
BEGIN OF t_final,
srlno TYPE i, "Serial No
pernr TYPE p0000-pernr, "Employee No
vorna TYPE p0002-vorna, "First Name
nachn TYPE p0002-nachn, "Last Name
btrtl TYPE p0001-btrtl, "PERSONAL SUB AREA / SEGMENT
btext TYPE t001p-btext, " SEGMENT DESC
begda TYPE p0000-begda, " JOINING DATE
pdate TYPE p0000-begda, " Probation period date.
END OF t_final,
BEGIN OF t_t001p,
btrtl TYPE t001p-btrtl,
btext TYPE t001p-btext,
END OF t_t001p.
DATA :
v_year(4) TYPE n,
v_year1 TYPE i,
count TYPE i,
v_mont(2) TYPE n,
v_dt(2) TYPE n,
v_date(8),
it_final TYPE STANDARD TABLE OF t_final,
it_temp TYPE STANDARD TABLE OF t_final,
it_t001p TYPE STANDARD TABLE OF t_t001p,
wa_t001p TYPE t_t001p,
wa_temp TYPE t_final,
wa_final TYPE t_final.
ALV Grid Declarations *
DATA : it_fieldcat TYPE slis_t_fieldcat_alv,
wa_fieldcat LIKE LINE OF it_fieldcat,
wa_layout TYPE slis_layout_alv,
it_sortcat TYPE slis_t_sortinfo_alv,
wa_sortcat LIKE LINE OF it_sortcat.
START-OF-SELECTION.
PERFORM fill_itabs.
GET pernr.
rp-provide-from-frst p0000 space '18000101' '99991231'.
IF pnp-sw-found = 1.
IF p0000-stat2 = 3. " Checking for status.
MOVE :
p0000-begda TO wa_temp-begda,
p0000-pernr TO wa_temp-pernr.
rp-provide-from-last p0001 space pnpbegda pnpendda.
IF pnp-sw-found = 1.
MOVE :
p0001-btrtl TO wa_temp-btrtl.
CLEAR : wa_t001p.
READ TABLE it_t001p INTO wa_t001p WITH KEY btrtl = wa_temp-btrtl.
IF sy-subrc = 0.
MOVE : wa_t001p-btext TO wa_temp-btext.
ENDIF.
ENDIF.
rp-provide-from-last p0001 space pnpbegda pnpendda.
IF pnp-sw-found = 1.
MOVE :
p0002-vorna TO wa_temp-vorna,
p0002-nachn TO wa_temp-nachn.
ENDIF.
APPEND wa_temp TO it_temp.
CLEAR : wa_temp.
ENDIF. "if p0000-stat2 = 3.
ENDIF. "if pn-sw-found = 1.
END-OF-SELECTION.
PERFORM process_data.
PERFORM build_catalog.
PERFORM display_data.
*& Form PROCESS_DATA
text
--> p1 text
<-- p2 text
FORM process_data .
LOOP AT it_temp INTO wa_temp.
IF wa_temp-begda+4(2) > 6.
v_year = wa_temp-begda(4) + 1.
v_mont = wa_temp-begda+4(2) + 6.
v_dt = wa_temp-begda+6(2).
IF WA_TEMP-BEGDA+4(2) = '08'.
IF wa_temp-begda+6(2) = '29' OR
wa_temp-begda+6(2) = '30' OR
wa_temp-begda+6(2) = '31'.
v_dt = '28'.
ENDIF.
ENDIF.
IF v_mont > 12.
v_mont = v_mont - 12.
CONCATENATE v_year v_mont v_dt INTO v_date.
MOVE : v_date TO wa_temp-pdate.
ENDIF.
ELSE.
v_mont = wa_temp-begda+4(2) + 6.
CONCATENATE wa_temp-begda(4) v_mont wa_temp-begda6(2) INTO v_date.
wa_temp-pdate = v_date.
ENDIF.
MODIFY it_temp FROM wa_temp .
CLEAR : v_date, v_year, v_mont.
ENDLOOP.
LOOP AT it_temp INTO wa_temp WHERE pdate BETWEEN pnpbegda AND pnpendda.
MOVE : wa_temp-pernr TO wa_final-pernr,
wa_temp-vorna TO wa_final-vorna,
wa_temp-nachn TO wa_final-nachn,
wa_temp-begda TO wa_final-begda,
wa_temp-btrtl TO wa_final-btrtl,
wa_temp-btext TO wa_final-btext.
CASE wa_temp-pdate+4(2).
WHEN '04' OR '06' OR '09' OR '11'.
IF wa_temp-pdate+6(2) > '30'.
CONCATENATE wa_temp-pdate(4) wa_temp-pdate4(2) '30' INTO v_date.
MOVE : v_date TO wa_final-pdate.
ELSE.
MOVE wa_temp-pdate TO wa_final-pdate.
ENDIF.
WHEN '02'.
v_year1 = wa_temp-pdate+(4) MOD 4.
IF v_year1 = 0 AND wa_temp-pdate+6(2) > '29'.
CONCATENATE wa_temp-pdate(4) wa_temp-pdate4(2) '29' INTO v_date.
MOVE : v_date TO wa_final-pdate.
ELSEIF v_year1 NE 0 AND wa_temp-pdate+6(2) > '28'.
CONCATENATE wa_temp-pdate(4) wa_temp-pdate4(2) '28' INTO v_date.
MOVE : v_date TO wa_final-pdate.
ELSE.
MOVE wa_temp-pdate TO wa_final-pdate.
ENDIF.
WHEN OTHERS.
MOVE wa_temp-pdate TO wa_final-pdate.
ENDCASE.
count = count + 1.
MOVE : count TO wa_final-srlno.
APPEND wa_final TO it_final.
CLEAR : wa_final, v_year1 , v_date.
ENDLOOP.
ENDFORM. " PROCESS_DATA
*& Form BUILD_CATALOG
FORM build_catalog .
DEFINE m_fieldcat.
add 1 to wa_fieldcat-col_pos.
wa_fieldcat-fieldname = &1.
wa_fieldcat-tabname = 'IT_FINAL'.
wa_fieldcat-seltext_m = &2.
wa_fieldcat-outputlen = &3.
append wa_fieldcat to it_fieldcat.
END-OF-DEFINITION.
m_fieldcat 'SRLNO' 'S No' '8' .
m_fieldcat 'PERNR' 'Employee No' '15'.
m_fieldcat 'VORNA' 'First Name' '15' .
m_fieldcat 'NACHN' 'Last Name' '15' .
m_fieldcat 'BTRTL' 'Segment' '15' .
m_fieldcat 'BTEXT' 'Segment Desc' '15' .
m_fieldcat 'BEGDA' 'Date of Joining' '15'.
m_fieldcat 'PDATE' 'Probation End Date' '15' .
ENDFORM. " BUILD_CATALOG
*& Form DISPLAY_DATA
FORM display_data .
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
is_layout = ls_layout
it_fieldcat = it_fieldcat
it_sort = it_sortcat
TABLES
t_outtab = it_final.
ENDFORM. " DISPLAY_DATA
*& Form FILL_ITABS
FORM fill_itabs .
SELECT btrtl
btext
FROM t001p
INTO TABLE it_t001p.
ENDFORM. " FILL_ITABS -
I am attempting to have cells use data from a selective month from the year before so that I can show actual from the prio. year each month. I need to create a spreedsheet using the the Acutlas from the year-to-date and from last year-to-date, but need to report each month.
Hi Tony,
Answering your question would be easier given a screen shot of the source table and one of what you want the summary table to look like.
Is the data you want for each month in a single cell o the source table, or does the summary table need to collect February's data (for example) from several cells and do some math with those numbers before presenting them on the summary table?
Regards,
Barry -
How to get previous 2 months from current date in a dropdown?
Hello Experts ,
In the application which I am developing, there is a requirement wherein , I want to Populate current month and previous two month in a drop down depending upon today's date. please help.
Thanks & Regards,
Pratbha ShuklaThe internal format for dates is yyyymmdd. Therefore you can just grab the month value from the date:
data lv_month type FCMNR.
lv_month = lv_date+4(2).
Just subtract from the month to get the two previous.
data lv_previous1 type FCMNR.
data lv_previous2 type FCMNR.
if lv_month = 1.
lv_previous1 = '12'.
else.
lv_previous1 - lv_month - 1.
endif.
if lv_previous1 = 1.
lv_previous2 = '12'.
else.
lv_previous2 - lv_previous1 - 1.
endif.
Then do your lookup for the month name by reading the table returned from function module MONTH_NAMES_GET. -
Why I can only download 20 photos for last month from the photostream while I have more than 3GB photos kept in iCloud? My iPhone was stolen and the photos in it are very precious to me. Many thanks.
On a new device you can only download what is currently stored in "My Photo Stream" in iCloud. iCloud keeps up to the last 1000 photos, but only the photos, that have been added during the last month. Older photos may be removed, when the time is up. On other devices you may be seeing older photos as well in "My Photo Stream", that will depend on the available storage on those devices, and when the Photo Stream has been enabled on those devices, see: My Photo Stream FAQ - Apple Support
If you are seeing other photos in the Photo Stream on other devices, that you want to save, mail them to you from the other devices.
Have you tried to restore your iPhone from the last iCloud backup of the old phone? The backup will contain the photos in the Camera Roll, but not the photos in Photo Stream. iOS: Back up and restore your iOS device with iCloud or iTunes -
How to get name of the month from current date.
Hi,
How to get the name of the month from current date.
Thanks,
SenthilSethil,
Use your date(let us say Date1) instead of sy-datum.
CALL FUNCTION 'MONTH_NAMES_GET'
EXPORTING
LANGUAGE = SY-LANGU
IMPORTING
RETURN_CODE =
TABLES
MONTH_NAMES = itab_month
EXCEPTIONS
MONTH_NAMES_NOT_FOUND = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE itab_month
WITH KEY MNR = date1+4(2).
itab_month-LTX will contain the value you are looking for
Good luck
Raghava -
Defaulting date 3 months from present date
HI!
In my selection screen in my report I need to default a
selection option to a future date which is 3 months from the
present date. Can anyone tell me whats the way to do this so
that I can add 3 montsh from the present date and default it in my selection screen.
example : if we consider todays date then we need to
default that date to 9th of september 2008 so it keeps of
changing everyday as dates proceed.
ThanksCheck the below program :
REPORT ZTEST78 .
data v_fdate type d.
CALL FUNCTION 'HR_PSD_DATES_ADD_MONTHS'
EXPORTING
V_DATE = sy-datum
V_MONTHS = 3
IMPORTING
E_DATE = v_fdate
EXCEPTIONS
NOT_POSITIVE = 1
OTHERS = 2
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
write:/ v_fdate.
do not add 90 days ,some months may have 31 or 29 or 28,you will not get exact calculation,so use FM 'HR_PSD_DATES_ADD_MONTHS'
Thanks
Seshu
Thanks
Seshu -
Extract the Month from the day with Query designer ...
Hi everybody,
Is there exist a method in Query designer to extract the CalMonth (Date Month) from the CalDay ?
Thanks!
Rodolphe.take reference from this step by step doc:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25d98cf6-0d01-0010-0e9b-edcd4597335a -
Function module for adding number of months to the date
Hi,
Is there any function module to get the date by adding number of months...
Regards,
YadagiriNormally all SAP FM will return that value. As 1 month in general means 30 days only.
You can check the code in this link for logig of 31 -
add month in the date to find next date
Regards,
Amit -
Can't change the month in the Date & Time preference pane
I can't change the month in the Date & Time preferences pane. I deselected "Set Date and Time Automatically" but that didn's solve the problem. I would like to trash the preference (plist) for Date and Time but I can't seem to find it. What is it called?
In the International Formats, the date format is as I have it set, (YYYY.MM.DD) But the MM is neither blue, nor accessible for change. The year can be changed (YYYY or YY), along with several options for the day, but I can't change the month to a different format unless I change the calendar from Gregorian, or if I change from the short date to med, long or full. Although, even then, iCal and Date and Time only show the month as 1, regardless of what it should be, and without any capacity for changing it.
Thanks -
Subtracting months from current date
how to subtract months from current date in mysql
You are in an Oracle forum, so the Oracle answer is: use add_months(sysdate,-2) to subtract two months from the current date.
Regards,
Rob.
Maybe you are looking for
-
C# Script to open and read an Excel spreadsheet with multiple worksheets
Can someone provide me the C# syntax and Edit Script to open an Excel spreadsheet with multiple worksheets and then using the data to create and output a .csv file? The multiple worksheets contain different data elements that I'll need to parse out a
-
BPM 11.1.1.5 Dynamic assignment of task to user
Hi, I'm working with BPM 11.1.1.5 (without feature pack). I have a requirement to assign a task to a user dynamically, based on data that I pull from a DB query. If the task expires, I will assign it to another user once again based on a DB query. I
-
Clients no longer able to connect
Recently it appears most of our clients no longer are able to connect to our wireless network. I am assuming something changed for a certificate but not sure. The following is an attempt for a machine to connect. It does it's three tries then gives u
-
hi sap experts i have a query regarding infotypes .. which infotype displays EEO Exmpt indicator and EEO reporting unit indicator and job classification ..please let me know .. thanks in advance,,..
-
Hey Ya'll, I have recently purchased the FCP2 and loving it (having been a fan for a few years now)....except for this thing called (slow-effing) Motion 3. This program works so slow, it's almost impossible to watch. (I can seriously leave and go app