Purchase Order with reference to Purchase Order

Dear SAP Gurus,
Can it be possible to have a purchase order with reference to purchase order.
Regards
Vinod Kakade

Hi,
there is an option to give document date in the Purchase order selection in Document overview, what you can do here is that you can get a TVARVC variable created with date range of today - Today - 179 Days, in the attributes of the variant enter the TVARVC variable so that when the user uses this variant, he will get PO's only for that date range, if you  have any confusion on this then please speak to your ABAP Consultant.
Regards
Chandra Shekhar

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

  • Help Bapi Purchase order with reference to purchase requisition no

    Hi,
    i used BAPI_PO_CREATE1 for creating purchase order with reference to Purchase requisition number but im getting these error
    please help me to solve this
    1 E BAPI 001 No instance of object type PurchaseOrder has been created. External reference:
    2 E MEPO 001 Purchase order item 00010 still contains faulty schedule lines
    3 E 06 054 Doc. type/item cat. NB/S (requisition) <-> NB/ (purch. order)
    4 E 8W 162 No schedule line exists for schedule line number 0010000030 00010 0000.
    Thanks & Regards,
    Azhar
    Message was edited by:
            Azhar

    Hi Azar,
    I am also getting the same messages, did you get resolve the issue.

  • Net price on purchase order with reference to purchase requisition

    Hello!
    When I create a purchase order with reference to purchase requisition, the net price goes automatically to the purchase order.
    But It's possible change the net price on PO, and I must close this possibility.
    Do you know how can I do this?
    Thanks, Camila!

    Hello
    Try to search SCN for EVO
    You will find this: PR price in PO

  • Program for Creating Purchase Order with reference to purchase requisition

    Hi ,
    I need to Create purchase Order with reference to  Purchase requisition,
    in my case i need to automize the Process which is happening in MD04,
    Can you please suggest me ?
    Thanks ,
    Murali

    Hi,
    Plz check this link. It will be helpful to you.
    Purchase order creation with reference to PR
    We can also create the PO Using the BAPI_PO_CREATE1 function module.
    In this function module fill up the all necessary Details.
    With details in Item Table we haveto give the Fields PREQ_NO and PREQ_ITEM for each item .
    then it will creates the PO with PREQ.
    Thanks & Regards,
    Sarita Singh Rathour
    Edited by: Sarita Rathour on Aug 3, 2009 7:01 AM

  • 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

  • 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 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 reference to purchase order

    Hi
    I have a scenario where i need to create a sales order from PO raised in another company code
    My client has 4 company codes
    1000 company code
    2000 company code
    3000 company code
    4000 company code
    Now
    2000 company will raise a PO on company code 1000
    So in company code 2000 i need to create a sales order with reference to PO from compcode 1000
    where all the data has to copied from PO with schedules
    so when i create a order in VA31 i have to create scheduling agreements with refernce to PO all the schedule line items should be copied?
    Is there any standard process or do i need to go for development?
    Regards

    Hi,
       As per my Understanding,
    I guess, you can do this same as creating Purchase Order-NB ( In ordering Company code)-ME21N,
    Vendor- Plant of Supplying Comp code ( Create this Plant as Vendor in ORdering Comp code)
    Purchase org/Group-
    Comp Code - Ordering Comp Code
    Material-
    Plant - Receiving Plant.
    Try n Revert-
    No Need to go for Userexit,
    My Query is: -
    Why you want to create Scheduling agreement wrt "PO" of Diff Comp Code.
    We can use the PO from Ordering Comp Code is a ref for any dispatches ( To Pass the PO requirements to Production in Supp.Comp code, while creating PO by maintaining Checking rule )

  • Purchase Order with reference to Purchase Requisition

    Hello
    I have this situation:
    One Purchase Requisition with quantity of 10.
    When I issue a Purchase Order with reference to this purchase requisition, for the moment I can use this Purchase Requisition many times. For example: two Purchase Order with the same purchase requisition, same item and same quantity.
    The objective is thay the system only allows to use the Purchase Requisition until the quantity is completed. For example: one purchase order for 10, or two purchase orders with 5 each. But never with a quantity superior to the total quantity in the purchase requisition.
    Somebody can help?
    Thank you,
    Elena

    Hi,
    1) By setting the configuration paths as suggested by the previous posts.
    2) In the first place, when converting a PR in PO Create Screen (ME21N), you should make the Open only and Released only field as Display. This way, the results will only show Open and Released PRs to be converted to PO
    Hope this helps

  • Create Purchase Order with reference to Purchase Requisition using BAPI's

    Hello Experts,
    I need to create a Purchase order with reference to a Purchase Requisition.
    All the above has to be done by using BAPI's.
    For creating PR, I am using BAPI_REQUISITION_CREATE.
    and for PO, I am using BAPI_PO_CREATE.
    I am not able to use the requistion number in the PO. BAPI throws the following exception
    "Requisition 1014396 00010 not selectable"
    "Document contains no items"
    Query's:
    1. Do I need to release the PR for using it in PO?
    2. If so how can I work with the "BAPI_REQUISITION_RELEASE_GEN" to release PR?
    I have tried using the BAPI getting the following error "Release outside filed of responsibility".
    Please help I am in critical Postion...
    Thanks,
    Suma

    Hi Meenakshi,
    When, I try to release error I am getting the following the error " Purchase Requisition can not be released".
    Is this problem because of authorization or data issue?
    Thanks
    Suma

  • Purchase order with reference to internal order

    Dear all
    I am creating a purchase order with reference to a statistical internal order.The total PO value should not exceed the budgeted amount for that statistical internal order.How should i achieve this?
    Thanks in advance.
    Madhavi

    Hello
    First Create Budget Profile.
    Make Specification In Availability Control as Activation Type ''01- Automatic activation during budget allocation''
    Usage 100 and Tick ''Overall'' check box.
    After that Make Setting for your Controlling area in SPRO Path '' Define Tolerance Limit for Availibility control''

  • 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

Maybe you are looking for