Open Planned order table

Hi
I am doing a report in which i have to quantity for open planned orders and aslo quanity for open production order
ican get open prd order from afko and afpo ..
Can any body tell me from which table and field flag  shoudl i pick for open planned order.
regards
yao chang

Hi
I am doing a report in which i have to calculate quantity for open planned orders and aslo quanity for open production order
ican get open prd order from afko and afpo ..
Can any body tell me from which table and field flag shoudl i pick for open planned order.
regards
yao chang

Similar Messages

  • Query on open planned orders details with process order GR details

    Dear Experts,
    I need to create a query in SQ01 where the requirement is as given below,
    Query output should display the open planned orders  (Planned orders which is not converted to process order details) details for a material like Planned order number, Planned order quantity, Start date, Finish date and also  the details of the list of process orders created for the same material with its details like PO qty, GR qty, Basic start date, Finish date, Actual finish date, BOM Component material codes, component quantity.
    But i tried creating this query by joing the tables PLAF+ AFPO+AUFK+ AFKO+RESB . My input parameter will be the Material Number for which Planned order and Process orders are being created.
    But i am unable to generate the output when i create a query by joining these tables
    Is it possible to obtain the output for open planned order details and process order details in a single query ?
    I am failing in my repeated attempts
    Please provide your suggestions for developing this query
    Regards,
    J.Balakrishnan

    Dear Bala,
    as alternative , for use a query report and not a custom abap report, you can try to read data from MRP tables MDKP and MDTB . In these one tables you can find both elements (planned order and production orders) for to start to research all details that you need.
    You can also use MDTB-DELKZ to filter only planned order (PA) and Production order (FE).
    With the number order you can read the RESB table in order to define components details.
    With this table would you the advantage to have always the opened orders.
    If the following table are empty you should make a little customizing modification so that once MRP run will write them.
    Give me feedback if i have been useful for you.
    Daniele

  • Open planned orders and production orders

    Hi friends,
    I have one issue with my client.
    Client has 1 lac materials in sap .Now he wants extract all materials open planned orders and open production orders with quantity and dates.
    Please tell me the process how i can extract the data from sap for above requirement.
    Thanks,
    Manoj

    Hi Manoj,
    For open planned order and production order select the respective box.
    But one suggestion. Try to convince client that this report will take a lot of time as you have mentioned 1 lac materials are there.
    You can exclude system status and get it with below screen as mentioned already.
    But my suggestion is to run the report at night when the system load is very less. Please create a background job one for planned order and another for production order. Then run it in midnight as per the customer requirement in background. You can automate the process by sending automatic mail to customer. Please refer the below link to trigger mail.
    Mail Trigger with TEXT file via JOB run
    Regards,
    Krishnendu.

  • Planned orders table/report

    Hi all,
    IS there any table/report which lists out the Planned orders and the converter Purchase requisitions from planned orders? I want a report/table which lists out Purchase requisitions and the related Planned orders.
    Thanks,
    Avani.

    Hi,
    no standard report for your reqirement
    pls check planned order table
    PLAF - planned order table
    once converted planned to pur. req, there is no table to store this converted data
    EBAN - Pur. req table
    Hope you understand
    Regards,
    Sankaran

  • Open Planned Order Quantity

    Hi Experts,
    for a particluar material I need the Open quantity of Planned orders for displaying in a custom report.
    Please suggest from which table or by logic can i fetch this quantity .
    Note: Not from any std report - i need table lable detail

    Hi
    Will this give the Open quantity of the Planned Order ( not converted ) ???
    in PLAF table only existing plan orders info will be there
    no productions orders
    Regards
    kumar

  • Plan order table

    Hi PP Gurus,
    I am developing MRP report for a client in which we are calculating the delay in plan opening period means difference between   plan opening date of plan order and actual production order creation date .
    For this we are getting production order creation date from production order but this order is creating from plan order so we are not getting plan opening date from plan order as the entry of plan order gets deleted from PLAF table .
    Is there any other table of plan order for getting the plan order data even after converting it into production order?
    Regards,

    Hi!,
    No you won'tfind  that data once the planned order is converted to production order. You can do one thing. Please develop an enhacement which will fetch the planned order data from PLAF table and will save it to a ZTABLE before the planned order conversion, so that you can use the same later on. You can also update the created production order number in that table.
    I hope this will help in solving your issue.
    Regards,
    Uday

  • Open Purchase Order table.

    Hi
    I want to prepare a report which should display open Purchase Order quantity according to latest delivery date.
    I explain with a example.
    Say a material has 3 Purchase Orders with delivery date as 1st June,15th June and 20th June.Then system should pick the Purchase Order with delivery date as 1st June and it should dislay the quantity which is yet to be delivered,means there is possibility that GR has already been done for some of the quantity.
    To summarize the report should pick the latest Purchase Quantity and display the quantity yet to be delivered.Can anybody let me kow the Tables to be refered fro the same.
    Regards
    Vaibhav Mahajan

    Hi Vaibhav
    You can go to report by ME2N. Here you have multiple options for your reoport. In selection parameters you can put OPEN PO nad put the delievery date. There are many combinations available in this report.
    Please let me know if it doesn't work.
    Regards
    SS

  • Open Sales Order  table with multiple schedule line....

    YUSUF BHORI wrote:
    Hi Experts,
    In Sales Order there are multiple schedule line for single item.
    Where and in which table i can find open qty for order ,material, item and schedule line items.
    I Want open items for each schedule line. For One vbeln, posnr there multiple etenr.
    Urgent,
    Yusuf.

    Hai,
    Join VBAK & VBAP and store data in an internal table GT_VBAP to get Sales order numbers, items, materials.
    Get Open Sales order items from VBUP into GT_VBUP  where VBUP-GBSTA  NE  'C'.
    LOOP at GT_VBAP.
    Read table GT_VBUP with key vbeln & posnr.
    If sy-subrc <> 0.
      delete GT_VBAP.
    endif.
    ****Fill your Final Report Internal table with required field values **Append into that internal table
    ENDLOOP.
    Now Select WMENG BMENG from VBEP into GT_VBEP for all entries in GT_VBAP.
    LOOP AT  GT_VBEP.
    *******Again Modify your Final Report internal table with these values
    ***VBEP-WMENG is Ordered Qty
    ***VBEP-BMENG is Confirmed Qty
    ************Open Qty     = Ordered Qty      = Confirmed Qty***
    ************Open Qty     = VBEP-WMENG = VBEP-BMENG.***
    ENDLOOP.
    Edited by: Eswara Rao Aakula on Dec 24, 2007 9:56 AM
    Edited by: Eswara Rao Aakula on Dec 24, 2007 9:57 AM

  • Open Purchase Requisition & open Planned Order

    Hi,
    How to know if a Purchase Requisition or a Planned Order is open?
    Regards,
    Anupam

    hi,
                         If EKPO- ELIKZ is blank can be consider as Open PO item
                         (Except in if EKOP-PSTYP=5, If EKPO-PSTYP= 5 check for open invoice even EKPO- ELIKZ is blank.)
                         If EKPO- ELIKZ is flagged, check for open invoice check as below (Except EKPO-PSTYP=2)
                         Check the Invoiced quaintly in EKBE is equal to ordered quantity in EKPO if not then it considered as open

  • Planned order tables

    After backflushing a planned order in Repetitive mfg. the planned order does not reflect in MD04 and PLAF table.In which table can I see this backflushed planned order along with the quantity of planned order?

    Hi,
    You will get this in table BLPR.
    After backflushing in MFBF it will go n sit in above table.
    regards,
    Vinayak.

  • Planned order detail Table

    Hi,
    With a Combination of WORK CENTER and PLANT i need to extract all the respective PLANNED ORDERS, which is the corresponding table to query. Please help.
    Points Assured
    Regards,
    Prabu

    Hi....
    PLAF - Planned order table
    Tables related to work center:
    CHRD: Work center header.
    CRCO: Assign ment table
    TC24: Person respoancible for WC
    Others:
    PBIM: Independent Requirements for Materials
    MDTB:MRP Table
    RESB:Material Reservations
    Thanks,
    Naveen Inuganti.

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

  • LSMW  - Open Sales Orders

    Hello  Friends
    I want to find if anybody can guide me on how to get all open sales order tables , i want to create a format and create a flat file for uplodading the file , for this what do i need and how do i do it.
    Also for creating LSWM can i use the existing one which i can just Assign the New file to the existing one .
    Regards.

    Dear Mehmood,
    I want to find if anybody can guide me on how to get all open sales order tables
    You want to extract all the open sales orders- which you can get from Table:VBUP key in overall document status in selection screen ( You can use VBUK also- but if there are certain sales orders in which some of the items are completed or few of them open, using VBUK - you will not get exact records)
    Secondly, you can get the data by using Query also- in SQVI
    design a query with VBAK / VBAP & VBUP
    so that from VBAK you can give time period & sales area details
    from VBAP - you can enter plant relevant details to filter certain records & item category as well
    where as VBUP- filter wth the status.
    once downloaded store in flat file.
    Now Create LSMW object by using batch input recording method. after mapping the relevant fields,
    prepare the flat file in such a - it suits to the upload file / recording file. then you can upload the already downloaded n stored open sales orders in flat file.
    Hope this is what you are looking for.
    Regards,
    ReazuddinMD

  • To build query related to SNP: Planned Order

    Hi,
    System: SCM 5.0
    Scenario: SO received at plant and planning creates PR against SO at plant and accordingly SNP:Planned Order at Vendor location. If SO is cancelled/deleted (manually), sometime only the PR gets cancelled/deleted (automatically during planning run) but corresponding SNP:Planned Orders still remains at vendor location and so the dependent requirements. PR and Planned Orders are pegged to SO so one-to-one relation is maintained.
    I could not find any reason why system is not deleting Planned Order at vendor location despite SO and PR is deleted at plant location. So I am planning to build query where SNP:Planned Orders are not pegged to any PR or SO.
    Can anyone help with list of SNP:Planned Order tables so that I can build query around it to identify ghost Planned Orders.
    Hope I was clear with my query but let me know if any further information is require.
    Thanks and regards,
    Devang

    HI Marius,
    Sorry for delay reply.
    I was working on on some other more critical issues to business.
    Finally we decided to built report to identify obsolete Planned Orders for which PR is not available in ordering plant. I have listed below logic for that report:
    Get Location ID from table /SAPAPO/LOC based on Location entered in selection screen
    Get PEGIDs from FM /SAPAPO/DM_MATLOC_GET_PEGIDS based on IV_SIMID as 000 and location id from step 1
    In FM /SAPAPO/OM_PEG_CAT_GET_ORDERS, use SIMVERSION as 000 and in Import Para IS_GEN_PARAMS insert all PEGIDs from step 2.
    From Export Para ET_PEG_INPNODE take From_OrderID and store in internal table.
    Execute T.Code /SAPAPO/RRP4 with following selection (Use Selection Variant: OBSOLETE PR and add Location as entered in Selection Screen)
    Planning Version: 000
    From: Current date – 60 days
    To: Current date +180 days
    Location: 0000201328
    Product: *
    Order Type: 1F
        6. Compare output of step 4 and step 5 and display result.
    From FM /SAPAPO/DM_MATLOC_GET_PEGIDS the output (step 4) will be Order ID (22 characters) while step 5 (T.Code /SAPAPO/RRP4) will give Planned Order number (8 character). I am not sure how to compare Internal Order ID (22 characters) for corresponding Planned Order Nos. (8 characters).
    I have not marked your post as correct answer as still need to find answer of above query.
    Thank you in advance for your guidance.
    Regards,
    Devang Shah

  • Locating Planned order from a  purchase requisition

    Hi Gurus ,
    A purchase requisition has been created manually , by converting a planned order . Is it possible to find out the planned order , from a purchase requisition   Pls advise.

    Hi
    Once planned order converted in to Production order or Purchase requisition, we can't see any details of the planned order.Planned orders are stored dynamically in tables.once it is  coverted,Details can not be seen even in PLAF-Plan order table.
    In production order, you can see the planned order number but for PR , it is difficult to get the reference Plan order number.
    Regards
    Ramakrishna

