Rebate Accrual Rate

Hi All,
In Rebates while maintaining the condition records we have two columns u201CAmountu201D and another u201CAccrualsu201D. Why we need to enter the value in both the fields OR if we donu2019t maintain the value in the fields what will be the impact.
Also we are trying to use the extended rebate functionality for u201CMaterial for settlementu201D issue. Can you guide me on the seetings will be done for this.
Babs.

Hi Babs,
Let me explain you this with an example :
As per the standard definition, Accrual is the accrued discount amount which we want to pay back to the customer when we settle the Rebate. When the Rebate relevant Billing document is posted , the Accrual is also posted to FI in the specific G/L account meant for Accrual.
In the condition record for Rebate agreement we enter the Rebate rate and the Accrual rate.
Now say if you have given Rebate rate as 10 Rs amount per piece & Accrual as 2 Rs
Then ,system will take 2 Rs as accrual amount and this amount will be posted in FI and will be accrued there.
SAP considers the accrual amount specified in the condition record, therefore normally, we give Accrual rate same as Rebate.
Hope it will helkp.
Thanks,
Raja

Similar Messages

  • Rebates- Accrual rate and Rebate Rate

    Hi, I am working on Rebate configuartion.
    Can any one explian me the difference between Rebate Rate and the Accrual Rate that we provide while creating Rebate agreement.
    Regards,
    Sunil

    Hi,
    The rebate rate is the rate at which you have made the agreement with the customer for a specified period.
    Accrual is the total rebate need to be provide for the agreemnet period.
    Regards

  • Rebate rate and accrual rate

    What is the difference between rebate rate and accrual rate in rebate agreements. One example wil be very helpful

    Accrual Rate:
    You can enter an accrual rate manually in each condition record. The accrual rate should reflect, as accurately as possible, the rate at which the rebate will be calculated at final settlement.
    Every time you process a rebate-relevant billing document (an invoice, a credit or debit memo), the system automatically posts an accrual to financial accounting (FI). Within FI, the rebate accrual is posted to two accounts: a sales deduction account and an accrual account. The accrual account is cleared when the rebate agreement is settled with a credit memo.
    Rebate Rate:
    A price discount that a vendor grants a customer at a later time.
    The amount of rebate depends on the invoiced sales that the customer achieves in a specified period and is defined using condition records.
    Regards
    AK

  • Difference between Rebate rate and accrual rate

    Dear Experts,
    Can you explain the difference between Rebate rate and accrual rate in rebate processing ?
    If possible, give any example so that it would be easier to understand.
    Thnx in advance
    regards,
    Sagar

    Hi Sagar,
    I also agree that rebate is an amount which is derived from either sales order or billing doc.
    No it's not; only billing documents update rebate agreements.
    ... two terms i.e. Rebate rate and Accrual Rate maintained in condition records for rebate agreement.
    Accrual Rate = The rate used to accrue the value (provision) before settlement takes place.
    Rebate rate = The rate used to generate the real credit amount to the customer when settlement takes place.
    Usually both rates are set the same but, because if scales are used in the rebate rate, then it is usual to manually set the accrual rate at the expected rebate rate based on the planned sales volume.
    If I am not wrong, the condition technique it it the accrual rate which determined not the rebate rate.
    Not correct; the condition technique is used to determine both rates in the rebate condition.
    Also i tried to create scales for rebate, this can be done with rebate rate and not with accrual rate. Then what is its use.
    Scales are used when the amount is paid on a variable rate depending on the total customer consumption. The idea is that the more the customer is purchasing, the more rebate he will receive, also on its previous purchases.
    Accrual rate is fixed (no scale).
    Hope it helps.
    Best Regards,
    Franck Lumpe
    Freelance SAP Logistics Consultant

  • Automatic clearing not happend for Rebate Accruals

    Hi SAP Experts,
    The rebate agreements are settled and payment is made for all rebate accrual posting for the previous quarter but automatic clearing has not happened.
    Can anybody give me some input where to check for the automatic clearing for the rebate accrual.
    Thanks in advance.
    Subho.

    Paymnet made means credit notes generaeted or only crdit memos been raised
    clarify me so
    BJ

  • Rebate accrual up to certain quantiy

    Hi,
    We have an requirement where in rebate needs to be accrued only for certain quanity.
    For Eg:- Material A, Quantity is 1600 PCs, so rebate should accrue for all customers for specific materail  only for 1600 pcs . Once system reaches 1600 pcs accrual has to be stopped from 1601 pcs.
    Experts,Kindly guide me how to achieve the same through SD Rebates.
    Regards,
    Peter J

    Hi,
    Thnx for your replies, sorry to say this is not at all my requirement or these solutions will not really meet the requirement.
    Let me reframe the requirement with an example.
    Qty  under scheme or  quantities eligible for rebates accrual...
    Eg: Closing Stock 9000 Pcs, Under scheme is 7000 PCS till stock gets liquidated  up to 7000 pcs,system should accrue rebates @  $ 70 per piece.
    That means , we have created 8 sales order & billing for 1000 pieces each for 7 different customers. So system should accrue rebates @ $ 70 for 7000 pieces till 7th sales orders & billing. But 8th sales order/billing i.e, from 7001th piece should not accrue rebates as the scheme is only till 7000 pieces for a particular material.
    PLZ reply & putforth your possible solutions or work arround .....on priority....

  • Rebate accrual report

    Dear Sir/Madam,
    Is there any report that can shows total amount of rebate accrual settled in specific fiscal year?

    check these T.codes also
    ACACPSITEMS - Manual Accruals: Display Totals Values in the Accrual Engine
    ACACPSDOCITEMS - Manual Accruals: Display Line Items in the Accrual Engine
    Regards
    Ram

  • Rebate accruals report customer wise for a financial year

    Dear Gurus,
    For your kind attention, i am here with submitting my requirement for resolution. Can any one let me know how to have total rebate accruals  amount against each customer ( in a sales are a)in a financial year. ( even settled rebate agreements -accrual amount also to be included in the report) .Awaiting your earliest response.
    Thank you in advance.
    Krishna

    Hi
    Try with tcode FBL3N for the accrual account. See if any field gives you the option to filter by customer. If it's not possible, populate any field for customer. See Note 301077 - User exits for the interface to accounting, EXIT_SAPLV60B_005.
    I hope this helps you
    Regards
    Eduardo

  • How to fix rebate accrual accounts not clearing when rebate paid?

    Automatic clearing of the rebate accrual accounts fails. The credits are created by the rebate accrual functionality. When the rebate payment is made, it should clear against the accrued items. It does not. This might be due to missing account assignment.
    what config. I should be making and where? Thanks.

    Hi Cathy
    in pricing procedure check these settings "7 in Sub total Key" , "23/24 in requirement " and "ERB for account key" , & " ERU for accrual psotings".
    may be if these settings are maintained fine it should work ,
    Cheers

  • Rebate  Accruals

    Hi Gurus,
    I have one issue in Rebate - Accruals are showing correctly at verification level but not capturing in Sales Volume in Rebate Agreement.
    Please let me know the reason for the same.

    New bonus procedure not active
    Go to TCode OMO1 and enable V1 updates for info structure S469.  Next you have to rebuild the info structure via OL19.
    If this is in production client, please try this in development as I am not sure on the info structure I have indicated.
    thanks
    G. Lakshmipathi

  • COPA - SD - Rebates accrual & Credit memo

    We have rebates accrual posting from SD-
    Dr. Rebate A/c (PL) 1000 - this would also been in COPA
    Cr. Rebate accrual (BS) 1000
    Now you settle the rebate(credit memo) - say you decide to settle for 1200
    At this point the system will do the following entry (in FI):
    Dr. Rebate accrual (BS) 1000 - posted to COPA
    Cr. Rebate A/c (PL) 1000
    Dr. Rebate A/c (PL) 1200 - Posted to COPA
    Cr. Customer A/c 1200
    hence the difference of 200 will be posted to COPA.
    The issue is that I want to separate reverse of accrual and actual rebate in COPA i.e. to have two COPA line items
    first (accruals)    -1000
    second(rebate)    1200
    instead of current 200
    Is it possible?
    Thank you in advance.

    Hi
    I got your point... You are talking of the 2nd entry which is posted in COPA
    SInce it is having the same GL account repeating twice, I dont think you would have 2 line items relating to 2nd document... You will have only 1 line item
    What you would see in KE94 is the Original 1000 and the 200 amount so that you can have differentiation upto this level
    Regards
    Ajay M

  • Rebate Accruals roundings

    Hi Experts,
    please can you help me with Rebate accruals?
    Total accrual value calculated into Rebate from invoices processing, is slightly different (roundings problem) from final value of credit note to be granted to customer.
    Currency is always EUR.
    Can you help me please to find out if it is pèossible to have the same value for both?
    Thank you very much
    Kind Regards
    Andrea

    Hi Andrea,
    Total accrual value calculated into Rebate from invoices processing, is slightly different (roundings problem) from final value of credit note to be granted to customer.
    That happens indeed.
    ... it is possible to have the same value for both?
    I don't think so, this has to do with rounding in each individual transaction (accruals generation)..
    IMHO you should not care because the accruals get reversed when doing the final settlement, so this should be a (small) temporal rounding difference.
    Anyway if you have scales in your rebates, then you will get much bigger differences between the accrual value (for example 3%) and the "real" rebate credit notes (maybe 5% because the customer has consumed more than planned). That will be a real business problem.
    Regards,
    Franck

  • Table required for Rebate accrual.

    Hi Experts,
    Can any one tell me is there any table which stores rebate accruals, so that it can be extracted manually????
    Thanks & regards,
    Rupam.
    Edited by: RUPAM KR SEN on Aug 13, 2009 12:12 PM

    hi,
    check table -S262 - field BONBA
    structure- KONP
    regards
    senya

  • Accrual Rate

    Dear Gurus,
    My client requirement is like they have Annual Rate is 30 Per year and Accrual Rate is different in different months like in Jan it will 2, in Feb it will 1, in Mar it will 3, in Apr it will 2 like this only every month it is different Accrual Rate but the total is (Annual Rate) is 30. Kindly suggest how i will capture it in system and in which Accrual Formula will use it. { Do I need to create a UDT like once it is JANUARY then Accrual_Rate is 2, by using function GET_TABLE_VALUE }
    Thanks,
    Shobhit

    Dear Sanjay sir,
    I have written the formula, for every BAND Ceiling (total entitlement) is working and in month JAN Accrual Rate is correct for every Bands but from FEB accrual rate is not working correct, it is accumulating some different amounts. Kindly find my Accrual Formula and please let me know where i am doing mistake , i will edit that code.
    FORMULA ********
        NAME : PTO_SIMPLE_BALANCE_MULTIPLIER
        This formula calculates the start and end dates for out simple multiplier.
        This formula calculates the dates between which an assignment is to accrue.
        It is based on PTO_SIMPLE_MULTIPLIER, but has been amended to allow its
        use in the new payroll balance functionality. It may not be used out of the box
        but must be amended, according to the documentaion, by inserting the
        name of the database item which was created with your defined balance.
        This defined balance should have been created immediately after the
        accrual plan.
    DEFAULT FOR ACP_INELIGIBILITY_PERIOD_TYPE IS 'CM'
    DEFAULT FOR ACP_INELIGIBILITY_PERIOD_LENGTH IS 0
    DEFAULT FOR ACP_CONTINUOUS_SERVICE_DATE IS '4712/12/31 00:00:00' (date)
    DEFAULT FOR ACP_ENROLLMENT_END_DATE IS '4712/12/31 00:00:00' (date)
    DEFAULT FOR ACP_TERMINATION_DATE IS '4712/12/31 00:00:00' (date)
    DEFAULT FOR ACP_ENROLLMENT_START_DATE IS '4712/12/31 00:00:00' (date)
    DEFAULT FOR ACP_SERVICE_START_DATE IS '4712/12/31 00:00:00' (date)
    Default for Accrual_Start_Date is '4712/12/31 00:00:00' (date)
    Default for Accrual_Latest_Balance is 0
    DEFAULT FOR ASG_GRADE IS '0'
    INPUTS ARE
    Calculation_Date (date),
    Accrual_Start_Date (date),
    Accrual_Latest_Balance
    MONT=SUBSTR(TO_CHAR(Calculation_Date,'DD-MON-YYYY'),4,3)
    IF ASG_GRADE WAS NOT DEFAULTED THEN 
    (x=TO_NUMBER(GET_TABLE_VALUE('BMC_NL_ACRL_CEILING2000','BAND',ASG_GRADE))) /* this table for entitlement for one year with their BAND */
    E = SET_NUMBER('CEILING', X)
    (A=TO_NUMBER(GET_TABLE_VALUE('BMC_NL_ACRL_RATING2000',MONT,ASG_GRADE))) /* this table for monthly accrual rate, like if BAND is 1 and month is JAN the Accrual Rate is 2 */
    E = SET_NUMBER('ACCRUAL_RATE',A )
    Accruing_Frequency = 'M'   /* Month */
    Accruing_Multiplier = 1
    E = SET_TEXT('ACCRUING_FREQUENCY', Accruing_Frequency)
    E = SET_NUMBER('ACCRUING_MULTIPLIER', Accruing_Multiplier)
    Beginning_Of_Calculation_Year = to_date('0101'||to_char(Calculation_Date,'YYYY'),
                                            'DDMMYYYY')
    IF (Beginning_Of_Calculation_Year > Calculation_Date) THEN
      Beginning_of_Calculation_Year = ADD_MONTHS(Beginning_Of_Calculation_Year, -12)
    IF Accrual_Start_Date < Beginning_Of_Calculation_Year THEN
      Accrual_Start_Date = Beginning_Of_Calculation_Year
    E = SET_DATE('BEGINNING_OF_CALCULATION_YEAR', Beginning_Of_Calculation_Year)
    E = GET_PERIOD_DATES(Beginning_of_Calculation_Year,
                         Accruing_Frequency,
                         Beginning_Of_Calculation_Year,
                         Accruing_Multiplier)
    First_Period_SD = get_date('PERIOD_START_DATE')
    First_Period_ED = get_date('PERIOD_END_DATE')
       Set the Calculation_Date to the Termination Date if not null
    IF NOT (ACP_TERMINATION_DATE WAS DEFAULTED) OR
        NOT (ACP_ENROLLMENT_END_DATE WAS DEFAULTED) THEN
      Early_End_Date = least(ACP_TERMINATION_DATE, ACP_ENROLLMENT_END_DATE)
      IF (Early_End_Date < First_Period_ED) THEN
        Total_Accrued_PTO = 0
        E = PUT_MESSAGE('HR_52794_PTO_FML_ASG_TER')
      IF (Early_End_Date < Calculation_Date) THEN
        Calculation_Date = Early_End_Date
       Get the last whole period prior to the Calculation Date and ensure that it is within the
       Year (if the Calculation Date is the End of a Period then use that period)
    E = GET_PERIOD_DATES(Calculation_Date,
                         Accruing_Frequency,
                         Beginning_of_Calculation_Year,
                         Accruing_Multiplier)
    Calculation_Period_SD  = get_date('PERIOD_START_DATE')
    Calculation_Period_ED = get_date('PERIOD_END_DATE')
    IF (Calculation_Date <> Calculation_Period_ED) THEN
         E = GET_PERIOD_DATES(ADD_DAYS(Calculation_Period_SD,-1),
                                                    Accruing_Frequency,
                                                    Beginning_of_Calculation_Year,
                                                    Accruing_Multiplier)
        Calculation_Period_SD  = get_date('PERIOD_START_DATE')
        Calculation_Period_ED = get_date('PERIOD_END_DATE')
    If (Calculation_Period_ED < First_Period_ED) THEN
        Total_Accrued_PTO = 0
        E = PUT_MESSAGE('HR_52795_PTO_FML_CALC_DATE')
       Set the Continuous Service Global Variable, whilst also
       ensuring that the continuous service date is before the Calculation Period
    IF (ACP_CONTINUOUS_SERVICE_DATE WAS DEFAULTED) THEN
        E = set_date('CONTINUOUS_SERVICE_DATE', ACP_SERVICE_START_DATE)
    ELSE IF(ACP_CONTINUOUS_SERVICE_DATE > Calculation_Period_SD) THEN
        Total_Accrued_PTO = 0
        E = PUT_MESSAGE('HR_52796_PTO_FML_CSD')
        E = set_date('CONTINUOUS_SERVICE_DATE', ACP_CONTINUOUS_SERVICE_DATE)
    ELSE
        E = set_date('CONTINUOUS_SERVICE_DATE', ACP_CONTINUOUS_SERVICE_DATE)
    Continuous_Service_Date = get_date('CONTINUOUS_SERVICE_DATE')
    First_Eligible_To_Accrue_Date  = Continuous_Service_Date
       Determine the date on which accrued PTo may first be registered, i.e the date on which the
       Ineligibility Period expires
    Accrual_Ineligibility_Expired_Date = First_Eligible_To_Accrue_Date
    IF (ACP_INELIGIBILITY_PERIOD_LENGTH > 0) THEN
       IF ACP_INELIGIBILITY_PERIOD_TYPE = 'BM' THEN
          Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
                                                          ACP_INELIGIBILITY_PERIOD_LENGTH*2)
       ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'F' THEN
          Accrual_Ineligibility_Expired_Date = add_days(Continuous_Service_Date,
                                                        ACP_INELIGIBILITY_PERIOD_LENGTH*14)
       ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'CM' THEN
          Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
                                                          ACP_INELIGIBILITY_PERIOD_LENGTH)
       ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'LM' THEN
          Accrual_Ineligibility_Expired_Date = add_days(Continuous_Service_Date,
                                                        ACP_INELIGIBILITY_PERIOD_LENGTH*28)
       ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'Q' THEN
          Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
                                                          ACP_INELIGIBILITY_PERIOD_LENGTH*3)
       ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'SM' THEN
          Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
                                                          ACP_INELIGIBILITY_PERIOD_LENGTH/2)
       ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'SY' THEN
          Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
                                                          ACP_INELIGIBILITY_PERIOD_LENGTH*6)
       ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'W' THEN
          Accrual_Ineligibility_Expired_Date = add_days(Continuous_Service_Date,
                                                        ACP_INELIGIBILITY_PERIOD_LENGTH*7)
       ELSE IF ACP_INELIGIBILITY_PERIOD_TYPE = 'Y' THEN
          Accrual_Ineligibility_Expired_Date = add_months(Continuous_Service_Date,
                                                          ACP_INELIGIBILITY_PERIOD_LENGTH*12)
       IF Accrual_Ineligibility_Expired_Date > First_Eligible_To_Accrue_Date
       AND Calculation_Date < Accrual_Ineligibility_Expired_Date THEN
          First_Eligible_To_Accrue_Date = Accrual_Ineligibility_Expired_Date
       Get the first full period following the First_Eligible_To_Accrue_Date
       (if it falls on the beginning of the period then use that period)
    Latest_Balance = 0
    IF (not Accrual_Start_Date was defaulted) AND
       ((Calculation_Date < Accrual_Ineligibility_Expired_Date) OR
        (Accrual_Start_Date > Accrual_Ineligibility_Expired_Date)) THEN
      Adjusted_Start_Date = Get_Start_Date(Accrual_Start_Date,
                                           Beginning_Of_Calculation_Year)
      /* Check whether RESET_PTO_ACCRUAL action parameter is defined */
      /* If yes, then we need to calculate from the beginning         */
      Reset_Accruals = Reset_PTO_Accruals()
      IF ((Adjusted_Start_Date < Accrual_Start_Date) OR
          (Reset_Accruals = 'TRUE'))  THEN
        Process_Full_Term = 'Y'
      ELSE
        Process_Full_Term = 'N'
    ELSE
      Process_Full_Term = 'Y'
    IF (Process_Full_Term = 'N') AND
       (Accrual_Start_Date >= First_Eligible_To_Accrue_Date) THEN
      E = GET_PERIOD_DATES(Adjusted_Start_Date,
                           Accruing_Frequency,
                           Beginning_Of_Calculation_Year,
                           Accruing_Multiplier)
      First_Eligible_To_Accrue_Period_SD = get_date('PERIOD_START_DATE')
      First_Eligible_To_Accrue_Period_ED = get_date('PERIOD_END_DATE')
      Latest_Balance = Accrual_Latest_Balance
      Effective_Start_Date = Accrual_Start_Date
    ELSE IF First_Eligible_To_Accrue_Date > Beginning_Of_Calculation_Year THEN
      IF (not Accrual_Start_Date was defaulted) THEN
        Latest_Balance = Accrual_Latest_Balance
      ELSE
        Latest_Balance = 0
      E = GET_PERIOD_DATES(First_Eligible_To_Accrue_Date,
                           Accruing_Frequency,
                           Beginning_Of_Calculation_Year,
                           Accruing_Multiplier)
      First_Eligible_To_Accrue_Period_SD  = get_date('PERIOD_START_DATE')
      First_Eligible_To_Accrue_Period_ED  = get_date('PERIOD_END_DATE')
      IF First_Eligible_To_Accrue_Date <> First_Eligible_To_Accrue_Period_SD THEN
           E = GET_PERIOD_DATES(add_days(First_Eligible_To_Accrue_Period_ED,1),
                                                      Accruing_Frequency,
                                                      Beginning_Of_Calculation_Year,
                                                      Accruing_Multiplier)
           First_Eligible_To_Accrue_Period_SD  = get_date('PERIOD_START_DATE')
           First_Eligible_To_Accrue_Period_ED  = get_date('PERIOD_END_DATE')
      IF (First_Eligible_To_Accrue_Period_SD > Calculation_Period_ED) THEN
           Total_Accrued_PTO = 0
           E = PUT_MESSAGE('HR_52793_PTO_FML_ASG_INELIG')
      Effective_Start_Date = First_Eligible_To_Accrue_Date
    ELSE
      IF (not Accrual_Start_Date was defaulted) THEN
        Latest_Balance = Accrual_Latest_Balance
      ELSE
        Latest_Balance = 0
      First_Eligible_To_Accrue_Period_SD  = First_Period_SD
      First_Eligible_To_Accrue_Period_ED  = First_Period_ED
      Effective_Start_Date = Beginning_Of_Calculation_Year
    /*start of 4733782*/
    Effective_Start_Date = GREATEST(Effective_Start_Date, ACP_ENROLLMENT_START_DATE)
    /*end of 4733782*/
       Determine the date on which PTO actually starts accruing based on Hire Date,
       Continuous Service Date and plan Enrollment Start Date. Remember, we have already determined
       whether to user hire date or CSD earlier in the formula.
       If this date is after the 1st period and the fisrt eligible date then establish the first full period
       after this date (if the Actual Start Date falls on the beginning of a period then use this period)
    IF Continuous_Service_date = ACP_CONTINUOUS_SERVICE_DATE THEN
      Actual_Accrual_Start_Date = Continuous_service_Date
    ELSE
      Actual_Accrual_Start_Date = greatest(Continuous_Service_Date,
                                           ACP_ENROLLMENT_START_DATE,
                                           First_Period_SD)
           Determine the actual start of the accrual calculation
    IF (Actual_Accrual_Start_Date > First_Period_SD AND
         Actual_Accrual_Start_Date > First_Eligible_To_Accrue_Period_SD) THEN
         E = GET_PERIOD_DATES(Actual_Accrual_Start_Date,
                              Accruing_Frequency,
                              Beginning_Of_Calculation_Year,
                              Accruing_Multiplier)
         Accrual_Start_Period_SD = get_date('PERIOD_START_DATE')
         Accrual_Start_Period_ED = get_date('PERIOD_END_DATE')
         IF Actual_Accrual_Start_Date > Accrual_Start_Period_SD THEN
              E = GET_PERIOD_DATES(add_days(Accrual_Start_Period_ED,1),
                                   Accruing_Frequency,
                                   Beginning_of_Calculation_Year,
                                   Accruing_Multiplier)
              Accrual_Start_Period_SD = get_date('PERIOD_START_DATE')
              Accrual_Start_Period_ED = get_date('PERIOD_END_DATE')
            If the Actual Acrual Period is after the Calculation Period then end the processing.
            IF (Accrual_Start_Period_SD > Calculation_Period_ED) THEN
                Total_Accrued_PTO = 0
                E = PUT_MESSAGE('HR_52797_PTO_FML_ACT_ACCRUAL')
    ELSE IF (First_Eligible_To_Accrue_Period_SD > First_Period_SD) THEN
          Accrual_Start_Period_SD = First_Eligible_To_Accrue_Period_SD
          Accrual_Start_Period_ED = First_Eligible_To_Accrue_Period_ED
    ELSE
          Accrual_Start_Period_SD = First_Period_SD
          Accrual_Start_Period_ED = First_Period_ED
           Now set up the information that will be used in when looping through the periods
    IF Calculation_Period_ED >= Accrual_Start_Period_ED THEN
      E = set_date('PERIOD_SD',Accrual_Start_Period_SD)
      E = set_date('PERIOD_ED',Accrual_Start_Period_ED)
      E = set_date('LAST_PERIOD_SD',Calculation_Period_SD)
      E = set_date('LAST_PERIOD_ED',Calculation_Period_ED)
      IF (Process_Full_Term = 'N') THEN
        E = set_number('TOTAL_ACCRUED_PTO', Latest_Balance)
      ELSE
        E = set_number('TOTAL_ACCRUED_PTO', 0)
      E = LOOP_CONTROL('PTO_SIMPLE_PERIOD_ACCRUAL')
      Total_Accrued_PTO = get_number('TOTAL_ACCRUED_PTO') - Latest_Balance
    ELSE
      Total_Accrued_PTO = 0
    IF Accrual_Start_Period_SD <= Calculation_Period_SD THEN
      Accrual_end_date = Calculation_Period_ED
    IF Process_Full_Term = 'Y' AND
       Effective_Start_Date > Actual_Accrual_Start_Date THEN
      Effective_Start_Date = Actual_Accrual_Start_Date
    Effective_End_Date = Calculation_Date
    IF Effective_Start_Date >= Effective_End_Date THEN
      Effective_Start_Date = Effective_End_Date
    RETURN Total_Accrued_PTO, Effective_start_date, Effective_end_date, Accrual_end_date
    Thanks & Regards,
    Shobhit

  • Rebate Accruals - Retrospective Postings

    Hi All, I am wondering if anyone knows of a way to retrospectively posting rebate accruals to S060.
    The scenario would be that
    the rebate agreement is in the system, but the validity date has lapsed.
    the sales order is processed but no rebate condition is present as the validity date has lapsed.
    *invoice delivery (no rebate condition present as validity date has lapsed)
    *set rebate agreement validity date to present so it is active
    And then try to retro-spectively update the rebate statistics into S060.... but how can i do this?
    or can i do this for multiple agreements/invoices in 4.5b?...
    The system i am working in is 4.5b !!
    Any thoughts around this would be greatly appreciated.
    Jaya

    I haven't dealt with this myself, but recently I've stumbled upon a great document on rebate processing, it also has the procedures for retroactive billing:
    http://www.erpgenie.com/publications/saptips/052005.pdf

Maybe you are looking for