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
I'm trying install two new fonts on my Mac Book Air and cannot get it to allow me to add them to the Font Book. (I've just successfully added the same fonts on to my Mac Book Pro which runs Snow Leopard, so this is definitely a Lion issue.) I've crea [More]
Hi All, I have to make a list on how many times certain transactions have been exectued last year. Does any of you have a idea on how to get this list? tried already ST03 and STAT but without satisfying result We have R/3 4.6B. Regards, Rod.hi, use S [More]
Hi, I have a late 2012 Mac Mini connected to 2x LG HD monitors (one with thunderbolt adapted to HDMI and one on HDMI). Every morning I switch on the computer but sometimes I forget to switch on the monitors. If the machine boots without monitors I ge [More]
Hello, I hope that I am submitting this question correctly. Please let me know if I have done something wrong. I would like to explain what happened in my production environment last night during a maintenance window. The infrastructure team had disc [More]
I have certain websites I visit that I would rather my wife and family didn't know about. No, it isn't donkey p()rn. It's medically-related, but anyways... The private browsing feature messes with my passwords and so forth. I would rather not use it. [More]
Hi All, I have a customer who wants to include images in a Discoverer report. He has a BLOB database column which has images. He wants these images to appear in his report. Is it possible to do this? If not, will a future version have this feature? t [More]
hi, i have a requirement in PO form to have an email sending functionality. i used the main program for MEDRUCK which is the SAPFM06P. i already configured the message type to be used in NACE tcode. Medium is Simple Mail, Form Routine is ENTRY_NEU an [More]
I am a desktop support tech with the Department of Fisheries and Oceans. Currently my clients have been purchasing a number of the H720 headsets. The headset has been paired to the Blackberry Curve or Bold. When they power on (flip open) the headset [More]
Hello everyone, I'm new to LR and somewhat new to PS (PS CS3).  I'm starting to shoot mainly in NEF but have many more jpgs on file.  While editing jpg's in LR for a Quinceanera (shoot w/ D200,JPEG,sRGB working in Win XP) I've had to, on occasion, fi [More]
Hi I am a newbie. I tried to install oracle 10g on my new laptop which has vista on it. It was installed successfully however when i try to open the ' go to home page' option it does not give the login screen. It just says page cannot be displayed. I [More]