BAPI for creation of Production Order with Ref to sales order

Hi all,
we are using BAPI_PRODORD_CREATE  for creating Production Order with ref to sales order.
As per the Business Scenario, we are not creating any masters like BOM and Routing, instead
we are creating Routing directly into the Production Order under operation overview screen.
during creation of routing system is generating a default operation.
the following is the error results after running the Bapi.
"No routing selected"
Best Regards.
GTNRNR.

Hi GTNRNR,
with out creation of BOM you created routing and in routing for the operations which components did you allocated so that can be used to manufacture the final product. Can you be please specific?
Regards,
Madhu.G

Similar Messages

  • Problem creating process order with ref of sale order

    Dear all,
    Kindly give solution for this scenerio..............................
    I am creating Process Order with ref of sale order manually in cor1. In the COR1 screen copy from field i gave my ref sale order, so that particualr order and batch is assigned to that order only.
    My problem was suppose if sale order is created for 10 tonns, but my batch size and resource capacity is 2 tonns only. so first time i change my batch quantity 2 tonns instead of 10 tonns and created my order and confirmed.
    if i go to second time the same process i am doing creating process order with ref of same sale order but it comes again 10 tonns instead of 8 tonns. why it comes like this already i confirmed 2 tonns in this sale order?
    my requirement is if any process order is created with ref of any sale order and again if i am creating any process order with ref of same sale order left quantity only system should show.
    for this what i have to do kindly help to this
    regards,
    s.sakthivel

    Dear KK,
    Pls check whether ZKIN, ZKQT, ZKOR have all the properties similar to IN, QT, OR respectively. If they are different, please ensure that you know the reason why they are different. This check has to be done at tcode VOV8
    Some fields like sales document category, Transaction group, screen seq group, Doc pricing procedure need to be similar to the parent document unless you know why you have changed them.
    Once this check is done, check the copy controls in VTAA. Before that try creating these documents separately without reference. This shoudl work fine only after which you need to check copy control. If this is not working fine, then there is some problem with the document type settings in VOV8. Testing this is possible only if Reference mandatory field is left empty. Make sure that is properly configured.
    Once this is done, check copy controls in VTAA. You can just copy the copycontrol between IN and QT and QT and OR and create for ZKIN to ZKQT and ZKQT to ZKOR.
    Once this is done, check whether your item category settings are properly done , also the schedule line settings. The tcodes are VOV7, VOV6, VOV4, VOV5 etc.
    Now check whether your material master and customer master are consistent with the item category settings(Item category group).
    Now create the transaction. It shoudl work fine.
    Reward if this helps.

  • Return order with ref to Sales Order

    Dear Experts,
    my client requirement is RO must be done with Reference to Sales Order... it is possible by making settings in Documnet of RO... but critical requirement is while doing RO with ref to SO quantity must be in greyed out mode.. user must not be able to change the Quantity ..
    Kindly suggest....
    Abhi

    Dear Abhi
    Though it is not  recommended to have this control, you can try by maintaining "A" for the field "Completion Rule"  in VOV7 for return item category
    Also I dont know why you want this control bcoz always the quantity will not match with what has been originally ordered / supplied and you cannot change the quantity in sale order if you implement this control.
    thanks
    G. Lakshmipathi

  • Creation of production order with reference to sales order

    dear all guru's,
                       i m having a requirement of creating production order with ref to sales order but without changing my old strategy of make to stock.
    regards
    ujwal

    Hi,
    For the purpose of creation of production order with reference to sales order while maintaing MTS strategy you need to maintain Make to stock strategy 40 in strategy group in MRP-3 View of Material Master.
    This is the only Make-to-Stock Strategy which enables you create Production Order against both Sales order as well as Demand / PIR.
    So if your strategy group is already 40 then you need not change it.
    However if you are using any other Make-to - Stock strategy like 10, 11 etc. then it is not possible to create Production Order against Sales Order since they dont consider Sales Order in planning.So you need to change them and set strategy group as 40.
    Hope this helps.
    Revert if you have any doubt.
    Regards,
    Tejas
    Edited by: Tejas  Pujara on Sep 27, 2008 8:50 AM

  • Re: Purchase REquisition creation with ref to SAles Order

    Hi All,
    I need help on an issue.
    I have sales order creation and when saving Purchase REq is created at the back end. But for the sales order for item category n schedule line category combination does not allow creation of Pur Req. n pur req no. is not dislayed in Sales order.
    But I have Pur Rq created with ref to sales order.
    How is it possible.
    In Pur req  I checked the creation indiacotr, it is with ref to sales order.not manually.
    Can you please help it out..
    Regards,
    Smitha

    Hi,
    Purchase Requisition creation from Sales Order is dependent on the configuration of Schedule line category not Item category. Check configuration of Schedule line category in VOV6.
    Also to see the PR No in Sales Order, double click on the Sales line item and click on the "Purchase Requisition" button under "Schedule Lines" Tab.

  • Delivery creation with ref to sales order

    Hi,
        I found couple of BAPI's / FMs to create delivery but i could not able to pick the right one because i am not sure what are the important parameters i need to pass, could any one suggest me the correct bapi / FM with the required parameters for the below requirement.
    1) Needs to create delivery with ref to sales order.
    2) Batch field should be updated in the delivery while creating itself.
    I am just thinking about the FM - GN_DELIVERY_CREATE
    Thanks

    Use this BAPI
    BAPI_OUTB_DELIVERY_CREATE_SLS

  • BAPI-To create production orders with reference to sales order & item

    Hi,
    Can anyone tell me which is the best method to create open production orders?
    Is there any BAPI available for creating production orders with reference to sales order & item.
    I tried this BAPI "BAPI_PRODORD_CREATE".
    I am getting pop up to enter serial number while executing the custom program.
    Which table contains the serial number(effectivity parameters)?.

    I have custom screen fields on notification service!
    i think a bdc is better.

  • Sales Order with Ref to  Sales Contract using BAPI

    Hi ,
    I am using BAPI_SALESORDER_CREATEFROMDAT2 for creating the Sales order with ref to Sales Contract.
    but problem is that , Its not validating the quantity.
    I am passing following values to Header  & item
    ORDER_HEADER_IN-REF_DOC   =  <Sales contract>
    ORDER_HEADER_IN-REFDOC_CAT = 'G'.
    & item
    ORDER_ITEMS_IN-REF_DOC   = <Sales contract>
    ORDER_ITEMS_IN-REF_DOC_IT   = <item>
    ORDER_ITEMS_IN-REF_DOC_CA  = 'G'
    Thanks
    Jitendra

    Keshav.T wrote:
    What do you mean by but problem is that , Its not validating the quantity. generally to populate qty we follow like below
    Hi Keshav,
    Suppose Contract -> 1000 L
    First Order -> 500 L wrt to that contract.
    and again create a order wrt contract with quantity  700 L
    It should throw a waring Or Error message  but It creates the Order with 700 L quantity which is not correct.
    Thanks
    Jitendra

  • Need     RFC/BAPI    to create Delivery Order  with respect to  Sales Order

    Hi Gurus ,I'm   new  to  AB AP  Language   to be  working  in company
    so  can anyone  tel  me   FM/BAPI   to create  Delivery  order  with respect to  sales order(va01,vl01n)
    Any  sugg.. will appreciate  u.........
    Thanks in Advance...........

    Hi,
        Try this BAPI
    BAPI_SALESORDER_CONFIRMDELVRY
    Regards
    Bala Krishna

  • Sales order with reference to sales order

    Hi,
       I need to create a sales order with reference another sales order using bapi CreateFromDat2.  Please note, Sales Ord. Dist. channel, Div, sold-to to of the new order are different from original order.   I gave reference order in field order_header_in-REFDOCTYPE .  I am getting following error when I perform single test " FB Call: insufficient parameters.  Can any of you tell me how to overcome this issue.  And is it possible to create an order refering to another Saler order with different Sales Ord, Dist. channel, Division, sold-to ?
    <b><REMOVED BY MODERATOR></b>
    Cheers
    Sudhaker
    Message was edited by:
            Alvaro Tejada Galindo

    There is an OSS note <a href="https://service.sap.com/sap/support/notes/370988">Note 370988 - BAPIs in SD: Creation with reference</a>
    <i><b>Symptom</b>
    This note describes the problems of the 'Create with reference' function when using BAPIs to create sales documents.
    If you are working online, you can use this function module to create a sales document with reference to an existing sales document or a billing document (for example, a debit or credit memo request) according to fixed rules. The rules for transferring information from the source document to the target document are defined in the copying control on header and item level. The creation with reference permits an item selection.
    When you use BAPIs in SD, a function of this type is not fully available. A reference is only possible for a quantity contract, so that the target quantity of the contract can be reduced by the order quantity of the sales document. Furthermore, the document flow is also updated.
    As an alternative to 'Create with reference' in Transaction VA01, two variants are provided for solving the 'Create with reference' problem in the BAPI.
          1. Create a '1:1 ' - that is, a document copy of a sales document (customer quotation, order) with 'BAPI_SALESDOCUMENT_COPY'. At this point, you cannot create the 1:1 copy of either a billing document or a delivery.
          2. Create a sales document that refers to an existing document with 'BAPISDORDER_GETDETAILEDLIST' and 'BAPI_SALESORDER_CREATEFROMDAT2'.
    <b>Other terms</b>
    BAPI_SALESDOCUMENT_COPY, BAPI_SALESORDER_CHANGE, BAPI_CUSTOMERINQUIRY_CHANGE, BAPI_CUSTOMERQUOTATION_CHANGE, BAPI_SALESORDER_CREATEFROMDAT1, BAPI_SALESORDER_CREATEFROMDAT2, BAPI_SALESORDER_CREATEFROMDATA, BAPISDORDER_GETDETAILEDLIST
    <b>Reason and Prerequisites</b>
    As of yet, no method exists for creating a sales document that refers to an existing document.
    Solution
    For solution No. 1
          1. Create the documents using the BAPI_SALESDOCUMENT_COPY function module. However, this only permits a 1:1 copy without factoring out individual items.
          2. After you have created the document copy, you can use a change BAPI to edit this copy.
    For solution No. 2
          1. Collect the data for the reference document (for example a customer quotation) with the 'BAPISDORDER_GETDETAILEDLIST' function module. In the example code, focus exclusively on the partners, items, schedule lines and conditions.
          2. Prepare the Data. Execute the 'copying control' manually. This way, you decide which values are to be transferred.
          3. Create the sales document using the 'BAPI_SALESORDER_CREATEFROMDAT2' function module by transferring the prepared data.
          4. Finally, you must remove a COMMIT WORK so that the sales document can be written into the database.
    An example of solution 2 is attached as a text file. You are allowed to select items and quantities for example, if you use input parameters. If there are no entries, then transfer 1:1 from the reference document. When you enter the 'condition type' parameter, you can determine whether conditions are copied or recalculated ('G' for transferring from the preceding document; 'B' or ' ' for re-determining, and 'C' for re-determining with transfer of the manual elements).</i>
    Sample : <a href="https://websmp108.sap-ag.de/~sapidb/012003146900000486112004E/BAPI_COPY_WITH_REF.txt">ZZ_MS_BAPI_COPY</a>
    Regards

  • Create purchase order with reference to Sales order Line item

    Hi All,
    i had a requirement that i need to create the Purchase order with reference to sales order line item...
    In T.code me27 client requied a input field for sales order no and with that order reference he want the data of line item to PO creation line item screen.....
    please sujjust......how to proceed......
    regards,
    Ravi Nemani

    Hi
    Go to SPRO->Logistic general->Tax on goods movement->India->Movement types.
    Here you will find the group of movement types check which movement types is mantained for the out side movement groups or inward movement.
    also check the Material Master in MRP view if the collective requirements (02) is mantained.
    Regards
    Sri

  • Process order with reference to sales order

    Dear All,
    Is there any provision to create a manual process order with reference to a sales order .
    Regards,
    venkat

    If you would like to create a process order with assignment to sales order item, then you have to enter the sales order item on the initial screen of the Transaction COR1 via the Arrow besides the input field for  reference process order. This is the standard way to assign sales order for process order in COR1.
    For production orders, there is a separate Transaction CO08 for this purpose. But for process order, there is no such separate transaction available.

  • Purchase order with reference to Sales Order

    Dear SAP Gurus,
    I want to create a Purchase Order with reference to sales order.
    I want to take the material in my stocks also. If i create a Purchase order with account assignment, i am able to take the inventory of that material as it is consumed at the time of GR (MIGO).
    hope you understand my requirement.
    Ashish

    Hi
    Go to SPRO->Logistic general->Tax on goods movement->India->Movement types.
    Here you will find the group of movement types check which movement types is mantained for the out side movement groups or inward movement.
    also check the Material Master in MRP view if the collective requirements (02) is mantained.
    Regards
    Sri

  • Creation of Delivery with ref to Sales order

    Hello,
       I am trying to create the Delivery with reference to Sales Order using BAPI  -  BAPI_OUTB_DELIVERY_CREATE_SLS.
    At the of execution , i am getting the error No instance of object type OutboundDelivery has been created. External reference:.
    I have entered the sales order details in table parameter SALES_ORDER_ITEMS of BAPI. (Number range for Deliveries are internal)
    Can you please suggest me what could be the reason ?
    Regards
    Narayana

    Hi,
    Yes, copy controls are maintained for sales order type and delivery type in SPRO settings. The code as below.
    loop at t_vbap into ts_vbap.
          t_order-REF_DOC         = ts_vbap-vbeln.
          t_order-REF_ITEM        = ts_vbap-posnr.
          t_order-DLV_QTY         = ts_vbap-KWMENG.
          t_order-SALES_UNIT      = ts_vbap-VRKME.
          t_order-SALES_UNIT_ISO  = ts_vbap-VRKME.
          t_order-DELIV_NUMB = '0084000156'.
          append   t_order.
    endloop.
    call function 'BAPI_OUTB_DELIVERY_CREATE_SLS'
    *DESTINATION logsys
       EXPORTING
         SHIP_POINT              = '0010'
         DUE_DATE                = DUE_DATE
        DEBUG_FLG               = 'X'
      importing
         delivery                = lf_vbeln
         num_deliveries          = lf_num
      tables
         sales_order_items  = t_order
         deliveries                = lt_deli
         created_items         = lt_itm
         return                     = lt_return
    Can you suggest me.

  • Inbound idoc to create outbound delivary with ref to sales order

    Hi,
           I am getting and inbound idoc from the external party to create Inbound delivary with reference to sales order.
           But my inbound process code FM(IDOC_INPUT_DESADV1) checking PO no. and item which is NON SAP PO no. and item in idoc.  So, it is giving error PO doesnot exist in the system .
           I want to create Inbound delivary with ref to SO not with reference to PO.
            Pls check techincal details which i am using for inbound process :
            Process code : DELS
            Inbound FM    : IDOC_INPUT_DESADV1
            Message type : DESADV
             Idoc : DELVRY05
            Kindly help me.
    Regards,
    Manoj

    Hi,
    For creating inbound Purchase Orders, you can use Idocs PORDCR1.PORDCR101 or PORDCR1.PORDCR102. I have used this and they are working perfectly for us.
    Reg,
    NJ

