SDBON_CHECK_IM is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use this report to compare the determination of rebate-relevant billing documents using the sales and distribution index (table VBOX) and the determination of billing documents from the underlying application tables for existing rebate agreements...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 SDBON_CHECK_IM into the relevant SAP transactions such as SE38 or SE80
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: KNUMAS = Rebate Agreement
Selection Text: P_ALLREC = Result: All Records
Selection Text: P_DIFF = Result: Differences Only
Title: Check Report for Comparison of SD Index / Selection Using Appl. Tables
Text Symbol: 001 = No Difference in the Selection
Text Symbol: 002 = Use of Nonpersistent Fields: Size in Result Quantity
INCLUDE MV130CON.
INCLUDE VBFADATA.
INCLUDE VBUPDATA.
No SAP DATABASE tables are accessed within this REPORT code!
HDB_DBCON_GET_APPL CALL FUNCTION 'HDB_DBCON_GET_APPL' EXPORTING i_application = 'SD' i_subapplication = 'VBOX ' i_check_connection = 'X' IMPORTING e_dbcon_name = gf_dbcon_sbs et_message = gt_sbs_error e_hdb_is_primary_db = gf_db_is_hdb EXCEPTIONS dbcon_not_exist = 1 dbcon_no_use = 2 dbcon_error = 3 OTHERS = 4.
HDB_DBCON_GET_APPL CALL FUNCTION 'HDB_DBCON_GET_APPL' EXPORTING i_application = 'SD' i_subapplication = 'VBOX ' i_check_connection = 'X' IMPORTING e_dbcon_name = gf_dbcon_sbs et_message = gt_sbs_error e_hdb_is_primary_db = gf_db_is_hdb EXCEPTIONS dbcon_not_exist = 1 dbcon_no_use = 2 dbcon_error = 3 OTHERS = 4.
SD_REBATES_GET_INVOICES_IM CALL FUNCTION 'SD_REBATES_GET_INVOICES_IM' EXPORTING i_kappl = xvake-kappl i_kschl = xvake-kschl i_kotabnr = xvake-kotabnr i_vakey = xvake-vakey i_datab = xvake-datab i_datbi = xvake-datbi i_dbcon = gf_dbcon_sbs IMPORTING et_vbeln = lt_vbeln_im et_vbeln_posnr = lt_vbeln_posnr_im e_add_check = gf_add_check_im EXCEPTIONS OTHERS = 1.
SD_KONP_SELECT CALL FUNCTION 'SD_KONP_SELECT' EXPORTING scale_read = no TABLES condition_item = xkonp condition_number = knumh condition_scale = dummy.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING is_layout = ls_layout it_sort = lt_sort it_fieldcat = lt_fieldcat TABLES t_outtab = gt_diff_alv.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING is_layout = ls_layout it_fieldcat = lt_fieldcat it_sort = lt_sort TABLES t_outtab = gt_comp_alv.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SDBON_CHECK_IM - Check Report for Comparison of SD Index / Selection Using Appl. Tables SDBON_CHECK_IM - Check Report for Comparison of SD Index / Selection Using Appl. Tables SDBONTO5 - Program for scheduling a batch job with predecessor SDBONTO5 - Program for scheduling a batch job with predecessor SDBONTO4 - Update for rebate-relevant data fro release 4.x SDBONTO4 - Update for rebate-relevant data fro release 4.x