SAP Reports / Programs | Logistics - General | Logistics Basic Data | Retail Demand Management(LO-MD-RDM) SAP LO

RDM_BBY_DELETE SAP ABAP Report - Bonus Buy: Deletion of Bonus Buys







RDM_BBY_DELETE 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 RDM_BBY_DELETE 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

RDMBBYDELE - Delete Bonus Buy


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 RDM_BBY_DELETE. "Basic submit
SUBMIT RDM_BBY_DELETE AND RETURN. "Return to original report after report execution complete
SUBMIT RDM_BBY_DELETE 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: SO_DATBI = D .
Selection Text: SO_DATB2 = D .
Selection Text: SO_DATAB = D .
Selection Text: SO_DATA2 = D .
Selection Text: SO_BBYNR = D .
Selection Text: SO_AKTYP = D .
Selection Text: SO_AKTNR = D .
Selection Text: SO_AKART = D .
Selection Text: P_STATUS = D .
Selection Text: P_STATU2 = D .
Selection Text: P_SELBBY = Select stand-alone bonus buys
Selection Text: P_SELAKT = Select promotion bonus buys
Title: Bonus Buy: Deletion of Bonus Buys
Text Symbol: 015 = Cancel
Text Symbol: 014 = Yes
Text Symbol: 013 = bonus buy(s). Continue?
Text Symbol: 012 = You are about to delete
Text Symbol: 011 = Confirm Delete
Text Symbol: 010 = Select bonus buy assigned to promotion for delete
Text Symbol: 009 = Select stand-alone bonus buy to delete
Text Symbol: 008 = Application Log Protocol
Text Symbol: 005 = Print Log
Text Symbol: 004 = Carry Out Test Run Only
Text Symbol: 003 = Options
Text Symbol: 002 = Bonus buys assigned to promotions
Text Symbol: 001 = Bonus buys stand-alone


INCLUDES used within this REPORT RDM_BBY_DELETE

No INCLUDES are used within this REPORT code!


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:

RDMC_BBY_UI_SINGLE_READ CALL FUNCTION 'RDMC_BBY_UI_SINGLE_READ' IMPORTING es_rdmc_bby_ui = gs_rdmc_bby_ui EXCEPTIONS entry_not_found = 1 OTHERS = 2.

RDMC_BBY_UI_SINGLE_READ CALL FUNCTION 'RDMC_BBY_UI_SINGLE_READ' IMPORTING es_rdmc_bby_ui = gs_rdmc_bby_ui EXCEPTIONS entry_not_found = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_grid_title = text-008 i_structure_name = 'BAPIRET2' is_layout = ls_layout is_print = ls_print TABLES t_outtab = lt_return EXCEPTIONS program_error = 1 OTHERS = 2.

RDM_BBY_DB_DELETE CALL FUNCTION 'RDM_BBY_DB_DELETE' EXPORTING i_bbynr = i_bbynr i_lock_type = '1' "Set and remove lock i_check_authority = c_yes "Check authority i_testrun = i_testrun EXCEPTIONS db_header_not_found = 1 no_lock_possible = 2 no_authority = 3 deletion_not_possible = 4 other_error = 5 OTHERS = 99.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = ls_message-msgty cl = ls_message-msgid number = ls_message-msgno par1 = ls_message-msgv1 par2 = ls_message-msgv2 par3 = ls_message-msgv3 par4 = ls_message-msgv4 * LOG_NO = ' ' * LOG_MSG_NO = ' ' * PARAMETER = ' ' row = i_row * FIELD = ' ' IMPORTING return = ls_return.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = ls_message-msgty cl = ls_message-msgid number = ls_message-msgno par1 = ls_message-msgv1 par2 = ls_message-msgv2 par3 = ls_message-msgv3 par4 = ls_message-msgv4 * LOG_NO = ' ' * LOG_MSG_NO = ' ' * PARAMETER = ' ' row = i_row * FIELD = ' ' IMPORTING return = ls_return.

BALW_BAPIRETURN_GET2 CALL FUNCTION 'BALW_BAPIRETURN_GET2' EXPORTING type = ls_message-msgty cl = ls_message-msgid number = ls_message-msgno par1 = ls_message-msgv1 par2 = ls_message-msgv2 par3 = ls_message-msgv3 par4 = ls_message-msgv4 * LOG_NO = ' ' * LOG_MSG_NO = ' ' * PARAMETER = ' ' row = i_row * FIELD = ' ' IMPORTING return = ls_return.

DOCU_OBJECT_NAME_CONCATENATE CALL FUNCTION 'DOCU_OBJECT_NAME_CONCATENATE' EXPORTING docu_id = 'NA' element = loc_msgid addition = loc_msgno IMPORTING object = doku_objekt EXCEPTIONS OTHERS = 0.

HELP_OBJECT_SHOW CALL FUNCTION 'HELP_OBJECT_SHOW' EXPORTING dokclass = 'NA' dokname = doku_objekt * DOKTITLE = TEXT-RWA msg_var_1 = text-009 * MSG_VAR_2 = DFKKZP-WAERS TABLES links = tlinks EXCEPTIONS OTHERS = 0.

DOCU_OBJECT_NAME_CONCATENATE CALL FUNCTION 'DOCU_OBJECT_NAME_CONCATENATE' EXPORTING docu_id = 'NA' element = loc_msgid addition = loc_msgno IMPORTING object = doku_objekt EXCEPTIONS OTHERS = 0.

HELP_OBJECT_SHOW CALL FUNCTION 'HELP_OBJECT_SHOW' EXPORTING dokclass = 'NA' dokname = doku_objekt * DOKTITLE = TEXT-RWA msg_var_1 = text-010 * MSG_VAR_2 = DFKKZP-WAERS TABLES links = tlinks EXCEPTIONS OTHERS = 0.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-011 text_question = lv_text_question text_button_1 = text-014 ICON_BUTTON_1 = 'ICON_OKAY' text_button_2 = text-015 ICON_BUTTON_2 = 'ICON_CANCEL' DEFAULT_BUTTON = '1' DISPLAY_CANCEL_BUTTON = '' START_COLUMN = 25 START_ROW = 6 IMPORTING answer = l_a EXCEPTIONS TEXT_NOT_FOUND = 1 others = 2.



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