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

RV15B001 SAP ABAP Report - Rebate: Create New Index for Rebate Processing (Table VBOX)







RV15B001 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The rebate index is used internally in order to settle rebate agreements that have been created retrospectively and in order to display the drill-downs, i...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 RV15B001 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

OVB3 - Rebate: Reorganiz. of Billing Index


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 RV15B001. "Basic submit
SUBMIT RV15B001 AND RETURN. "Return to original report after report execution complete
SUBMIT RV15B001 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Rebate: Create New Index for Rebate Processing (Table VBOX)
Text Symbol: 001 = Continue every ;;
Text Symbol: 002 = Day(s)
Text Symbol: 004 = No
Text Symbol: 005 = Billing document determination without rebate index is active
Text Symbol: 006 = Check in documentation whether reorganization is necessary
Text Symbol: 007 = Do all open agreements have to be recalculated?
Text Symbol: 008 = Reorganize Rebate Idx
Text Symbol: 009 = Yes
Text Symbol: 010 = Max. runtime ;;
Text Symbol: 011 = Hour(s)
Text Symbol: 020 = First run on
Text Symbol: 021 = at ;;
Text Symbol: 030 = First delete table content
Text Symbol: 040 = Billing document
Text Symbol: 041 = to ;;
Text Symbol: 100 = Scope of index structure (Table VBOX)
Text Symbol: 200 = Program Flow


INCLUDES used within this REPORT RV15B001

INCLUDE MV130CON.


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 = lf_dbcon_sbs et_message = lt_sbs_error e_hdb_is_primary_db = lf_db_is_hdb EXCEPTIONS dbcon_not_exist = 1 dbcon_no_use = 2 dbcon_error = 3 OTHERS = 4.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-008 DIAGNOSE_OBJECT = 'RBT_REBUILD' text_question = text-007 text_button_1 = 'Ja'(009) icon_button_1 = 'ICON_OKAY' text_button_2 = 'Nein'(004) icon_button_2 = 'ICON_CANCEL' default_button = '2' display_cancel_button = ' ' popup_type = 'ICON_MESSAGE_WARNING' iv_quickinfo_button_1 = text-009 iv_quickinfo_button_2 = text-004 IMPORTING answer = l_answer EXCEPTIONS text_not_found = 1.

ENQUEUE_EVKONAE CALL FUNCTION 'ENQUEUE_EVKONAE' EXCEPTIONS FOREIGN_LOCK = 01 SYSTEM_FAILURE = 02.

DEQUEUE_EVKONAE CALL FUNCTION 'DEQUEUE_EVKONAE'.

VIEW_KURGV CALL FUNCTION 'VIEW_KURGV' EXPORTING COMWA = VTCOM IMPORTING RGWA = KURGV EXCEPTIONS NO_KNA1 = 1 NO_KNVV = 2 NO_KNKK = 3 NO_TVTA = 4 ERROR_MESSAGE = 5 OTHERS = 6.

REBATE_INDEX_BUILD_INVOICE CALL FUNCTION 'REBATE_INDEX_BUILD_INVOICE' EXPORTING RIB_VBRK = VBRK_TAB RIB_VBRP = VBRP_TAB TABLES VBPA_TAB = VBPA_TAB.

REBATE_INDEX_SAVE CALL FUNCTION 'REBATE_INDEX_SAVE' EXPORTING UPDATE_TASK = SPACE.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING JOBNAME = TBTCO-JOBNAME IMPORTING JOBCOUNT = TBTCO-JOBCOUNT.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING JOBCOUNT = TBTCO-JOBCOUNT JOBNAME = TBTCO-JOBNAME STRTIMMED = SUBMIT_IMMID.

JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING JOBCOUNT = TBTCO-JOBCOUNT JOBNAME = TBTCO-JOBNAME SDLSTRTDT = SDLSTRTDT SDLSTRTTM = SDLSTRTTM.



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