SAP Reports / Programs

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







RDM_BBY_DELETE_02 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_02 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

RDMBBYDEL2 - Deletion of 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_02. "Basic submit
SUBMIT RDM_BBY_DELETE_02 AND RETURN. "Return to original report after report execution complete
SUBMIT RDM_BBY_DELETE_02 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_02

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:

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.

RDM_BBY_DB_LOAD CALL FUNCTION 'RDM_BBY_DB_LOAD' EXPORTING i_bbynr = ls_bbyh-bbynr IMPORTING et_wa_buy = lt_buy et_wa_get = lt_get et_wa_matgrp = lt_matgrp EXCEPTIONS db_header_not_found = 1 other_error = 2 OTHERS = 3.

PROMOTION_POSITION_DELETE CALL FUNCTION 'PROMOTION_POSITION_DELETE' EXPORTING faktnr = ls_matnr-aktnr fmatnr = ls_matnr-artnr fmebme = ls_matnr-mebme flisting_check = 'X' EXCEPTIONS wrong_parameters = 1 promotion_not_found = 2 position_not_found = 3 position_in_subsequent_process = 4 position_in_advert_medium = 5 OTHERS = 6.

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.

ENQUEUE_EWWAKH CALL FUNCTION 'ENQUEUE_EWWAKH' EXPORTING aktnr = i_aktnr *<<<<<<<<<<< begin of insertion note 545282 >>>>>>>>>>>> _scope = '3' *<<<<<<<<<<< end of insertion note 545282 >>>>>>>>>>>>>> EXCEPTIONS foreign_lock = 01 system_failure = 02.

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 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 IMPORTING return = ls_return.

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