Creating Sales Order with reference to Quotation from different Sales Area

Hi,
I would like to inform you that our customer (GE ENERGY OC) from Europe have a requirement where they want to create sales orders with reference to quotation that is from different sales area. Standard SAP functionality doesn't allow this feature, hence requesting your help to give me an update in this regard.
Please treat this as urgent as they have to do business cutover where they are in the process of completing open sales orders.
Thanks
Ashfaq
Mobile: +91-98857-07558
E-Mail: [email protected]

Hi RadhaKrishna,
In standard system it is not possible to create sales order from a quotation whose sales are is different.
However I think this is possible by using some user exit in sales order. I have never tried this.
Regards
srini

Similar Messages

  • Sales order with reference to quotation

    How to use BAPI_SALESORDER_CREATEFROMDAT2 to create a sales order with reference to quotation? what parameters I need to fill in?

    Hi,
    I've also had this problem.
    In the past when faces with this requirement I have used
    BAPI_READ_SALES_DOCUMENT (Note:  I am away from a system today so that may not be the EXACT name of the funciton module but it's close ) to read in the document data from the quote, then transfer that data to the input structures of BAPI_SALESORDER_CREATEFROMDAT2.  Seems to work reasonably well although it doesn't offer much in the way of automatic error handling.
    Hope this helps,
    Regards,
    Brent

  • G/L Account is missing in item data in sales order with reference to quotation

    Dear SAP Guru,
    I have a problem in accordance with G/L Account missing sales order. Initially, please find the below lines.
    1. If I do the sales order without reference to quotation there is no error in G/L Account missing.
    2. If I do the sales order with reference to quotation there is an error that G/L account is missing in item data.
    I have checked the VKOA, the settings are fine.
    Kindly anyone of you resolve this issue.
    Warm Regards
    Vidya Sagar

    G/L account is missing in item data.
    Many times, it has been discussed on this issue in SCN and please search with the same text so that you will find many threads asking various areas to check.  Take the inputs from there and post here still if you have issue.
    G. Lakshmipathi

  • BAPI: Create Sales order with reference to Quotation

    Hi ...
    I am using bapi BAPI_SALESOREDER_CREATEFROMDATA2  and
    i want to create sales order with reference Quotation... All quotation data like Materials prices and conditions must be copied from reference quotaion which is allready created .....
    ..Thanks..
    ..Ashish

    Hello,
    nice to see that this has already been solved.
    But it actually doesnt work in my scenario. Do you have an example coding which will explain your solution.
    Mine looks like this:
    * Update Flag
      ls_header_inx-updateflag = 'I'.
    * Angebotskopf einlesen
      SELECT SINGLE * FROM vbak INTO ls_vbak
        WHERE vbeln = iv_vbeln
          AND vbtyp = lc_vbtyp.
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
    * Auftragskopf setzen
      ls_header_in-doc_type      =  ls_vbak-auart.
      ls_header_in-sales_org     = ls_vbak-vkorg.
      ls_header_in-distr_chan    = ls_vbak-vtweg.
      ls_header_in-division         = ls_vbak-spart.
      ls_header_in-req_date_h   = ls_vbak-VDATU.
      ls_header_in-ref_doc        = ls_vbak-vbeln.
      ls_header_in-refdoc_cat   = 'B'.
    * Angebots-Partner einlesen (Nur AG und WE)
    * Auftrag anlegen
      CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
        EXPORTING
    *   SALESDOCUMENTIN               =
          order_header_in               =  ls_header_in
    *      order_header_inx              = ls_header_inx
    *   SENDER                        =
    *   BINARY_RELATIONSHIPTYPE       =
    *   INT_NUMBER_ASSIGNMENT         =
    *   BEHAVE_WHEN_ERROR             =
    *   LOGIC_SWITCH                  =
    *   testrun                       = 'X'
    *   CONVERT                       = ' '
       IMPORTING
          salesdocument                 = ev_vbeln
        TABLES
          return                        = et_return
    *      order_items_in                = lt_items_in
    *      order_items_inx               = lt_items_inx
          order_partners                = lt_partners
    *   ORDER_SCHEDULES_IN            =
    *   ORDER_SCHEDULES_INX           =
    *   ORDER_CONDITIONS_IN           =
    *   ORDER_CONDITIONS_INX          =
    *   ORDER_CFGS_REF                =
    *   ORDER_CFGS_INST               =
    *   ORDER_CFGS_PART_OF            =
    *   ORDER_CFGS_VALUE              =
    *   ORDER_CFGS_BLOB               =
    *   ORDER_CFGS_VK                 =
    *   ORDER_CFGS_REFINST            =
    *   ORDER_CCARD                   =
    *   ORDER_TEXT                    =
    *   ORDER_KEYS                    =
    *   EXTENSIONIN                   =
    *   PARTNERADDRESSES              =  .
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
    Unfortunatly this just makes the reference to the quotation but does not takeover ALL data from header and pos level.
    Thanks and regards
    Markus Armbruster

  • COPY CONTROL: SALES ORDER WITH REFERENCE TO QUOTATION

    Hi.
    We are creating a sales orders with reference to a quotation. When copying, we'd like to be able to include another new position type in the sales orders.
    For example:
    QUOTATION:
    POSITION 10: TYPE ZTAB
    SALES ORDERS:
    POSITION 10: TYPE ZTAB
    POSITION 20: TYPE IRSS.
    Where could we place this change?. We suppose when saving the sales orders. Does anybody know how could we make this change?.
    Thank you very much!.
    Raú

    What do you mean by position type?
    Please use the language used by SAP so that it could be easily understood.
    What is ZTAB & IRSS. Are they materials?
    Regarding copying, this is a brief theory
    In copy control, you define control data for the document flow of sales documents.
    You can specify for a particular sales document type, which document type is to be assigned to copied reference documents, and which item categories or schedule line categories are to be copied.
    You must also make specifications for copying requirements and data transfer, as well as quantity and value updates in document flow.
    In precise, you are telling the system what data to copy from QT to sales order. It copies data from Quotation order type to Standard order type basing on settings you indicated in copying control.
    System won't do anything more than copying from preceding documents and it would transfer data based on copying rules in copy control.

  • Creation of sales order with reference to Quotation using BAPI

    Hi All,
    I am using BAPI "BAPI_SALESORDER_CREATEFROMDAT2" for creating sales order. Can you please tell how can I create a sales order with reference to a Quotation.

    Vinit,
    In your header structure, set like this:
      hdr-REF_DOC = i_order-vbeln.  "assign quotation # to sales order
      hdr-REFDOC_CAT = 'B'.         "assign Quotation to VBTYP_N.
    For each line item, set as follows:
    Assigning ref doc to create line item entries in VBFA.
        itm-REF_DOC    = i_order-vbeln.  "quote number
        itm-REF_DOC_IT = i_vbap-posnr.   "quote line item #
        itm-REF_DOC_CA = 'B'.
      data: ret_text type BAPIRET2.
      CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
        EXPORTING
          ORDER_HEADER_IN           = hdr
          convert                   = 'X'
        IMPORTING
          SALESDOCUMENT             = salesdoc
        TABLES
          return                    = ret_tbl
          ORDER_ITEMS_IN            = itm
          ORDER_PARTNERS            = prtnr
          ORDER_ITEMS_inx           = itmx
          ORDER_CONDITIONS_IN       = conds
          ORDER_CONDITIONS_INX      = condsx
          order_schedules_in        = schd_lin.
    Don't forget those points.

  • Sales order with reference to quotations.

    Hello Experts ,
    I want to know how can a sales order be created with reference to more than one quotation??
    Is there a transaction to do this ?? or else its a process?? Please guide. points will be rewarded to the answers.
    Thanks,
    Arathi

    Hi Arathi Rajan,  ALL ARE GIVEN WRONG ANSWERS TO YOU : SORRY TO SAY THAT ....
    YES YOU CAN CREATE ONE SALES ORDER WITHR EFERENCE TO MULTIPLE QUOTATIONS:
    FOLLOW ME:
    1). GO TO VA01 SCREEN ENTER ORDER TYPE : OR
    ENTER SALES AREA
    2). SELECT THE ICON " WITH REFERENCE TO QUOTATION"
    AND THEN COPY THE 1 QUOTATION DETAILS, THEN IT WILL TAKE YOU TO SALES ORDER SCREEN, THERE U WILL FIND ONE LINE ITEM . OK
    3). THEN, IF U WANT TO ENTER MULTIPLE QUOTATIONS:
    SALES DOCUMENT- SELECT CREATE WITH REFERENCE AND SELECT THE MULTIPLE QUOTATIONS LIKE THIS:
    4). NOW U CAN ABLE TO CREATE THE SALES ORDER WITH REFERENCE TO MULTIPLE QUOTATIONS.
    HOPE IT HELPS YOU ,
    Thanks&Regards
    Venkat.Dhanemkula

  • Creation of sales order with reference - Zfields in Add data B are not cop

    Hi all,
              Please help me in the issue . I am creating sales order with reference to returns order . All item fields are getting copied but the Zfields which are added in addtional data b of sales order are not getting copied. Can anyone please let me know the procedure to copy the custom fields.
    Thanks in advance,

    The setting of field when copy by reference is best done in the copy rules.
    If you go to transaction VTAA, and look to the order type you are copying to, you will find a data transfer rule number. 
    Then go to transaction VOFM, menu option DATA TRANSFER -> ORDERS and find the matching data transfer rule number.
    Select and press the "Source text"  button, here you will find the data from the copied order in structure CVBAK, and you can apply the code to set the VBAK structure fields appropriately.
    This should then populate the data on the copied order.

  • Sales order with refernce to contracts in different sales area

    Hi Gurus,
    I am creating a sales order with reference to a contract.I am making sales order sold-to-party as release order.
    so my Contract sold-to-party and the sales order sold-to-party are different but both belong to same sales area. In the above case i am able to create sales order.
    In other case though my Contract sold-to-party and the sales order sold-to-party are different but if they both belong to different sales area, i am unable to create a sales order.It says no contracts exits for sold-to-party.
    i made both the customers as partners .
    <b><POINTS OFFER REMOVED BY MODERATOR></b>.

    Hi,
    Could you please let us know why are you opening multiple threads in different forums for the same question?
    You have already created another thread in ABAP General
    creating sales order with reference to contracts
    Please refrain from using "Any guidance on this is fully rewarded with points."
    <b>Please read the rules of engagement before posting.</b>
    Posting multiple threads for same question in different/same forums and making point offers are not encouraged on the forum.
    Thank you

  • Changing quantities in sales order with reference to quotation

    Hi,
    Quotation has been created for Product -- A, 10 quantities.
    Sales order created with reference to quotation, system copies 10 quantity in sales order.
    How do you restrict in sales order end user should not change quantities, system should not allow for changes by end user. If end user changes Qty system should give an "Error message", so that sales can not be saved.
    Could you suggest solution ASAP.
    Thanks in Advance.
    Regards,
    vamsi.

    Normally You will have a warning message set for this. under class V1. if you want the error to be hard error then you would have to hard code it in a user exit under mv45afzz "userexit_save_document_prepare" where u can check if the quantities in the quote and sales order are different and create a hard error.
    the other option which I am not sure if it is possible is to propose the eror in message class v4 which you can control thru customisation under SPRO>SD>message settings
    reward points if it helps
    regards
    Biju

  • Sales order with reference to Contract and another sales order

    Hi Gurus,
    I would like your suggestions on one of the business requirement i have.
    We are creating a new EDI interface with few of our customers to create sales orders. While creating sales orders, it should validate if there are any open contracts available and if yes, then the sales order should be created with reference to it. so far good but there are chances that sold to party on the contract could be different from sold to party on the EDI order sent by customer (customer can have more than one sold to party on their system). IDOC's are failing in this scenario and not able to create a sales order since sold to partys are not matching. I need your help.
    Can we do some thing in customer master to handle this scenario?
    or
    Create a new sales doc type (YEDI or some thing) and create sales order from IDOC without reference to contract. Business will look into all YEDI order and create the actual sales order out of it but the challenge here is i cannot refer contract to the actual sales order or YEDI order.
    Is it possible to create sales order with ref to a contract and another sales order?
    Please help
    Thanks
    Venkat

    Hello Venkat
    What is the linkage between sold to party of contract and sold to party of order..If customer has more than one sold to party.
    Why don't you use customer hierarchy....link all sold to party of a customer to hierarchy node.for example...you create a hierarchy  node 1000 and assigned customers 2000 and 3000 to it.you have contract for 2000..so when you create a sales order for 3000 check in knvh table it's customer hierarchy 1000 and get all sold tos assigned to hierarchy...which is 2000....check if contract exist for sold to's..If yes then create order with reference.
    Let us know if it works for you.
    Thanks
    Amit Gupta

  • Inbound Files Create Sales Order With Reference To Quotation

    Dear All,
    I am working one Assignments For Sales Order Creation Through Inbound Files and Its working fine.
    But I have one Issue during creation of Sales Order through inbound files ( Which Contains Quotation Number Which Already Exist in SAP ) and Quotation Number updated in PO Number (BSTKD) filed in Sales Order.
    And My Problem is How we can update Quotation in Document Flow during creation of Sales Order through inbound files..
    Any Help or Suggestion will very helpful for me.
    Thanx in Advance.
    Regards
    Vijay Maurya

    Dear All,
    I am working one Assignments For Sales Order Creation Through Inbound Files and Its working fine.
    But I have one Issue during creation of Sales Order through inbound files ( Which Contains Quotation Number Which Already Exist in SAP ) and Quotation Number updated in PO Number (BSTKD) filed in Sales Order.
    And My Problem is How we can update Quotation in Document Flow during creation of Sales Order through inbound files..
    Any Help or Suggestion will very helpful for me.
    Thanx in Advance.
    Regards
    Vijay Maurya

  • Create Sales Order with reference to Quote for different customer

    HI Expert
    Any idea how I may be able to do this?
    Create Sales Order - for Customer B (VA01) with reference to a completed Quote for Customer A. While keeping the line items, quantity and pricing exactly the same.
    Quote - Customer A -
    >  Sales Order - Customer B
    Any suggestion will be greatly appreciated.
    Thanks

    HI
    Go toT-Code VTAA , IN Header Level "Copy Requirements" Field Maintain Routine "002"
    Go to VA01 , Enter the Order Type and press Enter and Enter the Sold to party , after that Sales Documents --> Create with Reference
    Regards,
    Prasanna

  • Create one order with reference to multiple quotations

    Hi gurus,
      Is it possible in standard SAP to create one sales order with multiple quotations, or to create one order with reference to multiple orders, if yes what is the procedure.
    Regards,
    kishore.

    Hi Kishore,
    Yes, You can create a Sales Order with reference to multiple quotes or Sales Orders.
    The Procedure is as follows
    1. Goto T. Code VA01 (CREATE SALES ORDER)
    2. Give Sales document type and Sales Area
    3. After entering into the Create Sales Order screen, click on top left menu which is "Sales Document"
    4. In that list, you have an option " Create With reference", in that again you have two options "To Sales Document" and "To Serial Number"
    5. Select "To sales Document", then a window will be opened which has all the tabs like "Inquiry, Quotation, Order, Contract, Shc. Agg, Billing doc"
    6. Select any one tab which you want to copy (say quotation), give the quotation number there and click on copy.
    7. Then all the line items and Header data will be copied from quotation to that sales order.
    8. Like this you can do for any number of times.
    Hope this is clear
    Reward if helpful
    Thanks
    Praveen

  • Create a sales order with reference to a sales doc of different sales area

    Hi All,
    I would like to create a sales order by copying a sales order of different sales area. Is there way to achieve this (user exit, custom transaction, copy control) if the standard SAP doesn't allow?
    Thanks in advance
    Venkat

    HI venkat,
                   to be  very precise yes ,it is possible to create a sales order referencing the sales order of the same customer from different sales area ,but system has to understand the key field which is differentiated between those two sales areas like say doc type or any other header fields so that ,we can use that field in userexit MV45AFZZ to code a logic ,so that system picks up right sales area depending on your business process.
    mukund

Maybe you are looking for