Error while copy with reference of quotation to Sales Order

Dear All
I am creating the sales order with reference to quotation . while , doing so , I get an error of
Customer not maintained in Distribution channel - 'D1' .
The Quotaion is having following structure
Sales Organisation -- AAAA
Distribution Channel - S7
Division                     - D3
But while copy the error erupts notifying to create the customer master for division 'D1' . If created of division D1 then the sales order is created with reference of quotation.
Kindly guide.
AVS

Perhaps the configuration settings have been changed (to make D1 the reference division for D3 for master data ) since the quotation was originally created.

Similar Messages

  • How to Copy Cost Estimate from Quotation to Sales Order in MTO Scenario

    Hi,
    We are working on a MTO scenario- Sales order Costing with Valuated Stock.
    And our case we are creating the Cost Estimate at the time of Quotation using PP qty structure. Now we wan to transfer the cost estimate to Sales Order as we don't want to recost the sales order.
    Currenty it's transferring only the EK01 condition as total planned costs in Sales order but we want to see the itemization also.
    Please suggest is there any way to transfer this cost estimate with itemization from Quotation to Sales Order.
    Regards
    venkat

    Hi
    As far as I know the CO esimate does not get copied from Quotation to Sales Order
    You need to recost the SO again.. If your Qty Structure has not changed between Quotation to SO and your valuation variant is also the same - it would give the same result
    br, Ajay M

  • Copying pricing condition from quotation to sales order

    Hi,
    I would like to know how the following can be achieved.
    In quotation, i have two conditions type.
    For e.g. a item value
    1000 -> PR00
    3%  -> ZMarkup
    Gross Value -> 1003
    In the sales order, we are only having PR00 as the condition type. Thus only 1000 is being copied to sales order.
    How can i achieve such that the gross value in the quotation can be copied into PR00 of sales order?
    Regards

    Hi Friend,
    To copy the pricing from Quotation to Sales order without change you have to maintain copy control settings from  QT to OR
    Goto the Transaction code VTAA then click on position and choose the Source document as QT and the Target document as OR
    Then click on the item in the control tab and choose ur item category and click on Display
    Now in the Pricing field change the value To D
    Hope it is clear and work.
    regards,
    santosh

  • Creation of compliants with reference to r/3 sales order.

    dear friends
    Is it possible to create compliants in CRM with reference to r/3 sales order? if answer is yes please provide  the solution how to configure the same.
    regards
    naveen

    Hi Naveen
    I dont know why you want to create complaints with respect to the sales order.
    The usual process the companies follow is to create complaints wrt to the invoice number.
    But incase you wish to create complaints wrt to sales order, then you can use implementation of a BAdI CRM_COPY_BADI_EXT for the same in the CRM system which will allow you to create a complaint in CRM System wrt sales order in ECC.The path for the same in CRM system is IMG>CRM>Transactions> Settings for Complaints> Integration>Business Add-Ins for Document Referencing> Business Add-In: Create Complaints with Reference to External Document
    Secondly maintian the assignment between the Business Object type of referenced doc and Transaction type using path IMG>CRM>Transactions> Settings for Complaints> Integration>Business Add-Ins for Document Referencing> Assign Business Object Types to Transaction Types
    Now go to CRMD_ORDER and open the transaction type CRLP, you will get pop-up for creation of complaint where you can choose the transaction type and business object type and reference sales order number/ invoice number and create the complaint.
    Hope this will help
    Regards,
    Rekha Dadwal
    You gain a point for every point that you reward. So reward helpful answers generously

  • Copy BILLING PLANS from Quotation to Sales Order.

    Hi Guys,
    I am trying to copy the billing plans from quotation to sales order(SO), when CREATED BY REFERENCE from quotation.
    Quotation HEADER LEVEL Billing plans -> SO Header Level Billing plans
    Quotation ITEM LEVEL Billing plans -> SO ITEM LEVEL Billing plans
    I have already tried to use copy control routine 402 by adding a statments to copy internal table CPFLT to XFPLT. It did not work.
    I will appreciate if somebody can tell how to accomplish this task. It is for ECC 6.00
    Thanks,

    Hi Manoj,
    I know its very late to provide the solution. Thought of sharing since I had a similar requirement as yours and got the solution.
    Here is the Solution::::
    1) Let 402 routine stay in the config and do not add any custom code in it.
    2) In TCode: VTAA , in FPLA tab, copy the routine 251 (Conditions) and copy the below mentioned code..thats it...
    FORM DATEN_KOPIEREN_251.
    *{   INSERT         ECDK900223                                        1
    LOOP AT CFPLT.
    MOVE-CORRESPONDING cfplt TO FPLT.
    CLEAR FPLT-FPLNR.
    FPLT-FPLNR = FPLA-FPLNR.
    MOVE-CORRESPONDING FPLT TO XFPLT.
    XFPLT-UPDKZ = 'I'.
    APPEND XFPLT.
    CLEAR XFPLT.
    ENDLOOP.
    UPD_FPLT = 'I'.
    *}   INSERT
    ENDFORM.
    Now you should be able to copy the Billing plan from Quotation into Sales Order.
    Reward if helpful
    Thanks,
    Maqsood.

  • Adding item positions with reference to contract in sales order

    Hi all,
    I would be very grateful if some of you could help on this:
    I have a requirement to add lines with reference to a contract while the user is creating or modificating it via VA01 or VA02. The logic flow will be as follows:
    if the user enters a new item position with reference to a contract, and the qty entered exceeds the qty in the position selected of the contract, we have to skip the standard error message and try to spli the quantities in several positions with the same material in the contract.
    As an example:
    the contract 000000000001 has 5 lines:
    line     material       qty
    01       mat1           100
    02       mat1           50
    03       mat1           50
    04       mat2           n/a
    05       mat2           n/a
    if the user picks up the line 02 of the contract to create a new line in the sales order, and enters 180 as qty, the sap standard will raise an error, saying the qty has exceeded the contract qty. Ok, we have to skip that error (maybe could we set it as a warning??) and 'split' the qty as follows:
    in the sales orders, 3 lines will be created automatically
    line    material     qty
         mat1         100
         mat1         50
         mat1         30
    and of course, the released quantities in the contract must be updated: i.e the contract should be as follows:
    line     material       available qty
    01       mat1           0
    02       mat1           0
    03       mat1           20
    Any ideas? : )
    What i've done by the moment is to check is that 'split' is possible, in userexit_save_document. If not (e.g. if the user enters 220 for mat1 in the previous example), a custom error will appear. If it is possible, then the sales order will be created (only with the line the uswer entered) and I will trigger somehow a FM processed in background to modify the sales order.
    my question now is: how can i add lines to the created sales order, making reference to some contract lines?
    I've seen BAPI BAPI_SALESORDER_CREATEFROMDAT2 is used to create a document with reference, but can i use it to MODIFY an existing sales order?
    any help would be greatly appreciated.
    thanks a lot for your help.
    regards.

    Hello,
    there's a function module called 'BAPI_SALESORDER_CHANGE', which could change a sales order. The problem could be,that these BAPI's enque the salesorder. So if you start them in background via an userexit, you have to be sure that the salesorder is updated and dequeued by posting.
    An other way could be to use the exit 'userexit_check_vbap' in MV45AFZB. It's called after creating a new position or changing a position. All existing positions at that time in a internal table 'XVBAP', which you could change. (But be carefull, that you don't create an endless loop !).  
    The check about the contract quantity is in a form routine called 'vbep-wmeng_pruefen_folgebeleg(sapfv45e)'.
    Have a look into the form 'vbap_pruefen_ende' in FV45PFAP_VBAP_PRUEFEN_ENDE. There's the whole thing done including the call of the userexit.
    Regards Wolfgang

  • Copy selection criteria from quotation to Sales order

    Hi Experts,
    I am creating a quotation. For the quotation line item, i am going to batch determination. Then i am clicking the SELECTION CRITERIA button. It gives me the batch characteristics screen. There i am entering the values to the characteristics. While coming back to sales order screen, i am copying only the SELECTION CRITERIA ( i am not copying the batches ).
    I am creating a sales order w.r.t the quotation. I want the selection criteria of the quotation line item to be copied into sales order line item. How to proceed for this?
    I checked the copy control in VTAA. But i am not able to find any configuration to copy a Quotation line item "SELECTION CRITERIA" to a sales order line item.
    Is this possible via a configuraton or thorugh any user exit?
    Thanks,
    Niranjan.

    Hi,
        Check the exit in programs MV45AFZZ (FORM USEREXIT_MOVE_FIELD_TO_VBKD) as u are using purchase order text.
    Regards

  • BAPI to create a billing document with reference to delivery or sales order

    Hi,
    Does anyone know any BAPI or function module that allows the creation of a billing document with reference to a sales order or to a delivery.
    Maybe the BAPI_BILLINGDOC_CREATEFROMDATA may be used to create a billing document with reference to a sales document, but i'm looking for a solution where I only need to indicate the number of the reference sales order or the reference delivery and maybe some few data more without the need of transfer all the items and conditions information.
    Thanks.
    Kind regards,
    Paulo Sousa

    Hello Paulo,
    To create a billing document based on a delivery use BAPI_BILLINGDOC_CREATEMULTIPLE. In table BILLINGDATAIN insert one line with the following data:
    REF_DOC = Delivery number
    REF_DOC_CA = 'J'
    If it runs fine, table SUCCESS will bring back useful data, like BILL_DOC (Billing document number).
    Regards,
    Joã

  • Want to procure material  with reference to WBS and sales order

    Dear all
    If i have assigned account assignment in PO means then while GR my material value is going to consumption. I dont want to book consumption at GR level i want to do consumption at delivery level. Also i want to procure material for particular WBS and Sales order.
    How to process the same. Kindly give some idea.

    Hi
    If you wanna toprocure the material wrt to WBS element or sales order the you have to make use of the Account assignment category P- projects ( That can be WBS elements /network ) And sales order C or any specific account assignment category created by you.
    Example :
    Sceneraio- When you are creating a slea order in SAP by T.code VA01 then at time of saving the SO the system is creation the WBS automatically ( that has to be mapped in SAP) .The Sales order number and the WBS element are  same .When you are cretating PO for  the Material wrt to  this WBS element then the system at time of the GR will be posting the consumption account which is booked to WBS element that in turn against the particular sales order.
    In SPRO - customizing i for the account assingment category P  in the Consumption Value is V
    Which is posted to consumption at time GR. Please  try create new account assignment category
    Consumption Value is E i.e accounting by sales order .
    Regards

  • Error while doing PGR (post goods issue for sales order return)

    Hello Gurus,
    I'm trying to do PGR for a sales order return. But system shows the following message: "Shortfall below the specified stock level or quantity amounting to 100 UN". (Message number : M7021)
    I've made some searches in SD forum but I didn't fnd appropriate answers.
    What does it mean ? How can I fix it ?
    Thank you,
    Bahia.

    Hi
    "Special Stock E not supported (check your entry)".
    This means your sales order (in your case the returns order ) is created with an item category which is marked with special stock indicator E  in VOV7 and the system is checking for that special stocks and it is not finding that
    When you mark any item category  with special stock indicator it can be E or Q or W ( it can be anything ) system will check for that particular stock category and not the general unrestricted stocks
    For you mistake can be two things
    1. Right now REN or RENN is wrongly marked with special stock indicator E  in VOV7
    If so remove that and try a fresh cycle
    2.The process you are right now doing is returns
    The original sale would have happened with special stock indicator E marked in its item category
    That means it is special stock
    That stock you might be trying to take it into general stocks now
    In that case right now you need to mark REN or RENN with special stock indicator E
    Note whenever you put your hand in VOV7 create a fresh order cycle and test and dont test it with already created order
    Note touching requirement classes are all big things to do in a project and not advisable lot many mistakes we can correct itself if we know order type ,item category and schedule line category
    Regards
    Raja

  • Error while entering product in Transactions- Opportunity and sales orders

    Hello Friends,
    I am facing a problem while entering products in Create opportunity screen with message no: COM_PRODUCT_SETTINGS001. I get the error as below.
    Product ID is longer than the Customizing setting allows
         Message no. COM_PRODUCT_SETTINGS001
    Diagnosis:
        The product ID 000000000000003115 contains more than 18 characters, that
        is, it is longer than the length defined in Customizing.
    I tried changing the "Product output format and storage form" to maximum  of 40 characters and tested it, the error still persists.
    Though I created some opportunities with same product ids before, I only face this issue after system has been updated with some latest patches. Is this issue anything to with updated patches?
    Appreciate your help on this.
    Regards,
    Suresh

    Hi Harshit,
    Thanks for the Relpy.
    I did search relevant notes, but could  not find anything related to CRM 7.0 version.
    Regards,
    Suresh

  • Copy Billing plan from Quation to Sales order at header level

    Dear Gurus,
    I am using custom routine (600) to copy Billing plan from Quotation to Sales Order.
    I used following code to copy Billing plan.
    LOOP AT CFPLT.
    MOVE-CORRESPONDING cfplt TO FPLT.
    CLEAR FPLT-FPLNR.
    FPLT-FPLNR = FPLA-FPLNR.
    MOVE-CORRESPONDING FPLT TO XFPLT.
    XFPLT-UPDKZ = 'I'.
    APPEND XFPLT.
    CLEAR XFPLT.
    ENDLOOP.
    UPD_FPLT = 'I'.
    I also tried with CFPLA instead of CFPLT.
    Using this code all line item Billing plan is coping into header Sales order Billing Plan (Duplicating records). When I save and come back it is giving Express Document error.
    I could not able to save document.
    Please guide me this regards.
    Thanks,
    Vasanth.

    Hello Nag,
    Did you check your copy control routines in transaction VTAA? You need to see if these fields are included in the routines maintained for copy control between your contract and sales order.
    I hope this helps.
    Best regards,
    Ian Kehoe

  • GATP run ffecting manual Pricing from Quotation to Sales Order

    Hi SAP Gurus
    We have a bit of problem, when we place a Quotation for a material and APO gATP is run it creates a sub-item for the material and thatu2019s where we add our manual prices(e.g Freight Charges).What than happens is the Quotation is later converted to a Sales Order and gATP is run again( I would think to still see if stock is still available) but all those manual Conditions are lost and our Users have to re-create those manual conditions. I checked in Copy Control(VTAA) to make Pricing type C(Copy manual Elements). Does anyone have an Idea what else can I do to make sure Manual Price is copied even though gATP is run again.
    Thanks
    Phenyo

    Hi Friend,
    To copy the pricing from Quotation to Sales order without change you have to maintain copy control settings from  QT to OR
    Goto the Transaction code VTAA then click on position and choose the Source document as QT and the Target document as OR
    Then click on the item in the control tab and choose ur item category and click on Display
    Now in the Pricing field change the value To D
    Hope it is clear and work.
    regards,
    santosh

  • Flow of Information from Quotation to Sales Order

    Hi Group,
    Just want to understand is there any possibility to put a check while information is flowing from Quotation to Sales Order.
    Once information flows to Sales Order no one should be able to change the flown information in Sales Order. Any changes to be done in Sales Order, user should go to Quotation & Change provided Authorization is given.
    How to put this check. Need help & explanation.
    Regards
    Deepak

    Hello Deepak,
    There are normally authorization BADIs for this. But once a sales order is created from a quotation the sales order is not updated if the quotation is updated any more, according to my knowledge. That would also be a strange business process as the quotation would have been already approved by the customer.
    Best regards,
    Thomas Wagner

  • Sales Order Creation with reference to Quotation using FM IDOC_INPUT_ORDERS

    HI Guru's,
    I've a requirement to create the sale order from the quotation.
    For this we are using the FM "IDOC_INPUT_ORDERS".
    Here my problem is i'm able to create the sales order with the custom program, but if i made any changes to the quotation Header
    (Ship-to party address) before creating the sales order, it is not reflecting into the sales order header level (ship-to party address).
    What  i was thinking is we are not using the Quotation as reference to create the sales order while filling the segments.
    Could you please tell me which segment do i need to use fill the reference document number (quotation) at header level.
    one more problem, if i change ship-to party of one line item, it is affecting the other line items also.
    Please guide me what to do???
    Thanks,
    Adi.

    HI Ramesh,
    Question:
    Could you please tell me which segment do i need to use fill the reference document number (quotation) at header level.
    Sol: use segment E1EDK02
    Segment type E1EDK02 IDoc: Document header reference data
    QUALF 011 : Referenced Document Number
    BELNR XXXXX IDOC document number
    DATUM 20100121 IDOC: Date'
    what i've used in my program
    I'm using the E1EDK02 segment as you mentioned above.
    le1edk02-qualf = '011'.
    e1edk02-belnr = Quotes-vbeln.
    Question:
    Here my problem is i'm able to create the sales order with the custom program, but if i made any changes to the quotation Header
    (Ship-to party address) before creating the sales order, it is not reflecting into the sales order header level (ship-to party address).
    Sol: Check you custom code .. whether you are bringing write address to segement or not
    (if you change any address in Quotation then Address master is added with new entry with new address no )
    In my program..
    I'm passing the partner numbers and partner types (WE & AG) to the segment "E1EDKA1". (Ship-to & Sold-to).
    What i was thinking is the above segment is causing the problems, because if we reference the Quotation, we should not pass the Ship-to and sold-to numbers, it should take all those from quotation.
    I've tried to comment the code which we have written for that segment "E1EDKA1", it is giving me the error saying that
    Customer numbers can't be determined for the document number..
    Please guide me how to solve this problem..
    Thanks,
    Adi.

Maybe you are looking for

  • How to acheive the purchase order items in Crystal report

    Hi       In crystal Report am using purchase order layout ,how to remove the unwanted space(i'm using only one item like cement alone so lot of space in page 1 )below screen shot show the clear view how to remove this using formula.if suppose am usin

  • Release date of PO: Is table EREV the right place to look into?

    Dear Experts, I need to determine the final release date of POs. I was going through the threads on this topic and most of the cases I found people have suggested on table CDPOS and CDHDR.    However I found one more table EREV where the release date

  • Calling stored procedure from EJB in JSever

    I have some trouble to call stored procedure from EJB deployed to JServer on Oracle8i (815). I have been able to sucessfully test the stored procedure using thin client JDBC driver. But when I user the default connection in JServer, the stored proced

  • Error Message in Premiere Elements 7

    I have used Premiere Elements 7 successfully for some time. I recently got a new Windows 7 laptop and loaded PREL 7 onto it. When I start a new project, in the ORGANISE section, when I go to add media, I select as I did before an .mp4 file but after

  • Photoshop  cs2 gratis ? vero?

    vero che Photoshop cs2 si può scaricare gratis?  se vero dove è come  grazie