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

Similar Messages

  • How to get Production Order Quantity

    I have material number and plant. From this information how to get production order quantity that is displayed in the transaction MD04.
    Thanks,
    Vinay.

    Hi Vinay,
    Have you looked FM <b>MD_STOCK_REQUIREMENTS_LIST_API</b>?
    Hope this will help.
    Regards,
    Ferry ianto

  • 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

  • ABAP Code to get Production Order Quantity for a material-Status REL,CRTD

    hi all,
    I am new to SAP. I am stuck with a problem while writing a abap code for getting all the production order quantities for a material with System Status REL and CRTD. Please help me out. This is what i tried to do.
      IF t_mat[] IS NOT INITIAL.
        t_mat2[] = t_mat[].
        SORT t_mat2 BY matnr.
        DELETE ADJACENT DUPLICATES FROM t_mat2 COMPARING matnr werks.
        SELECT auaufnr afgamng af~plnbez INTO CORRESPONDING FIELDS OF
        TABLE t_ord1 FROM afko AS af INNER JOIN  aufk AS au ON
          afaufnr = auaufnr
        FOR ALL ENTRIES IN t_mat2
        WHERE af~plnbez = t_mat2-matnr
        AND   au~werks  = t_mat2-werks
        AND   af~gltrs IN s_gltrs
        AND   af~gstri IN s_gstri
        AND   au~phas0 IN s_phas0
        AND   au~phas1 IN s_phas1.
      ENDIF.
    Thanks. Regards.
    Sandeep

    Hi
    There is one std tcode COOIS where u can get the information what u have asked
    Pls check
    regards
    Vijay

  • 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

  • Materials/Production Order/Document Status Report

    Hello All,
    I am trying to create a report that gives the following
    Production Number
    Material Number on Production Order
    Document Number on Material (DRAW-DOKNR)
    Document Status (TDWST-STABK)
    I tried creating this in a join and have the tables for Doc Number and Docu Number on Material but I can't seem to find a match between the part number on the Production Order and the Document Number.
    What table has the parts on a production order?
    Thanks,
    Linda

    OK I have the Production Order and the attached BOM now all I need to do is add the DRAW and TDWST - unfortunately they don't have similar keys to do a join with what I just created. When I try to join with MARC it doesn't pull anything - doesn't like that join.
    In order to get the Production Order and it'e related BOM use the following:
    I created a join between tables AUFK and RESB
    Output of the query looks like the following:
    Order Type: AUFK-AUART
    Order Number: AUFK-AUFNR
    Plant: AUFK-WERKS
    Material Number: RESB-MATNR
    BOM Number: RESB-POSNR
    In Order to get it into BOM Order all you do is sort on RESB-POSNR

  • Production order change status report

    Dear All,
    I created production order in PP. suppose I make changes in production order while confirmation i.e. i change prodn. order qty. 50 to 40 at stage 30(i.e. atrouting stage-- 3rd operation). From where i will get the status of this changes in production order qty ?
    I tried in TC: COOIS , but it shows changed qty. 40. I want the diff. 50 -40 = 10 which i have cancelled whilw prodn.confimation.
    Pl' reply....

    we r using strategy '30'. we can not use make to order strategy as our planning has flexibility. So we r creating production orders manually@ 8000 materials from excel to SAP (using BDC program). So there is no linking with sales orders and production orders.
    we r uploading material and qty. in mass to create prodn. orders manually.
    while prodn. orders confirmation of new plan , sometimes to accomodate spill (pending orders--incomplete orders of last month) we have to cancel some new prodn. orders.
    So how to cancel those and from which report i will get change qty. status?
    thanks.

  • Production order settlement status table

    Hi All,
           How shoud i know the production order is settled or not ? Some status i given here SETC Settlement rule created
    VCAL Variances calculated, REL released,CNF conformed ,in a month  10 order created some are conformed some are relesed sone are settled . The question is how i konw which order is settled ?
    Is there any table there where i see the settled order ?*
    Thanks & Regards,
    Debashis

    Hi Debashis,
    Pl use the T-Code # KOC4 to know which Orders got settled and posted to VARIANCE & which Orders got posted to WIP.
    Once you get the output, if you don't see the fields of "VARIANCE" & "WIP", pull the same by changing the layout.
    Let me know, if you have any questions on this.
    Regards,
    Pandu

  • Production order current status

    Hi All,
    Could any one of you let me know where can I know the current status of a produciton order, like if it is in release status or technically completed, I remember the there is function module to read the status but I do not remember it now.
    Kindly let me know the FM name or table name or if there is another way out for this.
    Thanks,
    Mark

    Hi,
    You can use FM  "WCFS_STTXT_GET" for getting the active status of the production order. Here we need to pass OBJNR from AUFK table.
    Regards,
    Krishnamurthy.SC
    Reward if the answer is useful.

  • How to get Production Order wise Actual Values

    Dear CO Experts,
    How to get Actual Values (Raw Material Issue, Activity Confirmations & OH Calculations & Goods Receipts from Production) each Production Order wise ?
    My Scenario is Product Cost Collectors (PCC)  with Production Orders.
    If we select above scenario Production Order is Statistical and PCC is real cost object.
    For PCC is Period wise we can track the cost Periodically in individual Material.
    But my client is asking how to see the each Production Order wise Actual values. Is there any T.Code ??
    In Production Order I am able to see only Plan values (CO03).
    Waiting for your favorable reply.
    Regards,
    KBR.

    Hi Bhaskar
    You are in Alaska and you wanna eat vegetarian food
    You cant get values at Prod order level if you have chosen PCC as cost object.... You will only get Qty at Prod order level
    To get a bird's eye view of costs incurred in PCC, execute report MCRY with PCC as the input...  MCRX shows only Qty info for components
    br, Ajay M

  • 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

  • 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

Maybe you are looking for