Maybe you are looking for

  • LaserJet Pro 200 color MFP M276nw password recovery

    I reset the password on my LaserJet Pro 200 color MFP M276nw months ago and have now forgotten it.  How do I recover it or change it?

  • Viewing shared network files.

    I've searched around but from what I can tell, there's no native way to view files on my e71x that are shared over a network, when connected to that network's wifi, without throwing down a bunch of cash for apps that really are just streaming through

  • Alternative speaker cable for G500 (5.1)

    I'm using G500 on X-fi XM Can anybody suggest alternative speaker cable for my G500 (from sub to sattelite) so i can have maximum sound? How about RCA connector and how to make them? Message Edited by rekayasa on 03-30-2007 04:36 AM

  • EXPORT 시 DATE FUNCTION 을 FILE NAME 으로 이용하기

    제품 : ORACLE SERVER 작성날짜 : 2002-04-08 EXPORT 시 DATE FUNCTION 을 FILE NAME 으로 이용하기 ================================================= PURPOSE 다음은 export시에 date function을 file name으로 이용하는 방법을 설명한다. Explanation 1)DATE 를 넣어서 shell program 으로 exp 를 하는 방안은 다음

  • IPad 1 dock connector seems to not work

    Hello everybody. Yesterday, when I tried to recharge my iPad battery, I noticed that the device did not become aware of the fact it was connect to AC. I used the original dock-to-usb cable connected to the original usb-to-plug adapter. Ok, don't pani