Update GL Date for Cancelled Invoice.

Dear All,
I have created an Invoice for Payment in Oracle Payables (Release 12) for Dec-2012 and was suppose to cancel the invoice with GL Date in December period. Instead of December period we have cancelled the invoice in the month of Jan-2013 and GL Date as '10-Jan-2013'. Is there any way that I can revert this cancellation or update the GL Date to prior month. I am afraid since we have cancelled this month there is a discrepancy for year end data. Since we have audit going on any help will be much appreciated.
I tried AP_CANCEL_PKG API but no luck. Should there be any steps to be followed or any API or script to update the information kindly let me know.
Thanks,
Ahmed
Edited by: 978715 on Jan 13, 2013 11:51 PM

Hi Glenn-
I was curious about your progress on this mission. We too have a need to accomplish exactly what you described in your original post. To the best of my knowledge after much research there aren't any simple FM's or BAPI's to update an existing line item in an Accounting Document that has been parked.
We are attempting to use FBV2 and BDC technology to update a pre-existing line item or add a new one, or delete a pre-existing one but we have major issues trying to select the appropriate line in that table control because it is an Enjoy transaction.
Any info you can give on your progress would be helpful and I will gladly do the same.
Thanks,
Andy

Similar Messages

  • Accounting Document not posted for Cancelled Invoice -error in FI interface

    Hi,
    When I create a billing document then an accounting document gets created automatically in the background and then when I cancel the billing document no accounting document gets generated and the field Posting Status in header Detail of Billing document updated as "Errors in Financials Interface.
    I tried to release it for Posting via VFX3 but failed due to below error message in Log:
    "Incorrect doc.no.: 4900000005. Select document number between 3000000000 and 3099999999"
    I have checked the Number range assignments to the Invoice type and Accounting type.
    The number range is same for both Invoice type (Y0F2) and Cancelled Invoice type (Y0S1).
    The Accounting document type (RV) is also same for both the cases. But it is working fine for Y0F2 (Acounting document generated and cleared automatically). But not working fine for Cancelled Invoice (Y0S1).
    Can anybody please help me find out a solution to the issue.
    Thanks, Ram.

    Hi,
    The error message F5151 refers to the number range of the FI document.
    Please have a look at the note 1259505: FAQ: New cancellation procedure in SD, which covers this issue in detail.
    Question 5:
    Q5. What is the FI document type, generated by the cancellation ?
    In the old cancellation procedure, the FI document type is always
    determined in SD, and passed to FI (the same when a normal invoice  -
    not a cancellation -  is transferred to accounting).
    In transaction VOFA there is the field 'Document type' (TVFK-BLART).
    If this field is filled, then the FI document will have the document
    type maintained here.
    If TVFK-BLART is empty, then the FI document will get the default
    document type 'RV'.
    If the new cancellation procedure is performed, the FI document type is
    always determined in FI, based on the document type of the FI document
    to be reversed.
    In transaction OBA7 the FI document type has assigned the field 'Reverse
    document type' (T003-STBLA).
    If it is filled, then the FI cancellation document will get the document
    type maintained here.
    If T003-STBLA is empty, then the FI document cancellation will get the
    same document type as the cancelled FI document.
    Notice that an unexpected FI document type can cause the error message
    F5 151.
    Example:
    F2 invoice 90000001 was released, creating an accounting document with
    document type 'RV'.
    This F2 invoice is reversed by the S1 billing document 70000001.
    In customizing of SD there is:
    Billing Type    Document Type
    F2              RV
    S1
    In customizing of FI there is:
    Document Type    Number range   Reverse Document Type
    RV               00             AB
    AB               01             AB
    The FI number ranges (object RF_BELEG) are:
    No  From number    To number   Ext
    00  0090000000     0099999999  X
    01  0100000000     0199999999
    Different situations can occur, due to these customizing settings of the
    FI document type, caused by the type of cancellation.
    If the new cancellation is used:
    The FI document type 'RV' has 'Reverse Document Type' = 'AB'.
    Document type 'AB' has number range '01' set as internal.
    So the FI document will have its own number included in
    100000000-199999999.
    There is no issue.
    If the old cancellation is used:
    The cancellation billing type S1 has no 'Document type' maintained, so
    the FI document will get document type 'RV'. It has number range '00',
    set as external number range.
    So the FI document should get the same number of S1 billing document.
    But the S1 billing document has number 70000001, not included in the
    interval of number range '01'.
    This will cause error F5 151.
    I hope this information helps you.

  • New Due date for reversed Invoice

    Hi Experts,
    Can we determine a new due date for reversed invoice through standard configuration? The due date of reversed invoice remains the same as that of the original invoice even if its reversed after a year. It looks very odd that a FICA entry has a due date of past.
    I tried by assigning the out-going payment term to the FICA payment term configuration but it doesnot determines a new due date from the posting date I provide during invoice reversal.
    Any Clue ?
    Regards
    Satyajeet

    Hi Satyajeet,
    As per standard SAP, the due date of a particular invoice is derived from the date you are posting it in SAP and the payment terms configured in the contract account master, irrespective of the fact that whether it is a cancel-rebilled invoice or a normal invoice.
    So if a invoice is posted on 05.08.2011 and the payment terms mantained at the CA master is 5 days then the due date will be on 10.08.2011.
    The due date of a invoice is determined in event R417. Check if any custom FM is assigned in there which is changing the standard SAP functionality.
    Also check event 1330, which gets called from event R417 to determine the due date.
    Hope it helps.....
    Thanks,
    Amlan

  • T-code for cancelled Invoice and cancelled Excise Invoice

    Dear Guru,
    kindly let me know the T-code for cancelled Invoice and cancelled Excise Invoice.
    Wishes,
    Abhishek

    Hi Abhishek,
    I am not aware of any T-code through which you can see the cancelled invoice. I think either you have to go for development (SQVI)
    or
    Extract the list of your all billing document like billing document created from 01.01.2010 to 22.04.2010
    Now go to SE16 --> Table VBFA --> Give your billing document number in field "Preceding Doc." --> and in the field "Subs.doc.categ." --> choose entry "N     Invoice cancellation" --> system will show you all the entries for which cancellation billing document has been created.
    or
    Go to SE16 --> Table VBRK --> enter your billing document list --> In the field "Posting status" --> Choose  option "E      Billing Document Canceled"
    Hope it helps,
    Regards,
    MT

  • Accounting not cleared for cancellation invoice

    Hello,
    I had cancelled a Invoice whose accounting was cleared but no accounting document is generated for the cancellation invoice.
    I tried resetting the accounting document of the original invoice but that also dint work.
    Right now the status is the Cancellation document is in open status.
    Kindly help in generating accounting for cancelled invoice.
    Regards,
    Apoorv

    Hi Apoorv
    As accounting document is not generated after cancelling the invoice,so check the revenue account determination configuration.Check wheather cancel billing document type has been assigned to the account determination procedure.
    Regards
    Srinath

  • Reason for canceling invoices - VF11 - SD

    What is the procedure to capture reason for canceling invoices? The requirement is the users want to choose a reason from the given list of reasons (Like... Drop down option) when they cancel invoices.

    Hi,
    SAP dose not give you standard field for this use. The reason, I believe, that the system do not use billing cancel reason is the different processes followed. There for if you want to manage the reasons (though the process is the same), you can create different cancellation billing types.
    I think otherwise you will break SAP Standard.
    An alternative could be, if you also cancel the sales order, to manage the reasons there. In the sales order you will find appropriate fields for that.
    Regards,
    Ido
    Please reward if it helps.

  • How due date for the invoice can be a backward date

    Hi
    How due date for the invoice can be a backward date as billing date in future.
    Pinky

    Hi,
    Please elaborate on your problem.
    regards,
    Siddharth.

  • Effect on SD Credit Limit when extension of Due Date for Certain Invoices

    Dear SD Members,
    Brief Description
    Extension of Due Date for Certain Invoices
    Due Date extension to be made for certain invoices posted in FI
    Requirement
    After Billing is done and invoice is posted in FI management may decide to postpone due date for certain for any particular invoice for a specific customer.
    The payment term will be changed in the invoice and due date should change. But for this no SD credit limit should be affected. The change can only be made by specific user with authorization. The bank also will be intimated with details from SAP.
    What I want to know will there be any effect on SD Credit Management part, when from FI side invoices payment terms due date will be extended. Please share your view & suggestions on this.
    Regards
    Subrat

    There will be no affect on the credit mgmt..... the credit screen captures the total open AR... it does not consider Aging in AR.... all the values even if not due r calucalted in the open AR purpose for Credit....

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

  • Acctg document not created for cancellation invoice

    Hi all,
    We have a vehicle sales order created with payment card. The SO contains one item for vehicle and one item for parts. The items were delivered and invoiced separately. Hence, SO has one vehicle sales invoice (VSI) and one parts sales invoice (PSI).
    The standard procedure was to post VSI first before the PSI. Accounting documents have been created when both invoices were posted. However, there was a need to cancel the PSI. When this was done, cancellation invoice was created but there was no accounting document posted for the cancellation.
    I tried simulating the scenario in our test server and cancelled VSI 90000081 first before cancelling PSI 90000082 to test if this can be an alternative solution. Cancellation for VSI was posted successfully but error persists for PSI cancellation.
    Order 67 06/19/06 Completed
    . Delivery 80000081 06/19/06 Being processed
    .. Picking request 20060619 06/19/06 Completed
    .. GD goods issue:delvy 4900000293 06/19/06 complete
    .. Invoice 90000081 06/19/06 Completed
    ... Accounting document 2000077 06/19/06 partly cleared
    .. Invoice cancellation 90000084 06/19/06 Completed
    ... Accounting document 2000079 06/19/06 partly cleared
    . Delivery 80000082 06/19/06 Completed
    .. Picking request 20060619 06/19/06 Completed
    .. GD goods issue:delvy 4900000294 06/19/06 complete
    .. Invoice 90000082 06/19/06 Completed
    ... Accounting document 2000078 06/19/06 Not cleared
    .. Invoice cancellation 90000083 06/19/06
    .. Invoice 90000085 06/20/06 Blocked
    Accounting status of 90000083 (where error occurs) in VF03->Header->Details is set to K or <b>Accounting document not created (authorization lacking)</b>.
    Any inputs? Thanks in advance.

    Hello Sheila,
    sorry - my first answer was in mistake - Status K means:
    "The transaction is processed using payment cards. The order, however, does not contain valid authorization.
    This problem occurs in billing documents for follow-up deliveries."
    Could you check this ? Last way would be to set a breakpoint into the FM 'RV_ACCOUNTING_DOCUMENT_CREATE'
    and trigger this via VF02 -> Release to accounting.
    Regards Wolfgang

  • No accounting document for Cancellation Invoice(S1)

    Hi All,
    I have a scenario where in an Accounting document is not getting generated for a Cancellation invoice(S1) whereas the billing document it cancels (F2) has an accounting document generated.
    Could you please tell me why this is happening?
    Thanks & regards,
    MP.

    Dear MP,
    Go to VOFA & select your Invoice Cancellation type (S1).
    In General Control there is a check box for "Posting Block". Remove the tick mark in that box (keep it blank).
    This would ensure that your Invoice Cancellation (S1) documents are posted the moment you save them.
    Hope this Helps...
    Reward if useful...
    Thanks,
    Jignesh Mehta
    Edited by: Jignesh Mehta on Sep 19, 2008 1:39 PM

  • Payment advise for cancelled invoices

    Hi friends,
    I have a situation where users attached invoice through MIRO and called the same invoice through MR8M because it was duplicate invoice.
    Now when we run the payment program, its printing payment advise separately for all those cancelled invoices.
    Is there a way we can avoid it. we do not want payment advise to be printed for the cancelled invoices.
    Thanks

    Hi,
    When the Invoice is cancelled in MR8M, I think it does not clear the open item, So clear the open item of the  cancelled invoice with the open item of the original invoice, and then enter the correct invoice. You can clear the open items using transaction F-44.
    Hope this helps.
    Regards
    Mahendra

  • FBL5N  - incorrect  Due Dates for Downpayment invoices

    Hi.
    On a Down Payment Invoice to customer, the Due Date shown (on Invoice Form) is Correct according to the Terms of payment.  (eg : Baseline date + 8 days)
    However, in the FBL5N, the Net Due Date field shows the Baseline date as due date !
    Why is it so? How do I ensure that FBL5N displays correct due date according to the terms of payment.
    Thanks in advance for your suggestion.
    regards,
    Jai

    Hi,
    I had a similar problem with CREDIT MEMO.
    The System behaves as following:
    a credit Memo without an Invoice Reference is always due on the Baseline Date (the Exceptions to this are Credit Memos which have an explicitly-stated Value Date)". This Logic was introduced starting from Release 3.1I. Please see Details in Note 79871 and 84137.
    Summary:
    1. Credit Memo with Invoice Reference have the same Terms of Payment
    and Baseline Date as the Invoice.
    2. For the Credit Memo without Reference to an Invoice, there are 2
    methods available for choosing the due Date :
    a) The Due Date for Net Payment (RFPOS-FAEDT) is identical to the
    Baseline Date for Payment (BSEG-ZFBDT). The Period for Net Term or
    the Term of Payment is not taken into Account. This is the Default.
    b) Or the Credit Memo is due based on the Payment Terms. For this,
    you must enter the Indicator "V" in the Credit Memo Field BSEG-REBZG
    "Invoice Ref", in addition to the specified Payment Method.
    You can modify this Field for the Credit Memos already posted.
    => the above Details are documented in the Help F1 behind the
    "Invoice Ref" Field.
    Manual filling of the Field can take place during the Entry of the
    Credit Memo, or in a Document Change Transaction:
    Run transaction FB02 to call up the Credit Memos. Drill down
    to Customer Line Item. Here, you should be able to see the Field
    "Invoice ref.' (BSEG-REBZG). Place a 'V' in this Field. With this,
    the Credit Memo is due based on the Payment Terms.
    To automate this process:
    You can use user exit SDVFX001 to fill the value "V" in field
    BSEG-REBZG. Steps to activate the user exit
    - transaction CMOD to create a project, your own naming convention,
    include SAP enhancement - SDVFX001
    - The function module called by SDVFX001 is EXIT_SAPLV60B_008,
    make your ABAP coding in include program : ZXVVFU01. Populate field
    ACCIT-REBZG with 'V'.
    - Activate project via CMOD.
    I hope this could be helpful for you.
    Thanks,
    Marco Vismara
    Message was edited by:
            Marco Vismara
    Message was edited by:
            Marco Vismara

  • Fixing Exchange rate date for Purchase invoice

    Hello All,
    As per standard SAP the exchange rate in the PO is calculated based on the PO creation date. When the exchange rate is not fixed in the PO, then the exchange rate in the subsequent GR and IR documents is calculated based on the posting dates of these docs.
    Our requiremnt is that Posting date for GR/IR  should always the system date which is possible and but in this case system also takes exchange rate as on system date. *But we want the exchange rate should be taken as on last day of the previous month.*
    If anyone have worked on such a scenario or have any idea on how can this problem be answered please share the some info.
    Points assured.
    Thanks
    Warm regards.

    Hello,
    Thanks for the prompt update.
    We are not abel to fi nd any user Exit to attain this functionality, can you let us know what user exit can be used to achieve this.
    Warm Regards,

  • Need BAPI to update posting date for parked documents in transaction FBV2?

    Hi All,
    I am retrieving records from table VBKPF and I have to update the posting date for parked documents in transaction FBV2.
    I am doing it with BDC , working fine in foreground, but it is not workung fine in back ground.I want to do this with bapi.
    Can any one suggest me corrct BAPI?
    TYPES : BEGIN OF It_vbkpf,
             bukrs LIKE vbkpf-bukrs,            "Company Code
             belnr LIKE vbkpf-belnr,            "document number
             gjahr LIKE vbkpf-gjahr ,           "Fiscal year
             budat LIKE vbkpf-budat,            "Posting date
             bldat LIKE vbkpf-bldat,            "Document date
             blart LIKE vbkpf-blart,            "Document type
             xblnr LIKE vbkpf-xblnr,            "Reference
             tcode LIKE vbkpf-tcode,            "Transaction Code
             bktxt LIKE vbkpf-bktxt,            "Document header text
             usnam LIKE vbkpf-usnam,            "User Name
             xwffr LIKE vbkpf-xwffr,            "Release necessary
             xprfg LIKE vbkpf-xprfg,            "Document complete
             xfrge LIKE vbkpf-xfrge,            "Release takes place
            END  OF it_vbkpf.
    Thanks,
    Suresh.

    Hi ,
    Thanks for your response.
    PRELIMINARY_POSTING_UPDATE seems working good,But my requirement here , to update the posting date with last working day . how can i do this?
    thanks,
    Suresh.

Maybe you are looking for

  • Create a configurable material with reference to another config material

    Hi, I want to create a configurable material with reference to another configurable material from different system. Please tell me what data i need to check to see if that material has been created (copied manually) successfully. Thanks.

  • Check condition on sub total line of ALV list

    Hi All , Is it possible to check  condition on the value of subtotal line in ALV list , I,e If the value of subtotal line is say greator than 100 I need to change the color of that line or change the text on the subtotal line . I know how to change t

  • SOL 4.0 BP and SERVICE DESK

    Good Morning, I have same problems with the right configuration of the Service Desk functionality. First of all I will describe our system landscape and what I have done. We are using SAP AS 6.20 and Retail. For the first steps to setup the Service D

  • I require help with my first website

    As you can see from many of my recent posts, I am new to web development, and I have decided that I am going to need some help. This forum has been a huge help, and I will continue using it, but the reality of the situation is that progress is slow a

  • CO - Certification

    hi all i trained through e-learning for FI ECC6.0 certification In our e-learning i trained for TFIN10,TFIN12 and DELTA FI my question is as am trained on both FI and CO Can i take up the test for CO as well with having exp in CO i finished my SAP FI