Open Production Order

Hi have to create a report that has open sales order , open po , open pur req , open planned order and open Production order.
I need the logic for OPEN PRODUCTION ORDERS.
The status of the production orders are maintained in JEST Table .
  I need logic to elimate the completed production orders during my selcet . Since JEST Table has multiple entries and for some orders that are released the 'DELV'  status wil not be maintained at all at that time.
I wil really appreciate your help , if you can tell me how to emliminate the completed production orders during my select query to get the open prod orders.
Is there any fun moduel or bapi that wil give the Open prod orders ?? or any std report that gives open PO??
Thanks

for this you can use the Function STATUS_TEXT_EDIT , for this pass Objnr (get the objnr from AUFK table using the production order) it will give you the status in the LINE exporting parameters.
Import parameters               Value
CLIENT                          100
FLG_USER_STAT
OBJNR                           QM000200000010
ONLY_ACTIVE                     X
SPRAS                           EN
BYPASS_BUFFER
Export parameters               Value
ANW_STAT_EXISTING
E_STSMA
LINE                            OSNO NOTE   "this is the status text
USER_LINE
STONR                           00
if line CS 'DELV'
"ignore the Order
endif.

Similar Messages

  • BAPI for Open production orders

    Hi All,
    Any BAPI for open production orders?.... Using BAPI i want to upload open production orders informatiomations.... Please help
    Thanks & Regards
    Santhosh

    Hi,
       Please check the following BAPI,
    Goto BAPI tcode, select hierarchical tab
      Production orders,ProductionOrder ,ProdOrdConfirmation , RCVPRORDCF and check the BAPIs

  • Open production orders and its costs migration

    Hi All,
    We are migrating open production orders from legacy to SAP.
    We have some standard cost production orders are open in legacy and like to migrate a open production orders to SAP?
    May I know how can I do from controlling point of view?
    I have one typical scenario.
    I have one production order in legacy with 10 standard cost materials produce and out of 10, 5 materials are completed in legacy and we wants to migrate remaining 5 materials to SAP.
    What are the steps I needs to follow to migrate open production orders.
    Any help is appreciated.
    Thanks,
    Anusha

    Hi Anusha,
    Below is the process: (presuming that you're uploading balances as of 01.04.2009)
    Upload all material masters,
    Upload material initial balances,
    Create new Production Orders as of cut off date, say 01.04.2009
    Issues goods to Production Orders created above.
    All the goods/material issued to Production are debited to raw material consumption account.
    The value of WIP can only be ascertained during month-end closing process.
    If it is pressing requirement then upload the balances as of 31.03.2009 and then do a month-end/year-end closing.
    Thanks,
    Srikanth

  • Open production orders and outbound delivery after go-live

    Hello All,
    I tried to search answer for this question but could not find answer.
    Could anybody suggest, what to do with open production orders and outbound delivery after go-live when WM is activated. As, after go-live WM-PP interface will be activated and system should consume material from storage bin specified in control cycle and that will happen for newly created production order after go-live,but what about existing production orders how to update production supply area against work center in production order.
    Similarly with outbound delivery how to update WM status after go-live.
    Thanks in advance

    Thanks to both Jurgen and Sander
    Regarding production order yes, one way is to re-read PP master data in production orders, but is that the only way to handle this or do we have any other option?
    I was aware of re-read PP master data but it will real time consuming and also if it will problematic for already released or partially confirmed production orders.

  • Confirm Production on any open production order

    Hello Gurus.
    Our company receives material at the end of the production line and they need to report this production in the system. The problem is that at this point, they don't know what Production Order it relates to.
    Is there a transaction in SAP that allows you to report production and then apply this to any open production order that currently exists? For instance, apply it to the first open production order in the system.
    Somewhere where all the user would need to type is the material and quantity. The production order would be selected automatically.
    Thanks!

    Thanks for your replies.
    Regarding REM, I know how to set it up; however, we need to have Production Orders in place in order to drive the requirements of components.
    With REM, how would you know which components you need to purchase? Would you need to then use Re-order point planning or fixed forecasts in order to purchase them in time?
    It would be great if it was possible to use REM to receive the assemblies on stock, but instead of getting the results in a Product Cost collector, you would reduce open production orders. Though I understand this may not be standard functionality.

  • Data migration of open production order

    Hello SAP gurus,
    Please advise me about the steps that should be followed for data migration of open production order from legacy to SAP.
    Regards,
    Anand

    Hello SAP gurus,
    Please advise me about the steps that should be followed for data migration of open production order from legacy to SAP.
    Regards,
    Anand

  • Pick List and Open Production Order

    Our WMS clerk confused about open Production Order and Pick up due list for the Production Order.We want to check the list of open production order and what are the materials due for picking up the open production order   Please suggest us the best way you are doing for your Production Order.
    Thanks

    Nick,
    Co27 will give only open orders and materials to be picked.
    Open production orders mean - orders which are not teco/closed/deleted.
    All the materials will appear in the list which have a status - FInal issue not ticked.
    You can slos use coois
    with list = components
    profile = picking profile.
    here we have more options.
    please come back if required.

  • LSMW for Open Production Order Creation

    Hi all,
    I want to migrate open production orders from legacy system to the other SAP system. Please let me know how should I do it?
    I tried using the idoc method with  Message type LOIPRO and the Basic Type LOIPRO01 but the it gives a error that No process code for message type LOIPRO. I guess this is a Outbound Idoc.
    Next I tried searching for a BAPI for prodcution orders. I found the BAPI,   BAPI_PRODORD_CREATE. But it does not contain all the fields I need. Also this BAPI cannot be used in LSMW as it ALE message type does not exist for it.
    So please let me know how can I use the idoc method to create the production order as I have all the fields required in the idoc basic type. Also please share if any other method is there to upload the data.
    Regards,
    Mozila

    We had to use BAPIs to upload the production orders.
    It was not possible with LSMW.

  • Reg : Open Production Order

    Hi Experts ,
    Herewith iam having one doutb in Open production order (CO01)
    1. what is Open Production order ?
    2. what are all tables that are involved in Open production oder ?
    3. step by step procedure require for how 2 create Open Production order?
    Regards,
    Narayana Murthy

    hi
    good
    go through this link,hope this ll help you to solve your problem
    http://sap.rfgen.com/docs/PR/PR%20Inquiry%20by%20Material.pdf
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c309c589-0d01-0010-e094-c7113ec43c5a
    thanks
    mrutyun^

  • Open Production Order Details

    Hi Experts,
    we develop customize report, we need list of open production order details, we know table's to get consolidate list
    Ques is there any function module to get list of open production order details or any other simple way?
    Regards,
    Sankaran

    Hi,
    How do you want to see your Open Production Orders?
    what parameters you want to consider?
    is this all th Orders with PCNF and PDLV but TECO and DLV not inculded some thing like that??
    Follow the procedure..
    In BS42, You copy one existing Profile with some "Zxxx" and Copy all.
    in the Selection Conditions define as below:
         PCNF
    or   PDLV
          TECO    Not (Check box active)
    and DLV       Not (Check box active)
    and CLSD     Not (Check box active)
    or you can have diffrent statuses as per your requirement.
    Then it is done..
    Use this Profile in COOIS in "Selection Profile Status".
    Hope this helps..
    Regards,
    Siva
    Hi Sankaran,
    I have missed the Statuses CRTD and REL to be included in the profile.
    Any way you can add these as well.
    Revert for further discuusion..
    Reg.
    Siva
    Edited by: Siva Kumar M on May 7, 2008 2:13 PM

  • Open production order issue in recording

    Hi,
    I am doing an LSMW recording of the transaction CO02 for the release of open production orders.If i try to release an order which has a missing part list a pop up appears which has the following three options
    1. Release order
    2.Mising part list
    3.Cancel.
    I need my LSMW to handle the release of production orders even when there is a missing part and hence i need to record the pop up screen.
    Can anyone let me know how it can be done ??
    Regards
    M

    Hi,
    Check whether yours lot size in routing is greater then 1.
    If yes then make it zero then i think it should work.
    Regards,
    Vishal

  • Open Production Order with Mark for deletion

    Hi
    Friends again stuck in open production order
    i want to calculate  production order quantity for open production order,
    only those production order which dont have mark for deletion.
    I find a field in afpo XLOEK ..but it wont get reflects when done changes in CO02
    Then i used the table JEST and i want to delete those aufnr which has deletion flag i wrote the folowing code pls do correct me where iam wrong .
    IN this code  deletes aufnr which are marked as deletion  ?
    SELECT afko~aufnr
           afko~gamng
           afko~plnbez
           afpo~dwerk
           afpo~psmng
           afpo~matnr
           INTO CORRESPONDING FIELDS OF TABLE i_afko
           FROM afko INNER JOIN
           afpo ON afpoaufnr = afkoaufnr
           WHERE afpo~dwerk = s_werks
          AND   afpo~matnr IN s_matnr
          AND afpo~elikz = space.
    LOOP AT i_afko.
      CONCATENATE 'OR' i_afko-aufnr INTO i_afko-aufnr.
      MODIFY i_afko.
    ENDLOOP.
    IF NOT  i_afko[] IS  INITIAL.
      SELECT jest~objnr
             jest~stat
             jest~inact
              INTO CORRESPONDING FIELDS OF TABLE i_jest
              FROM jest
             FOR ALL ENTRIES IN i_afko
             WHERE objnr = i_afko-aufnr.
    ENDIF.
    LOOP AT i_jest INTO wa_ijest.
      IF wa_ijest-stat = 'I0076' and ( wa_ijest-inact = SPACE  ).
        DELETE i_afko WHERE aufnr = wa_ijest-objnr.
      ENDIF.
    ENDLOOP.
    i_afko1[]  =  i_afko[].
    SORT i_afko BY matnr dwerk.
    DELETE ADJACENT DUPLICATES FROM i_afko COMPARING matnr dwerk.
    loop ....
    calculate :quantity
    endloop.
    Regards and answers will be rewarded points

    thnks
    solved the problem
    regards

  • Production Order Statuses - Open production orders

    Hello Gurus,
    I need to extract all the open production orders whose statuses are not DLV. help me out how I can do this. I dont know from which table I can extract this data.
    I know the tables related are -
    AUFK prd ord master data
    AFKO prd ord header
    AFPO prd ord details
    But I dont see the status field in any of these tables.
    Regards,
    B

    Vijay,
    Can u check if my code is correct.
    TABLES : AUFK, JEST.
    DATA  : BEGIN OF IT OCCURS 0,
            AUFNR LIKE AUFK-AUFNR,
            AUART LIKE AUFK-AUART,
            OBJNR LIKE AUFK-OBJNR,
            STAT  LIKE JEST-STAT,
            LINE  TYPE BSVX-STTXT,
            END OF IT.
    LOOP AT IT.
    SELECT AUFNR OBJNR FROM AUFK INTO IT WHERE AUART = 'PP01'.
    CALL FUNCTION 'STATUS_TEXT_EDIT'
      EXPORTING
       CLIENT                  = SY-MANDT
      FLG_USER_STAT           = ' '
        OBJNR                   = IT-OBJNR
      ONLY_ACTIVE             = 'X'
        SPRAS                   = 'E'
      BYPASS_BUFFER           = ' '
    IMPORTING
      ANW_STAT_EXISTING       =
      E_STSMA                 =
        LINE                    = IT-LINE
      USER_LINE               =
      STONR                   =
    EXCEPTIONS
      OBJECT_NOT_FOUND        = 1
      OTHERS                  = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    IF IT-LINE = 'DLV'.
    APPEND IT.
    ENDIF.
    ENDSELECT.
    ENDLOOP.
    WRITE /: IT-AUFNR.
    Regards,
    B

  • Adding Labour charge to an open Production order

    Hi,
    How do I add a labour charge (for time spent on the job) to an open production order created in CO01?

    Thanks.
    But there were 10 groups look like from 'Series - Group No. 1' to 'Series - Group No. 2', How did I know which one was assigned to Production Order?

  • DETAIL WIP ACCOUNT BY OPEN PRODUCTION ORDER

    Hi Everybody!!!!
    I'm trying to develop a report to obtain the detail of the WIP accoun by Open Production Order, but I have the following problem.
    All the additional costs are not saved in any table ( I have looked almost everywhere OINM, OIGN, IGN1)
    Does anybody know how I can obtain it?
    Regards,
    Ronald

    hi,
    Additional costs can be found in table WOR1.
    Try this query
    SELECT T1.DocNum, T0.ItemCode, T0.WipActCode, T0.CompTotal as 'Additional Cost'
    FROM WOR1 T0  INNER JOIN OWOR T1 ON T0.DocEntry = T1.DocEntry
    WHERE T1.DocNum = '[%0]'
    Jeyakanthan

Maybe you are looking for

  • How to schedule job for APDs?

    Hi All, Does anyone have an idea how to schedule a job for APDs? There is a program called "RSAN_PROCESS_EXECUTE" and it can be scheduled, but it needs to be run with the specific APD. I will appreciate any help with points, Thanks

  • Edge Reflow CC (Preview) does not work with Photoshop CC (2014)

    I mean, I'm not sure if that how it is or if I'm facing some sort of compatibility problem with Reflow (version 0.47.17127). I just can't get it to work with the newest Photoshop CC (2014). It only works on Photoshop CC.

  • I bought my macbook pro for only a day, and see what happens....

    The computer is running pretty laggy a little bit and also I cannot shut it down... When i press shutdown, the only disappeared was the bar on the top. the task bar on the bottom still there.... And when i tries to shut it down by pressing the physic

  • Getting error msg: Session could not be started

    Since the update of itunes and ios i get an error msg saying could not sync iphone because a session could not be started. Have an iphone 4

  • Connect macbook pro w retina to a monitor

    Is there a way to connect my new Macbook pro w retina display to a monitor and allow the laptop to be closed while I work on the monitor only (w external mouse and keyboard).  Everytime I close the laptop, the monitor goes off.  NOthing seems to allo