TO FIND START DATE AND END DATE OF THE MONTH
HAI ALL,
I want to find the start of the date for the month and end of the date for the month, for given date.
Ex. if input is : 08-06-2007,
I want to get the first and last date for this month.
. Is there any FM .
thanks in advance,
senthil kumar
Hi,
Use the Function modue RE_LAST_DAY_OF_MONTH to get the last day
For first day..
DATA: V_DATE TYPE D.
V_DATE = SY-DATUM.
V_DATE+6(2) = '01'.
WRITE: / 'First day is ', v_date.
Thanks,
Naren
Similar Messages
-
How to know the process chain start time and end time
Hi Experts,
How to know the process chain start time and end time .
Thanks in advance
Regards
Gutti
Edited by: guttireddy on Feb 23, 2012 11:30 PMHi Reddy,
You may find the run time of a PC using below steps.
1. Call SE38 > /SSA/BWT > Execute > Enter your PC , choose the date and time > Execute. Here Run-time of a PC is displayed. (or)
2. Call RSPC1 > Enter your PC > Execute > Goto Log view > Right click on the start Variant > Displaying Messages > Note down the start time in Chain Tab. Now Right click on the last Process type of the PC > Displaying Messages > Note down the End time in Chain Tab. The Difference b/w start time and end time gives the Run-time of your PC.
Hope this helps.
Regards
Sai -
Hide the start time and end time in ESS portal
Experts,
We have a requirement to hide the Start time and End time on the header section of the travel request / expense sheet in the ESS portal. I have searched through the configuration and found several place to hide the start time and end time of segment yet these have no impact on the porta start and end time fields.
Please Advise.
Best Regards,
Martin WeakleyHi Martin,
you can achieve this with administrative personalisation. In portal content navigate to the role where you deltalinked your iView, click "preview". When a new Window for the preview is opened, notice the URL contains "&sap-config-mode=true". Now right click on the fields you want to hide and choose "enter configuration" (or the like, wording is not exact) from the context menue. The WD-UI-Element tree opens where you can directly hide/customize properties of the WD. When clicking save+exist you can also transport the alterations you did.
maybe this helps or gives you a helpful alternative to the already stated measures in this thread
regards, Lukas -
How to activate fields "Start Reason" and "End Reason" in "Contact" form?
Hello all,
We recently migrated HRMS from version 11.5.7 to *12.1.3*. In the previous version users filled the fields Start Reason and End Reason in the Contact form (PERWSDPC), section Contact Relationship.
In our 12.1.3 version these fields are read-only and I can not figure out how to activate them.
PS: I have populated the list of values that should be used in the above fields, using the form Life Event Reasons (Total Compensation: General Definitions: Additional Setup: Life Event Reasons) and setting the Type field value with Personal, but I don't know how activate the fields in Contact form.
Any suggestions?
Thanks
Paolo Bertinetto
Edited by: user3312880 on 7-gen-2013 2.11But in addition to entering values in *Life Event Reasons" form, there are other setup steps that have to be performed in order to use the two above fiields?
-
Hi All,
i'm having a requirement where i have to find the start date when the end date and duration are given.
The duration can be in years or months or weeks.
Is there any function module to calculate the start date, in which ever units the duration is given?
Thanks & Regards,
Anil.Hi,
<b>1) Number days known</b> : Start_date = end_date - days
DAYS = 7 * NO OF WEEKS
2) For others chcek this
Date Manipulation
RE_ADD_MONTH_TO_DATE
CALCULATE_DATE
ADD_TIME_TO_DATE
DATE_TO_DAY
CCM_GO_BACK_MONTHS
BKK_ADD_MONTH_TO_DATE
Give the difference in Days and Time for 2 dates
FIMA_DAYS_AND_MONTHS_AND_YEARS
Get number of days. Year, Months between two dates.
RH_GET_DATE_DAYNAME.
<b>for any Date realted FM</b>
http://72.14.207.104/search?q=cache:ZbQsSxuRZp4J:www.geocities.com/victorav15/sapr3/abapfun.htmlFunctionalModuleINABAP&hl=en&gl=in&ct=clnk&cd=1
click on date
<b>Mark Helpful Answers</b>
regards
Message was edited by: Manoj Gupta -
Difference between Start Routine and End Routine in Transformations
Hi Friends,
I'm using BI 7.0... here in Transformations step we have two options..that is START ROUTINE... and END ROUTINE... What is the Difference between Start Routine and End Routine in Transformations..
When we go for Start Routine.. and when we go for End Routine..
Plz clarrify... points will be rearded..
thanks
babuHi,
One real time scenario for End Routine.
We have a scenario where in a datasource field is mapped to three infoobjects on the datatarget side. There are 2 key figures which need to get data after these these Infoobjects are filled. The best place for this to happen would be in a End Routine, where in we would loop through the results package and using the values of the infoobjects from the data target ( Cube in this case).
Hope this helps,
HD -
ESS Working Time - Start Time and End Time in Weekly View
Hello,
I'm having a problem with the business package ESS - functionality Working Time (cat2).
I need that information to Start Time and End Time appear in the Weekly View of the portal.
In Daily View that information are already visible, but In Weekly View that information does not appear.
Does anyone have any suggestions?
Thank you very much your attention.
Att,
Jair de Oliveira JuniorHi Bala
You can have clock in and clock out in a weekly view.
you have to change the data entry profile settings.
In general settings tab in data entry profile click the with clock times button and maintain the Period type to 02 in time settings tab.
And you can view the weekly entry in clock in and clock out.
Ravee
+91.99206.33669 -
Call object was called with start date in the previous month
We have a single cycle maintenance plan for 30 days.
Shift Factor Late Compl. : 100%
Tolerance : 10%
Shift Factor Early Compl. : 100%
Tolerance : 10%
Cycle modification factor: 1
Factory calendar : NIL
Call horizon : 100%
Scheduling period : 90 DAY
Scheduling indicator : Time
Call no . 11 was a plan date of 14.08.2009 has completion date 14.08.2009. Schedule type/status has "scheduled complete".
Call no. 12 was called on 13.09.2009 which is in the past.
Can someone explain why the system called the order with a starting date in the previuos month , that is , 13.09.2009.
And how to rectify it to make it current date for the next call object?
Thanks,
ManoharI checked the algorithm for call no. 12
Start of Cycle 07.08.2008
Last planned date 14.08.2009
Compl.Predecess 14.08.2009 Absolute shift + 0 Da
Planned cycle/offset + 30 Da Relative shift 0 % = 0 Da
Shift + 0 Da erance value 0 % = 0 Da
Planned Dates Due 13.09.2009 Completed on
Last call on 15.10.2009 Called by IP1020091015
Workorder generated has start date 13.09.2009.
Should we restart this plan , as the start dates in call object are at least 1 month old ?
Thanks,
Manohar -
Problem-planned order start date in the past
I use PP-PI - After MRP run, planned order was created and has exception message "06-start date in the past" its make me wonder because before this problem occur we already tested many time and never found this message(06). then i check in OPPR- field "start in past" is blank, OPPQ- field "Start in past" are not check, OPUZ-Scheduling Type is backwards and field "Start in the Past" is blank, OPU5-Scheduling Type is backwards and field "Start in the Past" is blank.
do any guru know why system not use forward scheduling when found that start date in the past? or have any config of other module which may lead to this issue?
thank in advance.In OPU5,
Check the setting for correct MRP group which is assigned in material master or in the SPRO node
Production >Material Requirements Planning>MRP Groups-->Define MRP Group for Each Material Type.
check and come back -
How to find compensation data for the year
Dear All,
Scenario:
A company wants to know the comepnsation data for financial year 2009-2010.
Problem: I couldnot find a single report which can provide the compensation of an employee for the year.
We are trying to build a report however needs input if anyone has done that:
Table which stores this data is PS_COMPENSATION.
Problem is : it stores data in effective date.
How to then convert it into a year -April 2010 to March 2011
For example: cases
a. existing employee: whose effective comp data will be less than April 2010
- Plus, there are pay rate changes between April 2010 to march 2011. (Pay rate change can happen on any date of the month)
- How can I add them to find the Compensation as per comp page from 1st April to 31st march 2011I'm afraid what you're looking for is not likely to be a trivial task. If you have all of the modules required for the "Report Total Compensation" product, then you should take a look at the associated PeopleBook. I think you will have to be on HRMS 9.0 at a minimum, and using Payroll for North America and Benefits Administration.
To create a custom solution, you may have to consider a variety of other factors such job status--leave, terminated, terminated with pay, etc.--hourly vs. salaried, part time vs. full time, multi-job, variable compensation. It will depend entirely on the specific features that are being used at your site.
If you provide a very detailed example of the output you are looking for with sample data, someone might be willing to offer a solution.
Regards,
Bob -
How do I change the start date for the week from Monday to Sunday on my iPhone 5?
How do I change the start date for the week on iCal from Monday to Sunday on my iPhone5?
Yes. On my new iPhone 5 the iCal week begins on a Monday not a Sunday and does not give me the option to edit in settings on the phone
-
Position 1000001 not available for the start date of the infotype record
Dear Experts/Gurus,
I am getting the following error message "Position 1000001 not available for the start date of the infotype record" while trying to upload employees HR Master data in PA40.
I know the reason why because the position is created on 01.05.2009 & employee DOJ is 01.02.2006 both are mismatch & the position date has to be changed earlier date than DOJ but i don't know how to do.
Please let me know how to sort out this issue asap.
Rgds,
VikrantDear Friend,
Use PP02, select the position no, select infotype 1000 (Object), select planning status & validity(date) and then use the copy function to change the start date.
Regards,
Aks -
Hi
Can anyone explain how does the GR processing time affect the scheduling of the process order & the latest start date in the operation overview.Hi
GR processing time means number of workdays required after receiving the material in storage.
Check this link:GR Processing time
Regards,
Anupam Sharma -
<header style="box-sizing:border-box;color:#777777;line-height:1;font-size:13px;padding-right:46px;margin-bottom:3px;font-family:'Helvetica Neue', arial, sans-serif;">
</header>
I'm doing SP app development and have the following problem.
I need to check Start time and End Time in SharePoint Calendar using CAML query and then add a new event to Calendar list using the Start time and End Time that user has entered in 2 datapickers
in the form.
function AddCalendarListItems() {
var SD = document.getElementById("datepicker1").value;
var SThh = document.getElementById("St1").value;
var STmm = document.getElementById("St2").value;
var ED = document.getElementById("datepicker2").value;
var EThh = document.getElementById("Et1").value;
var ETmm = document.getElementById("Et2").value;
var T = document.getElementById("Title").value;
var S1 = SThh;
SD = SD.slice(6, 10) + "-" + SD.slice(0, 2) + "-" + SD.slice(3, 5) + "T" + SThh + STmm + ":00Z";
ED = ED.slice(6, 10) + "-" + ED.slice(0, 2) + "-" + ED.slice(3, 5) + "T" + EThh + ETmm + ":00Z";
//alert("SD= " + SD + " , ED= " + ED);
var siteUrl = SiteCollurl + "/SharePointApp11";
var clientContext = new SP.ClientContext(siteUrl);
var oList = clientContext.get_web().get_lists().getByTitle('Calendar');
var ListItemCInfo = new SP.ListItemCreationInformation();
var newEvent = oList.addItem(ListItemCInfo);
newEvent.set_item("Title", T);
newEvent.set_item("EventDate", SD);
newEvent.set_item("EndDate", ED);
newEvent.update();
clientContext.executeQueryAsync(Function.createDelegate(this, this.onQueryAddCalendarSucceeded2), Function.createDelegate(this, this.onQueryAddCalendarFailed2));
function onQueryAddCalendarSucceeded2(sender, args) {
alert("Success");
function onQueryAddCalendarFailed2(sender, args) {
alert('Add new item to the calendar failed. ' + args.get_message() + '\n' + args.get_stackTrace());
But I receive the following error:
Add new item to the Calendar failed. Column 'Start time' does not exist. It may have been deleted by another user.
I've checked and 'Start time' does exist. So it seems in SharePoint Calendar lists, field [Start Time] and [End Time] exist but do not exist at the Site Column level.
Please advise.Hi Khojasteh,
Use “EventDate” for Start Time field, and “EndDate” for End Time field. They are the internal name of the two fields, you can check it in the column settings page url like “Field=EndDate”.
If it isn’t the issue, please debug the code, in which line the error occurs.
Thanks,
Qiao
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Qiao Wei
TechNet Community Support -
Enter start time and end time of inspection
Dear all
Plz tell me where we can enter start time and end time of inspection.
Regards
NirmalaHi Nirmala,
I think Inspection start time is not required for any analysis or else. Days taken for closing lots are important than time. Any how, the stock posted or Inspection completed time is already available in Stock posting log - transaction QA33.
In transaction QA33,
1. Input Material, Plant & Period etc
2. Select a lot (UD made)
3. Select Usage decision tab
4. Select Stock posting tab
5. Select Stock posting log in the tab(header) - here your inspection completed (UD) time is getting stored
Further issue, pls reply.
VRMP.
Maybe you are looking for
-
Eclipse Plugin Creation - "Plug-in name was unable to load class " error
Hi everybody and happy new year to you all, i got a little problem again. I have written the first lines of code of my plugin and wanted to test it (run as Eclipse Application). I got the following error-msg, when clickin either on the menu item or t
-
OBIEE 11.1.6.2, Presentation Services is Down
Hi All, OBIEE 11.1.6.2 presentation server is down and below is the error message from SawLog file, So please guide me in resolving this impending issue. [2013-06-26T06:45:40.000-07:00] [OBIPS] [NOTIFICATION:1] [] [saw.sawserver] [ecid: ] [tid: ] Ora
-
Got my my iphone 4s back in March 2012, a few times in the past few months some of the text and apps have become blurry, but it goes away within the day. It is especially noticable in the phone app on the numbers, the message/phone/itunes, app store
-
WITH clause querying other WITH clause
I want to do something like this: with t1 as select * from table1 ,t2 as select col1,col2 from t1 select * from t1,t2as you all can see, t2 WITH clause queries t1 WITH clause. how do I do this? because this doesn't work. thanks
-
Question about getters and setters
I want to ask you a bit simple question. I know, you can show me google but i know to understand this by my example. My program code: class Readers { int age; public Readers(){ age = 45; public int getAge() { return age; public void se