on 10-01-2013 12:21 PM
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.
Just to be clear here - you are trying to correct these status inconsistencies???
PeteA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please refer to Rakesh's post here: http://scn.sap.com/thread/3429880
PeteA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
BAPI_ISUSMORDER_SETSTATUSTECHN
was suggested for changing system status in thread
http://scn.sap.com/thread/1329400
May go through.
Jogeswara Rao K
User | Count |
---|---|
106 | |
12 | |
10 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.