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

REASPCAN_OLD SAP ABAP Report - Adjustment Reversal of Billing Documents







REASPCAN_OLD 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 REASPCAN_OLD 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 REASPCAN_OLD. "Basic submit
SUBMIT REASPCAN_OLD AND RETURN. "Return to original report after report execution complete
SUBMIT REASPCAN_OLD 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: BCREASON = Reason for Reversal
Selection Text: BILLSRT = Sort by End of Billing Period
Selection Text: CCOUNTER = Commit After
Selection Text: SBELNR = Billing Document Number
Selection Text: SOPBEL = D Print Document Number
Title: Adjustment Reversal of Billing Documents
Text Symbol: 000 = Reversal Terminated (See Log)...
Text Symbol: 002 = Reversal Completed (See Log)...
Text Symbol: 003 = Doc. No.
Text Symbol: 005 = Selection Parameters
Text Symbol: 008 = Commit Counter
Text Symbol: 009 = Document(s)


INCLUDES used within this REPORT REASPCAN_OLD

INCLUDE MEA21TOP.
INCLUDE IEABSWCONST.
INCLUDE MEA21PRO.
INCLUDE MEA21CAN.
INCLUDE IEABSWROUT.
INCLUDE MEA21BSWCAN.
INCLUDE IEABSWCOMTEX.
INCLUDE IEABSWCHECK.


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:

BSW_CUST_GET CALL FUNCTION 'BSW_CUST_GET' IMPORTING Y_TE672_TAB = G_TE672_TAB.

ISU_GET_BDOCS_FOR_SPECIAL_CANC CALL FUNCTION 'ISU_GET_BDOCS_FOR_SPECIAL_CANC' EXPORTING X_OPBEL = SOPBEL X_ACTUAL = 'X' TABLES YT_BELNR = I_BELNR YT_ERCH = T_ERCH EXCEPTIONS CA_DOC_NOT_FOUND = 1 BILL_DOC_NOT_FOUND = 2 PRINT_DOC_NOT_FOUND = 3 CANCELLED = 4 GENERAL_FAULT = 5 OTHERS = 6.

ISU_DB_ERCH_SELECT_RANGE CALL FUNCTION 'ISU_DB_ERCH_SELECT_RANGE' EXPORTING X_BIS = '99991231' TABLES XT_BELNR = TAB_SBELNR YT_ERCH = T_ERCH EXCEPTIONS SYSTEM_ERROR = 1 NOT_FOUND = 2 OTHERS = 3.

ADDR_MEMORY_CLEAR_AUTOACTIVE CALL FUNCTION 'ADDR_MEMORY_CLEAR_AUTOACTIVE'.

ISU_BILL_CANCELLATION CALL FUNCTION 'ISU_BILL_CANCELLATION' EXPORTING X_BELNR = WA_ERCH-BELNR X_SPCANC = 'X' X_BCREASON = BCREASON X_CORDATE = CORDATE EXCEPTIONS GENERAL_FAULT = 1 FOREIGN_LOCK = 2 SYSTEM_ERROR = 3 NOT_QUALIFIED = 4 OTHERS = 5.



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