Remittance Advice Spool

Hi
After running payment program (F110)   successfully ,no spool is generated or printed. I use SP01 to check the spools.
Thanks
Rendani

Hi
There are no errors in both the proposal and payment logs , the payment was posted successfully.but still no spool or printout
Thanks
Rendani

Similar Messages

  • Sending Remittance Advice directly to spool instead of SOST.

    Hi,
        How to send Remittance Advice directly to spool.
    Currently its going to SOST queue.
    Cheers
    S Kumar

    I keep getting this pop-up:

  • How to see the output of a FORM of REMITTANCE ADVICE ( PAYMENT ADVICE )??

    Hi Experts,
    I got a SAP Script of REMITTANCE ADVICE (also known as PAYMENT ADVICE).
    And I know the VENDOR #.
    I need to see the output of this SAP Script on the screen, so, let me know that, How to test it/see its output. (I know, seeing the Customer statemet from the tx of F.27), I mean, wht r the transactions etc. stuff.
    thanq

    You should create a variant for payment advice and you can use the same while executing the t.code:F110.
    Once payment run has been completed system will generate a spool for payment advice. You can view that payment advice through t.code:SP01.

  • How to get the output of the Send Separate Remittance Advices in XML in R12

    Hi All,
    I have a requirement where we want the output of the standard report 'Send Separate Remittance Advices' to come in XML, currently its coming in PDF format.
    Can you please help?
    Thanks,
    Dilip
    Edited by: 990784 on Mar 12, 2013 2:57 PM

    Refer these links
    http://www.sap-img.com/bc037.htm
    http://www.members.tripod.com/abap4/Save_Report_Output_to_a_PDF_File.html
    CONVERT_ABAPSPOOLJOB_2_PDF FM convert abap spool output to PDF

  • Remittance advice through email and printing

    Hi Experts,
    Our requirement is that email needs to be triggered for all remittance advices and simultaneously printing needs to carried out for those vendors with no email address or invalid email address. We have activated BTE 2040 to trigger the email and it triggered the email(for vendors wth email addr only) and sent it to the spool( for vendors with and without email addr) . Now our requirement is to select only few vendors from the spool for printing. How do we go about it please guide .
    Thanks and regards,
    Ashwin G

    Hi,
    For this first you have to maintain the respective email ids for the vendors/payees in your vendor master
    Secondly, create a zmail program wherein once the ACH payments are executed, the z program should trigger an email to the respective payees. You have to co ordinate with your abaper and provide him the FS and requirements so that he can develop the required program. Assign a Tcode to the program which should have selection parameters Run date and identification ) to trigger email to respective payee in ACH payment list.
    Hope this clarifies.
    regards,
    radhika

  • Automatic emailing option for remittance advice

    Hi Experts,
    I have a requirement to generate an email to the vendor on payment run of remittance advice . I was able to identify the BTE 2040 for this purpose, however it is not working as desired . I added the z function mod copied from the exisiting  FM in "Financial Accounting -  Financial Accounting Global Settings -  Business Transaction Events -  Settings -  Process Function Modules  - of an SAP Appl " .
    However once I do this the even the spool does not get triggered , while if I remove this the spool gets generated correctly .
    Can you guys please let me know if I am missing something and explain on the procedure to do this if some of you have already done it before.
    Thanks in advance,
    Regards,
    Ashwin G

    Hello,
    We are able to trigger the email:
    We have done the following:
    Go to transaction code FIBF
    Settings ==> Process Modules ==> of an SAP Application
    Process = 00002040
    Ctr: Kept Blank
    Appl: Kept Blank
    Function Module: SAMPLE_PROCESS_00002040
    Hope this should work.
    Regards,
    Ravi

  • Trigerring email to vendor in remittance advice script

    hi,
    I have finished remittance advice using script, nw i have to send mail to the vendor and e-mail has to be picked from the Vendor e-mail Id field.please let me know how to do this action.
    thanks in advanace

    Hi,
    http://www.sapdevelopment.co.uk/reporting/rep_spooltopdf.htm
    or
    *& Report  ZSPOOLTOPDF                                                 *
    *& Converts spool request into PDF document and emails it to           *
    *& recipicant.                                                         *
    *& Execution                                                           *
    *& This program must be run as a background job in-order for the write *
    *& commands to create a Spool request rather than be displayed on      *
    *& screen                                                              *
    REPORT  zspooltopdf.
    PARAMETER: p_email1 LIKE somlreci1-receiver
                                        DEFAULT '@sapdev.co.uk',
               p_sender LIKE somlreci1-receiver
                                        DEFAULT '@sapdev.co.uk',
               p_delspl  AS CHECKBOX.
    *DATA DECLARATION
    DATA: gd_recsize TYPE i.
    Spool IDs
    TYPES: BEGIN OF t_tbtcp.
            INCLUDE STRUCTURE tbtcp.
    TYPES: END OF t_tbtcp.
    DATA: it_tbtcp TYPE STANDARD TABLE OF t_tbtcp INITIAL SIZE 0,
          wa_tbtcp TYPE t_tbtcp.
    Job Runtime Parameters
    DATA: gd_eventid LIKE tbtcm-eventid,
          gd_eventparm LIKE tbtcm-eventparm,
          gd_external_program_active LIKE tbtcm-xpgactive,
          gd_jobcount LIKE tbtcm-jobcount,
          gd_jobname LIKE tbtcm-jobname,
          gd_stepcount LIKE tbtcm-stepcount,
          gd_error    TYPE sy-subrc,
          gd_reciever TYPE sy-subrc.
    DATA:  w_recsize TYPE i.
    DATA: gd_subject   LIKE sodocchgi1-obj_descr,
          it_mess_bod LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          it_mess_att LIKE solisti1 OCCURS 0 WITH HEADER LINE,
          gd_sender_type     LIKE soextreci1-adr_typ,
          gd_attachment_desc TYPE so_obj_nam,
          gd_attachment_name TYPE so_obj_des.
    Spool to PDF conversions
    DATA: gd_spool_nr LIKE tsp01-rqident,
          gd_destination LIKE rlgrap-filename,
          gd_bytecount LIKE tst01-dsize,
          gd_buffer TYPE string.
    Binary store for PDF
    DATA: BEGIN OF it_pdf_output OCCURS 0.
            INCLUDE STRUCTURE tline.
    DATA: END OF it_pdf_output.
    CONSTANTS: c_dev LIKE  sy-sysid VALUE 'DEV',
               c_no(1)     TYPE c   VALUE ' ',
               c_device(4) TYPE c   VALUE 'LOCL'.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    Write statement to represent report output. Spool request is created
    if write statement is executed in background. This could also be an
    ALV grid which would be converted to PDF without any extra effort
      WRITE 'Hello World'.
      new-page.
      commit work.
      new-page print off.
      IF sy-batch EQ 'X'.
        PERFORM get_job_details.
        PERFORM obtain_spool_id.
    Alternative way could be to submit another program and store spool
    id into memory, will be stored in sy-spono.
    *submit ZSPOOLTOPDF2
           to sap-spool
           spool parameters   %_print
           archive parameters %_print
           without spool dynpro
           and return.
    Get spool id from program called above
    IMPORT w_spool_nr FROM MEMORY ID 'SPOOLTOPDF'.
        PERFORM convert_spool_to_pdf.
        PERFORM process_email.
        if p_delspl EQ 'X'.
          PERFORM delete_spool.
        endif.
        IF sy-sysid = c_dev.
          wait up to 5 seconds.
          SUBMIT rsconn01 WITH mode   = 'INT'
                          WITH output = 'X'
                          AND RETURN.
        ENDIF.
      ELSE.
        SKIP.
        WRITE:/ 'Program must be executed in background in-order for spool',
                'request to be created.'.
      ENDIF.
          FORM obtain_spool_id                                          *
    FORM obtain_spool_id.
      CHECK NOT ( gd_jobname IS INITIAL ).
      CHECK NOT ( gd_jobcount IS INITIAL ).
      SELECT * FROM  tbtcp
                     INTO TABLE it_tbtcp
                     WHERE      jobname     = gd_jobname
                     AND        jobcount    = gd_jobcount
                     AND        stepcount   = gd_stepcount
                     AND        listident   <> '0000000000'
                     ORDER BY   jobname
                                jobcount
                                stepcount.
      READ TABLE it_tbtcp INTO wa_tbtcp INDEX 1.
      IF sy-subrc = 0.
        message s004(zdd) with gd_spool_nr.
        gd_spool_nr = wa_tbtcp-listident.
        MESSAGE s004(zdd) WITH gd_spool_nr.
      ELSE.
        MESSAGE s005(zdd).
      ENDIF.
    ENDFORM.
          FORM get_job_details                                          *
    FORM get_job_details.
    Get current job details
      CALL FUNCTION 'GET_JOB_RUNTIME_INFO'
           IMPORTING
                eventid                 = gd_eventid
                eventparm               = gd_eventparm
                external_program_active = gd_external_program_active
                jobcount                = gd_jobcount
                jobname                 = gd_jobname
                stepcount               = gd_stepcount
           EXCEPTIONS
                no_runtime_info         = 1
                OTHERS                  = 2.
    ENDFORM.
          FORM convert_spool_to_pdf                                     *
    FORM convert_spool_to_pdf.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
                src_spoolid              = gd_spool_nr
                no_dialog                = c_no
                dst_device               = c_device
           IMPORTING
                pdf_bytecount            = gd_bytecount
           TABLES
                pdf                      = it_pdf_output
           EXCEPTIONS
                err_no_abap_spooljob     = 1
                err_no_spooljob          = 2
                err_no_permission        = 3
                err_conv_not_possible    = 4
                err_bad_destdevice       = 5
                user_cancelled           = 6
                err_spoolerror           = 7
                err_temseerror           = 8
                err_btcjob_open_failed   = 9
                err_btcjob_submit_failed = 10
                err_btcjob_close_failed  = 11
                OTHERS                   = 12.
      CHECK sy-subrc = 0.
    Transfer the 132-long strings to 255-long strings
      LOOP AT it_pdf_output.
        TRANSLATE it_pdf_output USING ' ~'.
        CONCATENATE gd_buffer it_pdf_output INTO gd_buffer.
      ENDLOOP.
      TRANSLATE gd_buffer USING '~ '.
      DO.
        it_mess_att = gd_buffer.
        APPEND it_mess_att.
        SHIFT gd_buffer LEFT BY 255 PLACES.
        IF gd_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    ENDFORM.
          FORM process_email                                            *
    FORM process_email.
      DESCRIBE TABLE it_mess_att LINES gd_recsize.
      CHECK gd_recsize > 0.
      PERFORM send_email USING p_email1.
    perform send_email using p_email2.
    ENDFORM.
          FORM send_email                                               *
    -->  p_email                                                       *
    FORM send_email USING p_email.
      CHECK NOT ( p_email IS INITIAL ).
      REFRESH it_mess_bod.
    Default subject matter
      gd_subject         = 'Subject'.
      gd_attachment_desc = 'Attachname'.
    CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
      it_mess_bod        = 'Message Body text, line 1'.
      APPEND it_mess_bod.
      it_mess_bod        = 'Message Body text, line 2...'.
      APPEND it_mess_bod.
    If no sender specified - default blank
      IF p_sender EQ space.
        gd_sender_type  = space.
      ELSE.
        gd_sender_type  = 'INT'.
      ENDIF.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_mess_bod
                                          it_mess_att
                                    using p_email
                                          'Example .xls documnet attachment'
                                          'PDF'
                                          gd_attachment_name
                                          gd_attachment_desc
                                          p_sender
                                          gd_sender_type
                                 changing gd_error
                                          gd_reciever.
    ENDFORM.
          FORM delete_spool                                             *
    FORM delete_spool.
      DATA: ld_spool_nr TYPE tsp01_sp0r-rqid_char.
      ld_spool_nr = gd_spool_nr.
      CHECK p_delspl <> c_no.
      CALL FUNCTION 'RSPO_R_RDELETE_SPOOLREQ'
           EXPORTING
                spoolid = ld_spool_nr.
    ENDFORM.
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment tables it_message
                                              it_attach
                                        using p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     changing p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver,
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
    data:   t_packing_list like sopcklsti1 occurs 0 with header line,
            t_contents like solisti1 occurs 0 with header line,
            t_receivers like somlreci1 occurs 0 with header line,
            t_attachment like solisti1 occurs 0 with header line,
            t_object_header like solisti1 occurs 0 with header line,
            w_cnt type i,
            w_sent_all(1) type c,
            w_doc_data like sodocchgi1.
      ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = it_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                receivers                  = t_receivers
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.
    Regards,
    Kumar

  • Printing remittance advices when payment method is T

    We use payment method T (ACH transmission) to pay our vendors, yet, at this time, we still need to print a copy of the remittance advice.  A remittance advice is created with program RFFOUS_T and that advice is sent out electronically.  However, those documents are NOT spooled.  How can I get the payment program to create a spool file with the advices so that we can print them?
    Thank you
    Janet Kuck

    Hi Janet-
    You can print and email payment advices. All you would have to do is to code logic into the function module that is being used for emailing payment advices. In detail, for the function module that you use in Business Transaction Event 002040 (Transaction FIBF), ask your programmer to code the logic in such a way to print and send email at the time of payment run. This way you can handle both the outputs together. I am not sure of any other way where we can print it afterwords.
    Hope this helps.
    Shail

  • Payment remittance advice

    Hi all
    i would like to know the following.
    1. T-code to create payment remittance advice.
    2.T-code to change paymen remittnce advice.
    3. What is the procedure to see print preview of payment remittance advice.
    thanks & regards
    GP

    Hi,
    1. T-code to create payment remittance advice.
    a) You can configure the remitance/payment advice in T.Code:FBZP >> Paying co.code>>select the co.code>> Assign form F110_IN_AVIS(this form will change country to country) in the field Form for the Payment advice
    2.T-code to change paymen remittnce advice.
    a) If you would like to change the payment advice form, you can take the help from abaper and they will change the form according to client requirenet.
    3. What is the procedure to see print preview of payment remittance advice.
    A) You should create a variant for payment advice and you can use the same while executing the t.code:F110.
    Once payment run has been completed system will generate a spool for payment advice. You can view that payment advice through t.code:SP01.
    All the best
    prasad

  • Recreate remittance advices for all payment runs of the day at once a day.

    Hello Sap Gurus,
    Here we have requirment for remittacne advices , so please find below quey.
    1.      Run once a day and recreate all the remittance advices for all the payment runs of the day.
    2.       Convert this into PDF format and download to the LAN structure automatically.
    3.       This program should be scheduled in batch and have proper error handling to alert a user via email should there be a error in the download as we need to understand immediately if we donu2019t have all the remittance advices on the LAN.
    Please provide valuable inputs for the customised program? and is this possible with customised program? or any standard SAP avialable for ths requirement.
    Regards,
    Raj

    HI,
    You can create the same via a custom program with below steps:-
    (1) Fetch all the payment run IDs from table REGUV for a particular run date.
    (2) Then for each run date and run identification combination, call in loop Remittance Advice Printing Program (RFFOAVIS or RFFOAVIS_FPAYM) and it will generate the spool.
    (3) Then call the program RSTXPDFT4 to convert the spool into a PDF file and store on SAP aplication server.
    Then you can have a interface from SAP Application server to your LAN to have the file transferred.
    Regards,
    Gaurav

  • Remittance Advice Form in Scripts

    Hi All..
    I am doing Remittance Advice Form in Scripts. I want to print Purchase Order No. I want to read it from line items. For that I copied the Standard Pgm( RFFOUS_C) into Z pgm( ZRFFOUS_C).  I copied standard form( F110_IN_AVIS) INTO Z form. For this I am writing PERFORM statement in the form like this
    DEFINE &ZEBELN& = ' '
    PERFORM GET_EBELN IN PROGRAM ZRFFOUS_C
    USING &REGUP-BUKRS&
    USING &REGUP-BELNR&
    CHANGING &ZEBELN&
    ENDPERFORM
    Even In the place of PROGRAM ZRFFOUS_C, I am trying to use another Z pgm like Ztest.
    In both case while creating payment advise I am getting an error PERFORM_TOO_MANY_PARAMETERS. And getting job is cancelled.
    Even it is not creating Spool Request for Remittance Advice.
    In z pgm I ma writing the perform statement like this…
    FORM GET_EBELN USING ZBUKRS TYPE BSEG-BUKRS
                         ZBELNR TYPE BSEG-BELNR
             CHANGING    ZZEBELN TYPE BSEG-EBELN.
    SELECT SINGLE EBELN FROM BSEG INTO ZZEBELN
           WHERE BUKRS = ZBUKRS
           AND   BELNR = ZBELNR
           AND   BUZEI = 2.
    ENDFORM.
    PLZ GIVE ME SUGGESTIONS ASAP..
    Regards
    Rajendra

    Hello,
    Your form in the program should be like this.
    FORM GET_EBELN  TABLES i_inval  STRUCTURE itcsy
                        i_outval STRUCTURE itcsy.
    data: w_burks like t001-bukrs.
      READ TABLE i_inval with key = 'REGUP-BUKRS'.
    w_bukrs = i_inval-value.
    read all other data from the input table as above
    give back the values
        READ TABLE i_outval with key = 'ZEBELN'.
          out_tab-value = w_zebeln.
          MODIFY out_tab INDEX sy-tabix.
    endform
    regards,
    Naimesh

  • Vendor not recieving Remittance advice.

    User is complaining that some vendors are not recieving remittance advice. Is it same as payment advice??
    If so where to check for the same.
    Regards
    Rudra

    Hi Rudra,
    In order to answer.. you need to elaborate a little..
    How is the advice sent to the vendors? is it by Mail,Fax, EDI etc.. or print
    If it is mail.. chk whether the E-Mail address is maintained or not in the vendor master.. if it is print, check whether the spool is generated in SP01 or not..
    You may also check in SOST T-Code if it is by mail, that whether it is still waiting to be sent in SOST.
    Regards,
    SAPFICO
    Edited by: SAPFICO on Dec 28, 2010 3:53 PM

  • How do I add an email body text for remittance advices / payment advices?

    Hello,
    I am trying to send an email body text with the pdf remittance advice to my vendors.
    Background:
    We are running automatic payments to vendors via transaction F110. We have configured the pay run to produce remittance advices for vendor payments. Finally we activated the BTE 00002040, through transaction FIBF, to use a custom copy of the function module SAMPLE_PROCESS_00002040.
    Our payment run sends emails with pdf-file attachments to our vendors correctly.
    <b>The Issue:</b>
    I can not find a way to add text to the body of the email with the attached remittance advice.
    Has anyone advise on how to populate the email body with text?
    Thank you and best regards
    Karsten Arold

    Hello Subhashree,
    I have not implemented the functionality, but I found rerference to SAP Note 1033893 in another forum post.
    Email text to Payment Advice in BTE2040
    Allan

  • Remittance Advice output should print to file rather than to a printer

    Hi all,
    We have a requirement in payment process Request,
    when we process a payment batch, generally the Remittance Advice will be sent as per the payment system setup i.e, to the Banks server. But, our client has a dedicated team to review these generated Remittance Advises, once they review them, they will upload them to the Bank's Server.
    But now we have to make the system to place the generated Remittance Advises to a common place from there the team will take and review them.
    The following are some of the considerations of mine
    1. use a xdodelivery.cfg file for FTP / SFTP or local file transfer
    2. Create a local Transmission Protocol in Transmission Configuration in Payments setup and associate it with Payment Process Profile.
    Is there any other solution please provide me.
    Also if anyone had written xdodelivery.cfg file please provide me the code. I read the BI Publisher guide but i couldn't get how to proceed in writing the file.
    Thanks in Advance
    --Giri

    Hi,
    Remittance advice is specific xml publisher report because you already have data source. You can only make layout and delivery mail,fax,print 1072399.1. I think you should make own Remittance advice with bursting http://vanzweden.org/index.php/blogarticles/categories/xml-publisher/10-creating-text-files-with-bursting.
    Regards,
    Luko

  • 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

