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

RDM_BBY_ACTIVATE SAP ABAP Report - Bonus Buy: Change Status







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


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

RDMBBYSTCH - Status Change


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


INCLUDES used within this REPORT RDM_BBY_ACTIVATE

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:

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.



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