Quantity Contract to Sales Order

Dear All,
For a sales scenaio I have created a Quantity contract lets say for a month 01.07.2010 to 31.07.2010. Lets say every day I have created a sales order with reference to contracts where price of factor ABC is $ 20. I have created order lets say till 15.07.2010 with the prie of factor ABC is 20 $.
now price has revised starting from 10.07.2010, now factor ABC price is $50. so for that in copying control I choose price type B, carry out new price, so that when I create sales order with ref to contract system should call the current and accurate price.
But system cant not work accordingly, it can not display the updated price and shows the old price at order.
Pls advise the solution.
Regards

HEI,
first you have to maintain price master as follow:
1.7.2010 - 15.7.2010  --> 50$
16.7.2010-31.7.2010 --> 100$
you made contract in 1.7.2010 for period 1.7.2010 - 31.7.2010. (your pricing date in contract will be today which is 1.7.2010
the you made sales order reference to that contract. price in sales order is determined by Pricing date (VBKD-PRSDT).
standard SAP determined pricing date in SO is same as contract (if reference) which is 1.7.2010, even you made sales order in 18.7.2010
the solution:
go to VOFM, make routine in sales order data transfer. VOFM->DataTransfer->Order.
Code:
if vbkd-prsdt is initial.
      VBKD-PRSDT = VBAK-ERDAT.
    endif.
the put this routine in VTAA (copy control order to order) put QC to OR, change DataTransfer in header from 101 to ur routine number. save and try. it will works as your requirement. in item KMN, your pricing type change to B.
solution above change the pricing date in sales order as sales order created date, so when you made SO in 20.7.2010 reference to contract, so the pricing date in SO will be 20.7.2010 and system determine price 100$.
point if it helpful
Best Regard,
Hendry
Edited by: Hendry_tjan on Jul 23, 2010 7:58 AM

Similar Messages

  • Coping from quantity contract to sales order

    Hi all,
    I  have  fixed  to  coy  rules  from  Contract  to Sales order .
    The  only  problem  I  have  is  that  If  I  dont  copy  the  BOM  header,the  sub  Item  number  in  the  sales  order  is 
    copied  as  its  in  contract-And  I  need  new  numbering.
    Example-the  Item  in  contract  is  number 20  but  I  need  this item  in  sales  order  as  number  10.
    Is  there  way  to  do  it  in  coping  control?
    Thanks and  best  regards
    L
    NB:Points  will  be  added

    In copying Control for Contract to Sales order (tcode VTAA), in header deselect Copy item number from reference. As it indicates whether the system copies the item numbers from the source document into the target document.
    Thanks & Regards
    JP

  • Copyng  from Contract to sales order

    Hi,
    how  to  configure  that  when  copyng  from  quantity  contract  to  sales order  and  when  later  in  sales
    order  changing  the  ship to and  sold  to  in  header,the  same  partners  as well  applyes to  all  items?
    Thanks in  advance  and  best  regards
    L

    hi
    please refer to copy controls that is sales document to sales document.
    VTAA:
    select document types or to cq for eg.
    check the coding.
    FORM DATEN_KOPIEREN_001.
      LOOP AT CVBPA WHERE POSNR = POSNR_LOW.
        XVBPA = CVBPA.
        XVBPA-VBELN = VBAK-VBELN.
        XVBPA-UPDKZ = UPDKZ_NEW.
        APPEND XVBPA.
      ENDLOOP.
    ENDFORM.
    *eject
    balajia

  • Free goods from Quotation to Contract to Sales Order

    Hi SAP Gurus,
    I have questions regarding Free Goods. This is the scenario.
    Doc flow as:
    Quotation 123
         Contract 456
               Sales Order (zmor) 789
               Sales order (zkal) 101
    In the quotation 123 & contract 456, the quantity of the item is 50pcs. However, when creating sales order (zmor), if we input 50 pcs as the quantity, the free goods were not determined. What we did was, we lessen the quantity to 30pcs. From there, Free goods were now shown. And then we created another sales order (zkal) for the remaining 20 pcs.
    Questions:
    1.- why is it on the 1st sales order w/ same quantity(50pcs), free goods were not determined?
    2.- i believe that in standard SAP, free goods were not determined in quotation or in contract. Is there a way to determine the free goods on those doc types?
    3.- how about free goods determination in:
    A. Stock transfer order
    B. Product diversion
    C. Consignments
    D. Virtual return
    I am really hoping for feedback on this. Thanks in advance!
    Erza

    Hi,
    Free goods can only be supported on a 1:1 ratio. This means that an order item can lead to a free goods item. Agreements in the following form are not supported: u2018With material 1, material 2 and material 3 are free of chargeu2018 or u2018If material 1 and material 2 are ordered at the same time, then material 3 is free of chargeu2018.
    - Free goods are not supported in combinations with material structures (for example, product selection, BOM, variants with BOM explosion).
    - Free goods are only supported for sales orders with document category C (for example, not quotations).
    - Free goods are not supported for deliveries without reference to a sales order.
    - Free goods cannot be used in make-to-order production, third-party order processing and scheduling agreements.
    Regards,
    Saju.S

  • How To Get The Total Delivered Quantity of a Sales Order

    Hello All,
    I have a requirement of getting the total delivery quantity of the sales order .I have checked it in LIps table but I am getting partially delivered quantity for a schedule line item.Can any one tell me how to get the total delivered quantity.
    Regards,
    Pavani.

    Hi
    Check the Table:
    VBEP  - Sales Document: Schedule Line Data.
    Inside the table check the Quantity Fields.
    Regards,
    Sreeram

  • Confirmed quantity in the sales order coming as 3.5 ea

    Hi Gurus
    The confirmed quantity in the sales order coming as 3.5 ea where the order quantity was 10ea.I checked CUIN for EA the decimal places is given as 0 which is very much correct moreover I checked the material master in additional data I have not find anything abnormal.The order was created by a batch job.Please help.

    Hai,
    The system has concluded that 3.5 EA for the confirmed quantity means the remaining part of the stock are already allocated to some other sales orders.Out of 10 EA only 3.5 EA are  in the stock.
    You can view through the MD04 and then enter the plant ,material and then check the quantity that are allocated to the various orders.
    Please revert for any.
    Kalyan

  • Need logic for calculate the balance quantity in open sales order

    hi all
    i need logic to calcuclate the balance quantity in open sales order ,
    where i am using VBAK header and VBAP item , and VBFA for document flow tables
    i need to have the balance quantity , for the open sales order
    especially taking with respect to  VBFA-VBTYP_N = M for invoice creation and N for canellation
    any one please help me

    thank you but i am clear abt it
    will you please anyother way to calucaluate the logic ,
    and i need to populate in bukets also for the terms of 5 years
    Edited by: sridhar loganathan on Nov 25, 2008 6:43 AM

  • Condition Type is not copying from contract to sales order

    Dear All,
    The value the i am giving in the sales contract is not copying into sales order. Sytem again asking to enter the value.Is there any setting to be done forthat.
    Regards,
    Suresh Yadav.

    Hi,
    If the *CONDITION VALUES* are *manually* entered then the values will not be copied from the *SOURCE TO TARGET* document
    Please check in the  Contract whether the vales derived from Condition records are entered manually.
    If you want the prices to be copied automatically then they have to maintained through CONDITION RECORDS in *VK11*.
    Please maintain the CONDITION RECORDS and check whether they have copied or not
    Please also cehck the COPY CONTROLS from CONTRACT to SALES ORDER in VTAA transaction -- at item--->pricing type. and set it a s  D
    Please check the above settings and let forum know the feedback.
    regards,
    santosh

  • ASSIGN SALES CONTRACT TO SALES ORDER

    Hi,
    I have created a sales contract. now i want to assign that sales contract to sales order with same material and sold to party.
    But the price is not getting captured in material conditions after assigning it to sales contract.
    Assigning the contract through EDIT - ASSIGN CONTRACT - HEADER is done properly.
    But while assignining it through EDIT - ASSIGN CONTRACT - ITEM it gives error msg saying
    'Subsequent assignment for preceding doc. with schedule lines not possible'
    I am not able to rectify this error. Could you please help me in this case?
    Regards,
    Krutika

    Dear Krutika
    Go to VTAA, select your contract type and sale order type and execute.  Again select your item category and double click on schedule line.  Ensure that the schedule line what should flow in sale order is maintained there.  Block that schedule line and click on blue lens on top left and maintain the routines as follows:-
    Copying requirements:::501
    DataT::::::::::::::::::::::::::201
    thanks
    G. Lakshmipathi

  • Converting contract to sales order does not auto create schedule lines

    Hi
    When I convert quotation to sales order, then schedule lines get auto created.
    But when I convert contract to sales order, then schedule lines don't be auto created. Instead, a confirmation screen for proposal delivery date pops up for every line item in the sales order.
    Is there any suggestion how can I solve my problem ?
    Thanks..

    Hi,
    In standard SD module, system checks availability for each line item, gives you popup screen of confirmation.
    If you don't want availability or popuscreen of confirmation,then
    Go to VOV6 >>> Select schedule line which you are using in sales order for line item >>> Remove tick mark of availability check.
    Else
    Remove availability check rule from material master >>> Under tab Sales : ganral/plant
    kapil

  • Item number to be regenerated when copying from contract to sales order

    Hi,
    I am copying items from contract to sales order, say there are 10 items in contract. I copy all items leaving 5th & 7th item in contract. The numbers in sales order has to be in sequence (regenerated leaving the 5th & 7th line item) rather than it is copying the line item number as in the contract. Can any one kindly suggest me how to handle this in sales order.
    Thanks
    Ghanesh

    Hi,
    In VTAA
    QT to OR at header level
    REMOVE TICKMARK OF COPY ITEM NUMBER
    Then system will genrate new item numbers in targer document.
    Kapil

  • Copy over currency from contract to sales order directly

    Hi!
    I would like to have the currency mentioned in the contract to copy over to the sales order when a sales order is created with reference to the contract. Currently thats not happening . Is theer a way by which i can use the copy control to get the currency copy over form the contract to the sales order directly when a SO is created with refernec to the contract.?
    Thanks

    Could anyone please give suggestions as to how have the header currency copied over from the contract to sales order when created with refernec to the contract?
    Thanks

  • Copy Billing plan from Contract to Sales Order

    Dear Expert,
                 We created the Contract with Billing plan related to specific "WBS "Element". Then, tried to create the sales order with reference to that Contract. But billing plan details maintained in contract is not getting copied to sales order. can anybody give your experience to solve this issue.
    Warm Regards,
    Nag

    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

  • VKGRP should copy from contract to sales Order

    Hi Guru's
    I have a problem related with copy control from contract ot sales order. sales group should copy from contract to sales Order while Sales order reffers to customer Master. In contract sales group comes from Customer Master, after saving the contract if i change the sales Group and create sales order with reference to contract. sales group doesn't get updated from the contract. system refers customer master only.
    Any suggestions
    thanks,

    Hi,
    I see that you can address this in following ways.
    1. copy control between Sales order - Contract - header level routine.  Here you may be able to influence the copy of the customer group details.
    2. You can use the user exit which will trigger during Contract creation ( Move field to VBAK) or you can think of using save_prepare user exit.
    Thanks & Regards,
    CLN

  • Copy sales office from contract to sales order

    HI,
    How can i copy sales office from contract to sales order.is there any requirement in the standard process?
    Regards,
    Ramky

    Dear Ramky,
    I think, the requirement will get full-filled with Standard Settings, itself:
    Check with Copy-Control Settings (in T. Code: VTAA) b/w Sales Order--Contract.
    For the Combination (Contract-to-Sales Order), select "Item" from Left-hand Dialog-Structure, and afterwards, select "Item-Category".
    Now, on to next screen, maintain as following:
    Copying requirements 303
    DataT 151 General item data
    DataT 102 Bus.data/item compl.
    Best Regards,
    Amit

Maybe you are looking for

  • Safari crashes after 5 to 10 minutes of running

    I recently updated my safari and now it crashes every 5 to 10 minutes while im online or downloading something.. please help below is the error report..thanks Process: Safari [234] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.

  • How to remove an object from session with JSF 2.0 + Faceletes

    hi all, I have a facelets page which calls a backing bean of session scope. Now when ever i click on this page i want the existing bean object to be removed from the session . In my existing jsp i have a logic something like this to remove the object

  • Adobe PDF Printer creating corrupt PDFs

    Greets, One of my customers has a bit of an odd issue: He has Acrobat X Pro (10.1.2), Windows 7 64-bit, and when he creates a PDF via the Adobe PDF printer (Distiller?) using any software (even as simple as notepad) it opens correctly on his computer

  • HT2090 camera on macbook 13 is not working

    hi  guys, my camera on Mac book 13. 2007 year. stop working. dont know what to do any help. also im running windows on it. only WINDOWS.no mac operating system. thank you Eugene

  • Problem in Database Installation

    Hello Dears, I want to install Oracle9i Rel2 database but when i start universal installer on the "source" and "destination" screen it will give error stagging error may in source and in destination please tell what is the solution it is urgent. than