cancel
Showing results for 
Search instead for 
Did you mean: 

Job Closing Technical PM

Former Member
0 Kudos

Dear Team

Is there any program to do the automatic closing PM orders for TECO status?

I know that for commercial closure (CLSD) there is RKKBABS0 program and the technical closure?

The Reason for my question is that will create a job to closing technical orders PM

Thank you very much in advance

Adriano

Accepted Solutions (0)

Answers (2)

Answers (2)

jogeswararao_kavala
Active Contributor
0 Kudos

Hello Adriano

  • The practical answer I see to your query is to develop a program with the following points in mind.
  • The program should be based preferably on BDC technique (It should not be based on function module like STATUS_CHANGE_INTERN).
  • If some ABAPer finds it simpler for him to develop on the basis of fm BAPI_ALM_ORDER_MAINTAIN then he may try that.
  • The logic in the program before BDC part (or fm part) starts will be to retrieve through a Select statement, all such Order numbers which meet your selection criteria.
  • This program can be manually run at desired intervals or in the background at a predefined intervals (such as Daily, Weekly etc).
  • Now it is upto your ABAPer to develop with these inputs.
  • Because you've asked for a program I am not touching LSMW which needs to be done manually (after fetching the list of Orders too manually) whenever you want to TECO those Orders.

Regards

KJogeswaraRao

Former Member
0 Kudos

HI Adriano,

is there any criteria for selecting which work orders you want to TECO? If you have any such criteria, then I guess you should go with a custom program where you can define your own logic for which work order to be TECOed and then schedule a backgroud job.

Another easy way could be LSMW.  Create an LSMW for setting TECO status on Work order. So whenever you need to TECO, you can filter our all work orders from IW39 and set TECO using LSMW in background mode.

Regards,

Amol