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

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

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

  • Problem with Billing date while creating Billing Document

    According to the factory calendar maintained at the client side every Saturday is a holiday. Due to  this, the billing date for every Billing Document (vf01)  created on Saturdays gets pushed to Monday's date..  I tried using VOFM routine 011 to default the billing date (vbrk-fkdat) to system date.I have assigned the same in copy control.. But this does not work. Any suggestions?

    hello,
    This is a standard flow and if you want to tamper that, need to change in standard SAP...which I would not recommend you...
    Please use a separate factory calender for that particluar site...
    Thanks..

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

  • Double actual cost in Profitability Analysis for cancelled billing doc

    Dear expert
    Say we have a billing doc posted in May, and we run ML closing and KE27 during month end closing, which transfered actual cost from material ledger to value field in PA.
    In June, we cancelled that billing document, the question is why the system automatically posted actual cost of cancelled billing docs to value field in PA right away (without KE27)?
    The reason I asked is because when we run KE27 for June closing, the SAP transfer again actual cost from material ledger to value field in PA. So we will have double posting of actual cost for cancelled billing document
    Please help, which setting did I missed to prevent SAP automatically posted actual cost of cancelled billing docs to value field in PA right away (without KE27)?
    Thx

    Hi
    Thats because you had double +ve also..
    Let me u/s your situation better
    1.PGI Posted COGS of Say, 100
    2. KE27 posted, say, addnl 20
    So, total COGS is now 120
    3. You posted a reversal now... It should post -100 and not -120.... Is it posting -120?
    Run KE27 for this month and see if it really posts -120 again... If it does, raise an OSS message to SAP... They are liable to help
    In my opinion, there is no Config set up for this... At best, you can try to assign different VF in KE4R for PV = 02 as compared to PV=01 and see if it helps
    br, Ajay M

  • 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

  • Validate the posting date for profit centre documents actual/plan

    Hi,
    I have an requiremnt where we want system to validate the posting date for profit centre documents actual/plan, Functionality should be same as system check  posting period for FI documents maintained in OB52 and controlling cost centre documents posting period maintained in OKP1.
    For creating Profit centre document activity types are available in Tcode 0KEO.
    I have come across Exits EXIT_SAPLPC08_001 and  EXIT_SAPLPC08_002. But i am notsure whether we can use these and implement these.
    PLease suggest what can be done to achieve this.
    Regards,

    Hi,
    U can use subsititution and specify that the profit center could be your head office or the store as per your req...
    I think thats the only option we have..
    Cheers
    Raghu

  • How to find closing date for a delivery document

    I nedd to fin closing date for a delivery document. I tried with clsdate but didnt work
    If someone can help me with this

    Hi.............
                 Better and simplest way you can get it through a simple qury report. Create a query by joining two tables ODLN and OINV. OINV's docdate means the closing date of delivery challan.
    Regards,

  • Accounting entry problem for cancel billing document

    Hi,
    We have manufacturing process  for SO to DC we follow the proces
    Sales order -> delivery -> VF01 -> J1IIN -> VF02 release to accounting,
    now when we do the above procees in billing document document flow we can see two accounting entry generated ref. to t. code VF01 and billing document number
    now to reverse the above, we are following the procedure
    J1IIN reverse -> VF02 cancel billing document  we get new cancel billing document numbver  then again in VF02 we are releasing the cancel document number,
    but earlier when we do the cancelation procedure only two accounting entries were generating under the original billing document and also under the cancel billing document,   but now as soon as we reverse the invoice in J1IIN  under the original billing document one additional accounting entry is coming which is generated ref. to T. code J1IH  document type JM , and when we cancel and release the billing document there are three accounting entery under Cancel billing document number and additional entry is created ref. to J1IH do. no. JM
    so what can be the problem hiw one entry is generated by J1IH and what is eefect of this.
    regards,
      zafar

    in billing document document flow we can see two accounting entry generated
    Yes this is standard.  One for customer debit and another accounting document for excise.
    thanks
    G. Lakshmipathi

  • Bolivia: expiring date for issuing billing document

    Hi gurus,
    there is a singular requirement in Bolivia which consists of a date in which a certain billing document has to be issued according to several variables, e.g, the number range issued by the Local tax agency.
    Is there in VBRK a field which could fit such requirement? if not, is there any standard field which could be added to VBRK? Otherwise, there is no more option than configuring a header text where user can update this date or as per standard texts in SO10 which can be called from the billing form, bearing in mind that this "expiring date" lasts at least for one year.
    thanks!
    VL

    In VBRK, as for as date fields are  concerned, to my knowledge all fields (pricing date, billing date etc) would be filled in from a predecing document and no date field would be left with blank which I am not sure as right now, I dont have access to SAP.  Nevertheless, there would be some unutilized fields which you can check and make use of that.  Having said this, you can achieve this with the help of billing exit.
    G. Lakshmipathi

  • Document Date in Cancel Billing Document

    Hello,
    When a cancel billing document is done, the document date in FI is filled with the date of the origin document. We would fill the document date in FI with the date of the day.
    We tried by custumising, it doesn't run. We research userexit and we don't find.
    Could you help us to find a solution ?
    Thanks

    use RV60AFZC
    FORM USEREXIT_FILL_VBRK_VBRP
    and check the document type (VBTYP = 'N' OR VBTYP = 'S') and/or the tcode (VF11)
    regards
    Roberto Mazzali

  • Runtime error : table_invalid_idex When VF03 for cancel billing doc. flow

    Dear Gurus,
    i'm facing a problem, when i want to display document flow for my cancel billing was getting error.
    Dump analysis :
    602                     PERFORM vbfa_tab_append.
    603                     EXIT.
    604                   ELSE.
    605                     CLEAR vbfa_index_key-posnn.
    606                     READ TABLE vbfa_index WITH KEY vbfa_index_key
    607                                                    BINARY SEARCH.
    608                   ENDIF.
    609                 ENDIF.
    610               ENDIF.
    611               IF sy-subrc = 0.
    612                 tabix = vbfa_index-tabix + zaehler - 1.
    613                 vbfa_tab = vbfa.
    614                 IF vbfa-vbeln = gv_storno_vbeln.
    615                   vbfa_insert = vbfa_index-tabix + zaehler.
    616                   ADD 1 TO zaehler.
    617                   READ TABLE vbfa_tab INDEX vbfa_insert.
    618                   vbfa_tab = vbfa.
    619                   INSERT vbfa_tab INDEX vbfa_insert.
    620                   ADD 1 TO vbfa_insert.
    621                   SELECT * FROM vbfa WHERE vbelv = vbfa_tab-vbeln
    622                                      AND   vbtyp_v = vbfa_tab-vbtyp_n.
    623                     vbfa_tab = vbfa.
    624                     ADD 2 TO vbfa_tab-stufe.
    625                     INSERT vbfa_tab INDEX vbfa_insert.
    626                     ADD 1 TO zaehler.
    627                   ENDSELECT.
    628                   vbfa_insert = tabix.
    629                 ELSE.
    630                   IF vbfa-vbeln NE gv_storno_vbeln.
    631                     vbfa_insert = vbfa_index-tabix + zaehler.
    --->                       INSERT vbfa_tab INDEX vbfa_insert
    633                     ADD 1 TO zaehler.
    634                   ENDIF.
    635                 ENDIF.
    636               ELSE.
    637                 PERFORM vbfa_tab_append.
    638                 EXIT.
    639               ENDIF.
    640             ELSE.
    641               PERFORM vbfa_tab_append.
    642               EXIT.
    643             ENDIF.
    644           ENDIF.
    645           DESCRIBE TABLE xvbfa.
    646           IF sy-tfill = 1 OR
    647     *archivierter Beleg
    648             ( sy-tfill = 0 AND NOT vbfa_tab-vbelv IS INITIAL ).
    649             ADD 1 TO vbfa_insert.
    650           ENDIF.
    651         ENDIF.
    i'v found sap note 978073 but did not solved my problem. Please reply if anyone know the answer (solution) for this problem.
    Many-many thanks for your answer
    Regards,
    ARA
    Edited by: Agung Rahmat on Jan 19, 2010 5:36 AM
    Edited by: Agung Rahmat on Jan 19, 2010 5:37 AM
    Edited by: Agung Rahmat on Jan 19, 2010 5:38 AM

    Dear All,
    this is part of error analysis :
    When changing or deleting one or more lines of the internal table
    \PROGRAM=SAPMV75F\DATA=VBFA_TAB[] or when inserting in the table
    "\PROGRAM=SAPMV75F\DATA=VBFA_TAB[]", 0 was used as
    the line index. An index less than or equal to zero is not
    allowed.
    The error can occur when using the following options:
    1. "INDEX idx" for specifying the line number in the table
    "\PROGRAM=SAPMV75F\DATA=VBFA_TAB[]"
       where you want to change, insert or delete.
    2. "FROM idx" for specifying the start index when deleting a line
       area from or inserting a line area into the table
    "\PROGRAM=SAPMV75F\DATA=VBFA_TAB[]".
    3. "TO idx" for specifying the end index when deleting a line
       area from or inserting a line area into the table
    "\PROGRAM=SAPMV75F\DATA=VBFA_TAB[]".
    At the time of the termination, the table contained 11 lines.
    hope that can help.
    Thanks & regards,
    ARA

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

Maybe you are looking for