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

Similar Messages

  • 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.

  • 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

  • Billing Plan from Quotation to Sales Order

    Hello Friends,
    When Iam creating a Sales Order with reference to a Quotation, I want to copy the Billing Plan automatically from Quotation to Sales Order.
    How can I achieve this??
    Thx,
    Smitha.

    Hi Smitha,
    During sales order processing, the system determines from the item category whether a
    billing plan is required and, if so, which type of plan
    The type of billing plan that is determined at this point is set up in Customizing and
    cannot be changed in the sales document
    REWARD IF U FINDS THIS AS USEFUL...
    Regds
    MM

  • PO no.& PO dt. to be copied from contract to sales order at header level??

    Hi,
    I have a requirement, Purchase Order number & date has to be copied to the sales order (header fields below the SP & SH fields) when i create a sales order with reference to a contract. Can you tell which routine to be used in copy control??
    Thanks
    Ghanesh
    Edited by: Ghanesh Visu on Feb 16, 2010 9:17 AM

    Hi,
    I as far as my understanding you have to create new routine or copy from existing and modify that
    and maintain condition P.O & Date should not be change.
    Kapil

  • Creation of Multiple billing documents from a Single sales order

    Hi Experts,
    How can we create many billing documents from a Single sales order.
    Will it be possible we create a Sales order with bigger quantity and then keep on creating partial billing documents based on the billing quantities and dates.
    Request you all for a solution.
    Thanks
    Montee

    Hi ,
    1. If Qty is one number - based on value of the order - it is possible to create different billing doc.'s based on billing date and value using billing plan , again these are periodic billing or milestone billing
    2. Using Contract process- create material /qty contract- release partial qty  by creating release document and create billing document w.r.t to contract or release document (sales order)
    thanks
    Chidambaram

  • User Exit/Badi to change the billing plan date when create sale order

    Experts,
    Please advise which user exit/badi can be used to change the billing plan date wen create sale order.
    My requriement is based on some rules to dynamically change the line item billing plan start date and end date when create sales order.
    I tried some user eixt in MV45AFZZ, but the date got revert to the orginal date from billing plan.

    Hi,
      check the include MV45AFZB.
    Thanks & Regards,
    Sateesh.

  • 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

  • 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

  • Billing Plan values in the sales order

    Hi,
    After configuring the billing plan for processing in the order i am able to see the billing vlaues as per the values given in the billing plan type when I run the billing due list.  Where as when I tried to create the billing document from the due list it is selecting the total value of the item. It is not copying the Billing plan value instead copying the total value of the item.
    can any one help me
    regards
    AVS

    Hi, Rajesh,
    My issue is with the billing plan values are not getting copied into the F1 invoice.  But when I run the order related billing due list I am able to see all the billing line items with values mentioned in the billing plan.
    regards
    AVS

  • Copy PO Number from contract to sales order

    Hi,
    My clients requirement is that when i create sales order with reference to contract the PO Number should be copied from contract to sales order other wise we have to enter PO Number every time while creating the sales order.
    Please guide me.

    Hi
    Small change in the program will copy the PO number from Contract to sales order.In case need take help of ABAPer
    Data which is not copied
      LOCAL: VBKD-FKDAT.
      LOCAL: VBKD-FPLNR.
      LOCAL: VBKD-WKWAE.
      LOCAL: VBKD-WKKUR.
      LOCAL: VBKD-DELCO.
      LOCAL: VBKD-BSTKD.
      LOCAL: VBKD-ABSSC.
      LOCAL: VBKD-BSTDK.
    In your data declaration, you have
    LOCAL: VBKD-BSTDK
    Please comment out this line and your purchase order should be copied over. You might also have to comment out some of the other fields which are declared locally if you wish to copy them as well.
    Ramesh

  • Billing plan (Downpayment) for saved and open sales orders at header level?

    Hi gurus,
    I have configured billing plan in my SD environment at Item Level.
    I want to change it to header level.
    Questions:
    1- When I make the changes to update the system to have billing plan at header level for future sales orders, is that possible for me to change all my saved orders and open orders with the new settings so that I can also have those saved and open orders with a billing plan at item level?
    2- If that scenario is not possible, could we for example copy the data of a previously saved or open sales order into a new sales order with the new customizing (Billing plan at Header level?)
    Thanks for your input
    Kind regards
    Chris

    Hi
    I am afraid you cannot do that converstion for the existing orders. BP at header level are enabled at teh document type level, while BP at item level is done at item category. So both are independent. Mostly it is advisabel to use BP at item level only.
    If you are already using item level BP, and want to mvoe to header BP, then only future transactions can be executed with BP at header level. Existing item level BPlans will remain so in the system.

  • Billing document from Delivery without Sales order creation

    Hi,
    I want to know that is it possible to create a billing document from a delivery document but without a sales document?
    If yes what settings can be done in the system to achieve it?

    Hi,
    Yes. It is possible.
    Delivery type LO is delivery without reference.(No preceding document required to create delivery)
    Go to T-code VTFL. Select delivery type  LO as source doc and target doc. would be your billing type. Go to item level.
    Maintain copying requirement - 019.
    Billing quantity- B
    Pricing type -  B
    Pos/Neg quantity - + sign
    thanks,
    Vrajesh

  • 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

  • Billing Plan Tab required in Sales Order - Item Level

    Hi,
    I am trying to create a Sales Order, in which at Item level I also require Billing Plan Tab.
    This is for scenario Periodic billing & milestone billing.
    If you could also help with configuration & business process document of Periodic & milestone billing.
    my email id is [email protected]
    Thanks in advance.
    Warm regards,
    Rajesh Banka

    Hi Rajesh Banka,
    In sales order if you item category group is relevant for Billing Plan (Milestone) then you will get a billing plan tab for sales order item in Va01 T.code.
    You can go to MM02 and change item category group of material to Milestone billing in Sales org2. and then try creating order for the item using va01, go to item level you will get the billing plan tab.
    Reward if it helps
    regards
    srini

Maybe you are looking for