SAP Reports / Programs | Sales and Distribution | Master Data | Conditions(SD-MD-CM) SAP SD

SDBON_CHECK_IM SAP ABAP Report - Check Report for Comparison of SD Index / Selection Using Appl. Tables







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


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 SDBON_CHECK_IM. "Basic submit
SUBMIT SDBON_CHECK_IM AND RETURN. "Return to original report after report execution complete
SUBMIT SDBON_CHECK_IM 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: 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


INCLUDES used within this REPORT SDBON_CHECK_IM

INCLUDE MV130CON.
INCLUDE VBFADATA.
INCLUDE VBUPDATA.


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:

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.



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