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.

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

  • User-Exit for document changes (status)

    Hi!
    I'm looking for an user-exit where I can check if the status of the document has been changed. Therefore I found the exit "EXIT_SAPLCV110_004" with the include "ZXCV110U04" which is triggered when a document (transaction CV02N) is saved. The problem is that there is no structure of the document provided so I cannot check the status of it! The interface if this exit is just
    FUNCTION EXIT_SAPLCV110_004.
    ""Lokale Schnittstelle:
    *" CHANGING
    *" REFERENCE(PFX_OKCODE) TYPE SY-UCOMM
    INCLUDE ZXCV110U04 .
    ENDFUNCTION.
    Is there another exit or how can I check if the status has changed for each document?
    Thanks,
    Konrad

    You can code in EXIT_SAPLCV00_001. Write your code in the program  ZXCV001U01. This has DRAW structure valeus and also DRAZ Item details.
    FUNCTION EXIT_SAPLCV00_001.
    ""Lokale Schnittstelle:
    *"       IMPORTING
    *"             VALUE(I_DRAW) LIKE  DRAW STRUCTURE  DRAW OPTIONAL
    *"             VALUE(I_OK_CODE) OPTIONAL
    *"             VALUE(SOURCEPATH) LIKE  DRAW-FILEP OPTIONAL
    *"             VALUE(SOURCEFILE) LIKE  DRAW-FILEP OPTIONAL
    *"             VALUE(TARGETPATH) LIKE  DRAW-FILEP OPTIONAL
    *"             VALUE(TARGETFILE) LIKE  DRAW-FILEP OPTIONAL
    *"       TABLES
    *"              I_INTDRAZ1 STRUCTURE  DRAZ OPTIONAL
    *"              I_INTDRAZ2 STRUCTURE  DRAZ OPTIONAL
    *"       EXCEPTIONS
    *"              ERROR
    INCLUDE ZXCV001U01 .
    ENDFUNCTION.
    Hope this will help you to check the conditions.

  • User Exits for Document Info Record : CV01N in DMS

    Hi Experts
    My scenario is: We have Configured DMS in which new document type created Z01 is for MS word documents. I have assigned default Work Station Application : DOC to Z01 document type.
    But my problem is : while creating Info record : CV01n with Z01 document type during file creation system is showing default Application : DOC, But in help user can select either XL, or PPT instead of DOC.
    My requirement is : I need to restrict : other work station applications to the particular document type, i.e. for Z01 document type - allowed work Station Application is : DOC. System doesnot allow user to select other application instead of DOC.
    Where Can I Restrict ??  Is there any User Exits available to controle this function
    Please help
    Satish Babu

    Hi,
    Try these exits.
    CV000001            Check-in enhancement for document management
    CV110001            DMS: Enhancements for DMS Dialog (FB: CV110)
    CVDS0001            User exits for ALE DMS (DOCMAS)
    Hope this helps u.
    Thanks.

  • MB1A User Exit at document save

    Hi everyone,
    I have a requirement related to MB1A for materials distribution to personnel defined in HR. This can happen at line <Enter> press or at 'Document Save' time (either one is good, but could not get any to work). The requirements are:
    - get all material quantities in all the lines of the document
    - match the materials against a custom price table and get the total amount of the document
    - compair the total amount with some value related to the person HR that receives the materials
    - send a message to the user if the total amount is greater than the value
    For this I tried MBCF0002 but here only get access to the current line item, not to all of them so I cannot get the total amount, only the line amount. I am aware about some other user exits but in none of them I could get a hold of all line items in the document before the document would be saved.
    Do you know if there is a user exit where as parameters there are available all line items, or where can I find them, if I use MBCF0002?

    Used MB_DOCUMENT_BADI but get an error using the described business logic.
    The implementation text for MB_DOCUMENT_BEFORE_UPDATE method is:
    (... some select from ztable and call for HR infotype, no insert or update...)
    MESSAGE 'display text here' TYPE 'W'.
    The problem is that user will see the message then try to modify the document lines. When trying this, he gets an ABAP error, message class M7, message number 372.
    Checked the code in include MM07B9_BUCHEN_AUFBEREITEN in SAPMM07M program and found that this 'before_update' method is not supposed to be called more than once for some reason. In this case my business flow is broken (the request is to show the warning and then allow some modifications to the document, then check again).
    Do you know of another user exit/badi that can help? For the workflow to function as requested, such a function should allow access to all document lines (not just a current line of the document line).

  • 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

  • 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

  • Can't find user exit or enhancement at RGJVBR15

    Hi everyone,
    I need your help guys. Right now,i'm developed sapscript for billing statement (cash call and expenditure). I have finished the form but i have problem at print program RGJVBR15. This print program is called by RGJVBR10 (Tcode : GJ14 --> Hard Copy Billing).GJ 12 and GJ 13 is used to extract data that will be used by forms.
    There is statement like this in RGJVBR15 at subroutine CREATE_EXPENDITURE (Line 1421 in include file RGJBF_I1) :
    AT NEW C5_CURR. --> Group by funding currency
       PERFORM POPULATE_SPOOL_ID
    ENDAT.
      PERFORM F6100_PROC_...  -> This will be used to open form,write form (sapscript)
    AT END OF C5_CURR.
    ENDAT.
    The problem is that i want to change this logic. I want to change the standard logic (display report group by funding currency), i want to ignore this and instead using group currency. So there only one report produced with one currency only (if using standard logic there is more than 1 report based on funding currency). But i can't find user exit or enhancement in this SAP Standard Program. Is anyone know if there is user exit or enhancement in this program? I don't want to use implicit enhancement because it's will produce problem when client want to upgrade their system. Thank you.
    Best Regards,
    Satria

    hi,
    for tcode GJ14 user exits avaliables are
    Exit Name           Description
    JVA-IM-1             Joint Venture: Integration Manager Set Intercompany Lines
    JVA_IM_2            User Exit Splitting
    JVA_IM_3            User Exit Check Document
    regards,
    paras

  • 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

  • FBL5N - cleared document display by 'Open at key date'

    We are on ECC 6.0 and have recently upgraded from SP9 to SP15 in Financials. The users are saying that the report S_ALR_87012198 (which works the same way as FBL5N transaction) is now displaying the cleared documents differently.
    For example, we have the following documents:
    - invoice (RV) with posting date 11/01/09 and clearing date 11/20/09;
    - payment (DZ) with posting date = clearing date = 11/20/09.
    When the users run the transaction or report for Cleared Documents by using Clearing Date 11/20/09, both documents are displayed. However, when the users run the transaction for Cleared Documents by using 'Open at Key Date' 11/20/09 then only invoice (RV) is displayed.
    The documentation suggests that 'open at key date' should include items that are open before or on the 'key date'. Also our users are saying that it used to display both documents with 'Open at Key Date' before the service pack upgrade, but, unfortunately, we're unable to verify this.
    Could someone with lower version please verify how 'open at key date' option works for cleared documents? And is there any documentation that explains this?
    Thank you.

    >
    NSRobert wrote:
    > as the standard sap doesnt display the cleared and open items on "Open at key date"
    Thanks for your reply. Just to clarify - there are two 'Open at key date' fields in FBL5N. First field pertains to the 'Open documents' radio-button and second field - to the Cleared documents radio-button. When the users choose 'Cleared documents' and fill in the second 'Open at key date' field, they expect to see the items that are currently closed, but that were open on the specified key date. And SAP does, indeed, display them, just in a rather strange manner (it seems that DZ document is never "open", according to the screen's logic).
    It seems that we'll need to write to SAP for clarification, but I was hoping that someone could at least verify whether this, in fact, has anything to do with the support packs.

  • User Exit for ME21 PO Creation at the time of saving--Urgent

    Hi,
    Can some one help me out in finding the user exit for PO creation at the time of saving.
    The Requirement is:
    I need to create a custom field in EKKO table.
    After appending the structure with the field to the EKKO table, i need to create a PO.
    Now i need to update the field which has been created at the time of pressing the SAVE button.
    I need to update the EKKO table it self.
    I could find the user exits but none of them have the EKKO table either in Changing or in Tables.
    Thanks,

    Hi,
              You may want to check this user exits.
    EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
    EXIT_SAPMM06E_013 - Update Customer-Specific Data in Purchasing Document
    Here is the list of available user exits for ME21.
    EXIT_SAPMM06E_001 - Other Number Range or Own Document Number
    EXIT_SAPMM06E_004 - User Exit for Cust.-Specific Control of Import Data Screens in Purchasing
    EXIT_SAPMM06E_005 - Field Selection Control: Vendor Address Screen
    EXIT_SAPMM06E_006 - Export Data to Customer Subscreen for Purchasing Document Header (PBO)
    EXIT_SAPMM06E_007 - Export Data to Customer Subscreen for Purchasing Document Header (PAI)
    EXIT_SAPMM06E_008 - Import Data from Customer Subscreen for Purchasing Document Header
    EXIT_SAPMM06E_009 - Reset Customer Data at Beginning of New Document (Without Dialog)
    EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
    EXIT_SAPMM06E_013 - Update Customer-Specific Data in Purchasing Document
    EXIT_SAPMM06E_014 - Read Customer-Specific Data when Importing Purchasing Document
    EXIT_SAPMM06E_016 - Export Data to Customer Subscreen for Purchasing Document Item (PBO)
    EXIT_SAPMM06E_017 - Export Data to Customer Subscreen for Purchasing Document Item (PAI)
    EXIT_SAPMM06E_018 - Import Data from Customer Subscreen for Purchasing Document Item
    EXIT_SAPMM06E_020 - User Exit: Change Document for Requisitions (Conversion into PO)
    EXIT_SAPMM06E_021 - Fulfillment of Target Value: Release Orders Against a Contract
    <b>Reward points</b>
    Regards

  • User exit order purchase

    hi all,
    I try to do a validation in the transaction me21n, Actually the system make a validation when  the budget is exceeded  and generate a error message,  I need to recover some data of the order like  banfn, bnfpo, bedat, ernam y loekz, when there is  this error and  insert them in a table "Z" .
    Somebody could tell me which user exit can I use?
    Regards.
    MArisol

    Hi Marisol,
    You may need to take a look this user exits
    <b>EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving
    EXIT_SAPMM06E_013 - Update Customer-Specific Data in Purchasing Document</b>
    Here is the list of available user exits for ME21.
    EXIT_SAPMM06E_001 - Other Number Range or Own Document Number                                
    EXIT_SAPMM06E_004 - User Exit for Cust.-Specific Control of Import Data Screens in Purchasing
    EXIT_SAPMM06E_005 - Field Selection Control: Vendor Address Screen                           
    EXIT_SAPMM06E_006 - Export Data to Customer Subscreen for Purchasing Document Header (PBO)   
    EXIT_SAPMM06E_007 - Export Data to Customer Subscreen for Purchasing Document Header (PAI)   
    EXIT_SAPMM06E_008 - Import Data from Customer Subscreen for Purchasing Document Header       
    EXIT_SAPMM06E_009 - Reset Customer Data at Beginning of New Document (Without Dialog)        
    EXIT_SAPMM06E_012 - Check Customer-Specific Data Before Saving                               
    EXIT_SAPMM06E_013 - Update Customer-Specific Data in Purchasing Document                     
    EXIT_SAPMM06E_014 - Read Customer-Specific Data when Importing Purchasing Document           
    EXIT_SAPMM06E_016 - Export Data to Customer Subscreen for Purchasing Document Item (PBO)     
    EXIT_SAPMM06E_017 - Export Data to Customer Subscreen for Purchasing Document Item (PAI)     
    EXIT_SAPMM06E_018 - Import Data from Customer Subscreen for Purchasing Document Item         
    EXIT_SAPMM06E_020 - User Exit: Change Document for Requisitions (Conversion into PO)         
    EXIT_SAPMM06E_021 - Fulfillment of Target Value: Release Orders Against a Contract       
    Hope this will help.
    Regards,
    Ferry Lianto

  • User exit for contract release order.......

    Hi All,
    I have a question...
    when we create a sales order and type the sold-to party the system dispalys(pop-up screen) the open contracts against the customer. It is up to us wheather we can copy any one of the contacts into the sales order and create a release order or we can just cancel the pop-up screen and create a new sales order with out reference to a sales order.
    <u>HERE my requirement is as follows</u>.
    1) <b>When a customer has open contacts  and validity period we should  make user to copy  any one of the the existing contracts in the pop-up screen.</b>
    2) <b>At the same time if the customer has got no contracts against him he should be allowed to cerate a plain sales order.</b>
    I have tried with user exit Change document & User exit Save document in include <b>MV45AFZZ</b> but our code (user exit) should fire before or at the time of pop-up screen(containing the open contracts against the customer) which is just not happening.
    Has any one of you came across of any solution for this kind of scenario...
    One last option i have got is to disable the close push button taking the access key  and changing the standard code........but this will effect the other places where this close button is used.
    Please let me know how to go about it.
    Thanks in advance......for your valuable time & precious knowledge.
    With regards,
    <b>Pavan</b>

    Have you tried applying code to EXIT_SAPLV46H_001 - Customer Function When Creating Item?
    Or EXIT_SAPLV46H_002 - Customer Function for Partner Changes?

  • User exit is not called

    hi,
    In MV45AFZZ, under
    FORM USEREXIT_SAVE_DOCUMENT
    I implemented an implicit enhancement as follows
    ENHANCEMENT 316  Zxxx_SAVE.    "active version
    INCLUDE ZXXX_SAVEDATA.
    ENDENHANCEMENT.
    when i save the So thru VA01, this is not triggered, why ??
    where as the same code if i place in
    FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
    it is triggered. But I dont get the sales order number there !!
    so i thought i will try in FORM USEREXIT_SAVE_DOCUMENT .
    I need my code to get access to VBELN ..pl help..thks

    Hi,
    Try this..
    double click on the form user exit save document...put a break-point in the "perform userexit_save_document."
    Now step through in the debugging and check whether your code is hit.
    Check whether your enhancement is active..
    Thanks
    Naren

  • Problem in updating LIPS table in outbound delivery user exit

    Hi,
    I wrote a code in outbound delivery user exit (save document userexit) to update LIPS table.
    for example
    XLIPS-LGORT = '0657'.
    XLIPS-PIMNG = I_LIPS-LFMING
    (PICKing QUANTITY =  DELIVERY QUANTITY)
    MODIFY XLIPS TRANSPORTING LGORT PIMNG.
    After outbound delivery created i couldn't found my entries in lips table. it shows me as blank.
    Can anybody tell me what went wrong?
    Thanks and Regards,
    Suresh.

    Hi Suresh,
    If you want to change any delivery data, like LIKP or LIPS you should use the USEREXIT_SAVE_DOCUMENT_PREPARE exit. The exit you are using is called after all delivery data is passed to the update task.
    Regards,
    John.

Maybe you are looking for