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

RDM_BBY_MIGRATE SAP ABAP Report - Bonus Buy: Migration of old bonus buys







RDM_BBY_MIGRATE 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_MIGRATE into the relevant SAP transactions such as SE38 or SE80


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_MIGRATE. "Basic submit
SUBMIT RDM_BBY_MIGRATE AND RETURN. "Return to original report after report execution complete
SUBMIT RDM_BBY_MIGRATE 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_MDATE = Migration date
Selection Text: P_SELAKT = Select promotion bonus buys
Selection Text: P_SELBBY = Select stand-alone bonus buys
Selection Text: SO_AKART = D .
Selection Text: SO_AKTNR = D .
Selection Text: SO_AKTYP = D .
Selection Text: SO_BBYNR = D .
Selection Text: SO_TYPE = D .
Title: Bonus Buy: Migration of old bonus buys
Text Symbol: 001 = Bonus buys stand-alone
Text Symbol: 002 = Bonus buys assigned to promotions
Text Symbol: 003 = Carry Out Test Run Only
Text Symbol: 004 = Print Log
Text Symbol: 005 = Options
Text Symbol: 006 = Application Log Protocol
Text Symbol: 010 = General


INCLUDES used within this REPORT RDM_BBY_MIGRATE

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_MIGRATE CALL FUNCTION 'RDM_BBY_DB_MIGRATE' EXPORTING i_bbynr = -bbynr i_row = l_row i_testrun = p_test IMPORTING et_return = lt_return_loop.

RDM_BBY_DB_MIGRATE CALL FUNCTION 'RDM_BBY_DB_MIGRATE' EXPORTING i_bbynr = -bbynr i_row = l_row i_testrun = p_test IMPORTING et_return = lt_return_loop.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_grid_title = text-006 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_MIGRATE or its description.