cancel
Showing results for 
Search instead for 
Did you mean: 

Auto confirmation of operation

Former Member
0 Kudos

Hi,

My clients requirement is that, when I do the TECO of the maintenance order the operations have to be automatically confirmed and the status of the operations to be CNF.

He basically wants to reduce one step of the process.

Please advise.

Regards,

Narendra Bora

Accepted Solutions (0)

Answers (2)

Answers (2)

sundar_desai2
Active Contributor
0 Kudos

Hi Narendra,

If you want confirmation to be done in background then you are left with no option for mentioning the actual hours as planned hours or else again you will have to maintain those manually.

If customer does not want to go ahead for Confirmation step & also they are using same planned hours & actual hours, then there is no need of going for confirmation, you can directly TECO the order.

Sundar

peter_atkin
Active Contributor
0 Kudos

You will need to develop a solution for this.

You could kick-off a secondary process after the order is saved once TECO has been set.

Be careful to consider the TECO->REL->re-TECO process too.

PeteA

Former Member
0 Kudos

Hi Peter Atkin,

Many thanks for the reply. Could you please elaborate a little more on how to kick off the secondary process.

Regards,

Narendra Bora

peter_atkin
Active Contributor
0 Kudos

There are a few ways:

  • Find a user-exit/BADI after the order save commit
  • Use the order business transaction event
  • Use workflow
  • Use one of the IW* user exits (TCode SMOD) and use syntax PERFORM XYZ ON COMMIT

Talk to your ABAP team, they should be able to tell you which option is most suitable.

PeteA

Former Member
0 Kudos

Try this BAPI - BAPI_ALM_CONF_CREATE

In SE37, you can find the documentation. Read the same planned hours as actual hours or as per your customer requirement, you update the actual hours.

Try in user exit IWO10004.

Is it for any specific order type or common across all order types??

If any deviation between planned hours & actual hours taken, how it is going to be handled??