cancel
Showing results for 
Search instead for 
Did you mean: 

TECO is not allowed without closing the inspection lot

former_member491596
Participant
0 Kudos


Hello

I have implemented 03 & o4 inspection.

When I made TECO of Process Order system is allowed without making UD of inspection lot.

I required if the inspection lots are open of particular process order system should not allow for TECO.

Please suggest the solution.

Regards

Ashish R

Accepted Solutions (1)

Accepted Solutions (1)

former_member196530
Active Contributor
0 Kudos

Hi

You have use functional module : FM QFOA_ORDER_TECHNICAL_COMPLETE

Check also SPRO->Quality Management-> Quality Inspection->Inspection Lot Completion->Define Follow-Up Actions->Follow-Up Actions  .Here you will get the relevant FM to address this issue

Check this above setup by selecting the Follow up action

Regards

JH

Caetano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Ashish

This issue has been already discussed in several threads:

Please use the search box on the right upper corner and research before opening any thread.

BR

Caetano

former_member491596
Participant
0 Kudos

Hi JH

Above configurations are available in system but still system is allowing for TECO with inspection lot open.

Afetr this may be some ABAP work is required?

Please explain in detail.

Regards

Ashish

former_member196530
Active Contributor
0 Kudos

Hi ,

Can you check in the Follow up action in spro  whether  you have defined FM QFOA_ORDER_TECHNICAL_COMPLETE and mark the After posting and Sync updating.

Check with your abaper  with the below code -

CALL FUNCTION 'QFOA_ORDER_TECHNICAL_COMPLETE' "Follow-Up Action: Technically Complete PP Order with order category 40 ( AUFK-autyp= 40 )

  EXPORTING

    i_qals =                    " qals

    i_qave =                    " qave

*   i_qapo =                    " qapo

  IMPORTING

    e_subrc =                   " sy-subrc

  TABLES

    e_protocol =                " rqevp

    .  "  QFOA_ORDER_TECHNICAL_COMPLETE

Otherwise , you can apply User Exit PPCO0007  in co02 or cor2

Regards

JH

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Standard SAP allow to do TECO even though UD in QA32 not done for process order.

If you want to restrict it then with the help of ABAP consultant you can apply validation for COR2 transaction for this you can use BAdi COCR_CMX_BI_ORDER or user exit PPCO0007.

Regards,

Narresh