Changin work order system status via FM BAPI_ALM_ORDER_MAINTAIN
Hello,
I've succeeded to change work order user status via FM BAPI_ALM_ORDER_MAINTAIN.
Is it also possible to change the system status with the same FM?
Thanks
Moshe
Check STATUS_CHANGE_INTERN_MULTI & STATUS_CHANGE_INTERN
Similar Messages
-
How to reset Work Order System Status -NCMP Not completed
Hi Friends,
Please can anyone guide me how do I reset / revert the NCMP (Not completed) System Status of the Work Order. The System Status comes after I have done the Function of "Do Not Execute".
Thanks in Advance.
AnantHi,
1. You cannot reset it back . For future cases ensure to grey out the option using Transaction Variants SHD0 for IW31/IW32 Tcodes
2.Steps to create transaction variant http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40d1443e-0184-2c10-c68d-c612f771fe6f?quicklink=index&overridelayout=true
3.You can also explore user exit :IWO10026 User check on setting status 'Do not perform'
regards
pushpa -
SET PM WOrk Order System Status to TECO
Good Afternoon SAP PLM Forum users,
Will you please tell me the best method to Technically complete (set system status to TECO) 85,000 PM orders that have system status REL and CNF or PCNF.
Thanking you in advance
LeslieHi,
You could use IW38 to select and generate a list of orders. Then from the output screen highlite a group of orders and choose the complete function.
Also BAPI_ALM_ORDER_MAINTAIN method TECHNICALCOMPLETE could be used with later releases.
-Paul
Thread moved to EAM forum -
Work order-System status table
Hi,
In which table does the system status of the work order (TECO, Created, Released etc) gets updated? I want to know in which table does all the open work orders get updated.
Thanks in AdvanceDear Jegashree,
Check this link
[Production order status|Table : Production order status;
Regards
Madhu -
Function module for changing Work order user status in IW32
Hi,
I want to change the work order user status in IW32 using ABAP.
Is there any function module to do so or any other way? I have tried using BDC but this does not work.
Please suggest.
Regards,
Naba
Edited by: n. saha on Nov 5, 2008 6:46 AMI am getting Same Problem.
fi_methods-method = 'SAVE'.
APPEND fi_methods.
fi_methods-refnumber = 1.
fi_methods-objecttype = 'USERSTATUS'.
fi_methods-method = 'CHANGE'.
fi_methods-objectkey = '002000002453'.
APPEND fi_methods.
fi_userstatus-user_st_text = 'COMM'.
fi_userstatus-user_langu = 'EN'.
fi_userstatus-CHANGE_EVENT = ' 01 '.
APPEND fi_userstatus.
CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
TABLES
it_methods = fi_methods
it_userstatus = fi_userstatus
return = fi_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Above code I am using and there the message comes like
T ID NUM MESSAGE
S IW 080 Order saved with number 2000002453
S IWO_BAPI2 110 BAPI control was ended
can any on know what is wrong in this? please help if having knowledge.
Thank You,
Jahnavee Trivedi -
BAPI for changing Work order user status in IW32
Hello Experts,
I am getting Same Problem in updating status via BAPI, BAPI_ALM_ORDER_MAINTAIN. Its not giving any error but even not update status.
I know i can use this for changing the user status also but not sure how to carry out things.
I used this code.
fi_methods-method = 'SAVE'.
APPEND fi_methods.
fi_methods-refnumber = 1.
fi_methods-objecttype = 'USERSTATUS'.
fi_methods-method = 'CHANGE'.
fi_methods-objectkey = '002000002453'.
APPEND fi_methods.
fi_userstatus-user_st_text = 'COMM'.
fi_userstatus-user_langu = 'EN'.
fi_userstatus-change_event = ' 01 '.
APPEND fi_userstatus.
CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
TABLES
it_methods = fi_methods
it_userstatus = fi_userstatus
return = fi_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Above code I am using and there the message comes like
T ID NUM MESSAGE
S IW 080 Order saved with number 2000002453
S IWO_BAPI2 110 BAPI control was ended
can any on know what is wrong in this? please help if having knowledge.
Thank You,
Jahnavee TrivediI am getting Same Problem.
fi_methods-method = 'SAVE'.
APPEND fi_methods.
fi_methods-refnumber = 1.
fi_methods-objecttype = 'USERSTATUS'.
fi_methods-method = 'CHANGE'.
fi_methods-objectkey = '002000002453'.
APPEND fi_methods.
fi_userstatus-user_st_text = 'COMM'.
fi_userstatus-user_langu = 'EN'.
fi_userstatus-CHANGE_EVENT = ' 01 '.
APPEND fi_userstatus.
CALL FUNCTION 'BAPI_ALM_ORDER_MAINTAIN'
TABLES
it_methods = fi_methods
it_userstatus = fi_userstatus
return = fi_return.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Above code I am using and there the message comes like
T ID NUM MESSAGE
S IW 080 Order saved with number 2000002453
S IWO_BAPI2 110 BAPI control was ended
can any on know what is wrong in this? please help if having knowledge.
Thank You,
Jahnavee Trivedi -
Reg Update Order System Status
Hi,
My requirement is, while doing TECO (technical complete) of maintenance order I want to check for open reservation/requisition in maintenance order. and if we found any any open reservation/requisition then order status TECO will not update. maintenance order will remain in present status. any other update done in this order before TECO will save.
Please suggest how I can acheive this.
I tried to use uesr exit IWO0009 and BADI WORKORDER_UPDATE but not abe to update order system status in this point.
Please suggest me any EXIT or BADI or Solution for this requirement.
Regards,
AtulHi Atul,
Following codes can be help u for Open PR before TECO.
*& Include ZXWO1U03
EXIT_SAPLCOIH_004
DATA: BEGIN OF IT_EBAN OCCURS 0,
BANFN LIKE EBAN-BANFN,
BNFPO LIKE EBAN-BNFPO,
EBELN LIKE EBAN-EBELN,
LOEKZ LIKE EBAN-LOEKZ,
END OF IT_EBAN.
DATA: IT_AFKO LIKE AFKO.
DATA: BEGIN OF IT_AFVC OCCURS 0,
BANFN LIKE AFVC-BANFN,
END OF IT_AFVC.
DATA: X_AUFPL LIKE AFKO-AUFPL,
X_BANFN LIKE AFVC-BANFN,
STR TYPE STRING.
SELECT SINGLE AUFPL
FROM AFKO
INTO X_AUFPL
WHERE AUFNR = CAUFVD_IMP-AUFNR.
IF SY-SUBRC = 0.
SELECT SINGLE BANFN
FROM AFVC
INTO X_BANFN
WHERE AUFPL = X_AUFPL
AND STEUS = 'PM03'." Extenal Service Control Key"
SELECT BANFN BNFPO EBELN LOEKZ
FROM EBAN
INTO TABLE IT_EBAN
WHERE BANFN = X_BANFN.
ENDIF.
LOOP AT IT_EBAN.
IF IT_EBAN-EBELN = '' AND IT_EBAN-LOEKZ = ''.
CONCATENATE 'PR' IT_EBAN-BANFN 'is not converted to PO.TECO is disallowed' INTO STR SEPARATED BY SPACE.
MESSAGE STR TYPE 'E'.
ENDIF.
ENDLOOP. -
Hi All,
we want to change the sales order system satus, then we found we can only do it in item level.since in one sales order we may have many items, if we change the system status by manually one item by one item, it cost time, I wonder in SAP 6.0 if we can do batch change sales order system status? If have, please tell me how to do it?
Regards,
JaganHi Raj,
Thank you for the reply.The problem here is there are 100 line items in a sales order and user wants to change the item status (in the status tab in item level data) from A3-A4 ( example here is A0-SO created,A1-SO changed,A2-SO released,A3-PO created,A4-Delivery created,A5-SO closed) for all line items.In this Sales order 10 line items have not got the Goods receipt.But all other items have got.So he dont want to go to each and every line item to check and update the status of the GR,since it is time consuming process.So he is looking for the possibility in the header level like when he update the status in Heder level,it has to change the status in item level or if any item is not relevent for status change from A3-A4 (means the item present status is not in A3) it should throw a message.
Regards,
Jagan -
Displaying Work Order System and User Statuses in IW37 Search
I'd like to display the work order header system and user statuses along with the operation system and user statuses in an IW37 search but couldn't find an entry as such in the IW37 'change layout' dialog box.
David MacindoeDavid Macindoe,
That Order header information isn't available in IW37 report.You may have to use IW37N report or enhance /copy IW37 report to get this information.
Regards
Narasimhan -
Work Order - TECO Status Question
Dear All,
Is there a way to indicate who performed the last accounting transaction with a Work order?
For example, Who Teco'd the order and when it was Teco'd, etc..
This allows me to create a report to show productivity of how many work orders being complete.
Any suggestions will be greatly appreciated. Thank you!
MikeHello Michale
From PP Stand point ,if you are looking at TECO of Production order with individual person did , U can use COOIS functionality seleting Sytem Status : TECO and Give the Production Scheduler .There are lot of functionality u can use within date ranges, plant wise , material wise and u have the option to choose various lay out to generate report from COOIS.
Hope this will solve your problem.
Regards
Jia -
Production order system status after being settled
Hello,
I am currently in ECC 605 project. I remembered once production order is variance calculated and settled,new system status, VCAL , is set at production order. And sometimes the production order won't be set with status VCAL even though it's variance calcualted. Does anyone have any experience at ECC release 605? Is it normal that settled order doesn't possess VCAL status?
And another weird behavior is that production order can be settled without variance calculated. At earlier release, system will
pop up error message if I try to settle a production order which isn't variance calculated. Can anyone confirm if at release 605 it's normal system behavior that system won't block order settlement of production order which variance calculation isn't done yet?
B. Regards,
Nancy
Edited by: Nancy Lin on Jul 14, 2011 9:45 PMHi Rose,
Try out ..
STATUS_READ
http://www.sap-basis-abap.com/sappp016.htm
Re: Status of the Production Order
Re: Production order status
Hope it will solve ur problem
Thanks & Regards
ilesh 24x7 -
Unable to upload PM Work Order Header Status
Hi,
I have made LSMW for tcode: IW31. I have a requirement to upload legacy data to SAP with their existing header status.
For instance:
I have a work order which got a header status complete and I want to upload this work order with its status. So, how can I upload different work orders with their different header status.
Do let me know as soon as possible.
Thanks for the contribution.
Regards,
YahyaYes, you are right. Originally it should be the way you answered but requirement is to upload data with respect to their order status from legacy.
In addition, is there any possiblity that I can create one complete LSMW for transaction IW31 OR IW32?
This is asked because I am unable to upload data in Operatoins Tab
Thanks.
Regards,
Yahya -
Internal Order - System Status LKD
Hi All,
For an internal order which has system status LKD active, can I mark it for deletion?
When tried to do so, I get an error message like
" E BS 013 System status LKD is active (ORD XXX)
KO 424 Order XXX / Mark for deletion "
What can be done?
Thanks ,
JananiHi,
if your order is marked for deletion then you can't put it for locked status and it goes other way around i.e. if your order is lkd ,it can't be marked for deletion.
Reward points if it helps.
Regards
Karan -
Production Order System Status
Hi Experts,
What table is used to store the System Status of an Order? Is it with CAUFV?
Scenario is i need to extract ACTIVE Production Orders with CRTD status. DO i just select CRTD or do i need to consider other parameters as well, like deletion flag, teco etc?
Thanks guys!Manoj,
Give below code snippet to your aBAPER:
Retrieve the status of the orders
SELECT objnr stat
FROM jest
INTO TABLE i_jest
FOR ALL ENTRIES IN i_objnr "cONTAINS Prod Order Number
WHERE objnr = i_objnr-objnr
AND stat = I0001
AND inact = ' '. "Inactive flag
Check if the order is currently in the status Cretaed
LOOP AT i_jest.
CALL FUNCTION 'STATUS_CHECK'
EXPORTING
client = sy-mandt
objnr = i_jest-objnr
status = i_jest-stat
EXCEPTIONS
object_not_found = 1
status_not_active = 2
OTHERS = 3.
If sy-subrc = 0.
"Order in created status
else
"order not in created ststus
endif. -
Reg. Plant maintanence Order system status.
HI All,
I have a requirement to check for INACTIVE status of work order. But I want to know if there is some status with INAC for order..
Or what is the status to make order inactive.
Thanks
NitinHi,
1. I think ther is no status of Inactive in MO .
2. You can look for LOCK or NCMP --Do Not execute , the do no execute option u can set before relesae of MOs.
3. You can look for JEST and TJ02T table for status details ..
regards
pushpa
Maybe you are looking for
-
How can i organize apps on one home page?
I have four folders of apps sprawled across four home pages with all that space in between. How can I move them all to the front home page? Can't find this in the manual---is there a secret? Thanks for whatever help you can provide!
-
Hi Gurus, I had blocked one vendor against purchase organisation. In case 1 --- when I tried to create Po with that vendor and pur org, system is throwing error which is fine But in case 2 - I had entered this blocked vendor for fright condition FRB1
-
Camera raw 5.7 not showing as installed
Hi Some problems installing camera raw 5.7 in CS4 photoshop. 1. I tried the 5.7 manual installation download link at adobe - but it appears to be not working. http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=4680&fileID=4364 2. I tried the 5
-
Expression Web to Dream weaver
I am tired of using EW and would like to phase it out completely unless a customer asks for it specifically. I have old website that I maintain developed in EW and I would like to move them over to DW to work on. Most of the website that I am using d
-
...what is the proper way to disconnect the laptop from the monitor if I want to use the laptop separately? Do I have to shut everything down first then disconnect the cables? The first question is really what's bothering me. Not that it's alot of wo