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.

Similar Messages

  • 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 PM

    Hi 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

  • Production order Relase status Batch is picked in Delivery

    Hi friends,
    Presently in system, Production order Relase status Batch is allocated in Delivery due to Availability checking group & rule.Now as per requirement only Confirmed  Production order  Batch should allocat in delivery,then what setting should be done in Batch search stratergy & Availability checking group & rule so that system will consider only Confirmed  Production order  Batch in Availability check.?
    Please revert ASAP.
    Thanks & regards,
    NITIN M.PAWAR

    good analysis

  • 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,
    Atul

    Hi 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.

  • Sales order system status

    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,
    Jagan

    Hi 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

  • Production Order User Status

    Dear Experts,
    I have created User Status with T-Code BS02 and assigned to the production Order. With the User Status I am blocking the GR, if confirmation is not carried out.
    Everything is working fine along the process. System is blocking the GR if confirmations are not done. Upon confirming the user status is changing in Prd Ord and then allowing the Goods Movement.
    But now if I cancel the confirmation, the user status is not rolling back (Block GR Condition). After cancelling the confirmation even I am able to do the GR, which should be blocked. How to do this?
    Also, in confirmation parameters, I have given "Error if sequence is not adhered to". This is blocking the confirmation of operation if previous opn is not confirmed, But here I can delete the previous confirmation (CO13), after confirmaing the later operation. The deletion of previous confirmation should not be allowed if later operation is confirmed. How to achieve this?
    Kindly advice me what are the settings required for this.
    Regards,
    Rohit.

    Rohit,
    After cancelling the confirmation does the order get back the user status as defined by in BS02?
    Please check out this.
    Regarding your query about CO13, although you have made necessary setings in OPK4, it will be effective only for process of confirmation & not for cancellation.
    But you can certainly achieve the control of cancellation of confrimation as per your requirement by using userexits available in CO13. Those are listed below.
    CONFPP01
    CONFPP02
    CONFPP03
    CONFPP04
    CONFPP05
    CONFPP06
    Kindly take help of you ABAP guy.
    Hope this helps you.
    SmanS

  • Production Order Header Status

    Hi
    I am having a production order with 4 operations. when i am confirming the first operation as partial confirmation because i am just confirming only partial quantity, the whole production order status is set to PCNF. Even though i am finally confirming the same operation finally and confirming all the other operations also finally, the order status is not changing to CNF. it is still in the PCNF . how do i get it to CNF status? because the PCNF status for the order will create other problems.
    The operation statuses for the same order give correct statuses as PCNF or CNF or milestone. The problem is only with order header status.
    Can someone please solve this issue. Points assured
    Regards
    Chandra

    Hi,
    In tcode OPK4 - Define confirmation parameter select your plant & order type.
    In 2nd tab page, select Confirmation type - Automatic final confirmation.
    So when doing opn confirmation if the qty is equal or more than order qty, system automatically set to Final confirmation.
    If the confirmation qty is less than order qty, system automatically set to partial confirmation.
    Regards,
    Dharma

  • Closing the Production Order with status PCNF

    Hi Experts,
    May I kindly ask if I can close an order with status Partially confirmed? If not, how can I cancel the confirmation if I had already reversed the goods movement in the confirmation thereby flagging an error of a deficit in the material quantity during cancellation of the confirmation?
    I really need your help since I need to close the production orders with this case.
    Hoping so much for your replies.
    Many thanks in advance.
    Sincerely,
    Ria

    Ria,
    I am not so clear about the exact situation.
    When you say you have reversed the goods movement with MIGO, is it reversal of the documents posted with confirmation or the individual documents?
    You can only cancle the document with MIGO which are independent of the confirmation.
    The  documents which are with the confirmation can not be reversed in any case with MIGO.
    I suggets you go this way,
    1. Check why system is giving you error as 'Deficit......'. The one thing I suspect that you must have performed auto GR & moved out the stock of FG from that location.
    If it's so then bring back the stock to it's original location & cancel the confirmation.
    While cancelling the confirmation where you might have executed goods issue with backflush this error won't arise as the stock will be bring back to storage location form the order.
    Don't reverse the cancellation of the of the documents youhave performed with MIGO for independent material posting on the order. Keep it as it is.
    This way the cancellation of confirmation & material movement will be done & now cost on the order will be zero.
    You can assign the status CLSD as well as DLFL to the order.
    2. In case you find the above activities can not be carried out for some reason then give status TECO to the order.
    Sttle the order so that the cost on the order will be zero, then give status CLSD.
    As far as possible stick to solution no. 1 only.
    Go for solution no. 2 when you don't have any other option.
    Hope this helps you.
    SmanS

  • Print Production Order with status CRTD

    Hi gurus,
    Our system is configured to print production order when the order is released, but when the order is in status CRTD,Created, (not Released) we try print the order an error message appears "Object ORD xxxxxx has system status CRTD (Created).  According to this status, transaction 'Print order (original)' is not allowed".
    Is it possible print orders before release action?
    Thank you, I have points for the best answers.

    Through transaction  BS22 you can configure the system to Print the Order even at CRTD status.

  • CO Production order(KKF1) Status Profile

    Hi,
    We are using CO production order(KKF1)
    as per user requirement eventough order status is REL they want to run the settlement(KO88)
    but once we run KO88 system showing the error like order status should be DEL or TECO 
    I think its possible through STATUS PROFILE but I donu2019t know how we can put the conditions in the Profile
    so any one help me on this
    Regards,
    Ram

    Hi Ram,
    You may consider to deactivate the message KV011 by using transaction OPR4_KKS and
    OPR4_KKS1???
    Regards,Declan

  • Production order system state

    Hi,
    from where can I look at all possible system statuses a production order could has ?
    Regards

    Dear sappione,
    Either you can get this in the F4 option for system status in the COOIS report or else check in BS22.
    Regards
    Mangalraj.S

  • Production Order TECO status

    Hi all
    I face this peculiar problem. When I TECO a Production order there sometimes the order reservation for components are not wiped out. Why does this happen only sometimes and if this happens how do I remove the component reservation?
    thanks a lot

    Hi
    Usually when you did not reach the upper or lower limits of the order, reservation ermains open.. so first otion to clean up all reservation linkedto the order is to set TECO status.  if it did not clean up all reservation may be caused becuase there are open items in another screen or being handle by another user.
    So you can remove the TECO, and TECO the order once again, just ensure there are no other screen using the order or material.
    Next option is to delete the reservation directly via MB22. sometimes this option is not possible, normally when Reservations are created automatically by the system, in this case only deleting the source of the reservation.
    Final option is to clean only the reservation for a given material, just go to the ordern in change mode, and then to  the material details, and set the flag "on" for the field "Final Issue".
    Hope this helps.
    JC

  • 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 Advance

    Dear Jegashree,
    Check this link
    [Production order status|Table : Production order status;
    Regards
    Madhu

  • Getting Production Order previous status

    Hi Experts,
    I know that we can use FM STATUS_TEXT_EDIT to get the current status of a Production Order. I'm wondering if we could also get the previous status of a Production Order? If we can, what is the steps or FM to use?
    Thanks

    Hi,
    I tried checking for some examples in my system. But unfortuantely I do not have any data for Production orders
    in my system.
    But I have observed for some other orders. If we have different statuses in the JCDS under active status, I think it is justified,
    as in the case of Equipment which is in INST status, if we set a deletion flag on this equipment, then the table will have the
    status of both INST and DLFL, i.e. Installed and Deletion flag set as well.
    So we have to consider onky those records with the INACT = space. And still if we have doubts we can cross check with the
    program that the other user has mentioned 'RBSVCDOC'.
    it is actually returning all the other statusses avaialble for this OBJNR, but also highlights the presently active status.
    So I hope with this we can identify the present and the Previous status.
    I tried executing this program 'RBSVCDOC' on the same OBJNR by changing its statuses, and the result also changed accordingly, by highlighting the status that was presently set.
    Hope this should help.
    Thanks & regards,
    Y Gautham

  • 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

Maybe you are looking for

  • Splash page with animated gif only question

    Hello all: I have a splash page (index.html) that is designed using an animated gif created in photoshop. The rest of my site is Css/XHTML, but has some divs containing animated gifs. I have two questions; 1: By using only the animated gif on the spl

  • The most basic midi question goes unanswered..

    I know. I just must be missing this somewhere, but I cannot find the answer. I'm using a drum samples in Logic 8. My drummer uses a AlternateMode "TrapKat" as his triggers of choice. However, we can't get logic to recognize this instrument and record

  • Problems printing envelopes

    I have a canon iSensys LBP 6000.   Works great - still prints fine, but won't do envelopes from Address book now, although I haven't changed anything.  1st address OK, subsequent ones move across the envelope and off the edge. Today, as well as the a

  • Compile error when using DRAM

    I am using the NI PCIe-1473R Framegrabber on Labview 2010 SP1. I would like to do some image processing on the FPGA. I started off with the 10-Tap 8-Bit Camera with DRAM example. I am trying to replace the DRAM FIFO with DRAM circular buffer. I need

  • Safari not showing pdf images

    When I open several pdf documents that I recently added to my website, the images on the documents do not show up when I view them through Safari?