Maybe you are looking for

  • Problem in using CREATE TABLE with Execute Immediate

    I'm trying to create a table using Native Dynamic SQL. the code of the pl/sql block is BEGIN EXECUTE IMMEDIATE 'create table demo (ddate date)'; END; The problem is that the above block is executed successfully as an anonymous PL/SQL block. The same

  • How to catch "Move" and "Copy" Events

    I want certain functions to be called whenever a user moves an existing PageItem on a Page, or when he copied a PageItem onto a Page. Which event should I be listening for, and to which object should the listener be attached? TIA, mlavie

  • How to get start CDC with Windows Mobile 5

    i have bought new PDA (imate K-JAM) and want to develop CDC on it but i don't know what i need for develop it i found this site (http://home.elka.pw.edu.pl/~pboetzel/) i need to download all require software ? if no please tell me what i need to down

  • Bug: "default applications" does not work

    I set my internet browser to "opera mobile".  nonetheless, everything gets opened in the nokia browser.   What exactly is the benefit of changing the "default applications" then?

  • Photoshop CC, Flash CC, After Effects CC, Dreamweaver CC all Closes right after opening????

    I have tried everything on the forums, but every time i open Photoshop, Dreamweaver, flash, after effects all with CC paid membership closes right after opening them. I have read the forums searched in the internet, update and downgrade the drivers o