Disorder condition in Billing Plan

Hello, export.
Some strange things happened in my system. The scenario is: A sales order was created,after billing,the customer want to cancelled the order. So we should go to VA02 to change the order in billing plan tab.I changed the END DATE 1 day before start date ,that's means the item is cancelled. But the NET value of the Item is doubled rather than 0. The stranger things is that: sometimes it's show OK. For example , I have enter 4 items. when I cancelled all of them , the result is some of items is ok ,others is disorder.
Anybody could give me a kindly hlep though I'm a fresh man of SAP with no point.

Could you please share your experience regarding this matter stating which exits you have used as i have similar requirement.
My requirement is:
In SD while creating sales order. I need to know how this can be achived using which user exits.
While creating the line items after entering the material and double click on it, in the billing plan tab, user enters the start date and enddate. The system displays the settlement dates according to the from date specified, and the system calculates the Billing value as the ordered quantity(days) manintained in Sales A tab multiplied by the condition value.
The requirement is instead of taking the ordered quantity(days) maintained in Sales A tab, the days should be calculated based on the line item interval in the billing plan tab and the billing value for the line items should be the number of days between the interval multiplied by the condition value.

Similar Messages

  • Billing Plan Item - Condition Value 0

    Dear Experts,
    I'm creating a Service Contract.
    1.Pricing Procedure is Determine
    2.Billing Plan at item level is determining saying billing trigger once in a month.
    3.Maintained Item Price as 1200 USD in maintain conditions of product.
    The problem:
    When check the billing plan item value it is showing '0.00' instead of '1200 USD', Can you kindly advise me why the condition type is not determining.
    Note:
    I used Standard Item Cat no Z.
    Best Regards,
    Srujan

    Please use function module RV_PRICE_PRINT_ITEM
    Pseudo code :
    IF komk-knumv NE vbdkr-knumv.
        CLEAR komk.
        komk-mandt = sy-mandt.
        komk-kalsm = vbdkr-kalsm.
        komk-fkart = vbdkr-fkart.
        komk-kappl = pr_kappl.
        IF vbdkr-kappl NE space.
          komk-kappl = vbdkr-kappl.
        ENDIF.
        komk-waerk = vbdkr-waerk.
        komk-knumv = vbdkr-knumv.
        komk-vbtyp = vbdkr-vbtyp.
        komk-bukrs = vbdkr-bukrs.
        komk-land1 = vbdkr-lland.
        komk-vkorg = vbdkr-vkorg.
        komk-vtweg = vbdkr-vtweg.
        komk-spart = vbdkr-spart.
        komk-hwaer = vbdkr-waers.
        komk-prsdt = vbdkr-erdat.
        komk-kurst = vbdkr-kurst.
        komk-kurrf = vbdkr-kurrf.
        komk-kurrf_dat = vbdkr-kurrf_dat.
      ENDIF.
      komp-kposn = vbdpr-posnr.
      komp-kursk = vbdpr-kursk.
      komp-kursk_dat = vbdpr-kursk_dat.
      IF vbdkr-vbtyp CA 'HKNOT6'.
        IF  vbdpr-shkzg CA ' A'.
          komp-shkzg = 'X'.
        ENDIF.
      ELSE.
        IF  vbdpr-shkzg CA 'BX'.
          komp-shkzg = 'X'.
        ENDIF.
      ENDIF.
    CALL FUNCTION 'RV_PRICE_PRINT_ITEM'
        EXPORTING
          comm_head_i = komk
          comm_item_i = komp
          language    = nast-spras
        IMPORTING
          comm_head_e = komk
          comm_item_e = komp
        TABLES
          tkomv       = tkomv
          tkomvd      = tkomvd.
    The tables TKOMVD contains the item pricing condiitons

  • Remove from Billing Plan after Pricing Condition change

    Hi all,
    I am trying to implement code to deduct from the last date of a billing plan once a pricing condition type is used. Currently, when you enter the pricing condition it spreads the deduction amount across all of the dates in a billing plan.
    If we use VOFM, where would I define this? I've created code in the Pricing Requirements but table FPLT is not available to me and I don't know how to only remove from the last date instead of all.
    Thanks in advance!

    Hello,
    If you have necessary authorization to change the Pricing Date in Invoice, please go ahead.
    Change the Pricing date in Invoice,  go to Conditions tab & update the Pricing. System will fetch Condition Records as on that date.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • Need billing plan information into formula condition routine

    Hi Experts,
    I am writing a formula condition form routine in VOFM transaction. I need to caluculate a formula according to the business requirement. As part of their business, i need to get the billing plan information like billing plan type and  billing plan rule so that i can get the number of payments
    which i need to use in the formula. Does any of the runtime structures contain this billing information.
    Regards,
    Chitrasen

    Hi Chitrasen,
    When i searched with the *BILLING* in the SE11 data type i have got some relevent structures below
    try to use those.
    FDM_COLL_INVOICE_BILLING_DOC   Billing Document for Invoice
    RVKUSTA1_S_BILLING             Sales Summary: Structure for Billing
    for more you can also search with the same so the you will find most relevent one.
    Thanks!

  • Billing plan as per delivery schedule

    Hi,
    Is it possible to have the billing plan dates as per the schedule lines of the items using the billing plan configuration(either via either periodic billing plan or milestone billing)
    for e.g. for  a line item - qty 10(value 1000), delivery schedule is as follows
    10-Mar-2009 - qty to be delivered is 6
    02-Apr-2009 - qty to be delivered is 4
    ( dates and qty would be decided as per the customer needs. No periodic differences between dates).
    My expected billing plan should be as follows
    10-Mar-2009 - value to be billed is 600
    02-Mar-2009- value to be billed is 400
    if yes, please let me know.
    Thanks in Advance for your answers.
    Regards,
    Madhuri

    Hello,
    I believe the Condition Record for Rent would be based per Month. Now you cannot change this record to Daily because in that case system will bill only for 28 days in month of February.
    Instead there is a way out, in the Condition Type maintenance - T-Code V/06, Under Changes which can be made, put a Tick mark in Qty Relation Check Box.
    This will allow you to change the Calculation Type while creation of Sales Document. Thus for the month of January, you can change the Calculation Type to daily & leave it as it is (Monthly) for other months.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • Header Billing Plan - credit memo and debit memo

    Folks,
    I have the following scenario here.
    I have a billing plan order (BP) - with header billing plan.
    I have three lines in the billing plan
    1) $5000 ...FAZ (Billing Request)
    2) $10000...L2 (Debit Memo)
    3) $3000...G2 (Credit Memo).
    Once i go to VF04,
    I have all three billing due. However, only billing type FAZ has the header conditions (PR00, AZWR, TAXES) populated and net value $5000. (Populated against AZWR)
    Both L2 and G2 have no header conditions populated and the net value is 0.
    The copy control is set up the same for all and all have same document pricing procedure (A).
    Is it something basic I'm missing or is there anything else I have to do?
    Or pls let me know the process for debit memo / credit memo with a billing plan.
    Pls respond ASAP as we have the Proof of Concept scheduled sooner.
    Helpful answers will be rewarded promptly!
    Thank You,

    Hello,
      I think that basys of this process is not correct: the purpose of billing plan is to define different invoicing schedules, typically for businesses working with projects, and on top of that, billing plan is the only standard way to manage advance payment and automatically determine the settlement of the advance payments on final invoices.
    For this, in my opinion it's not correct entering in the billing plan items with Credit Memo or Debit Memo request. You should have only andvance payment items and invoice items (document category = M).
    In a common invoicing process, you can have the following steps:
    - Down payment request (FAZ);
    - Invoice (F1) reduced by the downpayment amount (if that is the case);
    Then you can create a Credit Memo request, against the Invoice, if for some-reason you have to revert back something to the customer; or you can create a Debit Memo request if you have recharge the customer with reference to a document already invoiced. I think that invoice type G2 and D2 should not be "planned" steps in an invoicing process. On top of that, it's not advisable creating Credit Memo requests with reference to an invoice containing downpayment clearing item, as it would lead to incorrect postings into accounting.
    Hope to be useful.
    Best regards,
    Andrea

  • CRM 2007 Pricing based on settlement period of billing plan

    Hi,
    I need the ability to have disocunts on a service contract based on the settlement period of the billing plan.
    A contract list price is 12 GBP per month.
    If the customer want to bill monthly no doscount will be applied.
    If the customer wants to bill quarterly a discount of 1 GBP will be applied.
    If the customer wants to bill annually a discount of 2 GBP will be applied.
    If the cusomter wants to pay upfront a discount of 5 GBP will be applied.
    For this purpose I enhanced the field catalog for pricing with this new field.
    A condition table using this field was created.
    Badi CRM_COND_COM_BADI was used to pass the field from the billing plan to pricing. I used FM CRM_BILLPLAN_READ_OB  in if_ex_crm_cond_com_badi~item_communication_structure.
    When the contract is created the Badi is called and the period specific price is found.
    When I change billing plan the badi is only called for the BRI (Billing Request Item) but not for the contract item for which the price is mantained.
    Does someone has an idea how to establish this???
    Thanks in advance.
    Points guaranteed.
    Regards
    Dirk

    Hi Stas Shapiro,
    Your question is related to u201CCustomer servicesu201D module in SAP, you can post such issues in a forum called u201CEnterprise Asset Management (EAM)u201D in sap.sdn forum,
    Whether you have Service contract or in Warranty you need to have special condition types like ZZDC, PPAG etc. for pricing procedures PABR01/02 (Header or item pricing procedures.)
    Similarly a different pricing type for Warranty need to be configured.
    I suggest you to go through the following sap.help.link to get complete solution to your thread
    http://help.sap.com/saphelp_46c/helpdata/en/e6/4a903f9e0311d189b70000e829fbbd/frameset.htm
    For time related billing you need to use service orders with resource related billing, even for this you need to explore the  above link.
    all the best.
    Regards
    DSR
    Edited by: D.Srinivasa Rao on Nov 1, 2011 12:05 PM

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

  • Down Payments with out Billing plans is possible ?

    Hi experts,
    1. Is it possible Receiving down payments with out Billing plans?
    Scenario is customer pays 50% payment firist and remaining amount pays before PGI. so how shall i map? Currently am receiving advance amount by using F-29 t.code.
    2. If customer cancels his Sales Order how shalli pay advance amount return.
    Thanks In advance
    Rajendra

    HI rajendra,
         it is not possible to use downpayments without billing plan.either u have use milestone or periodic billing depending on business requirement.
    if u r recieving advance from customer directly thru FI route ,system would generate accounting doc (parking doc ) as a reference which goes to particular G/l account.
      use that doc number as reference and map it to downpayment condition record thru SD route in vk11,so that when ever u create a sales order system generates downpayment document with ref to this cond record.
    if customer cancels order ,condition record for advance recived still exists which can be used to next transaction as advance.
    but crucial part is once u have done PGI and billing for the advance recieved ,u will have to mark this conditionrecord as deletion or expired.sothat system will not use this or duplicate into other transactions.
    this is feesible and achievable.
    reward if helps !!!!!!

  • How to bill the customer as per billing plan according to a contract

    Hello All
    Plz help  me out I am  stuck, scenerio is I am doing a contract with Perodic billing plan for every month. in contract the billing date shows rightly. but when I do vf01 for first month billing it shows all the billing plan days . but when I select first date for billing system allows me to save the bill. but later when I again go for vf01 for next month billing from putting the same contract no it shows a log stating that "paritially processed". Plz show me the path how to bill th customer on every month. is my process is right or any alternative Please suggest. I am waiting eagerly. thankx in advance.

    Hi  Mohan ,
    In the periodic billing plan, you can adjust conditions to the length of
    the period, only if you use the following calculation type for the
    condition:
                 M     quantity - monthly price
                 N     quantity - yearly price
                 Q     quantity - daily price
                 P     quantity - weekly price
    In this case the pricing determins correctly a prorated value
    according to the lenght of the period in the billing plan.
    Please check your conditions and use in a periodic billing plan
    only conditions which have the mentioned calculation type. Otherwise
    you will get every time the same value for a 'long' period or a
    'short' period.
    92655 - Billing plan: billing yearly prices on monthly basis
    Regards
    Goviind
    Edited by: Govindraj Kulkarni on Feb 20, 2012 10:05 AM

  • Error in Billing plan of Contract

    Hi Experts,
    We have a contract with Billing Plan. Billing plan tab has 2 line items.
    The first line item Net value in Billling plan tab is showing '0' (zero) and the second line item Net value in Billing plan tab is showing is 250. But Condition record value is 250 itself.
    The contract has been Invoiced now. In the Invoice the first line item value is '0'(zero) but the condtion tab of this line item its 250 (yellow icon, inactive).
    In the Output Print form, the first line item value is showing as '250' not '0'(zero).
    I am unable to understand where it went wrong..
    Please help me in this regard.
    Thanks in Advance
    Jaya.

    Hi,
    ut the condtion tab of this line item its 250 (yellow icon, inactive).
    Select this condition and check details why it show as yellow, inactivate
    Kapil

  • Relation between Payment term and Billing Plan

    Hi All,
    I have gone through series of thread on Milestone billing and the Billing plan concept is understood but still I have a confusion regarding the relation between Payment Term that we maintain in OBB8 and the Billing plan that we maintain. practically both seems same.
    For ex. Milestone Linked plan where 30% payment to be received on the completion of X work and 70% on the completion of Z work. what should be the payment term for this kind of milestone billing?
    Please suggest.
    Thanks in Advance.
    Binita Joshi

    Hi,
    First there is one major difference between payment terms and billing plan.
    Payment terms will come into effect once billing is done, based on the conditions of payment terms system decides whether a certain line item is  not due or overdue.
    Billing plan on the other hand decides when to bill the first installment and when to bill second installment and final payment etc.
    For example:
    for a order with billing plan has total value of INR 1000
    date                         Mile stone             percentage        Amount
    21.10.2011             Advance               10%                       100
    31.10.2011             installation              30 %                     300
    15.11.2011             Handing over         40  %                    400 
    30.11.2011             Final invoice           20%                      200
    System will create 4 invoices according to billing plan.
    Once the bill is created according to payment terms FBL5n will show the status as not due/ overdue
    Hope this helps.
    Regards,
    Sharan

  • How to update Billing Plan using BAPI_SALESORDER_CHANGE

    Hi,
    In my case initailly sales order header data is created and saved, with reference to SO Project is created and then item level data is updated.
    So clients requirement is to create any upload programme which can use for mass upload.
    i.e to develop a program to upload,
    i) Items in Sales Order.
    ii) Billing Plan & Pricing Conditions in SO
    I am trying to use BAPI_SALESORDER_CHANGE for this requirement. Problem is in this scenerio user exit is already used which validate "Amount" at item level and "Bill. value" in Billing plan tab should be same.
    As observed Billing plan data can not be updated using this BAPI.
    Even I've tried to use BDC for this requirement, but as we need to double click on line item while updating billing plan data and conditions it does  not work while recording.
    Incase anyone have worked on similar scenerio and found out solution, please share all your inputs.
    Warm Regards,
    Nitish

    Hi,
    The following code will take you to Billing plan tab in BDC.
      PERFORM bdc_dynpro      USING 'SAPMV45A' '0102'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'VBAK-VBELN'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'VBAK-VBELN'
                                    wa_vbap-vbeln.             
      PERFORM bdc_dynpro      USING 'SAPMV45A' '4001'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=ITEM'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    itemno . "'RV45A-MABNR(wa_vbap-posnr)'.
      PERFORM bdc_dynpro      USING 'SAPMV45A' '4003'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=T\06'.
      PERFORM bdc_dynpro      USING 'SAPLV60F' '4001'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
    Regards,
    P Gomatheeswaran

  • How to change the currency in Billing plan in SO line item

    Hi Experts
    Pls help in following scenario.
    Company Code Currency: HKD
    Sales Document Currency: INR(Indian Rupees)
    Item Pricing Condition Currency(PR00): 100 USD
    Item Netvalue: 4800INR(System caluculated as per exchange rate type M)
    Document Netvalue: INR 4800
    The sales document item is linked to a billing plan.
    I wanted to maintain 100USD in the billing plan.
    When i goto Sales->item-->Billing Plan, The currency in billing plan screen is document currency and is greyed out.
    How to change the Currency in Billing plan (to Item Condition currency) and maintain the Billing value in USD?
    Pls help.
    Regds
    Hari

    Currency change we wanted to do is not during Invoicing.
    In billing plan itself we want to change the currency setup the billing value in item condition currency.
    Any one, pls help.

  • Billing Plan / Sales Output tax to be deducted at final invoice

    Hello Folks,
    The scenario is related to construction industry where client billing is triggered via milestone/billing plan. the scenario example is lets say the price is 100USD. After applying 16% tax, the net value will be 116USD.
    Now, there are total 3 invoices send to client.
    2 invoice are commercial invoice (without sales tax) and third and last is sales tax invoice which includes total tax value from sales order.
    1st Invoice 40% of price : 40 USD (Commericla invoice W/o Tax) - 1st of July
    2nd Invoice 60% of price: 60 USD (Commericla invoice W/o Tax) - 1st of August
    3rd invoice 16% of Price: 16 USD (Sales Tax invoice) - Final Invoice - 1st of August
    Would like to know your opinions to map this process requirement in SAP.
    **By the way we are using SAP IS-ECO.
    Thanks.

    I would suggest, this can be achieved with diff pricing procedure & billing doc type.
    1st Invoice 40% of price : 40 USD (Commericla invoice W/o Tax) - 1st of July
    2nd Invoice 60% of price: 60 USD (Commericla invoice W/o Tax) - 1st of August
    Say, the above have diiferent billing doc type with diff doc pricing procedure the sales order and determine pricing accordingly.
    Here, don't allow system to determine tax, say, don't have tax condition in pricing
    3rd invoice 16% of Price: 16 USD (Sales Tax invoice) - Final Invoice - 1st of August
    here also diiferent billing doc type with diff doc pricing procedure other used in sales order & above billing doc type and determine pricing accordingly. Thus allow system to determine tax, say, have tax condition in pricing.
    Regards
    JP

Maybe you are looking for