‎2007 Jun 17 6:31 AM
Hi :
I am working on Plant Maintenance module, i extracted work orders, i am wondering to know how to code date condition for these.In the selection screen i have s_date option which is SY-DATUM.
For the calender week X, work order actual end date ( getri ) should not be later than the week ending of sunday night 11:59pm.
‎2007 Jun 17 8:50 AM
Hi
Use the Views VIAUFKS and VIAUF_AFVC for the required data of PM orders
First fetch the data from the tables/views by equating the Selection-screen date field with one of the End date of the PM order present in the table/views
then again from the internal table data modify it with the correct weeks time after fetching the correct week using a fun module for that date.
Reward points for useful Answers
Regards
Anji
‎2007 Jun 17 8:50 AM
Hi
Use the Views VIAUFKS and VIAUF_AFVC for the required data of PM orders
First fetch the data from the tables/views by equating the Selection-screen date field with one of the End date of the PM order present in the table/views
then again from the internal table data modify it with the correct weeks time after fetching the correct week using a fun module for that date.
Reward points for useful Answers
Regards
Anji