‎2008 Mar 26 1:12 AM
hi friends ,
can i have a sample code for any module (sd,mm,pp,fi) which gives the weekly report for respective modules .
Thanks
Deepti
‎2008 Mar 26 2:58 AM
‎2008 Mar 26 2:33 AM
Hi
There are many standard reports the thing is you have to give the date as input the range to give is up to you,
Tcodes : MB51 , MMBE ETC
Regards,
V.Balaji
Reward if usefull
‎2008 Mar 26 2:58 AM
‎2008 Mar 26 4:14 AM
Hi,
By using the following code,you can get the monday and sunday of relavent week.
--- Get sunday and monday ---
data: mon like scal-date,
sun like scal-date.
CALL FUNCTION 'GET_WEEK_INFO_BASED_ON_DATE'
EXPORTING
DATE = SY-DATUM
IMPORTING
WEEK = week
MONDAY = mon
SUNDAY = sun
.
skip 3.
write:/ mon,/ sun.
Regards,
Chandu