‎2007 Oct 15 7:12 AM
hi all ,
I have a requirement for closing workorder , which i am doing by using standard BAPI "QFOA_ORDER_TECHNICAL_COMPLETE" here i am passing "work order Id" means "AUFNR" of "AUFK" table and other relevant information.
But i have to pass the "completion time" of work order also , so can anybody tell me that how to pass its completion time so that it can be recorded that in how much time work order has been completed.
Thanks & Regards ,
Abhishek
‎2007 Oct 15 3:27 PM
hi
i assume you have a the completion date while doing the "Teco".
so you need an exit like IWO10004, in the include ZXWO1U03,
Code
IF S_VIQMEL-MSAUS = 'X'. " Here i am checking if it is a breakdown notification.
S_VIQMEL-AUSBS = Techincal_date. " sy-datum etc.,
endif.
This will populate the screen field for technical completion date and you can proceed to save it. This will change the status of the notification.
Thanks.