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

Similar Messages

  • 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

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

  • 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

  • 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

  • BAPI to create notification service with reference to sales order

    Hi,
    My need is to create a service notification TC IW51 with reference to sales order (credit memo request).
    is there a bapi to do this or i must do a bdc?
    please help.
    A+
    Ihsen ABROUG

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

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

  • Re: Creating credit memo with reference to Sales Order in ICWC

    Hello gurus
    I am new to CRM and we hv ECC 6.0 & CRM 6.0 in our environment.
    We have a process where a Credit Memo Request is created with reference to a Sales Order.
    Now till this point we had launched VA01 in the ICWC and were creating the CMR with reference to the Standard Order.
    Henceforth we want to move this to the CRM ICWC.
    In ICWC we create Standard Sales order using Work Center IC_BT_SLO tied to the Navigation profile.
    I am looking for some way of copying this order to a Credit Memo Request in the ICWC.
    I tried adding the Complaints button on the navigation profile ... however it creates a new CMR ... not sure how to enable copying it from the Original Sales order in ICWC
    Any thoughts ?
    Thanks
    Vinit

    closed
    Edited by: vinit parkar on Sep 1, 2011 4:25 PM

  • Bapi To create sales order with reference of sales order.

    Hi all,
          Having requerment To create sales order with reference of onother  open sales order.
    Example: there open sales order which having qty of 20 for that 10 qty as already billed , for remain  10 qty as to create the new sales order with reference to the excsiting one.
    Please guide me how do it.
    Regards,
    Santosh
    Edited by: santosh jajur on May 15, 2010 11:47 AM

    Hi Santhosh,
    check this thread.
    Re: Open Sales Order Migration
    The last part of the thread says done.
    hope you get a hint from that.
    Also this one
    Re: how to create open sales order using BAPI....?
    http://abaplovers.blogspot.com/2008/02/bapi-sales-order-create-code.html
    Regs,
    SuryaD.
    Edited by: SuryaD on May 15, 2010 9:09 PM
    Edited by: SuryaD on May 15, 2010 9:10 PM
    Edited by: SuryaD on May 15, 2010 9:11 PM

  • Production order with reference to sales order

    Hi experts,
    I have created one sales order.
    I am getting an error as "sales order has no CO object" while creating production order with reference to that sales order. Can anyone help me on this ?
    Thanks in advance.
    Rgds,
    Parul.

    Dear singh,
    pls check this given by yadav
    T. Code: OKKP - Maintaining Controlloing Area
    Select your Controlling Area and Click: Activate components/control indicators (left-hand Dialog Structure)
    Here, Under Tab: Activate, check Boxes: Sales Order, Cost Objects, etc..
    Check whether Strategy Group is maintained in Material Master (MM02) --> View: MRP3.
    T. Code: VA02/ VA03 --> Tab: Procurement -> Column: RqTy
    There, Check whether requirement type is relevant for MTO.
    More information:
    Req. type: KE (if, Reqmts class: 040 Mke-to-ord.w/o cons. - possible to create Production order)
    Req. type: KEK (If, Reqmts class: 020)
    Req. type: KSV (used for Make to stock - Planning with Assembly Planning Strategy 40 is being used in the MRP3 view of the material)
    Also, Check other relevant settings in:
    SPRO --> IMG --> Sales & Distribution --> Basic Functions --> Availability Check and Transfer of Requirements --> Transfer of Requirements
    Best Regards,
    vraj

  • Creating material bom with reference to Sales order bom.

    How to create material bom by coping Sales order bom.?

    Mayur,
    Just go to T code: CS01 use BOm  usage 1 & then select the copy from icon in the menu bar.
    On the popup screen enter material no, plat , bom usage =5 (sales bom).
    System will then allow you to select items from Sales bom. Select the items you need copied to Material BOM. Then save.
    Hope this helps.
    Thanks,
    Ram

  • Production Order with reference to Sale Order.

    Hi
    The scenario im working on is qty contract. we create a qty contract and then create release orders as and when we get the requirement from the customer. Its a make to order scenario. So once the release order is created with ref to the qty contract, we do an mrp run using md02/md50. Then we create a prod order in Co07/Co08, the prod order is taking the qty contarct as ref instead of the release order(std sale order). When i give the sale order number in co07, the system is throwing an error "Account assignment cannot be carried out because of different origin number".
    The details of the error is as follows:
    Diagnosis
    "The sales doc (release order) to which you want to refer is based on sales doc xxxxx (qty contract). Thesefore the settlemet and possible the inventory management are carried out using the number of the preceding document
    procedure
    Enter the doc and item number of the preceding doc(qty contarct).
    But i want the productio order to be created with ref to the sale order(release order) only.
    Please help me with a suitable solution. Also let me know where the assignment is made.
    Thanks
    Madhu

    Hi Madhu,
    In Make-to-Order, the reference Sales document will be the first document in the sequence where schedule lines are created.
    In your case pls check, with which reference document you have prepared the contract.
    In Co07, You need to take first document no. in the sequence in which schedule lines are created.
    Following example will make you very clear.
    Suppose Sales documents are created in following sequence
    1) S. Inquiry (Schedule lines created)> S.Quotation > S.Order
    For MPS run, I have to supply S.Inquiry no instead of S.Order
    2)  S. Inquiry (Schedule lines created)> S.Quotation (Schedulines Modified) > S.Order
    For MPS run, I have to supply S.Quotation no instead of S.Order, S.Inquiry
    3) S. Inquiry (Schedule lines created)> S.Quotation  > S.Order (Schedulines Modified)
    For MPS run, I have to supply S.Order no instead of S.Inquiry, S.Quotation.
    Rewards if it is useful to you.
    Regards,
    Chintan

  • Service Order with reference to sales order

    Hi all,
    My client is selling finish material and services to finish material my client requirement is Once we save the sales order, line item with service material system should generate Service order for serves which we are selling to customer
    can any one guide me how to configure in SAP the movement we sales order system should generate the Service order
    Thanks
    Ram

    Hi Ram
    Say your finish material sales order is ZFIN and service order is ZSER.
    Create a BDC program to create ZSER type sales order.(Take help of ABAPer).
    Create new output type ZCRE. Assign this BDC program to ZCRE output type, such that when ZCRE triggers ZSER sales order creates.
    Now assign ZCRE output type to ZFIN sales order type.
    So conclusion, when you save ZFIN sales order, automatically ZCRE output type will trigger.
    ZCRE internally calls VA01 for ZSER sales order. So ZSER get created when you save ZFIN.
    try and revert

  • Unable to create PO with reference to sales order

    Hi All,
    While creating a PO with reference to sales order, we are getting an error message as below
    "Error while determining local currency exchange rate type AB45 date 30.06.2010 from EUR to SEK"
    In T.code: OB08, We observed that exchange rates have been maintained for the above combination
    i.e. AB45 is a exchange rate key for our customer.
    exchange entries have been already maintained in OB08,
    Please suggest a solution to resolve this issue.
    Regards,
    Prasad

    Hello,
    While creating a PO with reference to sales order, we are getting an error message as below
    "Error while determining local currency exchange rate type AB45 date 30.06.2010 from EUR to SEK"
    In T.code: OB08, We observed that exchange rates have been maintained for the above combination
    i.e. AB45 is a exchange rate key for our customer. exchange entries have been already maintained in OB08,
    Please suggest a solution to resolve this issue.
    Since you have maintained the setting in OB08, please refer to below link which has the same subject matter.
    [HELP LINK !!|Error determining local currency]
    Regards,
    Sarthak

  • 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

  • Income tax calculation error

    Dear All for an Employee , his total taxable income is Rs 2,65,395 pe annum so  per month it would be Rs 22116. But it is showing income tax for april month as Rs 44,210. His PAN is also being maintained. Kindly guide me in resolving this issue. Rega

  • Advice on upgrading G5 dual 1.8

    Hi, i've got a G5 with the dual 1.8 Ghz processors. It has a 1TB HDD but only 1GB of ram. It only has 4 Ram slots, and as of my research i see it only accepts PC-3200 low density ram? I'd like to get 8GB in it but can only find 1GB sticks that are PC

  • Oracle SYSDATE setting same value

    Hello, I am calling an Oracle stored procedure that will insert rows in a table in a For loop. When I insert each row, I set a maintenance date on the table using SYSDATE. This is done within my Oracle package. However, the SYSDATE is the exact same

  • Combine parts of 2 documents into 1

    How can I cut out a paragraph from 2 separate documents and paste them into a single document?  Thanks!

  • SAP Authentication

    Personally, the easiest way to authenticate SAP is to simply type in your username and password into a JCO Action block and test to see if your connection is a success.  I would like to use that same concept when we have a process that involves an ap