‎2007 Jun 18 7:59 PM
Hi :
I am working on Plant Maintenance module, i extracted work orders ( aufnr ) from AUFK based on some conditions.
In the selection screen i have s_date option where the user can give any date range .my question is ...after selecting all the work orders, i want to count work orders whose status is conformed and date condition is " For the calender week X, work order actual end date ( getri ) should not be later than the week ending of sunday night 11:59pm " .
Here calender week X, starts on monday morning 00:01 am and ends sunday night 11:59pm
I am able to extract work orders whose status is conformed , but i need logic for tha date condition based on the time ie, end date should not be later than the week ending of sunday night 11:59pm.
points will be rewarded ..
Thx.
Raghu
‎2007 Jun 18 8:35 PM
if you want the current date and time you can check with sy-datum or sy-uzeit.
Or you can find if there is any date and time fields in the table and compare them against the date you want to.
I am not sure if youa re looking for this.
‎2007 Jun 18 8:35 PM
if you want the current date and time you can check with sy-datum or sy-uzeit.
Or you can find if there is any date and time fields in the table and compare them against the date you want to.
I am not sure if youa re looking for this.