Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

technically closing work order

Former Member
0 Likes
408

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

1 REPLY 1
Read only

Former Member
0 Likes
341

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.