Creation of a PO with reference to a contract - change of company code

Hi experts,
When a PO is made with reference to an existing contract, the company code is copied automatically from the contract into the PO.
Do you have an idea if it's possible to modify this in the PO? So that we can choose another company code?
Thanks,
Michaë

Ofcourse you can change the company code in the purchase order.
However please check that same purchase organization is responsible for both the company codes.
However it might give you an error that plant is not assigned to the company code.
Therefore the best way is to create the PO without reference of that contract OR you can create a contract for the company code in PO and then create a PO with the same.

Similar Messages

  • Creation of Sales order with reference to SOW contracts(VA01 )

    I had created sales order using BAPI_SALESORDER_CREATEFROMDAT2 and now i want to attach the document link for each line item.I could not do it in my program or recording.How can i enter these document type?pls help......

    Dear Machoy,
    In IMG under
    Sales and Distribution -> Sales -> Sales Documents -> Maintain Copy Control for Sales Documents -> Copying Control: Sales Document to Sales Document
    or Transaction VTAA
    http://help.sap.com/erp2005_ehp_02/helpdata/en/70/a7853478616434e10000009b38f83b/frameset.htm
    If you create a sales document with reference to a preceding document, the system copies nearly all the data from the preceding document. The data in the preceding document originally comes from the customer and material master records. Because the data is copied from the preceding documents into the sales document, any changes that have been made to the master data records since the preceding document was created are not included in the sales document. If, when you create with reference, you add another item to the document that was not in the preceding document, the system determines the data for it from the master records, such as the material master or info record.
    You have created an inquiry and a quotation with reference to this inquiry. Before you created the quotation, you changed some data in the material and customer master records.
    You have changed the material description in the material master record. This description is stored in the sales document at item level.
    You have changed the terms of payment in the customer master record from ZB01 to ZB03. These are stored in the sales document at header level.
    When you created the inquiry, the system copies the original material description to the item. If you enter another item in the quotation for the same material, the system displays the new material description for the new item.
    However, the system continues to propose the original term of payment, that is, ZB01, for all items including the new one. This is because it is copied from the header of the preceding document into the header of the quotation, and the change in the customer master record has no affect on the quotation.
    Regards,
    Naveen.

  • Invoice verification with reference to billing document in cross company

    Hi Gurus,
    We need to do "Invoice verification with reference to billing document in cross company code scenarios".
    At present I am processing through MIRO by calling the PO.
    What is the alternative for this and how to do it?
    Thnx

    Hi
    It is not possible to do the invoice with reference to billing document.
    You can create the Invoice referncing the PO used for STO or the delivery note (as mentioned in the Material document) or directly on the vendor.
    Thanks & Regards
    Kishore

  • HOW TO CONTROL ON CREATION OF SALES ORDER WITH REFERENCE TO EARLIER SO?

    Dear All,
    I want to contol on creation of Sales order with reference to earlier SO?  While creation of sales order our enduser are creating sales order with reference to earlier month SO which I want to restrict. Recently I made changes in sales order like payment terms is grayed, system will atomatically pick pay terms from customer master.Now I am getting correct data also but enduser is using old SO no while creating new SO and old payment data is reflecting in fbl5n.
    I want to restrict enduser while creating new SO with ref. to old SO. Only for returns they should be able to use Billing refrence. Pl. suggest how to control the with reference to ealier SO.
    Nikhil

    Nikhil Deshpande,
          If you dont want allow create a sales order in referent to other one, just delete the copy control between these sales order type, so when the user tries to create a SO in reference to other one a message is displayed that is not possible.
    Thanks,
    Mariano.

  • Creation of sales order with reference to inquiry no.

    Hi gurus!
    Im having trouble in creation of sales order with reference to inquiry no. The scenario is like this one. In va11(creation of inquiry no.), in the field of <b>SERVICE LEVEL</b>, i indicated a value. after the creation of inquiry no, i want to create a sales order with reference to inquiry no. But the problem is, the <b>SERVICE LEVEL</b> field does not have any value. What is the main problem to this scenario? is it the VARIANT CONFIG or the program itself? please help its urgent
    Regards,
    Mackoy

    Dear Machoy,
    In IMG under
    Sales and Distribution -> Sales -> Sales Documents -> Maintain Copy Control for Sales Documents -> Copying Control: Sales Document to Sales Document
    or Transaction VTAA
    http://help.sap.com/erp2005_ehp_02/helpdata/en/70/a7853478616434e10000009b38f83b/frameset.htm
    If you create a sales document with reference to a preceding document, the system copies nearly all the data from the preceding document. The data in the preceding document originally comes from the customer and material master records. Because the data is copied from the preceding documents into the sales document, any changes that have been made to the master data records since the preceding document was created are not included in the sales document. If, when you create with reference, you add another item to the document that was not in the preceding document, the system determines the data for it from the master records, such as the material master or info record.
    You have created an inquiry and a quotation with reference to this inquiry. Before you created the quotation, you changed some data in the material and customer master records.
    You have changed the material description in the material master record. This description is stored in the sales document at item level.
    You have changed the terms of payment in the customer master record from ZB01 to ZB03. These are stored in the sales document at header level.
    When you created the inquiry, the system copies the original material description to the item. If you enter another item in the quotation for the same material, the system displays the new material description for the new item.
    However, the system continues to propose the original term of payment, that is, ZB01, for all items including the new one. This is because it is copied from the header of the preceding document into the header of the quotation, and the change in the customer master record has no affect on the quotation.
    Regards,
    Naveen.

  • Variant Matching  during Creation of Sales Order with reference to Contract

    Hi All,
    I have a following scenario. Sales Contract is created on a Configurable Material ' A' and its has a Material Variant "B" with following Charac Values X = X1, Y= Y1 & Z=Z1.
    The value of Z= Z1 is set using a Procedure when Sales Document Type = OR ( This is the Document type For sales Order). So, this means variant matching will finally happen at Sales Order creation level, coz all the three reqd. charc. are availabe  at that time.This is also our reqmt.
    But, now what is happening, a Sales Contract is created for Material A, with Charc values X = X1 & Y= Y1. When a sales order is created with reference to this Contract, immediately during Copying of selected item, Variant Matching gets triggered & Material A is replaced by Material Variant B. Even we dont get into the Configuration Window.
    Actually, during copying itself Object Depencies are called and thats leading to variant Matching.
    Our requirement is that, it should not get triggered at such early stage. It should happen when Config. window is clicked.
    Kindly help. Copy Control of Sales Doc has setting 'No Control' We are in ECC 6.0. Are there some other settigs too.
    regards,
    Stuti

    your functional team can help you in finding one.

  • 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

  • BAPI's for creation of sub Contract with reference to main contract

    Hi,
    Can any body tell me the available bapi for the creation zlsl contract with reference to main contract zgsl
    Regards
    Rajkumar

    1.Logistics--Materials Management--Purchasing ---Purchase Requisition --Follow-on functions --- Assign and Process
    2.ME57
    3.Select the Assigned Purchase Requisitions checkbox if you also want to see requisitions already assigned, and choose Execute.
    4.On the Assign and Process Purchase Requisitions screen, select the requisition lines for your material.
    5.Choose Assign Manually if the info record already exists.
    6.On the pop-up Assign Source of Supply Manually dialog box, make the following entries:
    Agreement     46XXXXX            Agmt item     10          
    7.Choose Assign Source of Supply.
    For assign the source of supply, you can also choose Assign Automatically (only if not already assigned by MRP due to existing source list). If more than one source exists, select the contract in the Source Overview for Purchase Requisition 100XXXXX window and confirm with Enter.
    When assigning a source, make sure to select the contract.
    8.Choose Save.
    9.Select the line item, and then choose Assignments Overview (SHIFT+F5).
    10.On the Assign and Process Requisitions: Overview of Assignments screen, select the line below Vendor (you can only select one at a time), then choose Process Assignment.
    11.On the Process Assignment: Create PO window, check and make sure the Order Type (NB), Purchasing Group and Purch. Organization fields then choose Continue (Enter) to confirm.
    12.On the Create Purchase Order screen, select the requisition in the Document Overview section and choose Adopt in the left part of the Document Overview screen.
    13.Choose Save.

  • Sales order creation with reference to a contract....urgent

    Hi all,
    I am creating a sales order with reference to a contract, but purchase order no. and date are not copying to the sales order due to standard sap settings, is there any solution to copy these two from contract to order ?
    Useful solutions will be rewarded.

    Hi Jithendra,
    You need to edit the copy control settings. Path
    IMG Screen/Sales & Distribution/Sales/Maintain Copy control for Sales Documents.
    In this Goto Copying Control for Sales Documents to Sales Documents. And you need to change the header settings for the given selection.
    I think this might help you.
    Regards,
    Sreekanth

  • How can I create multiple sales orders with reference to one contract?

    Hello Gurus,
    Can you please how can I create multiple sales orders with reference to one contract?
    thanks!
    Rakesh

    hi
    Lets consider example
    In your contract for line item 1 you have entered qty 100
    You careated sales order with 70 quantity, and now you want to creat another sales order for 30
    For this first you need to check what is your item category in contract (VA42)
    Goto VOV7
    SPRO - IMG  - Sales and distribution - Sales - Sales document item - Define item categories - Go to change mode
    Make the completion rule = B Item is completed after full quantity has been referenced

  • Credit memo with reference to a sales order with reference to a contract?

    Hello All
    Now I created a quantity contract and the customer paid the Amount that means the billing is done then I started creating sales orders with reference to the contract, can I create credit memos with reference to these sales orders?
    Regards
    Jacopo Francois

    Hi,
    You can create a contract for a longer duartion say 1 year, andyou can create sales order in reference to your contract. This would be an ideal scenario in case of service materials.
    You can now surely create credit memo's in reference to this sales order.
    You will invoice the sales order first and create a credit memo request in reference to your sales invoice and then invoice the credit memo request to raise your credit memo for the customer.
    Reward if helpful.
    Regards
    Ravi

  • Error  : Sales order 'create with Reference' to the contract

    We have made a value contract. Now we are trying to make a Sales order 'create with Reference' to the contract.
    when we do that, we am getting error 'copying material in any value contract item is not permitted'
    Any help or directions would be greatly appreciated . We are on Ecc 6.0
    Rohit

    As of now my value contract has just one material. so i dont need assortment module settings. right?
    in VTAA settings are as follows
    Target type: OR  
    Source type: ZK1
    there is only on item category
    Target item category: TAN   
    Source item category: WKN
    Copying requirement : 301
    update doc flow : 2
    pricing type : C
    cont item copy mode : A
    DataT am using 151,102,002
    There are no schedule line.
    Rohit
    Edited by: rohit kumar on May 15, 2008 7:36 PM

  • Service PO with reference to Service Contract "Qty appearing as '1' in PO"

    Hello Gurus,
      I am creating a service PO with reference to a service contract. For service line there is lets say "1500" qty but while adopting the service lines from the contract to PO, system pick the qty as "1" only eventhough "1500" is remaining for PO release.
    No other PO is created for this qty and for this contract.
    Thanks in advance....
    Malviya....

    Hi,
    Usually a contract is created for establishing a price with the vendor.              
    This is the reason for is the only purchasing document which can be                  
    created without quantities. The quantity in contract has the purpose of              
    limitation, as a guideline for all orders created with reference to                  
    that contract and is not an immediate requirement like a quantity in                 
    purchase requisition, for example.
    When a purchase order is created with             
    reference to a contract, the services selected from that contract will               
    have ALWAYS  the proposed quantity 1, and was designed and hard coded to              
    be like that.   
    Regards,
    Edit

  • Create sales order with reference to a contract

    Hi,
    Is there any BAPI/FM which can be used to create a sales order with reference to a contract.
    Regards,
    Saji.

    Hi Maninder/Srinivas ,
    Could you please provide your valuable inputs on the below query . I have posted a new thread , but haven't got any reply till now . Sorry for posting it again.
       I want to  create an order with reference to a sales contract using BAPI_SALESORDER_CREATEFROMDAT2  .
    1) I passed the contract number to the field REF_DOC at header level , But I got the error message in return table  " Document 4000003639 doesn't have document category " where 4000003639 was the contract number . am i missing anything ? Is there any other values that has to be passed ?
    2) I also tried passing the contract number at item level  but the sales order was created without any reference to the contract .
    Thanks in advance
    Beena

  • BAPI_SALESORDER_CREATEFROMDAT2 with reference to a contract item

    Hi all,
    i'm having troubles creating an order with reference to a contract item on item level.
    My order is created and also a reference to the contract item is created on item level, but no conditiions are copied from the contract item (no conditions at all are filled)!
    Anyone with an idea?
    Many thanks!
    Siegfried
    Here my code:
    Order Header data
      ls_order_header_in-doc_type        = 'TA'.
      ls_order_header_in-sales_org       = i_basket_head-vkorg.
      ls_order_header_in-distr_chan      = i_basket_head-vtweg.
      ls_order_header_in-division          = i_basket_head-spart.
      ls_order_header_in-incoterms1      = i_basket_head-inco1.
      ls_order_header_in-incoterms2      = i_basket_head-inco2.
      ls_order_header_in-po_method       = 'INT'.
      ls_order_header_in-req_date_h      = i_basket_head-ketdat.
      ls_order_header_in-purch_no_c      = i_basket_head-bstnk.
      ls_order_header_in-purch_date      = sy-datum.  
      ls_order_header_in-refdoctype      = 'KM'.
    Order partners
      ls_order_partners-partn_role    = 'WE'.
      ls_order_partners-partn_numb    = i_basket_head-kunnr_we.
      APPEND ls_order_partners TO lt_order_partners.
      ls_order_partners-partn_role    = 'AG'.
      ls_order_partners-partn_numb    = i_basket_head-kunnr_ag.
      APPEND ls_order_partners TO lt_order_partners.
      CLEAR: lv_counter_posnr, lv_counter_sched.
      LOOP AT it_basket INTO ls_basket.
        lv_counter_posnr = lv_counter_posnr + 10.
        lv_counter_sched = lv_counter_sched + 1.
    Order items
        ls_order_items_in-itm_number    = lv_counter_posnr.
        ls_order_items_in-po_itm_no     = lv_counter_posnr.
        ls_order_items_in-material      = ls_basket-matnr.
        ls_order_items_in-ref_doc_ca = 'G'.
        ls_order_items_in-ref_doc       = ls_basket-vbeln.
        ls_order_items_in-ref_doc_it    = ls_basket-posnr.
       ls_order_items_in-target_qty    = ls_basket-quant.
        ls_order_items_in-target_qu    = 'TO'.
        ls_order_items_in-purch_date    = sy-datum.
        APPEND ls_order_items_in TO lt_order_items_in.
    Scheduling lines
        ls_order_schedules_in-itm_number = lv_counter_posnr.
        ls_order_schedules_in-sched_line = lv_counter_sched.
        ls_order_schedules_in-req_date   = i_basket_head-ketdat.
        ls_order_schedules_in-req_qty    = ls_basket-quant.
        APPEND ls_order_schedules_in TO lt_order_schedules_in.
      ENDLOOP.
      CLEAR: lv_salesdocument.
    Create R/3 sales order
      CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
        EXPORTING
          order_header_in    = ls_order_header_in
        IMPORTING
          salesdocument     = lv_salesdocument
        TABLES
          return                  = lt_return
          order_items_in     = lt_order_items_in
          order_partners     = lt_order_partners
          order_schedules_in = lt_order_schedules_in.

    Hi
    how many contracts you have for this material / material group .
    if you have only one contract system automatically assigned to sc.
    assume that you dont assign any source of supply and cart came to cockpit
    take your item into cockpit and click propose source of supply . now all avaialble contract must be available for sourcing or
    you can manually enter the contract and item number in the cockpit and create a PO
    if you dont get a respective contract  for respective material - there is something wrong on the contract. what type of contract . what is the status of the contract
    muthuraman

Maybe you are looking for

  • BOM explosion in subcontracting order according to revision level

    Hello experts I have different revision levels available for a subcontracted material, e.g. the BOM of this material has different versions depending on the validity date. When a BOM explosion is carried out in the subcontracting order (either in the

  • Some problems using some Matlab functions

    Hello, I have some trouble with MathScript when i want to use some MATLAB functions in it such as unique or histc. (i'm using windows 7 and LV2010 SP1) These functions are theoretically supported by MathScript insofar as they exist in MathScript Docu

  • Problem with 0HRPOSITION_ATTR

    Hi All, I am having a problem in extracting the data with 0hrposition_attr , the load runs for 30 hours. Could some one help me out on this. Thanks, Krish Message was edited by: Krish

  • Export Configuration Files

    I am new to Jabber and was looking for a way to export all the configurations that are made to the server.  This will help to stand up additional servers in other enviornments more quickly.  We are running Jabber XCP 5.8.1 on Windows, any ideas on ho

  • Save new workbook in menue role with VBA / ABAP

    Hello, does anybody know of a way to save a workbook which is not stored in SAP BW by then in a menue role folder through VBA or ABAP automatically? I know that there is the SAPBEXsaveWorkbook function in VBA but that only works if the workbook alrea