RWB2B007_PROFIT_SIM 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 RWB2B007_PROFIT_SIM into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
WB29_PROFIT - Trading Contract: Profit Simulation
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: S_BUDAT = D .
Selection Text: S_COMP = Only Incomplete Documents
Selection Text: S_EKGRP = D .
Selection Text: S_EKORG = D .
Selection Text: S_ELIFN = D .
Selection Text: S_ERDAT = D .
Selection Text: S_ERNAM = D .
Selection Text: S_KUNNR = D .
Selection Text: S_MATKL = D .
Selection Text: S_MATNR = D .
Selection Text: S_MAXL = Maximum Number of Hits (Item)
Selection Text: S_NO_DEL = Only active items
Selection Text: S_QTY_CP = Only Docs with Qty Differences
Selection Text: S_RESWK = D .
Selection Text: S_SPART = D .
Selection Text: S_TCTYP = D .
Selection Text: S_TC_REL = D .
Selection Text: S_TKONN = D .
Selection Text: S_TKSACH = D .
Selection Text: S_TK_EX = D .
Selection Text: S_VKORG = D .
Selection Text: S_VTWEG = D .
Selection Text: S_WERKS = D .
Selection Text: S_BTBSTA = D .
Selection Text: S_BSTNK = D .
Selection Text: P_VARI = D .
Selection Text: P_RELEAS = Release Functions
Title: Trading Contract: Profit Simulation
Text Symbol: 100 = Profit Simulation Report
Text Symbol: 101 = As of
Text Symbol: 102 = Executed by
Text Symbol: 105 = Current Data
Text Symbol: B00 = Trading Contract Type
Text Symbol: B01 = Trading Contract Data
Text Symbol: B02 = Partner Data
Text Symbol: B03 = Organizational Data
Text Symbol: B04 = Material Data
Text Symbol: B05 = Administrative Data
INCLUDE 2B007TOP_PROFIT_SIM.
No SAP DATABASE tables are accessed within this REPORT code!
RS_REFRESH_FROM_SELECTOPTIONS call function 'RS_REFRESH_FROM_SELECTOPTIONS' exporting curr_report = 'RWB2B007_PROFIT_SIM' tables selection_table = int_rsparams exceptions not_found = 1 no_report = 2 others = 3.
WB2_READ_CUSTOMIZING_SINGLE call function 'WB2_READ_CUSTOMIZING_SINGLE' exporting trading_contract_type = s_tctyp langu = sy-langu importing document_type_text = g_tb2bet tables application_status = g_tb2ba application_status_text = g_tb2bat exceptions contract_type_missing = 1 status_group_missing = 2 uncompletion_group_missing = 3 position_types_missing = 4 others = 5.
WB2_READ_PROFIT_FIELDS_CUST call function 'WB2_READ_PROFIT_FIELDS_CUST' exporting i_tctyp = s_tctyp clear_buffer = ' ' "X tables profit_pop = l_profit_pop exceptions no_record_found = 1 others = 2.
WB2_READ_PROFIT_POPUP_TEXT2 call function 'WB2_READ_PROFIT_POPUP_TEXT2' exporting clear_buffer = ' ' "X tables popup_data = tprofit_popup2 popup_text = tprofit_popup2_t exceptions no_record_found = 1 others = 2.
REUSE_ALV_POPUP_TO_SELECT call function 'REUSE_ALV_POPUP_TO_SELECT' exporting * i_title = 'Simulated Rate Decision' i_tabname = 'tprofit_popup2_t' it_fieldcat = gt_fieldcat[] importing es_selfield = es_selfield e_exit = l_exit tables t_outtab = tprofit_popup2_t exceptions program_error = 1 others = 2.
WB2_READ_PROFIT_POPUP_TEXT2 call function 'WB2_READ_PROFIT_POPUP_TEXT2' exporting clear_buffer = ' ' "X tables popup_data = tprofit_popup2 popup_text = tprofit_popup2_t exceptions no_record_found = 1 others = 2.
WB2_SELECT_FOR_LIST call function 'WB2_SELECT_FOR_LIST' exporting i_comp = s_comp i_filter_del_items = l_filter_del_items i_qty_cp = s_qty_cp i_maxl = s_maxl tables t_komwbhk_list = gt_komwbhk_list t_komwbhk = l_t_komwbhk t_tkonn = s_tkonn t_tkonn_ex = s_tk_ex t_tc_rel = s_tc_rel t_btbsta = s_btbsta t_kunnr = s_kunnr t_elifn = s_elifn t_vkorg = s_vkorg t_vtweg = s_vtweg t_spart = s_spart t_ekorg = s_ekorg t_ekgrp = s_ekgrp t_werks = s_werks t_matkl = s_matkl t_matnr = s_matnr t_erdat = s_erdat t_budat = s_budat t_bstnk = s_bstnk t_tksachb = s_tksach t_ernam = s_ernam exceptions no_data_found = 1 others = 2.
WB2_DISPLAY_PROFIT_WITHOUT_ALV call function 'WB2_DISPLAY_PROFIT_WITHOUT_ALV' exporting i_tkonn = l_t_komwbhk-tkonn i_tctyp = l_t_komwbhk-tctyp clear_buffer = ' ' "X i_read_db = 'X' "X tables e_t_profit = l_t_profit changing i_read_ex = g_rate_index i_sim_index = g_sim_index i_base_curr = g_base_curr i_base_rate = g_base_rate i_base_type = g_base_type exceptions document_read_error = 1 calculation_error = 2 display_error = 3 custmizing_error = 4 others = 5.
REUSE_ALV_VARIANT_F4 call function 'REUSE_ALV_VARIANT_F4' exporting is_variant = ls_disvariant i_save = 'A' importing es_variant = ls_disvariant exceptions not_found = 1 program_error = 2 others = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RWB2B007_PROFIT_SIM - Trading Contract: Profit Simulation RWB2B007_PROFIT_SIM - Trading Contract: Profit Simulation RWB2B007_OPEN_CONTROL_TOP - Include RWB2B007_OPEN_CONTROL_TOP RWB2B007_OPEN_CONTROL_F01 - Include RWB2B007_OPEN_CONTROL_F01 RWB2B007_OPEN_CONTROL - Trading Contract: Status/Quantity Overview RWB2B007_OPEN_CONTROL - Trading Contract: Status/Quantity Overview