Sitemap

Amicuk Programming Answers

Getting first and last day of week

2015-10-11   Views:2

Advertisement

Dear all . Is there any funcion module which gives first and last day of the current week . Eg . todays day is 15.11.2006 start date of week : 13.11.2006 end date of week : 19.11.2006 in the same way I want how many days are there in month . Eg : for

Dear all .
Is there any funcion module which gives first and last day of the current week .
Eg . todays day is 15.11.2006
start date of week : 13.11.2006
end date of week : 19.11.2006
in the same way I want how many days are there in month .
Eg : for Nov month :
         30 days .
      for dec month 31 days .
Thank you in advance

The replay answer
Advertisement
Use FM GET_WEEK_INFO_BASED_ON_DATE
Import parameters               Value    
DATE                            15.11.2006
                                                                                Export parameters               Value    
WEEK                            200646   
MONDAY                          13.11.2006
SUNDAY                          19.11.2006
Use FM HR_E_NUM_OF_DAYS_OF_MONTH
Import parameters               Value     
P_FECHA                         15.11.2006                                                                               
Export parameters               Value     
NUMBER_OF_DAYS                    30        
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers

Go to See the other 10 answers

Hot
When I log and Transfer in FCP 6.0.1 The video turns out fine, but the Audio the right channel is WAY louder then the left channel after conversion. Other conversion programs do not seem to have this issue. Can anyone help? I am very stuck Also shoul [More]
DB Version: 10gR2 One of our tables in the test schema is having less number of columns than the PROD shema. To determine which are missing columns in this table in Test schema i did the following. -----In Test Schema CREATE TABLE XYZ2 (COL1 NUMBER); [More]
Hi experts, can any body tell me how can i make a ABAP Report which give number of user login in into the system on the user specified date and time for how long time with all details for example - .user name,time,tcode,tables,anything that used by u [More]
Hello All, I hope someone can help me to identify what it is I may be doing wrong with my Small Product catalog pages. I have this issue where I have unused sections or blanks where normally product images/detail would be. I think this may be coming [More]
I need some help here, please. I've seen the examples for drag and drop implementations. However most of the implementations that need to do determination of whether the item is droppable assume that you have a reference to the object being transferr [More]
I opened iDVD to burn a project. I got the following Alert: "Your Macintosh does not have a supported SuperDrive. Please note that while you will be able to work with iDVD projects, you will not be able to burn a DVD disc." I have Final Cut Expr [More]
Since I downloaded the newest FF version, I keep getting these Error Console reports that I believe has slowed my system down considerably. I think it may be related to an add-on extension that was removed before the new version of FF was downloaded. [More]
I get a popup every time I start any adobe CC product. It has been happening since day 1 and nobody through chat support has been able to help. I have contacted support at least five times with no results. The popup says "We are having trouble verify [More]
OK the slowness might be to do with spotlight, will see in the morning but dreamweaver is dreadful. But my main issue is in mail. Using imap, when I drag messages from my inbox to a folder for filing - sometimes it does, most times it doesn't. Also c [More]
I recieve videos from my daughters iphone and cannot open them with windows how do I set my dell computer to open these. Do you have an way to do thisHi black96rose, It sounds like you are asking how to get a verification email for your Apple ID sent [More]