Call_fbra usage to reset multıple cleared documents(fbra)

Hı experts
I want to create z program to reset multıple cleared ıtems ,
ıs there any snippet about his ı couldnt find any,
ayn help will be appreciated..
thanks

Hi Kutay,
Select all the valid documents(Company code, Document Number and Fiscal Year, and You may need to call the function modules with Company code, Document Number and Fiscal Year in a loop.
for example
u_mode = 'N'.
Loop at IT_BELNR into WA_BELNR.
u_bukrs = wa_belnr-bukrs.
u_belnr = wa_belnr-belnr.
u_gjahr = wa_belnr-gjahr.
clear: wa_belnr, u_bukrs, u_belnr, u_gjahr.
Endloop.
Capture the error messages in a log and display it an ALV report.
Hope this helps you out.
Thanks,
Rajesh Chowdary Velaga

Similar Messages

  • System Lock Error while reset & reversing the cleared document - FBRA

    Hi Experts,
    Currently using t-code FBRA, when user trying to reset & reverse the cleared document , they are facing "System Lock Error". We have analyzed on this issue and found SAP note no. u201C487347 u2013FBRA: Overflow of the lock table in production systemu201D . After implementation of this note, SAP has created one new transaction code, FBRA_LOAC.
    However, when we tried to reset & reverse the cleared document using t-code FBRA_LOAC, we face the same error.
    Can you help me to resolve this issue ?
    Thanks in advance.
    Regards,
    Manish

    Hi:
          We once faced these issue and got it resolved by extending parameter after extending the profile-parameter "enque/table_size", as per note note 13907. Do not forget the restart the server after extension.
    Regards

  • Document is not a purely clearing document (FBRA)

    Dear all
    We are trying to reset the clearing of a Vendor Payment made using FBZ2 in foreign currency. SAP gives the error that the document is not a purely clearing document. It is true that the bank sub account is also cleared with the payment and as SAP suggests we need to reverse this clearing as well.
    However, my question is why doesn't SAP let us choose between only resetting the clearing or resetting and reversing as it does in similar cases but as I can see when we have payments using FBZ1 in local currency.
    Can you please provide some help on this please.
    With many thanks,
    PRG

    Peter-
    One reason i can think of is, for foreign payments you would normally do foreign currency re-valuation of the open balances end of the month and there is a chance that for this document, there exists a revaluation document. I remember seeing it before.
    If you have to reverse the revaluation document, then you would have to create a revaluation method for reset, and include this particular document in the f.05 transaction and run the program. This way, it will reset original document and you can reverse your payment document.
    Hope this helps.
    Shail

  • User Exit - clearing document FBRA

    Hello,
    I'm clearing a document in FBRA and I want to make a validation.
    Is there any user-exit where I can make it?
    When I am reversing a document, it is possible to make the validations throught OB28, but not when clearing.
    Thanks in advance.

    Hi Ravi,
    Clearing is a standard option. It is possible, just to clear a document.
    When we reverse a document, we loose the connection throught AUGBL, between the reversed document and the one before it in the flow. For example, if I reverse a payment document, the connection throught AUGBL will be lost with the invoice document, in BSEG.
    In fact, what I want is not really a validation, but use OB28 and make this connection in a user-exit in programm PFM_1FIUE02 (we use ZPFM_1FIUE02 here).
    My problem is that, if I just clear a document, user-exit doesn't run. So if I reverse the document later, the connection throught AUGBL is lost and it is not possible to connect the reversed document to the one before it.
    Could you help find a solution?
    Thanks.

  • Reset Cleared Documents and Vendor Open Items Report FBL1N

    Hi all,
    I have following scenario:
    - In last month, we had 2 documents (invoice and payment) cleared against each other. We created open items report as well as open items correspondence sent to Vendor. Obviously, the docs were not included in report.
    - In this month, we have reset and reverse clearing document of the documents. We create report again with the open key date as in last month. It should not include the 2 docs but it did with whichever key date we chose.
    Is there any setting that open item report doesn't include cleared item at the key date when we run report for previous month?
    Thanks and Regards,
    Dau

    Hi Dau,
    If i understand you correctly then you posted and paid invoice in Jan 2012 and generated the open line item report for Jan which correctly did not include this cleared invoice.
    Now in Feb 2012 you reset and reversed this payment document.
    The issue is when you execute the report FBL1N again then you get the open line item for this invoice correct. Please confirm what is the open item key date that you are using here for generating this report
    If you keep it 31.01.2012 then definetly this invoice should not appear in the report but if you keep that 29.12.2012 then this line item would for sure appear.
    The importance of key date is to limit the report to certain date. The system selects all items posted up to and including the specified key date and open for this period.
    so I think your issue is with the key date.
    Hope this helps you.
    Regards,
    Prasad

  • Reset Cleared document for multiple docs

    Deal all,
    There are around 699 documents which were cleared using a particular document number( only one ).
    Now the user wants to reverse all these documents . As these docs are cleared , we cannot reverse these docs.
    Can we reset the clearing document using FBRA ? If i reverse that clearing document,can i then reverse all the 699 documents?
    Thanks
    Srikanth.

    Hi
    As you said there are around 699 documents which were cleared using one document.
    FBRA is used for Cleared Item Reversal.
    Go to FBRA give that Clearing Document Number , company code and fiscal year and save.
    select Resetting and Reverse button.give Reversal Reason.
    Document will be Reversed.This means that the Clearing Document will be Reversed and also all the 699 documents which are cleared by that single clearing document will become Open Items.
    That is the meaning of Resetting.Reversing the Cleared Document and Resetting the Original Open Items.
    There is no need of Reversing all those items seperately.
    Regards
    Venkat

  • How to  Reverse the clearing document & cancel the invoice

    Hi gurus,
    Can any body tell me how can i reverse the clearing document?
    what happen i had wrongly put up the customer invoice with the special GL indicator (Advance from customer) & i had clear the invoice & special gl balance.
    Steps which i follow:
    F-29 - Customer Down payment
    F-22 - Customer Invoice
    F-28 - Customer Incoming Payment
    F-39 - Clear customer down payment
    F-32 - Clear customer payments
    when i tried to reverse the document (T.Code FB08) which give me error that reverse the clear line item.
    Please help me to overcome this issue....
    Than'x,
    Dhananjay R.

    Hi amit,
    Than'x for given attention. actually i tried this T.code FBRA, what happen which reset the invoice & clearing document.& i see the customer / vendor invoice as open item in display. when i tried to reverse this entry which is wrongly inputed in the system which i want to reverse. while reversing this entry again i see the balance of clearing document in the customer / vendor balance display.
    i couldn't understand how to cancel this entry from the system?
    Pls suggest me to overcome this issue.
    Than'x
    Dhananjay R.

  • FBR2 generate reverse posting for a cleared document

    Hi,
    I am using the transaction FBR2 to generate a reverse document for an existing document.  There are several GL accounts in the original document but when i generate the reverse document system could populate lines only for the GL accounts where the original document was not reversed.
    Any inputs how to geneate the whole reversal document.
    Regards,
    Haranadh

    Hi
    First of all let me know are you trying to Reverse already Reversed Document OR trying to Reverse a Original Document.
    If you Reversing the Original Document what ever may be the No. of Line Items, Document will get Reversed. Use FB08 for this.
    1. Individual Document Reversal --->FB08
    2. Reversal of Reversed Document --->FBR2
    3. Reversing a Cleared Document --->FBRA
    Regards
    Venkat

  • Reset Manually Cleared Documents

    Hi,
    I have the following scenario:
    I posted two document in first document i posted following transaction:
    EOBI EXP Dr 10,000    
    Exp Payable EOBI    Cr  10,000
    (Document Number 1000010, Type SA)
    The second transaction Was:
    Exp EOBI  Dr. 10,000
    Bank                          Cr     10,000
    (Document Number 2000010, Type KZ)
    then i manually selected these two documents and cleared them and a document 5000010 was generated by system. now for some reason i need to change the status from cleared documents to open again. for this when i go to FBRA and give any of the three document (1000010,2000010 or 5000010) for reset the system gives me an error that document XYZ is not a clearing document. what i understood here was that i was suppose to provide document number 2000010 in FBRA so that documents can be open again because this is the clearing document.
    this has messed up my concept of clearing document in system. what is the use of document number 5000010 which is automatically generated by system? when i view it it shows me some other posting and not one related to this transaction. help pleas. and how can i reset the document in FBRA?
    What am i missing here?
    Regards,

    Hello,
    This has messed up my concept of clearing document in system. what is the use of document number 5000010 which is automatically generated by system? when i view it it shows me some other posting and not one related to this transaction. help pleas. and how can i reset the document in FBRA?
    There is nothing to worry about the concept. The concept is when you posted the expenses the document 1000010 was generated and when you posted the payment to bank for this expense the document 2000010 got posted. When you cleared both the documents manually the clearing document is 5000010 posted.
    Now you want to set the status open for the cleared item as suggested above use FBRA with documnet num 5000010.
    But now the question is had you already cleared the bank account also. if not then this will not be a problem for you. If yes then you had to reset the doc num generated while bank clearing then you can reset the doc num 5000010..
    Hope this may help.
    Thanks,
    Chetan Ahuja

  • Error while resetting a cleared document

    Hi everyone,
    I am getting an error while resetting a cleared invoicing document 'Document xxxxxxxxxxx with origin R4 can not be reversed'. Please guide me how can we reset the clearing of this document.
    Thanks and Regards

    Hi,
    You need to reset all clearing for the corresponding FICA document for the print document.
    Reset the clearing for the document no. mentioned in the output for EA13 execution.
    You need to reset all the clearing for the document, before reversing the same.
    To get all the clearing document, go to DFKKOP table, enter the FICA document no. (for the print document on FPL9). Get all AUGBL documents,
    Alternatively, you can go on to FPL9 screen, double click on the consumption document, in the basic data you will see the clearing date (if it is cleared), expand the view their (click on + sign), you will se the clearing document no,
    Pass the above clearing document no, to FP07, and once all the clearing is reset for the invoice, you can reverse the corresponding invoice through EA13.
    Regards,
    Rajesh Popat

  • Resetting Aggregated Cleared document

    Hi All,
    Does any one have any idea how do i reset a aggregated posting document which is cleared.
    I have tried doing this with the standard Tcode iueedpplotaalc4 by providing Aggregated Payment Document but it only allows me to reverse the payment.
    Thanks
    Satyajeet

    Hi,
    you may use program REDEREG_ETHI_REV.
    Best regards
    Harald

  • Resetting a clearing document from a previous financial year - Vendor Payment

    Finance team needs to reset a cleared item from a previous financial year. The cheque was
    never presented.  They are unable to create a new invoice to pay the vendor without this cheque going
    through and being processed.
    However, when using transaction code FBRA they receive an error message
    "clearing document from alternative fiscal year-. Message no F5A258".

    There are two option
    1. You Open the Close Period, or change the reversal code, which can allow alternative posting in the current period.
    2. Go to the IMG - Controling - General Controlling - Change Message control. Give the message application area and then the number and turn it off. (Tcode : OBA5)
    With regards,
    Uttam Maity

  • Resetting and reversing a cleared document

    Hello
    I want to reset and reverse a customer clearing document. The clearing document which is 54203512 was posted and matched against the customer invoice in the previous period. When reversing and resetting the document in transaction code FBRA, a pop up screen u201CReversal Datau201D appears. The reversal reason is specified as 01 (Reversal for incorrect posting), posting date is todayu2019s date however the original clearing document 54203512 was posted in 05.09.2008 and in previous period. Click on continue.
    The document is not reset and reversed and I am getting the error message u201CReversal reason 01 only permits posting date 05.09.2008u201D. Not sure why the document is looking at the posting date of original document even though I specified the reversal date as 08.10.2008. Can a document be reset and reversed in different periods?? Or does this cause any issues or problems? Or is this a bug??
    Thanks in advance
    Evelyn

    Hi,
    There are only 2 controls allowed for Reversal reasons:
    1.  Negative posting
    2.  Alternative date for posting
    The symptom you have mentioned would be of a control from somewhere else, i.e. either a user exit or a validation.  An order reason can only restrict it to current date or allow any other date.  At least that is what I have experienced.
    Cheers...

  • Reset of clearing documents with open items managed accounts

    Hi,
    I posted OI clearing document in Nov 2013 and had to reset it in March 2014. This rest impact my 2013 balances. Does anyone know why this document has been reset with old period? thank you

    Hi Sevinj,
    if document got cleared with some fx difference yes there will be impact if it's cleared without any fx diff there will not any impact in books.
    T-code FBRA.
    Regards,
    Raman

  • Wrongly cleared document has been reversed &resetted

    Hi Gurus,
    could anybody help us to resolve below issue.
    wrongly cleared document has been reversed and restted via FBRA  ,so we are trying to reverse this doc via FBRA so we are getting below error message while doing
    Resetting this reverse document is not possible
    Message no. F5579
    Diagnosis
    The system required a reverse document to be created after resetting a clearing procedure as otherwise documents would have been generated in the system which could not have been processed correctly. The following cases require the clearing document to be reversed:
    Exchange rate differences were posted.
    Your intime solution is highly appreciated
    Thanks & Regards
    Vyshnava

    Hi Syed,
    Thanks for your reply ,
    original postings happened as below :---
    001 40       187720     CTB1 CTB01                                        16.08
    002 50       187722     CTB1 CTB01 -I/F Chq                               15.58-
    003 50       800802     Realized FX gain                                   0.50-
    the above doc is reversed Via FB08 as below :-------
    001 50       187720     CTB1 CTB01                                        16.08-
    002 40       187722     CTB1 CTB01 -I/F Chq                               15.58
    003 40       800802     Realized FX gain                                   0.50
    Could you pls reply ASAP

Maybe you are looking for

  • Please help me about Sun Access Manager . . .

    Hi every body, I deploy successful Access Manager 7.1 on domain1 in GlassFish server. At address admin console domain1 : http://my.test.domain:4848/ At adress listening : http://my.test.domain:8080/amserver/ And then I install Policy Agent 2.2 and de

  • What means Rdb in "Oracle ODBC Driver for Rdb" ...

    ... I assume data basse but what about the upper R ? ^^ thanks

  • Getting Footnote numbers and Footnote refernce as text

    Hi all, I have tried to convert the footnotes as text using convertToText() option in indesign Javascript. It was retainied the text but not auto footnote number. Alos, I want to retain the footnote reference also. Please guide me how to proceed this

  • Image format for best quality photos

    Hi there, I'm pretty new to photo-editing and have a question about preserving image quality: I've heard that re-saving jpegs in Photoshop (Elements 12) makes them lose quality - even if no editing is done - and that saving jpegs in formats like PNG

  • Sh scripts

    hi, while installing oracle 11i, we have to execute some .sh scripts in Win NT. How do we go about doing this ? The software says to open up a korn shell in WIn Nt but there is no such tool in the starrt menu. please help. I am in the middle of an in