SAP Reports / Programs | Invoicing | SAP Utilities | Invoicing(IS-U-IN) SAP IS

REAPRIN2 SAP ABAP Report - Print Collective Bill







REAPRIN2 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 REAPRIN2 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

EA64 - Print collective bill


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 REAPRIN2. "Basic submit
SUBMIT REAPRIN2 AND RETURN. "Return to original report after report execution complete
SUBMIT REAPRIN2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: TEST_PR = D Test Printout
Selection Text: SINGLEPR = Print single documents too
Selection Text: SIMU = D Document simulated
Selection Text: PARA_SET = Print parameters defined
Selection Text: OPBEL = Collective Print Document
Selection Text: ONLYNEW = D Only New Indvidual Documents
Selection Text: INVOICED = D Document has been posted
Selection Text: GENP_SET = Further Selections
Selection Text: FAEDN = Until Due Date for Net Payment
Selection Text: EXLOG = D Extended Log
Selection Text: DRUCKDAT = D Print Date
Selection Text: ABWVK = D Collective Bill Account
Title: Print Collective Bill
Text Symbol: 022 = Free Selections Defined for Fields
Text Symbol: 021 = No Free Selections Defined
Text Symbol: 020 = Dynamic Selections
Text Symbol: 010 = Dialog Collective Bill Printout
Text Symbol: 007 = Log
Text Symbol: 006 = Print and archiving parameters
Text Symbol: 005 = Reprinting
Text Symbol: 004 = Selection parameters
Text Symbol: 002 = Printing completed (see log)
Text Symbol: 001 = Print collective bill
Text Symbol: 000 = Printing canceled (see log)


INCLUDES used within this REPORT REAPRIN2

INCLUDE MEAPRIND.
INCLUDE MEAPRINO2.
INCLUDE MEAPRINI2.


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:

RS_SET_SELSCREEN_STATUS call function 'RS_SET_SELSCREEN_STATUS' exporting p_status = 'SEL' * P_PROGRAM = ' ' tables p_exclude = t exceptions others = 1.

ISU_DB_PARTNER_SET_BUFFER call function 'ISU_DB_PARTNER_SET_BUFFER' exporting x_buffer_active = co_true .

ADDR_MEMORY_CLEAR_AUTOACTIVE call function 'ADDR_MEMORY_CLEAR_AUTOACTIVE'." note 356176

ISU_S_EITERDK_SELECT_ALL call function 'ISU_S_EITERDK_SELECT_ALL' exporting * X_MAXCOUNT = 0 * X_SORT = * X_ACTUAL = x_simulated = simu x_invoiced = invoiced x_tobreleasd = tobrelsd x_coll_bill = co_true x_where = where * IMPORTING * Y_COUNT = * Y_OVERFLOW = * Y_EITERDK = tables xt_opbel = tab_opbel * xt_gpartner = tab_partner xt_vkont = tab_vkont * xt_portion = tab_portion * xt_fikey = tab_fikey * xt_abrvorg = tab_abrvorg xt_druckdat = tab_printdate xt_ergrd = tab_ergrd * xt_abwvk = tab_abwvk * xt_abwbl = tab_abwbl yt_eiterdk = t_eiterdk exceptions not_found = 1 system_error = 2 not_qualified = 3 others = 4.

EMMA_LOG_PROCESS_START call function 'EMMA_LOG_PROCESS_START' exporting iv_bparea = gc_bpa_in iv_bpcode = gc_bpc_in_print iv_tcode = tcode iv_main_bus_objtype = objtype iv_main_bus_objkey = objkey is_log_info = log_info iv_runmode = run_mode iv_massprocess = co_true iv_db_update = no_massact exceptions bparea_not_found = 1 bparea_meas_inactive = 2 bpcode_not_found = 3 logobject_subobject_not_specif = 4 system_error = 5 others = 6.

ISU_GET_ACC_ADRESS_DATA call function 'ISU_GET_ACC_ADRESS_DATA' exporting x_doc_type = '1' x_vkont = l_vkont tables yt_addressdata = print_obj-t_addressdata exceptions not_found = 1 others = 4.

ISU_PRINT_EXPANDED call function 'ISU_PRINT_EXPANDED' exporting x_printparams = print_obj-printpar x_archive_params = print_obj-archive_params x_archive_index = print_obj-archive_index x_recipient = print_obj-recipient tables xt_ranges = sel xt_ranges1 = sel1 * XT_RANGES2 = * XT_RANGES3 = * XT_RANGES4 = * XT_RANGES5 = * XT_RANGES6 = * XT_RANGES7 = * XT_RANGES8 = * XT_RANGES9 = xt_addressdata = print_obj-t_addressdata exceptions failed = 1 others = 2.

EFG_PRINT_CLOSE call function 'EFG_PRINT_CLOSE' exporting x_flg_output = print_obj-printpar-last_doc_act x_flg_finalize = print_obj-printpar-last_doc_act x_flg_clear_spoolids = co_true importing y_tab_spoolid = lt_spoolid.

ISU_INV_PF_STATUS_HANDLE call function 'ISU_INV_PF_STATUS_HANDLE' exporting x_handle = g_handle tables t_opbel = t_opbel * T_PORTION = * T_ABRVORG = exceptions iu_error = 1 system_error = 2 not_qualified = 3 others = 4.

EFG_GET_PRINT_PARAMETERS call function 'EFG_GET_PRINT_PARAMETERS' exporting x_printparams = print_obj-printpar x_archive_bor_object = co_objtype_printdoc x_archive_arc_object = co_bill_doc_typ * X_NO_DELAYED_PRINT = 'X' * X_NO_FORMKEY = 'X' * X_FORCE_SAPSCRIPT = ' ' x_no_preview = co_true x_no_ocl_active = l_te564-no_ocl_active "n914947 importing y_printparams = printparams y_archive_params = print_obj-archive_params y_archive_index = print_obj-archive_index exceptions cancelled = 1 others = 2.



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 REAPRIN2 or its description.