Search Production Orders based on Sales Order

HI,
Ours is MTO scenario.
How to find Production Order number(s) based on Sales Order.
We are getting in AFPO, but if the process starts from Enquiry or Quotation then there is difficulty.
Because there can be multiple documents of enquiry or quotation.
Kindly suggest.
Thanks
Ramakanth

Ramakanth
Did you try T code  COOIS - Order Information System?
Here you can enter the sales order # ( Single values, range etc.) and get a list pf Production Orders?

Similar Messages

  • Purchase order based on Sales order

    Hi,
    I try to create Purchase order based on Sales order.
    The error message :
    "Base document card and target document card do not match"
    My code:
    oPurOrder.Lines.BaseEntry=oSalesOrder.DocEntry
    oPurOrder.Lines.BaseLine=oSalesOrder.Lines.Linenum
    oPurOrder.Lines.BaseType=17
    Could you help me please ?
    Tks.
    Laetitia

    Hi,
    Looking at your code I will check how you fill the fields in the oPurOrder object because the code you copied is only for the document lines and the error refers to the document itself (maybe you forgot to assign the cardcode property).
    If you are basing the document, a good and reliable method is to export the base to a xml file and load the target using this file. This way you garantee that all the info of the document is copied. After that you could use your code to update the info you want to change the same way you pasted it in your post.
    Hope it helps,
    -M

  • Restriction for items from Purchase Order based on Sale Order

    Hi !
           We create PO directly from Sale Order ( by ticking Option under Logistic tab, 'Purchase Order') for customer C01 (for eg).
    From the PO created, we post GRPO.
    Now our need is,
    Assume if 10 Qty is been ordered in such a way and been received (GRPO posted). it 'll add on to the stock account i.e will increase stock qty at our whse.
    is it possible to restrict these 10 qty of item from being sold to any other Customer other than whom hav ordered i.e if we create sale order for C02 the SBO should not take the items received from PO created based on Sales Order created for C01?
    Meera.

    Meera,
    Which version of SBO are you using 2005 or 2007?
    I don't think Serial numbers can help in this scenario.  There is no hard allocation or blocking possible using Serial numbers.
    This is the Work around I am thinking about.
    Set the items to be Batch Managed - On Every Transaction
    When performing Goods Receipt, enter the Sales Order Number as the Batch Number
    When creating the delivery, using SBO_SP_TransactionNotification we can easily check the Batch of the Item being selected and verify it with the BaseRef of Delivery lines to match with Sales Order number.
    If the numbers don't match we can warn user with message, "The items batch reserved for Sales Order xyz"
    Even if you make a mistake when entering the batch number same as Sales Order number when doing a goods receipt. It can still be traced and blocked during delivery.
    Hint: The Batch table records the Goods Receipt transaction along with the BaseDocument number, Base Ref, etc
    If you decide to go this route, I could help you further.
    Let me know
    Suda

  • Create Purchase Order based on Sales Order through DI

    Hi All,
    As per my requirment i need to create PO based on Sales Order by Using DI object.
    By using the UI i am able to create a PO. i.e,.  in the Sales Order Form , in logistic tab when the purchase check box is checked and when the SO is added there is a work around form poped up where we give the vendor information and create PO.
    Code:
          objPurchaseOrder = objSBOAPI.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
                                        objPurchaseOrder.CardCode = "V1010"
                                            objPurchaseOrder.CardName = "Far East Imports"
                                            objPurchaseOrder.DocDate = "02/24/05"
                                            objPurchaseOrder.DocDueDate = "02/24/05"
                                        objPurchaseOrder.Lines.BaseType = "17"
                                        objPurchaseOrder.Lines.BaseLine = "0"
                                         objPurchaseOrder.Lines.BaseEntry = "35"  
                                             objPurchaseOrder.Add()                                                          
    Error Description : Base Doc Type donot match with target Doc type
    PLease help me
    Thanks and Regards
    Sandeep

    hi,
    try removing the double quotes for basetype, baseline, baseentry.
    if it doesn't solve the problem
    make sure that you are assigning the docentry only but not the docnum of the sales order to the purchase order lines' baseentry.
    rgds,laks.

  • Consumption of sales orders based on Sales order Doc Date

    Hi Guys
    I am using 40 Strategy currently. The consumption of sales orders now happens based on requirement delivery date. But my customer want to serve his customers based on first come first serve as the production is always getting delayed. Now irrespective of req. del date, the stock should be consumed based on the sales order document creation date to fulfill first come first serve concept.
    I am not finding suitable requirement class in SAP. Please help
    Regards
    KP

    Hi Krishna,
    The scenario is quite not clear...Could you please brief it out further.
    Because, in strategy 40, if a sales order comes in then sytem checks for any avaliable stock is there or not. If not then it looks for any open proposals available for PIR's, if so then it consumes the PIR based on consumption mode and period defined in material master or MRP group. If no open proposals, then system creates the new one.
    So always the first come sales order will be consuming the stock or PIR, until the next MRP run.
    Today a sales order has been coming in for 100 qty on 07.09.2014 delivery date and consumes the available stock of 100.
    Tomorrow, another sales order has een coming in for same qty but delivery on 05.09.2014, then in next MRP run system will consume the 100 qty for 05.09.2014 and a proposal will be generated for
    07.09.2014
    If the business scenario is something like above, then to avoid this, a PGI job can be scheduled always as next step to MRP run so, that PGI will be done for all the sales order which has stock and rest will be in error log. By this way one production plant can ensure that always the first incoming sales order is delivered.
    Also an another option would be is to run the transaction V_V2 to reschedule the sales order before delivery, this will work out if the sales order line items are not account assigned. In this reschedule transaction, priorities can be given for item date of creation as 1 and followed by delivery priority and rest....
    Please check out and let us know even if you have diffrent solution as well.
    Regards,
    Chinna

  • Purchase orders based on sales orders.

    Hello Experts!
    I am using MRP in order to create purchase orders based on my sales orders, thats the easy part. My problem is that i need to create a report matching the sales orders with the corresponding purchased orders created through the MRP wizard.
    Where can i find such a link between POR1 and RDR1? is there a way I can obtain such report?
    Thanks in advance.
    Best Regards.
    Javier.

    Hi Rakesh, thanks for your reply. Well i was trying to use the POR1.BaseType and POR1.BaseEntry in order to match them with RDR1.ObjType and RDR1.DocEntry, but POR1.BaseType and POR1.BaseEntry have NULL as their value.
    I thought creating orders using MRP was supossed to set the corresponding values to those fields. Is there any other way i can link a purchase order created via the MRP wizard to the base sales order?.
    Best regards.

  • SDK-DI - Add purchase order based on sales order through DI-API

    Today it is only possible to add a purchase order based on a sales order though the UI. This option should also be supported in the DI-API.

    hi,
    try removing the double quotes for basetype, baseline, baseentry.
    if it doesn't solve the problem
    make sure that you are assigning the docentry only but not the docnum of the sales order to the purchase order lines' baseentry.
    rgds,laks.

  • Incorrect sort order of rows in Purchase Order based on Sales Order

    Hello Experts.
    I have this problem on SAP B1 8.81 PL 04:
    I create a Purchase Order based on a Sales Order with 10 item rows, ticking the purchase order box in the logistic tab.
    The sort order of rows is different between PO and SO.
    I need the same order of SO on PO.
    Is there something I can do or it's a problem of this patch?
    I saw the Sap Note nr. 824822 but it's related to SAP B1 version 2004 A...
    Regards
    Silvia Reggiani
    Edited by: Silvia Reggiani on Oct 11, 2011 12:26 PM

    Hi,
    Are you able to reproduce the issue in the DEMO Database on the 8.81 PL04?
    Also, have you checked the issue in the latest patch of the 8.81?
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Return sales order based on sales order urgent..................

    Hi,
      I have to create return order for sales order. I am trying to create through bapi BAPI_SALESORDER_CREATEFROMDAT2. But i am getting eroor like "Unpermitted combination of business object BUS2032 and sales doc. category H".
      If i create normal sales order it is creating sales order through this bapi.
      In my case i have to create return sales order with reference to sales order. If any body is using this kind of sernario please send me with parameters..
    Thanks in advance,
    praveen

    Hi Praveen,
    The BAPI_SALESORDER_CREATEFROMDAT2 is orginally not designed for creating return sales orders.
    Way around: create BIM processing or copy FM and remove the check (which is risky, since integrity is no longer guaranteed).
    Regards,
    Frank Umans

  • Exclude sales orders based on sales order type from CTM planning run

    Dear people,
    We have sales orders in R/3 with custom sales order types, like ZE01, ZE02 etc.
    These sales orders are CIFed to APO and all sales orders have ATP category BM. We use CTM and we want to exclude sales order with sales order type ZE01, is this possible?
    Which enhancement could be used to exclude sales orders with selection on sales order type?
    Edited by: Peter237 on Jan 19, 2012 12:35 PM

    Dear,
    Check the requirement type of your sales order line item in VA02 procurement tab it should be Reqmt type of customer reqmt   KSL
    Also check the strategy assign in material master and MRP group OPPR and then check the setting of strategy 10 in OPPS there should be
    Customer Requirement planning
    Reqmt type of customer reqmt   KSL  Sale frm stck w/o ind.req.red.
    Requirements class  030  Sale from stock
    Allocation indicat.     No consumption with customer requirements
    No MRP   :-               1 Requirement not planned, but display.
    Please try and come back.
    Regards,
    R.Brahmankar

  • How to find out the list of Production orders created for sales orders

    Dear All,
    Our company wants to generate a report for a List of Materials sold out in a particular Product Hierarchy. Along with that we want to know the list of Production orders created for the sales orders.
    How to identify the production orders which are created based on Sales orders.
    Kindly suggest.
    Regards,
    Mullairaja

    Check these threads
    [Sale Order & Production Order|Sale Order & Production Order;
    [Re: Linking Production Order against a Sale Order MRP run|Linking Production Order against a Sale Order MRP run;
    thanks
    G. Lakshmipathi

  • Material documents based on Sales order

    Dear Experts,
    We are developing a report where I need to extract the list of material documents with movement type 411E and 412E based on the sales order. This data is available in MSEG but after designing the report, Its performance was  very poor hence we could not move the report to production.
    As MSEG is a cluster table it is taking to much time. I checked other tables MKPF MSSA but nothing is working out. Is there any way out to improve the performance of the report by taking the list of material documents based on sales order and movement types 411E and 412E .
    Please suggest me with suitable solution.
    I will reward the points immediately.
    With Regards
    Uday

    Hope you are not trying to join MKPF and MSEG currently:
    821722 - Performance of the join on MSEG and MKPF
    If you are below release 606 in your system, this note will have to be implemented in your system to bring redundant fields of MKPF into MSEG for performance improvement:
    1516684 - MKPF fields added to MSEG - Performance optimization
    The blog shared by Jurgen is pretty well explained. In addition have a look at these notes:
    1638997 - Performance: CKMDUVMAT selection with new fields in MSEG
    1558298 - MB5B: Redesign of selection for performance optimization
    1550000 - MB51: Redesign of selection for performance optimization

  • How to Add Delivery Note based on sales Order

    How to add a delivery note based on sales order.
    say i have a order no. 10 and linenumber 0 to 3.
    each time i book with order no 10 and line no.3,i need to add to delivery note.
    i also in need of adding just one Header and Multiple lines(Header for order Number - 10 and multiple lines for each Booking ).
    How can i achieve this.

    Hi
    You can search the samples....C:\-->Program files->SAP----->SDK->Samples->DiAPI----->OrderandInvoice...
    Here invoice is added for a particular sales order.....the same can be done for delivery.....
    Hope it helps

  • Migo based on sales order error -Require CO object

    Dear Experts,
    We have one process,
    Where we are creating sales order and based on sales order, we are doing migo and miro. final entry will be consumption a/c dr to vendor then we are doing billing for the same.
    We got error in migo based on sales order stated that 'please enter co account assignment object.
    where i will cpature this cost on sales order or cost center.
    I think must be part of sales order becoz we are doing consumption based on sales order and revenue and csot must be flow to copa in billing. M i correct?
    If cost object is sales order or PSG in migo? what setting need to be done for the same.
    What will be the ideal process for the same.
    regards
    RR

    hi ajay,
    I have used AAC -X with item category 's' for third party that was suggested by sap
    and the gl i have defined in okb9 with PSG tick.So consumption account linked to my PSG. becoz i m doing migo/miro based on sales order and final entry will be consumption a/c to vendor in my case.
    System will determine PSG in migo and then billing will happened for the same.So my cost and revenue will flow to COPA.
    We have one programme SDVPRSUPDATE that need to execute every monthend.In order to flow cost to COPA for some cases where Billing happened but no GR happened for the same.then this prograame will flow VPRS cost to COPA.
    regards
    RR

  • Duplicate production order due to sales order on credit block

    Dear Experts !
    Need feedback on the following scenario:
    - Sales order is entered for material which is produced in-house specific to the sales order (ie customer's logo is on product).
    - Schedule line in sales order creates a production order specific to the sales order.
    - Customer runs into credit check a few days later and consequently the schedule line in the sales order is removed due to credit block, however the linked production order still remains and is produced by factory.
    - Sales order is released from credit check and a new schedule line is created resulting in another production order being released.
    Any ideas on how to prevent duplication of production order?
    Thanks in advance!
       -Alvin

    Hello,
    Apologies for the confusion, let me explain it a bit more.
    - Sales order is entered for material with planning strategy group of make-to-order, the schedule line initiates new production order for make-to-order material.
    - A few days later - the customer goes over credit limit or has overdue invoices, etc..
    - During background rescheduling (or any sales order change) the sales order gets a credit block due to static check.
    - Sales order block deleted schedule line in sales order, however the production order remains active.
    - Once the sales order is released from credit block, a new schedule line is created which initiates a new production order.
    - Duplicate production order is now being made in shop floor.
    I hope the above explains my scnario a little clearer.
    Thanks and regards,
    Alvin

Maybe you are looking for

  • How do I delete duplicate songs on my iPod that do not appear in my iTunes?

    I recently had an interrupted iTunes update that really messed up my iPod Touch. I had to restore it to "factory settings" (it has since been running a lot slower than it was before) and it duplicated over half of my songs, which takes up a significa

  • Close-up of my code (to go with my Spry 2.0 post)

    I'm new to this forum, and did not realize that my posted code was going to be so small. So here it is larger: As I wrote in my earlier post a few minutes ago, I don't exactly understand ""file:///MacProG5/..." Thank you.

  • Email customer relationship history

    Hi Folks, We've got email configured for Cisco Agent Desktop and UCCX but have questions from business units that we are struggling to come up with answers for.  Staff want to know if they use CAD for email in email CSQs, how they can refer to previo

  • Display Payment proposal list

    Dear Guru's My company has just updated SaP system from 3.1H to Ecc6. When I run proposal, in the column selection field I can see Name 1 but cant find Name 2 and Name 3, is there anyway to include this fields so that I can select Name 1, Name 2 and

  • Kodak photo cd not seen, won't eject

    Hi using a Ti 667 with a combo drive. Installed a Kodak picture cd, it didn't show on desktop and won't eject? Any ideas what I can do other than; the eject button, drive utility eject isn't highlighted, there is no emergency eject? Help! Thanks!