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

Similar Messages

  • Planned order conversion to Process Order and Stock Transport Order

    Hello Friends,
    Help me to setup the below scenario
    We have an requirement wherein MAT1 can be inhouse produced or can also get stock from other plant via stock transport order.
    For which in Material master I have configured
    MRP 2 view
    Procuremrent Type - X
    Special Procurement - 40 (wherin the splly plant is maintained)
    MRP 3 view
    Strategy group - 40 (as it is planning with final assembly)
    But when i run MRP system created Planed orders for PIRs. Selecting Planned Order conversion only Purchase req tab is available we do not have an option to convert to production order.
    Kindly help me correcting the settings, so that i should be in a position to convert planned order either to process order or Stock transport Purchase requisition.
    Thanks and Regards,
    Chandra

    Hi Chandra,
    Stock transfer is only possible with procurement type 'F'. when you take spl.procurement type 40, its a combination of F(procurement type) and U (Spl.procurement). it will over write the procurement type ('X' in your case) in material master. that is the reason u r getting only pur req.
    if you know the proportion quantity i.e how much inhouse and how much stock transport, then use quota arrangement.
    or
    don't use any spl procurement key. define the materials in both the plants. when converting planned order to pur req. manually assign supplying plant and item category 'U'. try this.
    Thanks & regards
    Dilip

  • Exit / badi for individual service line item detail with internal orders.

    Hello guys,
    <b>Issue 1.</b>as per our scenario we want to get the individual service line item details with Internal Orders.
    Please provide me any exit/badi with each item level with individual service line item Internal Orders.
    <b>Issue 2:</b> Remain same for issue 3 for blocking status. We want to delete item level for particular line what about the service rows which assigned in particular item.
    point will be rewarded for the suitabel answers.
    please give me response  ASAP.
    With Regards
    yogesh

    Hey Yogesh,
    I have the same scenario... Could you please drop a mail to [email protected] with the details of BADI and other details that you implemted for the same.
    Thanks a lot in advance.

  • Error:Assign handling Unit from one Process order to another process order

    Hi Experts,
    I am facing different issues in assigning handling unit from one process order to another.
    Business process:
    1. Two similar Process Orders are existing in the system
    2. Delivery is created for first process order using LP10 for one or more components
    3. TO is created in foreground using VL06P
    4. TO is confirmed by providing in stock available Handling Unit (HU) / storage Unit details Using LT12
    5. Customized transaction is used to reassign newly created HU (created in previous step) from first process order to second process order. As a result many steps are performed in background for delinking the HU from first process order to second process order (including creation of different TOs)
    I am facing different issues in the process:
    1. Sometimes while confirming the TO in step 4: error is received as "Reservation item 0065 with material 4013959300300 does not exist" OR "Reservation item with material does not exist"
    2. If the TO is confirmed in step 4. I am facing error in step 5 as "Warehouse number  does not exist (new selection required)"
    Both these errors are standard errors and I could not find much information on them in SCN also.
    If anyone can throw light on any of them then it would be great.
    Please let me know if any additional information is required.
    Thanks
    Harsh Aggarwal

    Hi Manish
    Thanks for your response. Actually, the customized program is used only in fifth step and not till TO confirmation so that error is not related to Customized program. However, in some cases I am able to do the confirmation but the error is received in 5th step i.e. Warehouse number  does not exist (new selection required)"
    Any further guidance you can provide. I will ask ABAP to check the customized program but the error seems to be a standard error.

  • Sales order number in process order

    Hello gurus,
    Is it not possible to have  a particular sales order consume a PIR  and have that sales order number reflected in the process order (The process ord which is converted from the plnd order which is a result of MRP run after sales order consumes PIR)...
    Thanks and regards

    Dear,
    If your material has strategy type as MTS then its not possible to allocate the PIR to a particular Sales Order in the Process Order, Sales Order can be included in planning by combining strategies but having a link is quite difficult.
    Thanks & Regards,
    Vijaya Bhaskar A

  • Multi Plnd Order to Single Process Order

    We have implemented Process Industry in our organisation (PP-PI).
    Can we convert MULTIPLE planned order to SINGLE process order ? How?
    If 'No' then what is the reason behind it?
    Chintan Patel

    Thank you Mr. Shiva & Mr. Vittal for prompt reply.
    But going furhter in the scenario as under:
    1) FERT, Strategy: 20 Make-to-Order
        Ind/Collective: 2 Collective Only,
        MRP Type: M0,
        Lot Size: MB,
        Procurement: Inhouse Production
       FERT has BOM which include HALB, VERP
       HALB has BOM which include ROH & VERP
    2) Sales Order Entered
        Line: 10  FERT: 600000673    Qty: 2000
        Line: 20  FERT: 600000673    Qty:      3  (free qty)
    3) Run MPS by MD50 on Sales Order, Line Item 10
        Result: Planned Order for line item 10 is generated
    4) Run MRP by MD41 on FERT 600000673
        Result: Second Planned for line item 20 is also generated
    Requirement:
    Can we obtain only one planned order for both line items as FERT are same for both lines ?
    Chintan Patel, Gujarat

  • How to deal with purchase order purchased with sale order

    Hi,
    I know we can produce with sale order, and the finished products can be priced in their own sale order and line item even when the  finished product master data is set 'S' in its price control field. But how to deal with purchase order purchased with sale order if its price control is 'S' and the purchased material can be priced differently with its own sale order?
    thanks.

    Hi,
    That is to say, we want to get these results:
    1. material purchased must match its sale order and its item
    2. the purchased material  is valued by sale order and its item when it is put into the stock.
    3.  the purchased material is set "valued by standard price' in its material master data.
    How to practice?
    Thanks.

  • Problem  with Process Order Scheduling..

    Dear Experts,
    i'm stucking with the scheduling of a process oreder.
    I've maintained all scheduling parameters into OPUZ except "selection ID" for detailed scheduling as it is grey & not allowing to fill any entry into it.
    I've also maintained production scheduler and other relevant settings into master recipe & resource regarding scheduling .
    Still i'm getting the error"Scheduling parameters for process orders have not been entered" message no CT609.
    Kindly help me out , where i'm wrong
    Thanx in advance...

    Dear Dennis,
    Ensure the scheduling parameters in OPUZ for the order type,plant combination and for all (* )scheduler you have maintainied
    the scheduling type,the check box for scheduling and generate capacity requirements under detailed scheduling is set.
    Check and revert back.
    Regards
    Mangalraj.S

  • SNP Planned Orders to ECC Process Orders - no PPDS

    Hello Gurus,
    Is there a way to covert an SNP Planned orders to ECC Prod. orders? Can one switch off the PPDS in APO and still get the MRP/ MPS planning in APO and  and convert those SNP planned orders into ECC orders in ECC
    Thanks.

    Hi Abhi,
    When you CIF SNP and PPDS planned orders to ECC system there is no diffrenciation between both of them (Because component specific details for the orders are not captured in ECC). So in ECC system you can convert Planned orders to Process or production orders by switching PPDS off in APO.
    In APO system, SNP itself can plan for all the levels (RM,PM,FG,SFG) so no need of doing MRP.So you can switch off PPDS.
    MPS functionality is available in ECC and not in APO system.
    Thanks and regards
    Sravan maturu

  • Opening and closing stock with sales order and with out sales order

    hello,
    any body please help me my client want to check opening stock and and closing stock in areport.
    material contains batch and some material with sales order and some are with out sales order. my client is asking this in a single layout. please tell me isthere any teport or bapi or function module to get this report.
    this is very uregent. and layout is requesting like opening stock, production stock, sales stock and closing stock.
    please guide me to get this report.
    Thanks & Regads
    Bhakta

    Transaction MB5B
    For sales order related use specila stock as E and use radio button indicator in stock type
    For stock w/o sales order, use special stock indiactor as "space' and stock type valuated stock.
    to get a perticular month,opening stock/closing stock enter the start date/end date as month start and end date.
    See the o/p which will give the stock as required by you

  • Planned order creation with sale order assingment at the run time of MRP

    some material item not planed with sale order stock in MRP run time. all setting in material master are corrected as i knowing.having some mistake in setting other configuration.

    Planning strategy is Make to order individual collective as individual but still come as make to stock plan orders
    Incase of Header material- Plan order is creating in MTS
    Check the sale order procurement tab, Is The requiremnt type is relevant to your Stratergy?, if not chnage it to correct requiremnt type and rerun MRP again
    Incase of component material- Plan order is creating in MTS
    Check for the component material MRP 4 View, individual/Coll.req- as 1. If not set as 1 and rerun the MRP again

  • Issue with process order confirmation

    Hi,
      I m doing the testing of SAP EHP4 To EHP6 up-gradation. I tried to confirm process order XXXXXX with T-code COR6N.
    In this process order there 2 phase for 2 activity. Now when I entered the order in COR6N I click on enter its automatically taken 2nd phase.
    Its by-pass the first phase. I have to confirm the 1st phase but its not showing.
    Please let me know where is the problem ...what configuration i m missing.
    Thanks,
    Anurudh

    Hi PP guru,
    Thanks all of you replay my problem is resolve now. 2nd phase not showing there because confirmation is possible but not necessary so when I click on f4 its not showing.  I entered it manually after that it taken it and showing activity also.
    So thank u friend once again.
    Thanks
    anurudh

  • Problem with process order settlement

    Hi,
    I'm having a problem while doing settlment for process orders. I have two types of process orders AJWV and AJW0; AJWV works for center 2000 and AJW0 works for center 1000. When I calculate variances both work good. The problem comes when I try to settle them. For AJWV orders there are three finance documents generated, FI document, Controlling document and Profit Center document. But for AJW0 it's just generated Controlling document and Profit Center document.
    Both order types have the same settlement profile assinged
    The settlement rule for both orders is to Cost Center, full settlement 100%
    Both orders are produced for Sales order with valuated stock
    I already checked the account assigment for the materials corresponding to each order, and both account determination are ok.
    What can be the problem so the AJW0 is not posting to FI variances?
    Thanks

    Hi,
    Yes for AJWV the FI entry was generated.

  • MTO material - Combine three planned orders into one process order

    Hi Gurus,
    Does anyone know if and how I can convert three planned orders of the same material into one process order?
    So:
    1.
    Sales order 1 (material X) --> generates Planned order 1
    Sales order 2 (material X) --> generates Planned order 2
    Sales order 3 (material X) --> generates Planned order 3
    2.
    Process orders 1,2,3 (material X) --> Process order 1
    3.
    Process order 1 --> reserved sales order stock for sales orders 1,2 and 3

    M,
    One process order cannot create Sales Order Stock for three different sales order items.  A single process order can produce Sales order stock for AT MOST 1 sales order/item.
    This scenario can be achieved under a Make to Stock environment, where the production order creates 'generic' stock (not sales order specific).
    Best Regards,
    DB49

  • BAPI for complete details of Process Order including characterstic

    Hi All,
    I need a BAPI for getting complete information of Process order including characterstics and its process instruction. I have got BAPI BAPI_PROCORD_GETDETAIL which returns all the information except order operation characterstics and "characterstics process instructions".
    Is there is any BAPI which can return these 2 details for a given process order.
    Thanks ,
    Abhishek

    Thanks Rajesha for your reply , but here i need Process instruction and its corresponding characterstics for a particular process order.
    Let me explain you the scenario , I have a Process order PO-001 , for PO-001 i have defined 1 operation OP-001 and a phase PH-001.
    For the phase PH-001 i have assigned process instructions PI-001 (You can assign process instructon by selecting a phase and then click on the button Process Instruction below).
    By double clicking on PI-001 you can get process characterstics for that selected PI-001.
    Now i need a BAPI which can return me PI-001 and its corresponding characterstics if i pass PO-001 in that BAPI.
    Thanks & Regards,
    Abhishek
    Edited by: ABHISHEK BAJPAI on Sep 29, 2010 7:30 AM

