How to delete Remittance Advice through FB01 - which User exit or BADI?

I have created a BDC program for transaction FB01 to create an FI posting.  During this BDC session, i need to delete the associated remittance advice using the function REMADV_DELETE.
Is there a user exit or BADI that i can use to call REMADV_DELETE once the FI posting is successful?
Thanks,
Jay

Jay,
In BTE there are two types of exit - Publish and Subscribe (P&S) and Process.  Generally P&S give access to read data from a transaction and trigger your own processing as a result, while Process give access to change parts of the data in the SAP transaction.  For what you want, P&S probably gives the functionality you need.
You need to copy the sample function to a Z function in a Z function Group.  Put in your code, and activate the function and function group.  As an initial test just a break-point in the code is useful to see when the exit executes and what data is available.
Then in transaction FIBF you need to insert customising to link in and activate the exit.
In the FIBF transaction, go to menu option Settings>Products>Of a Customer.  Select New Entries and create a Z... entry with appropriate text. Leave other fields at this time and save.
Go to Settings>P/S Modules>Of a Customer. Select New Entries and create an entry for the relevant event number with the Z product you just created and add your function module name. Country and Appl can be filled or left blank for "All". Save the entry.
Go back to the Settings>Products>Of a Customer entry and selct the activate check box and save the entry.
Your function should now get executed at the relevant point.  Remember this will get executed in all posting transactions, so include appropriate checks for your transaction code, document type, etc.
One note.  Transaction FB01 performs some of its updates using "IN UPDATE TASK" so some records may not be created at the time some exits are executed.  In the old style debugger a commit is performed when you debug so the update is triggered, but then when you run without the debugging things work differently.  The new style debugger lets you debug these exits without the commit and thus gives a better picture of what will really happen.
Andrew

