SAP Reports / Programs | Contract Billing | SAP Utilities | Contract Billing(IS-U-BI) SAP IS

REAEXCEP SAP ABAP Report - List of Outsorted Billing and Invoicing Documents







REAEXCEP 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 REAEXCEP 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

EA05 - Display and Release Outsortings
EAOUT - Display Outsourcing for Bill/Inv.


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 REAEXCEP. "Basic submit
SUBMIT REAEXCEP AND RETURN. "Return to original report after report execution complete
SUBMIT REAEXCEP 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: ABLEINH = D Meter Reading Unit
Selection Text: BELNR = D Billing Document Number
Selection Text: BILLRUN = No. of billing run
Selection Text: BIL_EXPN = D Billing Documents
Selection Text: BUKRS = D Company Code
Selection Text: CANCEL = D Reversed Documents
Selection Text: GPARTNER = D Business Partner
Selection Text: INV_EXPN = D Invoicing Documents
Selection Text: MANOTIN = D Manual Outsorting in Invoicing
Selection Text: MANOTSRT = D Manual Outsorting in Billing
Selection Text: MAXHITS = D Maximum Number of Hits
Selection Text: OPBEL = D Print Document Number
Selection Text: PORTION = D Portion
Selection Text: RELEASED = D Released Documents
Selection Text: SIMULATE = D Simulated Documents
Selection Text: SPARTE = D Division
Selection Text: VALID = D Billing Validation
Selection Text: VALIDIN = D Invoicing Validation
Selection Text: VERTRAG = D Contract
Selection Text: VKONT = D Contract Account
Title: List of Outsorted Billing and Invoicing Documents
Text Symbol: W23 = Reprocess billing document
Text Symbol: W22 = billing document?
Text Symbol: W21 = Do you want to reprocess the
Text Symbol: W13 = Reverse Invoicing Document
Text Symbol: W11 = Do you want to reverse the invoicing document
Text Symbol: W04 = Reversal Reason
Text Symbol: 001 = Billing
Text Symbol: 002 = Invoicing
Text Symbol: 003 = General
Text Symbol: 004 = Release Document
Text Symbol: 005 = Document Reversed
Text Symbol: 006 = Color Legend
Text Symbol: 007 = Document Not Released
Text Symbol: 008 = Billing Documents
Text Symbol: 009 = Print Documents
Text Symbol: 010 = Test
Text Symbol: 027 = Outsorting





Text Symbol: H06 = Document
Text Symbol: H07 = Cont. acct
Text Symbol: H08 = Contract
Text Symbol: H09 = Portion
Text Symbol: H10 = Business Partner
Text Symbol: H11 = Simulation
Text Symbol: H13 = Validation
Text Symbol: H14 = Man.outsrt
Text Symbol: H15 = Rel. date
Text Symbol: H20 = Rev. Date
Text Symbol: H21 = Reversed
Text Symbol: H22 = Invoicing exception list
Text Symbol: H23 = Billing exception list
Text Symbol: W01 = Do you want to reverse the
Text Symbol: W02 = billing document?
Text Symbol: W03 = Reverse billing document


INCLUDES used within this REPORT REAEXCEP

INCLUDE REAEXCEP_TOP.
INCLUDE REAEXCEP_FORMS.


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:

ISU_DB_INNERJOIN_ERCHO_SELECT CALL FUNCTION 'ISU_DB_INNERJOIN_ERCHO_SELECT' EXPORTING x_released = released x_cancelled = cancel x_simulation = sim_bil x_maxhits = maxhits TABLES t_belnr = belnr t_bukrs = bukrs t_sparte = sparte t_gpartner = gpartner t_vkont = vkont t_vertrag = vertrag t_portion = portion t_billingrunno = billrun t_ableinh = ableinh t_valid = valid t_manotsrt = manotsrt t_v_ercho = lt_v_ercho EXCEPTIONS not_found = 1 system_error = 2 OTHERS = 3.

FKK_PARTNER_HEADER_DISPLAY CALL FUNCTION 'FKK_PARTNER_HEADER_DISPLAY' EXPORTING x_partner = wa_v_ercho-gpartner IMPORTING y_text1 = wa_exceplist-bpinfo EXCEPTIONS not_found = 1 OTHERS = 2.