Maybe you are looking for

  • Absence Quota Accruals  from days to hrs

    Hi Guys, I need to change the Absence Quota Accruals process in SAP ERP ECC 6.0 system from Accruing time in days to hours. All necessary configuration changes are to be made in the development system (including Time and Payroll Schema changes for ab

  • Report Scheduling. How to syncronize the GMT and the local server timezones

    Hi everybody, I need to schedule reports using the Schedule tab on BIP, but I didn't still understand how the syncronization between my server's timezone and the GMT timezone works..... I noticed that when I open the Report Schedules initial page, th

  • 2010 MBP15 SMS sensor Z-axis not working?

    Hello all, Today I downloaded the Seismac utility: http://www.apple.com/downloads/macosx/math_science/seismac.html The X and Y axis appear to be functioning normally but the Z-axis remains at 1.00g at all times. I am somewhat concerned since this mea

  • Why won't Firefox show visited links in a different color, even though I've specified so in my Color Settings?

    When I'm on a page with multiple links (ie. Google Search, Craig's List, etc), and I click on a link, then return to the search page, Firefox doesn't show the visited links in purple. As a result I can't see which links I've visited, which makes brow

  • My N96 is not accepting my new SIM Card

    To whom it may concern, I bought my N96 branded from Vodafone UK around 1 year ago and when I tried it the first time I used it on an other network and it worked flawlessly. I did two upgrades with the WLAN with no issues and meanwhile I changed to V