SAP Reports / Programs | Financials | Financial Supply Chain Management | Basic Functions(FIN-FSCM-CLM-CM-CM) SAP FIN

RFEBLB20 SAP ABAP Report - Lockbox: BAI Format Processing







RFEBLB20 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RFEBLB20 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT RFEBLB20. "Basic submit
SUBMIT RFEBLB20 AND RETURN. "Return to original report after report execution complete
SUBMIT RFEBLB20 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Lockbox: BAI Format Processing
Text Symbol: I05 = More than one document for this invoice number
Text Symbol: I04 = Document not found
Text Symbol: I03 = No line item with customer from worklist
Text Symbol: I02 = Document has already been cleared
Text Symbol: 501 = Document found
Text Symbol: 030 = Advice has been split! See log (object FIBL, subobject LOCKBOX, ID &)
Text Symbol: 025 = Unknown
Text Symbol: 024 = Customer &: advice & already exists. Check not processed
Text Symbol: 023 = Advice & with amount same as check amount exists for this customer. Payment advice transferred.
Text Symbol: 022 = Advice & with amount & exists for this customer
Text Symbol: 021 = **********************************************************************************************************************************
Text Symbol: 020 = This lockbox was already imported into bank data storage
Text Symbol: 015 = Customer identified via invoice numbers
Text Symbol: 014 = Job & for generating batch input session for bank details started.
Text Symbol: 013 = File name is &
Text Symbol: 012 = Run program RFBIDE00 to generate batch input session.
Text Symbol: 011 = Error & during JOB OPEN: batch input session for bank details not created.
Text Symbol: 010 = Error & during JOB CLOSE: batch input session for bank details not created.
Text Symbol: 009 = Lbox Bank Details;;
Text Symbol: 008 = Payment advice & & & created.
Text Symbol: 007 = Advice Total ;;
Text Symbol: 006 = Check Amount ;;
Text Symbol: 005 = No customer with MICR number
Text Symbol: 004 = More than one customer with MICR number
Text Symbol: 003 = Not all document numbers belong to a valid customer
Text Symbol: 002 = Worklist
Text Symbol: 001 = Customer uniquely identified with MICR number


INCLUDES used within this REPORT RFEBLB20

INCLUDE RFEBLB03.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

CONVERT_YEAR_WITH_THRESHOLD CALL FUNCTION 'CONVERT_YEAR_WITH_THRESHOLD' EXPORTING input = numc02 * THRESHOLD = 50 IMPORTING output = numc04 EXCEPTIONS OTHERS = 1.

GET_SHORTKEY_FOR_FEBKO CALL FUNCTION 'GET_SHORTKEY_FOR_FEBKO' EXPORTING i_tname = 'FEBKO' IMPORTING e_kukey = febko-kukey EXCEPTIONS febkey_update_error = 1.

ENQUEUE_E_FEBKO * CALL FUNCTION 'ENQUEUE_E_FEBKO' * EXPORTING ANWND = FEBKO-ANWND * ABSND = FEBKO-ABSND * AZIDT = FEBKO-AZIDT * EXCEPTIONS FOREIGN_LOCK = 1.

REMADV_SAVE_DB_ALL CALL FUNCTION 'REMADV_SAVE_DB_ALL' EXPORTING i_dialog_update = 'X'.

FIEB_SPLIT_LOCKBOX_ADVICE CALL FUNCTION 'FIEB_SPLIT_LOCKBOX_ADVICE' EXPORTING i_kukey = -kukey i_esnum = -esnum i_max_lines = -maxlines EXCEPTIONS no_lockbox = 1 not_possible = 2 no_advice = 3 OTHERS = 4.

JV_BUKRS_ACTIVE CALL FUNCTION 'JV_BUKRS_ACTIVE' EXPORTING bukrs = lavip-bukrs IMPORTING active = jv_active.

REMADV_INSERT CALL FUNCTION 'REMADV_INSERT' EXPORTING i_avik = avik i_rfradc = rfradc IMPORTING e_rfradc = rfradc TABLES t_avip = xavip t_avir = xavir EXCEPTIONS error = 1 no_number_entered = 2 no_authority = 3 already_existing = 4 company_not_defined = 5 country_not_defined = 6 OTHERS = 7.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES t_mesg = xmesg.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = 'FI_LOCKBOX_ADD_NEW_BANK_DETAILS' parameter_1 = bd_file IMPORTING file_name = bd_file.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = jobname jobgroup = 'FEB ' IMPORTING jobcount = jobcount EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobname = jobname jobcount = jobcount strtimmed = 'X' EXCEPTIONS cant_start_immediate = 1 invalid_startdate = 2 jobname_missing = 3 job_close_failed = 4 job_nosteps = 5 job_notex = 6 lock_failed = 7 OTHERS = 8.

DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.

FIEB_SPLIT_LOCKBOX_ADVICE call function 'FIEB_SPLIT_LOCKBOX_ADVICE' exporting i_kukey = -kukey i_esnum = -esnum i_max_lines = -maxlines exceptions NO_LOCKBOX = 1 NOT_POSSIBLE = 2 NO_ADVICE = 3 OTHERS = 4.

REMADV_POSITIONS_READ CALL FUNCTION 'REMADV_POSITIONS_READ' EXPORTING i_avik = avik TABLES t_avip = xavip EXCEPTIONS nothing_found = 1 OTHERS = 2.

REMADV_SUBPOSITIONS_READ CALL FUNCTION 'REMADV_SUBPOSITIONS_READ' EXPORTING i_avik = avik TABLES t_avir = xavir EXCEPTIONS nothing_found = 1 OTHERS = 2.

REMADV_DELETE CALL FUNCTION 'REMADV_DELETE' EXPORTING i_avik = avik i_popup = ' ' i_without_check = 'X' EXCEPTIONS OTHERS = 1.

REMADV_SAVE_DB_ALL CALL FUNCTION 'REMADV_SAVE_DB_ALL' EXPORTING i_dialog_update = 'X'.

FEB_OPEN_FI_CALL_1





CALL FUNCTION 'FEB_OPEN_FI_CALL_1' EXPORTING i_febko = febko i_febep = febep i_testrun = ' ' IMPORTING e_febko = febko e_febep = febep TABLES T_FEBCL = xfebcl "hw731498 t_febre = xfebre.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name RFEBLB20 or its description.