Similar Messages

  • About FF_5(RFEBKA00), how to delete the leading zero by using user exit

    The program RFEBKA00  can handle input files that don't carrry the leading zeros on the check number field.
    But the Table PAYR stores check number with leading zeros
    While inbound, the program will don't work well.
    How should i enhance the program?
    Thanks a lot
    Daniel

    Hi,
    Create a new program that will read the fields..
    Then put the leading zeroes in the check number field..
    And then modify the file..
    You can use the FM CONVERSION_EXIT_ALPHA_INPUT to put leading zeroes..
    Thanks,
    Naren

  • Error while faxing the remittance advice through payment run

    Hi,
    Message number (XS 826) " Cannot Process message : No route From ******(User) to *****(Faxnumber). ", Under what circumstances this error message comes while faxing the remittance advice through payment run, and also how to rectify that?
    Regards,
    Pooja

    Hi Pooja..
    It could be that the node that you are using for Fax is not active. Activate this and part of a problem was solved.
    However, the fax no. has to be in the format <country code><fax no.> 
    This will solve the remaining problem and fax can now be sent.
    Incase you need anything else, please feel free to write to me..
    Good Luck!
    Lucid-Mind...

  • Error in the faxing of remittance advice through payment run

    Hi,
    Message number (XS 826) " Cannot Process message : No route From ******(User) to *****(Faxnumber). ", Under what circumstances this error message comes while faxing the remittance advice through payment run, and also how to rectify that?
    Regards,
    Pooja

    Hi Pooja..
    It could be that the node that you are using for Fax is not active. Activate this and part of a problem was solved.
    However, the fax no. has to be in the format <country code><fax no.> 
    This will solve the remaining problem and fax can now be sent.
    Incase you need anything else, please feel free to write to me..
    Good Luck!
    Lucid-Mind...

  • How to upload Remittance advice in FEBA

    Hi All
    Scenario:  when the bank statement is uploaded and clears the open items, there will be some more items left which were unallocated ( or items did not match thru bank statement). Bank statement post processing can be done using t-code FEBA, in which remittance advices will be uploaded manually and cleared against open items which were not cleared.
    <b>Question: How to upload Remittance advice automatically in FEBA screen?( To improve automatic matching of uncleared items).These remittance advices are in paper form or some of them in electronic format.
    Can any body suggest on this?
    Thanks

    Hi
    One more thing is, i am into Accounts Recievables ,so we always get the remittance advices from customers. Some of them in Electronic format and some as hard copy/ paper format.
    And i am working on ECC 6.0.
    Thanks

  • How to delete the messages from SXMB_MONI which are already cancelled .

    Hi All,
    The messages were earlier in System error(Red flag) state so i cancelled it manually.
    I want to know how to delete the messages from sxmb_moni which are already cancelled manually using ctrl+f8.
    if not possible , then i want to see them in earlier state i.e.., in System error(Red flag).
    can any tell me the procedure of doing it.
    thanks
    Sai.

    Hi AmitSri,
    Thanks for u r reply,
    What is retention period, where can i find this option.
    And i don't have authorizations to sxmb_adm --> configure delete procedure
                                                                             --> Define interfaces for archiving and retention period.
    and to RSXMB_DELETE_MESSAGES in se38 , i don't have authorizations to run
    Is there any way to delete the messages or make them to System error( Red flag) which are manually cancelled.
    Thanks
    Sai.
    Edited by: sai_SHA on Aug 17, 2011 12:29 AM

  • Is it possible to create a single texbox? and how to delete a button on a form? please asap, badly n

    Is it possible to create a single texbox? and how to delete a button on a form? please asap, badly needed it right now. thx -regards gustavo

    Hello Gustavo,
    You can create a single textbox using the textbox option here (This is for you to enter text - not for the visitor): http://jingsite.businesscatalyst.com/jing/2013-09-30_2212.png
    If you want to create a textbox for the visitors to enter text, then you need to enter a form, and you can delete the "message" field from the "simple contact" form, but not the name and the email fields (those are mandatory and can't be deleted).
    You may want to check external forms in case you want to have the form rather customized, to check if you can have forms with single textbox. An example would be "Jotform".
    Hope this helps.
    Cheers
    Parikshit

  • Populating cost center automatically by Ts code WVFB - Which user exit ?

    Hi experts,
    I want to populate cost center and to do 'k' assignment automatically using WVFB for Sotre Order creation.
    Which user-exit should be activate? thanks a lot in advance.
    ( the purpose is when user create a  store order by transaction code WVFB ,  the fields of  'k' assingment and cost  center don't need to be filled out, an user exit should make 'k' assignment &  fill out cost center KOSTL. I just need to know this user exit).
    EXIT_SAPLWVFB_002  will be good for my problem? please advice. thanks.

    Yes. I solved my problem.
    EXIT_SAPLWVFB_002 was used to do it.

  • Which user-exit or BAPI triggered when a schedule line is changed

    Dear All,
    Does anyone know which user-exit, enhancement or BAPI is triggered when we do change on schedule line item?
    Let's say, I have two line schedule line item, then I do change for delivery date. After triggered "Item Availability" button, system will accumulate confirmed Qty on first line and second line into first line. And then the second line will remain zero.
    I need to know, which enhancement or user exit or any standard FM do this process.
    I searched, but not found any user exit or enhancement that will go through.
    Best regards,
    Dinivian.

    Hi,
    For MFBF there are sollowing user-exits....
    XMRM0001 - Backflushing in Repetitive Manufacturing.
    PTRM0001 - For lead column in REM planning Table.
    SAPLRMPU - Customer Exit for Article Staging.
    Reward points if useful....
    Regards
    AK

  • I have to find out which user exit useing

    Hi All,
    functional consultant useing user exit ,for substitution of profir center.
    can any body plz tell ,which user exit he useing to get profit center value.
    thanks,
    venu.

    For substitution Tx:GGB1 is used. go to the tx, select FI accounting, line item, Step, double click on substitution, u'll find user exit like U100, double click on it, thats the code used for substitution.
    If its different functionla area, select it instead of FI in GGB1
    Tx: GCX2 shows the Z program (like ZGGBS000) used for substitution.
    Regards
    Sridhar
    Message was edited by: Sridhar K

  • How to find the user exits and BADIS from SPRO

    Hi all,
    please let us know how to find the User exits or BADIS for an application from SPRO.
    Regards,
    Madhavi

    Hi Varisetty,
    Finding user exits and BAdis from SPRO can be cumbsersome. In most instances you know the standard SAP program and want to check (find) an exit called in the flow of the transaction. You can do this as follows:
    For User Exit:
    Put "/h" in the command box (to start debugging)
    Execute your transaction
    When you enter debugging - put a breakpoint at statement
    CALL CUSTOMER-FUNCTION
    the control will stop at all calls to User Exits
    For BAdi (it's simpler)
    Go to class CL_EXITHANDLER in SE24
    Enter method GET_INSTANCE
    Put a breakpoint in this method
    Run your standard transaction - control will stop at all BAdis called within the flow since this method is used to check BAdi implementations before invoking them
    Also, if you want to find enhancements by package - go to SE80, enter the package and check function groups starting with X - those contain function exits (conventional user exits). For BAdis in a package, there is normally a separate tree node (under the package) for Enhancements hence clearly identifiable.
    Cheers,
    Adi

  • How to change actual quantity in Outbound delivery User exit

    hi all ,
    My requirement is to change the quantity of outboud delivery according to some logic .but my issue is after writing the code MV50AFZ1 , system is not considering the quantity changed by me , it is taking the quanity directly from sales order confirmed quantity .
    please anybody help on this issue  .

    Hi,
    Under which user exit have your written your code:
    USEREXIT_MOVE_FIELD_TO_LIKP or
    USEREXIT_MOVE_FIELD_TO_LIPS or
    USEREXIT_SAVE_DOCUMENT or
    USEREXIT_SAVE_DOCUMENT_PREPARE
    I think if you write your code within the USEREXIT_SAVE_DOCUMENT, it should work.
    Regards,
    Subramanian

  • User exit or badi for FB03 to deactivating 'DELETE' button in attacmentlist

    Hi All,
    I have a requirement to put an authorization check on the 'DELETE' function in the attachment list of FB03 transaction.
    Meaning, if user is not authorized to delete, then he cannot delete the (link) attachment.
    Any user exits to do that enhancement.
    Thanks,
    Narsimha.

    Hi
    I believe there isn't a BADI or EXIT allows to change item data, I usually use the exit to change the item text EXIT_SAPMM07M_001 (the BADI MB_MIGO_ITEM_BADI should be the same thing) where I change the data by field-symbols:
    FIELD-SYMBOLS: <KOSTL> TYPE MSEG-KOSTL.
    ASSIGN '(SAPMM07M)MSEG-KOSTL' TO <KOSTL>.
    <KOSTL> = .......
    Max

  • Cost center in FB01 - User exit or BADI

    Hi,
    I would like to change the cost center field data in transaction FB01 with some other data based upon some conditions.
    Please suggest with user exits or badi.
    thanks.

    Thanks for reply.
    In the user exits mentioned, checking for cost center value in the import parameter DOC_ITEM_TAB and based on some validations i have changed the it to other value. But this new value is not considered by the program still it is creating with the old value.
    The changed value has to be exported from the user exit right? this is not happening as we know dont have cost center field in export or changing parameters
    Please suggest

  • Which user exit is triggered on Save of CV01N/CV02N

    I have some requirement to be triggered on the Save of a document using CV01N/CV02N.
    I found three exits in the transaction EXIT_SAPLCV110_001, EXIT_SAPLCV110_002, EXIT_SAPLCV110_003 but none of them get triggered on Save even though I have activated the enhancement.
    If someone knows which user exit gets triggered on Save of CV01N/CV02N please let me know.

    You can use BADIs.
    You can use DOCUMENT_MAIN01.
    Go to SE18. Display 'DOCUMENT_MAIN01.
    On the menu bar, Click on Implementation > Create.
    Give your own implementation name starting with Y or Z.
    There's a method called BEFORE_SAVE in this.
    It has all the data DRAW, DRAD, DRAZ etc as Changing Parameters.
    So you will be able to manipulate that data in that method.
    Activate the implementation And you are good to go.
    Reward if helpful.

Maybe you are looking for

  • Capital Investment order settlement

    There are some AUCs created via capital investment orders. But the problem is These AUCs were creted during the time when the Depreciation area is de-activated for the particular class. After that there s GR, IR & Payment all with reference to PO. On

  • XSL-FO Report Query / Named Layout - Dynamically set the output filename

    Does anyone know if it is possible to dynamically set the name of the PDF file which is created via FOP? Thanks Paul

  • Erro perforing Fast Refresh of Materialized View.

    Hi Experts, We are facing serious problem while refreshing materialized views using fast refresh option in ORACLE.. For the very first time we are performing Complete refresh of data from DB1 to DB2 for few tables.Ongoing we are performing Fast Refre

  • Resolution issues with Photoshop CS2

    I work for a fashion wholesaler. I am currently in the process of completely a line list to sent out to our clients. The producer of our product has sent me their complied line list, but because we are the canadian distributor we have to edit the lin

  • [svn:bz-trunk] 12162: Updated using PreparedStatements.

    Revision: 12162 Revision: 12162 Author:   [email protected] Date:     2009-11-24 08:17:44 -0800 (Tue, 24 Nov 2009) Log Message: Updated using PreparedStatements. CheckInTests: na Modified Paths:     blazeds/trunk/apps/samples/WEB-INF/src/flex/samples