SAP Reports / Programs | Logistics - General | Global Trade | Trading Contract(LO-GT-TC) SAP LO

RWB2BF07_PROFIT_SIM SAP ABAP INCLUDE - Profit Simulation Report







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


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


Text pool values


Title: Profit Simulation Report


INCLUDES used within this REPORT RWB2BF07_PROFIT_SIM

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:

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.



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