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

RDM_BBY_CONFLICT_CHECK SAP ABAP Report - Bonus Buy: Check bonus buys for conflicts







RDM_BBY_CONFLICT_CHECK 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_CONFLICT_CHECK 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

RDMBBYCHECK - Check Bonus Buys


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_CONFLICT_CHECK. "Basic submit
SUBMIT RDM_BBY_CONFLICT_CHECK AND RETURN. "Return to original report after report execution complete
SUBMIT RDM_BBY_CONFLICT_CHECK VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Bonus Buy: Check Bonus Buys for conflict
Selection Text: P_HIERID = D .
Selection Text: P_LAYOUT = D .
Selection Text: P_STATUS = D .
Selection Text: P_UOM1 = Check for all UoM
Selection Text: P_UOM2 = Check against the same UoM
Selection Text: P_UOM3 = Enter a specific UoM
Selection Text: P_VKORG = D .
Selection Text: P_VTWEG = D .
Selection Text: SO_AKTNR = D .
Selection Text: SO_BBYNR = D .
Selection Text: SO_CHDAT = D .
Selection Text: SO_CHNAM = D .
Selection Text: SO_CRDAT = D .
Selection Text: SO_CRNAM = D .
Selection Text: SO_DATE = Validity Period
Selection Text: SO_MATNR = D .
Selection Text: SO_NODE = Hierarchy Node
Selection Text: SO_WERKS = D .
Selection Text: SO_WGRP = D .
Title: Bonus Buy: Check bonus buys for conflicts
Text Symbol: 038 = Currency
Text Symbol: 037 = Total Discount
Text Symbol: 003 = General settings
Text Symbol: 005 = Display result online
Text Symbol: 006 = Print log
Text Symbol: 008 = Plant Name
Text Symbol: 009 = Number of entries
Text Symbol: 010 = Material selection criteria
Text Symbol: 011 = Organizational selection criteria
Text Symbol: 013 = Bonus buy selection criteria
Text Symbol: 014 = Sales Organization Name
Text Symbol: 015 = Distribution Channel Name
Text Symbol: 016 = Price List Name
Text Symbol: 021 = Validity selection criteria for all bonus buys
Text Symbol: 022 = Buy
Text Symbol: 023 = Get
Text Symbol: 024 = Source Bonus Buy





Text Symbol: 025 = Several materials
Text Symbol: 029 = Org. level
Text Symbol: 030 = Description
Text Symbol: 031 = materials were selected
Text Symbol: 032 = Do you want to limit your selection further?
Text Symbol: 033 = Restrict Selection
Text Symbol: 034 = bonus buys were selected


INCLUDES used within this REPORT RDM_BBY_CONFLICT_CHECK

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:

WRF_MATGRP_HIERID_READ CALL FUNCTION 'WRF_MATGRP_HIERID_READ' EXPORTING vkorg = p_vkorg vtweg = p_vtweg IMPORTING pe_hierid = ls_hierid EXCEPTIONS no_database_entries = 1 no_distribution_selected = 2 no_hierarchy_found = 3 OTHERS = 4.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = sy-pfkey p_program = sy-cprog TABLES p_exclude = gt_exclude.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING p_status = sy-pfkey p_program = sy-cprog TABLES p_exclude = gt_exclude.

WRF_MATGRP_HIERID_READ CALL FUNCTION 'WRF_MATGRP_HIERID_READ' EXPORTING vkorg = p_vkorg vtweg = p_vtweg IMPORTING pe_hierid = ls_hierid EXCEPTIONS no_database_entries = 1 no_distribution_selected = 2 no_hierarchy_found = 3 OTHERS = 4.

RDM_BBY_DB_KOTAB_ANALYZE CALL FUNCTION 'RDM_BBY_DB_KOTAB_ANALYZE' EXPORTING i_vkorg = p_vkorg i_vtweg = p_vtweg it_werks = gt_plant * IT_PLTYP = it_bbynr = gt_bbynr_source it_matnr = gt_matnr_intsec IMPORTING et_db_kondn = gt_db_kondn_source et_db_vake = gt_db_vake_source.

RDM_BBY_DB_KOTAB_ANALYZE * CALL FUNCTION 'RDM_BBY_DB_KOTAB_ANALYZE' * EXPORTING * i_vkorg = p_vkorg * i_vtweg = p_vtweg * it_werks = gt_plant ** IT_PLTYP = * it_bbynr = gt_bbynr_buy_all ** IT_MATNR = * IMPORTING * et_db_kondn = gt_db_kondn_buy * et_db_vake = gt_db_vake_buy.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_structure_name = 'RDM_S_BBY_CROSS_CHECK' is_variant = gs_variant TABLES t_outtab = gt_bby_conflict_data 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_CONFLICT_CHECK or its description.