RDM_BBY_ACTIVATE 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_ACTIVATE into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
RDMBBYSTCH - Status Change
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: P_SELAKT = Select promotion bonus buys
Selection Text: P_SELBBY = Select stand-alone bonus buys
Selection Text: P_STATU2 = D .
Selection Text: P_STATUS = D .
Selection Text: SO_AKART = D .
Selection Text: SO_AKTNR = D .
Selection Text: SO_AKTYP = D .
Selection Text: SO_BBYNR = D .
Selection Text: SO_DATA2 = D .
Selection Text: SO_DATAB = D .
Selection Text: SO_DATB2 = D .
Selection Text: SO_DATBI = D .
Title: Bonus Buy: Change Status
Text Symbol: 001 = Bonus buys stand-alone
Text Symbol: 002 = Bonus buys assigned to promotions
Text Symbol: 003 = Activation
Text Symbol: 004 = Deactivation
Text Symbol: 005 = Carry Out Test Run Only
Text Symbol: 006 = Print Log
Text Symbol: 007 = Options
Text Symbol: 008 = Application Log Protocol
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
RDM_BBY_DB_ACT_DEACT CALL FUNCTION 'RDM_BBY_DB_ACT_DEACT' EXPORTING it_bbynr = gt_bbynr_standalone i_action_code = '1' "Activate i_lock_type = '1' "Set and remove lock i_check_authority = c_yes "Check authority i_testrun = p_test IMPORTING * et_konbbyh = lt_konbbyh et_return = lt_return e_commit_work_req = l_commit_work_req.
RDM_BBY_DB_ACT_DEACT CALL FUNCTION 'RDM_BBY_DB_ACT_DEACT' EXPORTING it_bbynr = gt_bbynr_standalone i_action_code = '2' "Deactivate i_lock_type = '1' "Set and remove lock i_check_authority = c_yes "Check authority i_testrun = p_test IMPORTING * et_konbbyh = lt_konbbyh et_return = lt_return e_commit_work_req = l_commit_work_req.
RDM_BBY_DB_ACT_DEACT CALL FUNCTION 'RDM_BBY_DB_ACT_DEACT' EXPORTING it_bbynr = gt_bbynr_promo i_action_code = '1' "Activate i_lock_type = '1' "Set and remove lock i_check_authority = c_yes "Check authority i_row = l_row i_testrun = p_test IMPORTING * et_konbbyh = lt_konbbyh et_return = lt_return2 e_commit_work_req = l_commit_work_req.
RDM_BBY_DB_ACT_DEACT CALL FUNCTION 'RDM_BBY_DB_ACT_DEACT' EXPORTING it_bbynr = gt_bbynr_promo i_action_code = '2' "Deactivate i_lock_type = '1' "Set and remove lock i_check_authority = c_yes "Check authority i_row = l_row i_testrun = p_test IMPORTING * et_konbbyh = lt_konbbyh et_return = lt_return2 e_commit_work_req = l_commit_work_req.
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RDM_BBY_ACTIVATE - Bonus Buy: Change Status RDM_BBY_ACTIVATE - Bonus Buy: Change Status RDMOPTFILLITEMATTRIBUTESTOP - Include RDMOPTFILLHEADERATTRIBUTESTOP RDMOPTFILLITEMATTRIBUTESF01 - Include RDMOPTFILLITEMATTRIBUTESF01 RDMOPTFILLHEADERATTRIBUTESTOP - Include RDMOPTFILLHEADERATTRIBUTESTOP RDMOPTFILLHEADERATTRIBUTESF01 - Include RDMOPTFILLHEADERATTRIBUTESF01