Copy contract pricing from sales contracts in billing

Hi
I Have a requirement to Copy contract pricing agreements from sales contracts during resource related billing creation.
At the time of resource related billing is performed, the agreed contract rate should be taken into account when pricing is performed in SAP. So, the agreed price needs to be copied from the contract condition record into the resource related billing transaction (sales pricing) as a condition record.
Can i get the solution for this?
If anybody knows the solution please help me out. Appropriate Points will be awarded. Thanks in advance.
Regards
Ravi

You just need to configure your pricing properly.
Suppose you have condition type with document/item keys in the condition table.
Now, if you define conditions for contract/item, to pick them up in the invoice - you just need to pass contract number/item number in the fields you use in your access sequence for this particular condition type.
You can either define new step in the access sequence passign different fields (assuming konh or konp have fields for contract number) OR use ueserexit_pricing_prepare_tkomk, userexit_pricing_prepare_tkomp to populate fields in TKOMK/TKOMP you then use in your access sequence to search for pricing condiiton record.

Similar Messages

  • User exit to copy the data from sales order to billing document

    hi everyone,
    Is there an user exit to copy the data from sales order to billing document?
    Regards
    Prabudh

    hi
    copy control would be the better option to choose.. but still u can a give a search in list below and opt for the right one..Refer to the link below..
    http://www.planetsap.com/Userexit_List.htm
    User exits for Sales order
    1•USEREXIT_DELETE_DOCUMENT
    2•USEREXIT_FIELD_MODIFICATION
    3.•USEREXIT_MOVE_FIELD_TO_VBAK
    4.•USEREXIT_NUMBER_RANGE
    5.•USEREXIT_SAVE_DOCUMENT
    User exits for billing
    1.•USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    2.•USEREXIT_ACCOUNT_PREP_KOMPCV
    3•USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    4•USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB
    5.USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Reward if Useful
    Thanx & Regards..
    Naren..

  • Copying Exchange rate from sales Doc to billing doc

    Hello,
    I have an issue with the update of the exchange rate in the billing document.
    In fact when i create a sales order then the delivery associated. then i change the exchange rate in the sales order.
    When i go to create the billing doc, the exchange rate is not updated in the billing document.
    I guess because it is not defined in the copy rule requirement from Sales doc to delivery, and from delivery to billing doc? can you please confirm if it is the case?
    Thanks
    Regards

    Hi
    First of all check weather exchange rate has been maintained between the currencies from which you are changing (Ex : INR to EUR). If the currency conversion has been maintained then check in VTFL copy control weather PricingExchange rate type field has been maintained or not. If not maintained then maintain the PricingExchange rate type feild as per your requirement and then do the complete cycle again.
    Regards
    Srinath

  • Sales Office is not being copied from Sales Contract

    Dear SD Gurus,
    In DP90(Resource-Related Billing Request), order type LV (Debit Memo Request for Contract) is generated. In the complection procedure, I have set sales office as a mandatory field. I'm expecting the sales office to be copied from sales contract when I generate ZLV(when I run DP90) but sales office is not being copied over. The strange thing is, it will only work for certain sales areas where the sales office will be copied from sales contract but not for some.
    In the service order, I can see the sales org data where the sales office appears but it doesn't get copied to LV.
    Any idea what has happened?
    Thanks,
    Soo

    Hi Kamesh,
    Problem found and fixed. It was because of customer master.
    Thanks,
    SKK

  • Copy Pricing Conditions from Sales Order to Billing

    Hi,
    Is there anyway to copy pricing conditions for item level from Sales Order to Billing Document at the time of creation of Billing Document.
    Thanks

    This question is not on topic for the Web Dynpro ABAP forum and has been locked.

  • How to create Subscription Schedule for a Contract created from Sales Order

    Hi Gurus,
    Need help in creating subscription contracts from Sales Orders.
    We know that Service Contract is created from Sales Orders by adding covered item and service item as two lines in a Sales Order.
    1. Does anyone know how to a create Subcription Contract by adding single item or BOM item(Model) to a Sales Order?
    2. Can we have a BOM item created as Subcription item and reference this to the Service Item in the Sales Order, so that we get the Service Contract created with the BOM item as Covered line.
    3. Whenever we create the Service Contracts from Sales Orders, the Billing Schedule Level is set to 'Top Level'. Can we get this changed to 'Equal Amount' by using any profile options.
    Please advise as we are in a critial design phase and need to make a decision quickly.
    Thanks,
    Sid

    Hi Mani,
    I have a similar requirement but i need to transfer the values to the same page... what then. I have seen the developers giude and the example shows how to tansfer values to another page but no clues what so ever if i have to transfer them to the same page different region. Do u have any suggestions ....
    Regards,
    Amit.

  • Copying Text From Sales order to Billing Document

    Hi all,
    I have searched all posts for my issue but found nothing so that i am posting this issue.
    I want to copy the Some text form sales order to billing document is there any cnfig to do this
    order is there any exit for billing in which i can write code to copy text from sales order to billing document.
    please provide me a solution.
    Thanks in adavnce.
    Vinod.

    Hi,
    Use the same t-code VOTXN to do access sequence assignment.
    When you choose text object Billing Doc (header/item), there is 3 folders in dialog structure:
    - Text procedure
    - Access sequence
    - text procedure assignment
    In the text procedure folder, select related text procedure, then assign the created access sequence to respective text id.
    Hope this help.
    Cheers,

  • Text messages not copied from sales order to billing

    Text messages which have been given in sales order are not copied to billing. Two of the text are copied and the other two are not getting copied. Checked the access sequence.. everything is correct.
    Please give a clue.

    Dear DV,
    These are basic settings to copy the Text from sales order to Invoice so please check in these areas,
    First you need to copy the sales order text to the delivery document from the delivery document you can copy the text to the billing document.
    To copy the sales order text to the delivery document
    You do the text determination for the deliveries also,define and maintain same TextId in the delivery header text procedure ,maintain the access sequence ,in the delivery text procedure access sequence you put the Text Object as VBBK for that Text ID.
    Make sure that you have assigned access sequence for your missed Text ID's in VOTXN transaction
    To copy the delivery text to the invoice.
    You do the text determination for the billing document,define and maintain same TextId in the billing document text procedure and maintain the access sequence,after that
    Go to VOFA transaction then selct billing document type then go in to the details screen here you do the check in the Delivery Text check Box (Top most bottom of the screen.)
    Now you can able to copy the sales order text to the invoice.
    Use VOTXN transaction for Text determinetion
    I hope this will help you,
    Regards,
    Murali.

  • User-exit to copy collective number from sales order to purchase order

    Hi,
    Can any one help me  which user-exit/BADI  is used to copy collective number from sales order to purchase order?  please help me.
    Thanks,
    Alka

    hi
    copy control would be the better option to choose.. but still u can a give a search in list below and opt for the right one..Refer to the link below..
    http://www.planetsap.com/Userexit_List.htm
    User exits for Sales order
    1•USEREXIT_DELETE_DOCUMENT
    2•USEREXIT_FIELD_MODIFICATION
    3.•USEREXIT_MOVE_FIELD_TO_VBAK
    4.•USEREXIT_NUMBER_RANGE
    5.•USEREXIT_SAVE_DOCUMENT
    User exits for billing
    1.•USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    2.•USEREXIT_ACCOUNT_PREP_KOMPCV
    3•USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    4•USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB
    5.USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Reward if Useful
    Thanx & Regards..
    Naren..

  • Copying Profit Center from sales order to Purchase order

    Hi Champs,
    Please let me know if anyone has implemented this scenario of copying profit center from sales order to purchase order and then to goods receipt.
    Thanks
    Pirzada

    Hi,
    Profit center flows from material master to other documents such as PO,SA GRN and MIRO.Please let me know what are you looking for?

  • Sales order create/change line item with reference to contract - Open quantity not getting deducted for copied line item from the contract

    Hi friends,
    Please provide some valuable inputs for the following scenario:
    When a sales order line item is created(VA01) or changed(VA02) with reference to a Contract the open quantity is deducted in the contract which is a standard functionality. If the referenced line item is copied (custom enhancement to copy line item), then for the copied line item the open quantity is not getting deducted instead ATP quantity i.e. Available-to-promise is deducted.
    Any inputs on how we can fix this functionality i.e. deduct the open quantity from the contract for the copied line item?
    P.S. : Custom enhancement to copy line item is working fine, but open quantity is not getting deducted if the copied line item was referenced to a contract.
    Thanks,
    Sandeep
    Message was edited by: sandeep

    Sandeep,
    Yes, that was my original interpretation.  I was having a hard time believing that someone would ask such a question. 
    I guess, then, that you already know that you will have to add this logic to your enhancement. You should create your specifications and hand them off to a developer; ideally the one who created this enhanced solution in the first place.
    I do not provide advice in these forums about details of enhanced solutions.  Perhaps one of the other members will be more willing to do your work for you.
    Best Regards,
    DB49

  • Problem with copy control from sales document to billing document

    Hi,
    I have a copy control from a sales document to a billing document,
    which is copying everything from the sales document, except the
    conditoin values. Any ideas on why will a copy routine won't copy the
    condition values from a source document? I don't even have a document
    pricing procedure assigned to my billing document. Any setting, that
    we can do to for the conditions to get copied from the sales document
    to the billing document...just as they are in the sales document?
    Thanks for the help in advance.
    Regards,
    Vijay

    In IMG,
    Implementation Guide for R/3 Customizing (IMG)
    -->Sales and Distribution
       -->Billing
          -->Billing Documents
             -->Maintain Copying Control For Billing Documents
                -->Copying control: Sales document to billing document
    What setting do you have for your source sales document type to target billing document type? Select the row that shows the document type you are interested in and double click on item(on the left pane). Select the item category and do display. What value do you see under the 'Pricing Type' and 'Price Source'?
    May be that is where some config setting is missing.
    Srinivas

  • Copy  Ibase Component from Service Contract to Service Plan

    HI Experts,
    I  am creating a Service Contract by maintaining the Ibase Component in the Product list at item level
    and I am doing followup transaction service plan and from service plan to service order followup
    But  the Ibase Component is not getting Copied from service Contract to service plan transaction  as well
    as from serivce plan to service order transaction.
    Pls help me in this regard.
    Regards
    Pavan.A

    Hi Pavan,
    You can use copy control BADI to achieve this.
    The badi to use is 'CRM_COPY_BADI'.  You need to configure the transaction copy control to trigger this badi.
    Look at methods REFOBJ,  SERVICE_I and SERVICEPLAN_I.
    One of this methids should allow you to do this.
    Regards,
    Surendar

  • Need to copy a custom field from sales order to billing document

    Hi All,
    I have a requirement, I need to add a new field in the sales order header part and even a field in the billing document, once i add this field up in both the documents in the header part i need to create a copy routine using the VOFM tran, can any body help me on what's the procedure to add a field in billing document and does the copy routine transfer the data ( Custom Field ) from Sales Order to the Billing Document, if yes can somebody help me with the procedure on how to and code of it.
    solved it myself ....
    Regards.
    Message was edited by: seshi
            seshi

    Hello,
    Regarding item 1, is it in the region of the global links (ie logout, home, preferences, etc.)? If not, have you tried creating a link via personalizations to the region you wish to have the link displayed (item type = link, destination = fully qualified name of your .xml page/region?
    Regarding item 2, you may have to create the custom subtab programatically using the controller for the region of the current subtab layout.
    Regarding item 3, you can also add a submit button to the page button bar region via personalizations. You can then add any logic you want to the button in the controller for the page.
    Hope this helps.

  • Settlement of labour cost from sales contract order to CO-PA

    Hi Gurus,
    Could you please explain how the calculation is made while settling the labour cost from sales cotract order to CO-PA.
    Thanks and Regards
    RC

    Hi,
       Basically the labour cost will be contained in a cost element. When you settle the sales order to COPA your settlement profile will contain the PA transfer structure where the cost elements are mapped to the value fields. Accordingly the labour cost will flow into the value field in COPA.
    regards
    Waman

Maybe you are looking for

  • Why can't I sync my facebook invitations to my iCal?  My Mac Mail won't detect the date/time on the email anymore.

    I have been trying to sync my facebook invitations to my iCal and no longer able to do this through my Mac Mail.  When I would receive a facebook invitaiton through my comcast email, I used to be able to hover my mouse over the date/time of the invit

  • Date format in concantenment

    Hi, I have   ="Today It is "&" "& D1&"Now" in a cell. where D1 has Dates. D1 result here shows values like 42007 instead of the Date. I want it to show e.g. 12/12/2014 . please help here. regards

  • Duplicate folders created

    I am a new Aperture 3 user and after doing the Apple Pro Training set aperture as my default program for new photo's. Each time I import a new set of photo's a duplicate folder is created in my documents. (I assume these are duplicates since I import

  • Hi Expert,ADDON CONNETION TIME-OUT

    I am FACING PROBLEM CAN ANY BODY GIVE ANSWER FOR THAT. WHEN I START MY ADDON ON SERVER ADDON WORKING PROPERLY BUT IN CLEINT PC ERROR "ADDON CONNETIONTIME-OUT" AND "no sap business one application was found the request lookup key was not found in any

  • How to get BT phones/infinity cabled into office b...

    I'm looking to rent a 350 sq ft' office in a larger building (old mansion house type). The landlord has downsized onto the ground floor and isletting offices to small business on the 1st floor, however they have removed the comms cabling from teh roo