Maybe you are looking for

  • When I have two clips, one above the other, I would like to hear the audio from one at a time. How do I suppress temporarily one of that, in a easier way? Thank you.

    When I have two clips, one above the other, I would like to hear the audio from one at a time. How do I suppress temporarily one of that, in a easier way? Thank you.

  • Siteminder integration

    We are using Netegrity Siteminder for providing Single SignOn for differnet applications. Lately there has been request of integrating it with the Security Structure of BEA Weblogic 8.1 (For EJB's and certain secured resouces) based on SSO Id. Is the

  • Create Settlement rule for L2 WBS via CJB1/2

    Hi Everyone In the past we have settled WBS elements to either PSG/CCtr/AUC. We now want to have WBS hierarchies where the lower level WBS element will settle up to the superior (Level 1) WBS element. I have configured the following items in EEC 6.0:

  • Yahoo Mail Not Authenticating

    Anyone else having problems getting their Yahoo email on their Droid? Mine stopped being able to check/log in sometime this morning. When I try to manually refresh my Yahoo account (free version), I get an error that Authentication failed - Please ve

  • Problem with a PLSQL procedure

    Hi Guys Here a very small stored proc. CREATE OR REPLACE procedure PRODDATA.LECTX123 is type x123_aat is table of PRODDATA.CLIENTS%ROWTYPE index by PLS_INTEGER; l_x123 x123_aat; begin select * bulk collect into l_x123 from PRODDATA.CLIENTS; FOR indx