cancel
Showing results for 
Search instead for 
Did you mean: 

Cancel Technical Completion

Former Member
0 Kudos

HI,

above is my current status -JEST table

I need to cancel PM Order Technical Completion , as of now the status is TECO and i want to make TECO to REL Status.

is there any program available , i dont want to do it background .

There are only 6 such orders that need to be made to REL status

I tried with Function Module STATUS_CHANGE_INTERN ,but it is not working.

Please assist.

Accepted Solutions (1)

Accepted Solutions (1)

peter_atkin
Active Contributor
0 Kudos

Just to be clear here - you are trying to correct these status inconsistencies???

PeteA

Former Member
0 Kudos

Pete,As such there are no inconsitencies found .

All i want is to make my PM Order to make to status REL from TECO.

As of now The status in TECO and i am working in an lower version where i do not have the option  to Cancel Technical Completion in the menu.

Please suggest.

Thanks

peter_atkin
Active Contributor
0 Kudos

Try function modules:

  • DFPS_ORDER_TECO_RESET
  • IBAPI_ALM_ORDER_TECO_RESET followed by a BAPI_ALM_ORDER_MAINTAIN SAVE, then BAPI_TRANSACTION_COMMIT

PeteA

Former Member
0 Kudos

Pete,Thanks,unfortunately i dont have these Func.modules in my version.

I am in 3.1 I.

rakesh_mane
Active Contributor
0 Kudos

Hello

Please raise OSS to SAP.

BR

Rakesh

Former Member
0 Kudos

Rakesh,

The Worst part of it is , SAP has closed supporting such versions , dont know how to proceed further just waiting to hear some of the folks who would have faced the similar issues in older versions

thanks for assisting.

rakesh_mane
Active Contributor
0 Kudos

Hello

If this status change only limited for  only 6 work orders.Go for direct JEST Table Update.

Br

Rakesh

Former Member
0 Kudos

Thanks Rakesh,but what about Purchase Requistions marked for deletion ,we need to revert the change i belive,

Is there any other table that we should update ?

Pls advice.

rakesh_mane
Active Contributor
0 Kudos

Hello

Please create new PReq for this work order as you updating the JEST table it will not revoke PReq Deletion flag.

Br

Rakesh

Former Member
0 Kudos

Hi Rakesh,

I took this below from some other thread, this function module is availalbe in my system, if i ask my ABAper to create a new program so that i can give Objnumber abnd change the status , will it do the same functionality as in ECC, i mean to ask whether purchase requsitions and other things will be revoked?

Thanks for your valuable time

-------------------------------------------------------------------------

Thank you for your suggestion. but I got a FM which exactly updates the system status in JEST and JCDS tables.

The function module STATUS_CHANGE_INTERN and can be used as follows. We always need to follow one condition that, when the system status TECO is changing to inactive the REL status should be made Active.

    DATA: i_stat TYPE STANDARD TABLE OF jstat.

    DATA: wa_stat TYPE jstat.

    wa_stat-stat = 'I0045'.

    wa_stat-inact = 'X'.

    APPEND wa_stat TO i_stat.

    wa_stat-stat = 'I0002'.

    wa_stat-inact = ' '.

    APPEND wa_stat TO i_stat.

    CALL FUNCTION 'STATUS_CHANGE_INTERN'

      EXPORTING

        client              = sy-mandt

        objnr               = lv_objnr

      TABLES

        status              = i_stat

      EXCEPTIONS

        object_not_found    = 1

        status_inconsistent = 2

        status_not_allowed  = 3

        OTHERS              = 4.

COMMIT WORK.

Please advice.

rakesh_mane
Active Contributor
0 Kudos

Hello

This function module will not revoke the PReQ Deletion flag.

It just changing status in JEST and JSDS table.

Better to trigger the new PReQ from work order with same external purchasing details as of deleted PReQ.

Br

Rakesh

Answers (2)

Answers (2)

jogeswararao_kavala
Active Contributor
0 Kudos

Because the number is very less you can do it manually.

If these are production orders use tcode CO02 and follow this picture to come back to REL status.

If it is Maintenance ORder use tcode IW32 and follow the following to get bacxk to REL status.

-Jogeswara Rao K

Former Member
0 Kudos

Thanks Jogeshwar,

The only problem is am not working in ECC, and i do not have this option , am looking for some  program where i can give the PM Order Number and set the status to REL.

peter_atkin
Active Contributor
0 Kudos

Please refer to Rakesh's post here: http://scn.sap.com/thread/3429880

PeteA

Former Member
0 Kudos

Hello Pete/Members,

Thaks ,can you show me how to use this Function Module to correct the system stratus online.

I want to use this functiona module and while i execute after keying in OBJNR and STAUS to 0046

no use

jogeswararao_kavala
Active Contributor
0 Kudos

BAPI_ISUSMORDER_SETSTATUSTECHN

was suggested for changing system status in thread

http://scn.sap.com/thread/1329400

May go through.

Jogeswara Rao K