Billing date for Rebate CMs

Hi,
We would like to set the billing date of CMs from rebate settlement to be set as 'current date' instead of the valid-to date of the agreement.
We already updated user exit : RV60AFZC and put the code:
IF sy-tcode EQ 'RBT_ENH_VB7'.
vbrk-fkdat = sy-datum.
But the billing date is still not getting updated..

Hello Gemma,
the relevant source code is in program LV60AA38:
  PERFORM vbrk_vbrp_fuellen.    < here your userexit is performed
übergebene Daten setzen
  IF NOT xkomfkgn-fkdat IS INITIAL.
    vbrk-fkdat = xkomfkgn-fkdat.        < here VBRK-FKDAT is filled (overwriting the value set by userexit)
Please use instead a copy-routine in transaction VTFA.
The combination is:
- sales document type from field T6B1-AUART_B3 (for partial setlement) or T6B1-AUART_B1 (for final settlement)
- billing document assigned to the sales document type in VOV8 (field order related billing type)
- item category set as default in transaction VOV4
In the copy-routine you can set the billing date.
Best regards,
Ivano.

Similar Messages

  • BI : Billing date for largest billing amount

    Hi,
    I have a scenario where I have data for sales order and invoices in PSA.
    Now I need the billing date for the largest billing amount against a sales order in the cube. Can we calculate the billing date in the cube/report?
    If yes then how......

    Hi,
    Have you tried using condition in your report with the following criteria
    Top N condition for invoice amount with N = 1.
    But, this is possible from the cube only. Direct access to PSA data cannot be done.
    With Regards

  • BI : Billing date for largest billing date

    Hi,
    I have a scenario where I have data for sales order and invoices in the cube.
    Now I need the <b>billing date for the largest billing amount against a sales order</b> in the cube. Can we calculate the billing date in the cube/report?
    If yes then how......

    Query kept in wrong discussion group..

  • VF01 Determine Billing date for billing index and printout to current date

    Hi
    we need to determine the Billing date for billing index and printout to current date
    What can I do to determine automatically at the time of creation current day to Billing date for billing index and printout?
    please let me know
    Best Regards,

    Hi Beatriz ,
    You have two options here. you can chose either of these solutions:
    1.
    A. T-Code: VTFL ( if using del related billing)   For the billing document and delivery, at item level assign the copying requirement 011 or if you are currently using some other routine then you can use following in that
    VBRK-FKDAT = SY-DATUM.
    B. T-code VTFA (if using order related billing)
    Similar to A, using copying requirement 011.
    2. You may also try option of Checking in the User Exit for the Program RV60AFZA & RV60AFZA.
    Please let us know if this helps
    Regards
    Harpreet

  • Posting date for rebate credit note document

    Hi friends,
    This is with reference to settlement of rebate agreement. There is a background job executed say today, but the posting date was backdated to 31/08/2011. The financial posting period for current month starts from 27th of Aug and the posting was done in current period only. The validity of the Rebate agreement ends on 31/08/2011.
    My query is what is the reason behind the system posted the document on 31/08/2011.
    Is it because the validity ends on 31/08/2011.
    Quick responses are appreciated.
    Thanks & regards,
    Praveen.

    Hi Praveen,
    You are correct.  The final settlement credit memo request uses the last day of the agreement validity period as the billing date.
    Please refer to the 29th Page  first and second lines of the Matthias white paper of Rebate management. Below is the link.
    http://www.erpgenie.com/publications/saptips/052005.pdf
    Hope this helps

  • Posting Date for Rebate Agreement (extended)

    Hi ,
    When doing settlement for the extended rebate, is it possible to input manually the posting date of the CM?
    Currently, it gets the valid to date of the agreement.  What if the settlement is done 2-3months after the validity period of the agreement, we would like to have the posting date as the current date and not a past date.
    Thanks,

    Hi Praveen,
    You are correct.  The final settlement credit memo request uses the last day of the agreement validity period as the billing date.
    Please refer to the 29th Page  first and second lines of the Matthias white paper of Rebate management. Below is the link.
    http://www.erpgenie.com/publications/saptips/052005.pdf
    Hope this helps

  • Billing date for a purchase order in the corresponding billing document

    Hello,
    for a purchase order I need to select the billing date in the bill which corresponds to the purchase order. There is a posting date in the order history but I am not sure that this date is identical with the billing date in the purchase order. Any suggestions? Thanks.
    Regards, Lars.

    I guess you are talking about due date for a billing document.
    There's an FM Determine_Due_date for that. before that you'll have to use FM FI_DOCUMENT_READ with I_AWTYP as VBRK and I_AWREF as Billing Document Number. You will get T_BSEG entry.
      CALL FUNCTION 'FI_DOCUMENT_READ'
       EXPORTING
         i_awtyp           = 'VBRK'
         i_awref           = po_vbeln
       TABLES
         t_bseg            = i_bseg
      SORT i_bseg BY vbeln.
    READ TABLE i_bseg WITH KEY vbeln = 'Billing Document Number'.
      IF sy-subrc IS INITIAL.
        MOVE-CORRESPONDING i_bseg TO wa_faede.
        CALL FUNCTION 'DETERMINE_DUE_DATE'
             EXPORTING
                  i_faede                    = wa_faede
             IMPORTING
                  e_faede                    = wa_faede
             EXCEPTIONS
                  account_type_not_supported = 1
                  OTHERS                     = 2.
    This wa_faede will have due date in one of its fields.
    Hey do reward points if this post is helpful.

  • Billing Date for Cancelled Billing Document

    I have billing document whose billing date is Mar-2008 and in header creation date is May-2005. When we checked the document flow it showing same billing document has been cancelled in My-2005 and also cancelled document date is May-2005.  This billing document is created for contract whose billing plan is valid till Dec-2008. When i checked the billing plan there I get the billing date which showing in billing document. Now my question is why cancelled billing document having current year billing date when it is cancelled in May-2005.
    Regards,

    Hi
    We have a option to change the billing documnet date under header details.
    1) Go  to VF02
    2) Enter billing document date
    3) Go to header deatils and change the billing date to current billing date
    4) save the document.
    Pts if ur problem gets solved
    RGDS
    B.JAGANATH

  • Only One Billing Date for Collective Invoices

    Hi Gurus,
    I have a peculiar client requirement.
    There is a Order related billing. Now this Order type and Billing type is used by 30 RBUs.Now I want to do Collective billing for a particular RBU on last day of the month. Also I dont want the billing to happen any time of the month in between so I can think of blocking of Order but this will block all Orders for that type. Also if I use Billing block this will block all Billings !
    I am thinking of taking ABAP help.
    Pls suggest
    rgds..
    Ameet

    Go to VF04, maintain the required Billing Date in Default Data tab and execute.
    G. Lakshmipathi

  • Billing date for return orders

    Hi,
    when creating return order (RE), without reference to any SD document, the billing date is default as current date.
    But, when I create the return order, with reference to a billing document, the billing date is scheduled, based on the lead times etc..
    I want to have it default as current date, with reference or not.. where/how is this configured?
    Thanks,

    Check in VOV8 for your return order type where there is a field to propose billing date.
    thanks
    G. Lakshmipathi

  • Change billing date for first scheduling period in VA41

    Hi,
    Requirment: At the time of Contract creation, the first scheduling period amount will be compared to a fixed threshold value. If it is less than that threshold value then change its billing date to next schedule period's billing date.
    I have tried so many user-exits but hey are not triggered at the required point of time.
    As soon as we create the contract the dates will be changed accordinly.
    Also do we have any function module to change date if we make a Z program.
    bye
    Divya

    hello,
    SDAPO001  Activating Sourcing Subitem Quantity Propagation
    SDTRM001  Reschedule schedule lines without a new ATP check
    V45A0001  Determine alternative materials for product selection
    V45A0002  Predefine sold-to party in sales document
    V45A0003  Collector for customer function modulpool MV45A
    V45A0004  Copy packing proposal
    V45E0001  Update the purchase order from the sales order
    V45E0002  Data transfer in procurement elements (PRreq., assembly)
    V45L0001  SD component supplier processing (customer enhancements)
    V45P0001  SD customer function for cross-company code sales
    V45S0001  Update sales document from configuration
    V45S0003  MRP-relevance for incomplete configuration
    V45S0004  Effectivity type in sales order
    V45W0001  SD Service Management: Forward Contract Data to Item
    V46H0001  SD Customer functions for resource-related billing
    V60F0001  SD Billing plan (customer enhancement) diff. to billing plan
    Badi's
    BADI_SD_SCH_GETWAGFZ Scheduling Agreement: Read WAGFZ from S073
    BADI_SD_V46H0001     SD Customer functions for resource-related billing
    Thank u ,
    santhosh
    Edited by: santhosh kumar on Feb 9, 2009 7:59 AM

  • Default Billing date for cancellation of F2 invoice

    Hello
    I am trying to default the billing date to the system date in the cancellation document, but it is not working. Can someone give me advice with my customize settings? My invoice is F2 and my cancellation is S1 (ECC 6.0)
    In Billing copy control (VTFF), billing ->billing, I go to the settings for F2 -> S1.
    At the header screen, copying requirements and other values are blank. Do I need to maintain any values here?
    At the item screen for my item (TAN), copying reqs is set to 005 (Cancellation Header), Data VBRK/VBRP is set to 011 (Bill date = today).
    If anyone can give me advice on my settings, it would be greatly appreciated
    Regards
    Ken

    Use the include program for invoice <b>RV60AFZC</b>
    in the userexit USEREXIT_NUMBER_RANGE_INV_DATE you have to do the coding.
    <b>For using this userexit make sure that you are not using USEREXIT_NUMBER_RANGE for assigning internal number range to invoices of different plant/company code.</b>
    The following codes will make all invoices created (S1 or F2) take system date by default, you can modify it to make it work only for S1 (Cancellation invoice)
    FORM USEREXIT_NUMBER_RANGE_INV_DATE USING US_RANGE_INTERN.
    Example: Number range from TVFK like in standard
    US_RANGE_INTERN = TVFK-NUMKI.
    *{   INSERT        DEVK906746         
    data : date  type dats.
    date = sy-datum.
    vbrk-fkdat = date.
    modify vbrk.
    *}   INSERT
    ENDFORM.

  • Billing date for orders

    Dear gurus
    i have an issue    i have 1000 sales orders, billing dates are different but my user want to bill them all in today's date (same day) only how can i do
    thanks in advance

    Go to VF04, maintain the required Billing Date in Default Data tab and execute.
    G. Lakshmipathi

  • Billing Index for Rebate agreement

    Hi ,
    When i m activating the rebate agreement for a particular Sales Organization and saving it, system asks if we need to recreate the billing index.
    Can anybody please help me to know its purpose and impacts ??
    Regards,
    Manish

    Hi Manish
    System will ask to recreate the billing index if any billing documents are there for that sales organization.So you have to run the report RV15B001 which will be for the payer also.
    It will update the old billing documents of that sales organization also
    Regards
    Srinath

  • How to set Service render date should be equal to Billing date

    Hi All,
    At present when invoice is created the service rendered date (FBUDA) is taken as the basis for the Rebate condition types to select the condition value from the agreement.
    The business requires that for the rebate conditions, service rendered date should be equivalent to the billing date, so that correct agreement is selected based on the billing date.
    Required Change: Service Rendered date should be equivalent to the Billing Date for only Rebate condition Types and only for particular Sales Org.
    To achieve this how can I proceed, I have gone through all user-exist for billing no where I have found
    Could you please guide me to achieve this functionality?
    Thanks and Regards,
    Jaya.G

    Hi Yadav,
    My requirement is to put the billing date in service render date
    I.e. in my scenario the Actual GI date is populating into billing date and also in service render date (komk-fbuda)
    If we enter billing date manually while creating the billing that should be reflect in service render date, in condition level.
    Here it is not happening, it is taking the Actual GI date in service render date,
    Here VBRP-FBUDA is different form komk-fbuda.
    Vbrp-fbuda is have to reflect form Actual GI date only
    My requirement is, I need to populate the billing date into service render date for some conditions only. These conditions are rebate type conditions.
    I can populate the billing date to all conditions not for particular conditions
    In user exit userexit_pricing_prepare_tkomk
    I can move the vbrk-fkdat to tkomk-fbuda
    But this not my requirement
    I need to populate the billing date to service render date to some conditions types only
    In this exit I canu2019t restrict the conditions, I mean in this routine I am not able to select the condition types
    Please advice me where can I write the code to achieve my functionality
    Thanks in Advance
    Jaya.G

Maybe you are looking for