RWB2BF07_PROFIT_SIM is a standard ABAP INCLUDE 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 RWB2BF07_PROFIT_SIM into the relevant SAP transactions such as SE38 or SE80
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.
Title: Profit Simulation Report
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
WB2_DOCUMENT_DISPLAY call function 'WB2_DOCUMENT_DISPLAY' exporting tradingcontractno = g_t_profit-tkonn exceptions no_document_number = 1 document_header_read_error = 2 others = 3.
WB2_READ_PROFIT_FIELDS_CUST call function 'WB2_READ_PROFIT_FIELDS_CUST' exporting i_tctyp = s_tctyp clear_buffer = ' ' "X tables profit_field = l_profit_fields profit_fields_text = l_profit_fields_text * PROFIT_POP = exceptions no_record_found = 1 others = 2.
REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_structure_name = 'WB2_PROFIT_CALC_WITH_POS' changing ct_fieldcat = l_fieldcat_alv exceptions inconsistent_interface = 1 program_error = 2 others = 3.
REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting i_interface_check = ' ' i_callback_program = g_repid i_callback_pf_status_set = ' ' i_callback_user_command = 'USER_COMMAND' i_callback_top_of_page = ' ' i_structure_name = 'G_T_PROFIT' i_background_id = 'ALV_BACKGROUND' is_layout = gs_layout it_fieldcat = l_fieldcat_alv i_save = g_save " should be 'A' is_variant = gs_variant it_events = gt_events[] tables t_outtab = g_t_profit exceptions others = 1.
REUSE_ALV_EVENTS_GET call function 'REUSE_ALV_EVENTS_GET' exporting i_list_type = 0 importing et_events = rt_events.
REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' exporting * i_logo = 'ENJOYSAP_LOGO' it_list_commentary = gt_list_top_of_page.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.