Programme SAP RFFOBR_D - International Payment Media - Boleto (Brazil)


-----------------------------------------------------------------------
DEFINE &T042B-AFORN& = 'J_1B_AVIS'
DEFINE &T042E-WFORN& = 'J_1B_DME'
DEFINE &T042E-ZFORN& = 'J_1B_DUPLICATA'
DEFINE &T042E-ANZPO& = '00'
DEFINE &T042E-XFOSP& = ' '
DEFINE &T042Z-PROGN& = 'RFFOBR_D'
DEFINE &T042Z-ZLSTN& = 'LIST1S'
DEFINE &T042Z-TXTSL& = ' '
DEFINE &T042Z-XSCHK& = 'X'
DEFINE &T042Z-XSWEC& = ' '
------------------------------------------------------------------------

Description
This program fills in prenumbered Boleto forms or prints numberedBoletos. This Boleto number is to be assigned from a predefined numberrange and creates the link between Boleto number and BOE requestnumber. Note that barcode and check digit handling are supported onlyfor the Brazilian banks Itaú and Bradesco. A user exit is available todetermine barcode and check digits also for other Boleto layouts. Tomake use of this user exit, please proceed as follows:

  • Create project through transaction CMOD

  • Choose enhancement J1BF0001

  • Change enhancement component EXIT_SAPLJ1BM_001

  • A sample source code (valid for Banco Real) may be used.

  • Activate project

  • In addition to the Boletos, the respective payment advice notes andpayment summaries can also be printed.
    Moreover, it is possible to create in the same or a different programrun collective transfer orders ('Duplicatas') and the correspondingfiles (via DME), including the respective data medium accompanyingsheets.
    This functionality is currently available for Banco Itaú, for BancoBradesco and for the standard Febraban layout.

    Precondition

    Boleto lots
    For the whole area of Boleto management (i.e. lots, numbering, voidingetc.), the standard check functionality is used.
    The Boletos which are ready for printing are divided up into lots. Theuser can freely define the criteria by which lots are formed (forexample, location of Boleto storage, accounting clerk or printer). TheBoleto numbers of one lot must be consecutive.
    A lot is assigned to the Boletos to be printed via a parameter whosenumber you define via the corresponding Boleto (i.e. check) lotmanagement in the system.
    IF &DEVICE& EQ 'SCREEN'.
    Proceed
    ENDIF.
    After entering the lot number, the print program independently searchesfor the first free Boleto number (even if this is in the next lotrather than in the lot specified).

    Print program configuration
    In order to assign the correct Boleto form to the Print programT042z-progn, it is necessary to enter this form in the field'Alternative Boleto form' on the selection screen of this program. As adefault, the SAP standard form for ITAU Boletos, 'J_1B_BOLETO_ITAU' isset.
    INCLUDE 'FI_RFFO_CUSTOMIZING_F110 ' OBJECT DOKU ID TX PARAGRAPH U2
    INCLUDE 'FI_RFFO_CUSTOMIZING_T042B ' OBJECT DOKU ID TX PARAGRAPH N1
    INCLUDE 'FI_RFFO_CUSTOMIZING_T042Z ' OBJECT DOKU ID TX PARAGRAPH N1

    Note:
    In the section 'Payment method classification' please mark 'paymentmethod for incoming payments' and 'bill of exchange payment request'.
    INCLUDE 'FI_RFFO_CUSTOMIZING_T042E ' OBJECT DOKU ID TX PARAGRAPH N1

    Note:
    In the section 'Grouping of items' please mark 'single payment formarked item'.
    The issuer details are used on the payment medium for city andsignature in the standard system:
    Line 1,,Name 1 of issuer
    Line 2,,Name 2 of issuer
    Line 3,,Blank
    Line 4,,City.
    INCLUDE 'FI_RFFO_CUSTOMIZING_T012D ' OBJECT DOKU ID TX PARAGRAPH N1

    Note:
    If the bank number of the recipient of the payment medium is differentfrom that of his house bank, you must maintain the former.
    Please make sure, that you maintain Brazilian specific aspects of thevendor master. This comprises in particular:
    a) Individual payment.
    b) Interest indicator.
    IF &DEVICE& EQ 'SCREEN'.
    Proceed
    ENDIF.
    For each bank account, a bank transaction type has to be maintained forcollection via DME. This bank transaction type is related to the'Carteira'.
    IF &DEVICE& EQ 'SCREEN'.
    Proceed
    ENDIF.
    In a next step, please assign a payment method to the transaction type.
    The fields 'transaction' and 'partner bank group' do not need to be
    maintained.
    IF &DEVICE& EQ 'SCREEN'.
    Proceed
    ENDIF.
    If DME is used, please maintain SAP internal instruction codes via the
    the following menue path:
    Financial Accounting -> Accounts Receivable and Accounts Payable ->Business Transactions -> Outgoing Payments -> Automatic OutgoingPayments -> Payment Media -> Data medium exchange -> Defineinstructions for payment transactions
    IF &DEVICE& EQ 'SCREEN'.
    Proceed
    ENDIF.
    For interest calculations, please specify the following:
    a) Define general terms to prepare interest on arrears calculation
    IF &DEVICE& EQ 'SCREEN'.
    Proceed
    ENDIF.
    b) Define interest calculation type
    IF &DEVICE& EQ 'SCREEN'.
    Proceed
    ENDIF.
    c) Define reference interest rates
    IF &DEVICE& EQ 'SCREEN'.
    Proceed
    ENDIF.
    d) Define reference interest values
    IF &DEVICE& EQ 'SCREEN'.
    Proceed
    ENDIF.
    e) Define time dependent terms
    IF &DEVICE& EQ 'SCREEN'.
    Proceed
    ENDIF.
    f) Interest posting
    IF &DEVICE& EQ 'SCREEN'.
    Proceed
    ENDIF.
    RESET N1
    INCLUDE 'FI_RFFO_SAPSCRIPT_LAYOUT_SET' OBJECT DOKU ID TX PARAGRAPH U2
    INCLUDE 'FI_RFFO_SAPSCRIPT_SYMBOLS ' OBJECT DOKU ID TX PARAGRAPH N1
    INCLUDE 'FI_RFFO_SAPSCRIPT_ADVICE ' OBJECT DOKU ID TX PARAGRAPH N1
    Structure of the collective transfer (standard = &T042E-ZFORN&)
    Pages
    FIRST First page of the order
    NEXT Next page
    LAST Form summary section
    Windows and text elements
    HEADER Letter header
    ADDRESS Sender and bank address
    PAGE Page numbers
    MAIN 505 Heading for the payments
    MAIN 510 Heading for the invoices
    MAIN 515 Payment information
    MAIN 520 Invoice information
    MAIN 525 Total by currency
    MAIN 530 Heading for collection
    MAIN 531 Total by currency for collection
    SUMMARY Form summary section
    Structure of the data medium accompanying sheet (standard =T042e-wforn)
    Pages
    DTA Accompanying sheet
    LAST Form summary section page per house bank
    Windows and text elements
    INLAND 535 Accompanying sheet for credit memos
    INLAND 536 Accompanying sheet for transfers
    INLAND 537 Accompanying sheet for debit notes
    SUMMARY 520 Form summary section
    Structure of the ITAU Boleto form (standard = J_1B_BOLETO_ITAU)
    Pages
    FIRST Boleto form
    Windows and text elements
    BARCODE Barcode on bottom of Boleto
    BOLETO1 Recibo do Sacado part
    BOLETO2 Ficha de Caixa part
    BOLETO3 3rd part of Boleto (incl. numerical barcode
    HLINES1 Horizontal lines for Recibo do Sacado part
    HLINES2 Horizontal lines for Ficha de Caixa part
    HLINES3 Horizontal lines for 3rd part (incl. numerical
    barcode)
    MAIN Technically necessary Window - not to be used
    SUMMARY Technically necessary Window - not to be used
    VLINES1 Vertical lines for Recibo do Sacado part
    VLINES2 Vertical lines for Ficha de Caixa part
    VLINES3 Vertical lines for 3rd part (incl. numerical
    barcode)

    Note:
    To enable the correct output of the ITAU Boleto form, severalfields of table REGUD were used to transfer Boleto specific data fromthe print program to the standard form J_1B_BOLETO_ITAU:
    REGUD-AUSFT Due date ('Vencimento')
    REGUD-TEXT3(3) Bank transaction type ('Carteira')
    REGUD-TEXT3+10(1) Natural person indicator
    REGUD-TEXT3+20(11) CPF number (Taxcode 2)
    REGUD-TEXT3+40(18) State inscr. (Taxcode 3) ('Inscr. estadual')
    REGUD-TEXT4(1) Check digit for Boleto number ('NossoNúmero')
    REGUD-TEXT5(10) Interest rate per day ('Instruções: Apos o
    vencimento ... ao dia.'
    REGUD-TEXT6(50) Instructions acc. to instruction code
    REGUD-TEXT6+50(50) Instructions acc. to instruction code
    REGUD-TEXT7(50) Instructions acc. to instruction code
    REGUD-TEXT7+50(25) Instructions acc. to instruction code
    REGUD-TEXT8(47) Barcode in numbers
    REGUD-TEXT8+50(44) Series of numbers from which the graphical
    barcode will be determined by the layout
    REGUD-TEXT9(10) Document date ('Data do Doc.')
    REGUD-TEXT9+10(9) Document (Nota Fiscal) no. ('Número do Doc.')
    INCLUDE 'FI_RFFO_SAPSCRIPT_MAINTAIN ' OBJECT DOKU ID TX PARAGRAPH AS
    RESET N1
    INCLUDE 'FI_RFFO_PAYMENT_RUN ' OBJECT DOKU ID TX PARAGRAPH U2

    Output
    INCLUDE 'FI_RFFO_OUTPUT_SPOOL ' OBJECT DOKU ID TX PARAGRAPH U2
    INCLUDE 'FI_RFFO_OUTPUT_DME ' OBJECT DOKU ID TX PARAGRAPH U2
    INCLUDE 'FI_RFFO_OUTPUT_DME_FILE ' OBJECT DOKU ID TX PARAGRAPH U3
    INCLUDE 'FI_RFFO_OUTPUT_DME_TEMSE ' OBJECT DOKU ID TX PARAGRAPH U3
    INCLUDE 'FI_RFFO_OUTPUT_ERRORMESSAGES' OBJECT DOKU ID TX PARAGRAPH U2
    INCLUDE 'FI_RFFO_SAPSCRIPT_MAINTAIN ' OBJECT DOKU ID TX PARAGRAPH AS
    RESET N1

    Boleto management
    Information on the Boletos issued can be called up via checkmanagement, line item display for sub-ledger or bank accounts, orinvoice document and payment document display. A Boleto (i.e. check)register list can also be created for the respective payment run.Errors occurring during Boleto number and document number allocationcan also be rectified using check management. You can find checkmanagement within Accounts Receivable or Accounts Payable, both partsof Financial Accounting, as well as under the "Environment" menu optionin the payment program.
    IF &DEVICE& EQ 'SCREEN'.
    Proceed
    ENDIF.
    You can access more information information on check management, esp.
    detailed solutions to possible error situations, in the FI Accounts
    INCLUDE 'FI_RFFO_OUTPUT_ERRORMESSAGES' OBJECT DOKU ID TX PARAGRAPH U2

991647FB02: Re-Convertion of the barcode not work
784748Brazil : Change in Boleto amount : 2004
101440Payment medium formats