ISU_DB_BILL_OUTSORT_CHECK_GRP CALL FUNCTION 'ISU_DB_BILL_OUTSORT_CHECK_GRP' EXPORTING i_vertrag = wa_v_ercho-vertrag i_belnr = wa_v_ercho-belnr i_manoutsort = wa_v_ercho-manoutsort IMPORTING e_ausgrup = wa_exceplist-ausgrup e_tariftyp = wa_exceplist-tariftyp EXCEPTIONS not_found = 1 OTHERS = 2.

ISU_DB_TE327_SELECT CALL FUNCTION 'ISU_DB_TE327_SELECT' EXPORTING x_ausgrup = wa_exceplist-ausgrup x_abrvorg = wa_v_ercho-abrvorg x_validation = wa_v_ercho-validation IMPORTING y_te327 = wa_te327 EXCEPTIONS not_found = 1 system_error = 2 OTHERS = 3.

ISU_DB_INNERJOIN_ERDO_SELECT CALL FUNCTION 'ISU_DB_INNERJOIN_ERDO_SELECT' EXPORTING x_released = released x_cancelled = cancel x_simulated = simulate x_maxhits = maxhits TABLES t_portion = portion t_vkont = vkont t_gpartner = gpartner t_opbel = opbel t_validin = validin t_manotin = manotin t_v_erdo = lt_v_erdo EXCEPTIONS not_found = 1 system_error = 2 OTHERS = 3.

ISU_DB_PRINT_DOC_SINGLE CALL FUNCTION 'ISU_DB_PRINT_DOC_SINGLE' EXPORTING x_opbel = wa_v_erdo-opbel IMPORTING y_print_doc = ls_print_doc EXCEPTIONS not_found = 1 not_qualified = 2 system_error = 3 OTHERS = 4.

FKK_PARTNER_HEADER_DISPLAY CALL FUNCTION 'FKK_PARTNER_HEADER_DISPLAY' EXPORTING x_partner = wa_v_erdo-gpartner IMPORTING y_text1 = wa_exceplist_inv-bpinfo EXCEPTIONS not_found = 1 OTHERS = 2.

ISU_DB_ERDO_SELECT_DOC CALL FUNCTION 'ISU_DB_ERDO_SELECT_DOC' EXPORTING x_opbel = ls_exceplist_inv-opbel x_actual = co_true TABLES yt_erdo = t_erdo.

EMMA_CONV_OBJKEY_FVAL_INTERNAL CALL FUNCTION 'EMMA_CONV_OBJKEY_FVAL_INTERNAL' EXPORTING * IV_REFOBJTYPE = iv_refstruct = 'EVER' iv_reffield = 'VERTRAG' CHANGING cv_id = lv_objkey EXCEPTIONS invalid_busobj = 1 input_error = 2 OTHERS = 3 .

EMMA_CONV_OBJKEY_FVAL_INTERNAL





CALL FUNCTION 'EMMA_CONV_OBJKEY_FVAL_INTERNAL' EXPORTING * IV_REFOBJTYPE = iv_refstruct = 'EANLH' iv_reffield = 'ANLAGE' CHANGING cv_id = lv_objkey EXCEPTIONS invalid_busobj = 1 input_error = 2 OTHERS = 3 .

EMMA_CONV_OBJKEY_FVAL_INTERNAL CALL FUNCTION 'EMMA_CONV_OBJKEY_FVAL_INTERNAL' EXPORTING iv_refstruct = 'V_ERDO' iv_reffield = 'OPBEL' CHANGING cv_id = lv_objkey EXCEPTIONS invalid_busobj = 1 input_error = 2 OTHERS = 3.

EMMA_CONV_OBJKEY_FVAL_INTERNAL CALL FUNCTION 'EMMA_CONV_OBJKEY_FVAL_INTERNAL' EXPORTING * IV_REFOBJTYPE = iv_refstruct = 'ERCH' iv_reffield = 'BELNR' CHANGING cv_id = lv_objkey EXCEPTIONS invalid_busobj = 1 input_error = 2 OTHERS = 3 .



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