REA_DELETE_UNIMP is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Delete Unrelvant Billing Document Lines Use this report to delete billing document lines that are no longer relevant, from the database...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter REA_DELETE_UNIMP into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
EUNLD - Delete Unneeded Billing Doc. Lines
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.
Selection Text: P_AB = From
Selection Text: P_BIS = To
Selection Text: P_LAUFZ = Runtime restriction active
Selection Text: P_LFZDAT = End date
Selection Text: P_LFZTIM = Finish time
Selection Text: P_TESTL = Test run
Selection Text: SE_BELNR = Document number
Selection Text: SE_VKONT = Contract account
Selection Text: SE_VTRG = Contract
Title: Delete Billing Documents Lines That Are No Longer Relevant
Text Symbol: 001 = Restriction of selection amount
Text Symbol: 004 = Runtime Restriction
Text Symbol: 005 = Technical options
Text Symbol: 010 = <<< Test run >>>
Text Symbol: D02 = No. of Docs. for Which Bill.Lines no Longer Relevant Were Deleted:
Text Symbol: D03 = Number of Billing Documents Read:
Text Symbol: D20 = ERCH
Text Symbol: D43 = DBERCHZ5
Text Symbol: D44 = DBERCHZ6
Text Symbol: D45 = DBERCHZ7
Text Symbol: D46 = DBERCHZ8
INCLUDE: IEA_DELETE_UNIMP01,
MEAMAC00.
No SAP DATABASE tables are accessed within this REPORT code!
ISU_DB_ERCH_CURSOR_DELETE call function 'ISU_DB_ERCH_CURSOR_DELETE' exporting x_begabrpe = g_delete_data-ab x_endabrpe = g_delete_data-bis * X_HOLD = 'X' importing y_erch_cursor = lv_erch_cursor tables x_se_belnr = g_delete_data-ibelnr x_se_vkont = g_delete_data-ivkont x_se_vtrg = g_delete_data-ivtrg.
ISU_DB_ERCHC_MULTIPLE_SELECT call function 'ISU_DB_ERCHC_MULTIPLE_SELECT' tables xt_erch = xt_erch yt_erchc = yt_erchc exceptions not_found = 1 others = 2.
ISU_QUERY_PRINT_DOC_ARCHIVED call function 'ISU_QUERY_PRINT_DOC_ARCHIVED' exporting x_reverse_docs = x_reverse_docs tables xt_erchc = xt_erchc changing xyt_query_erdk = it_query_erdk exceptions not_found = 1 others = 2.
unimportant * Call function to delete all of the 'unimportant' info * for the ERCH entries we have determied to be 'deleteable'.
ISU_DB_ERCHZ_UNP_MULTIP_UPDATE call function 'ISU_DB_ERCHZ_UNP_MULTIP_UPDATE' exporting x_upd_mode = co_upd_delete importing y_num_dberchz5 = li_dberchz5 y_num_dberchz6 = li_dberchz6 y_num_dberchz7 = li_dberchz7 y_num_dberchz8 = li_dberchz8 tables xt_erch = xt_erch exceptions parameter_error = 1 update_error = 2 insert_error = 3 delete_error = 4 others = 5.
DB_COMMIT call function 'DB_COMMIT'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
REA_DELETE_UNIMP - Delete Billing Documents Lines That Are No Longer Relevant REA_DELETE_UNIMP - Delete Billing Documents Lines That Are No Longer Relevant REA_CREATE_WORKLIST - Create Worklists from ZINSTSET Entries REA_CREATE_WORKLIST - Create Worklists from ZINSTSET Entries REA_CHECK_SOLUTIONS - Solutions: Check Solution Paths REA_CHECK_SOLUTIONS - Solutions: Check Solution Paths