SAP Reports / Programs | Service Station Retailing | Industry Solution Oil | Service Station Retailing(IS-OIL-DS-SSR) SAP IS

ROIRI_MARGIN_REPORT_FORMS_01 SAP ABAP INCLUDE - Form routines for ALV processing







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


Text pool values


Title: Form routines for ALV processing


INCLUDES used within this REPORT ROIRI_MARGIN_REPORT_FORMS_01

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:

REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = c_save CHANGING cs_variant = g_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = g_variant i_save = c_save IMPORTING e_exit = g_exit es_variant = ls_variant "SO7K119186 JHL EXCEPTIONS not_found = 1.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' I_BUFFER_ACTIVE = ' ' i_callback_program = c_repid * I_STRUCTURE_NAME = is_layout = gs_layout it_fieldcat = gt_fieldcat[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * it_sort = gs_sorttab[] * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = c_save is_variant = g_variant it_events = gt_events[] * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_BUFFER_ACTIVE = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = c_repid i_internal_tabname = 'GT_OUTTAB_01' i_structure_name = 'ROIRI_MARG_ALV' CHANGING ct_fieldcat = pt_fieldcat EXCEPTIONS inconsistent_interface = 0 program_error = 0 OTHERS = 0.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = c_repid i_internal_tabname = 'GT_OUTTAB_02' i_structure_name = 'ROIRI_MARG_ALV_DATES' CHANGING ct_fieldcat = pt_fieldcat EXCEPTIONS inconsistent_interface = 0 program_error = 0 OTHERS = 0.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = c_repid i_internal_tabname = 'GT_OUTTAB_03' i_structure_name = 'ROIRI_MARG_ALV_MRGELEMENTS' CHANGING ct_fieldcat = pt_fieldcat EXCEPTIONS inconsistent_interface = 0 program_error = 0 OTHERS = 0.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = pt_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

OIRA_ANALYSIS_CURRENCY_GET CALL FUNCTION 'OIRA_ANALYSIS_CURRENCY_GET' EXPORTING I_CURRENCY = g_analysis_currency I_TYPE_OF_RATE = g_type_of_rate I_CONVERSION_DATE = g_conversion_date IMPORTING E_CURRENCY = l_analysis_currency E_TYPE_OF_RATE = l_type_of_rate E_CONVERSION_DATE = l_conversion_date EXCEPTIONS DIALOG_CALNCELLED = 1 OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.

DDIF_NAMETAB_GET call function 'DDIF_NAMETAB_GET' exporting tabname = 'ROIRI_S412' TABLES DFIES_TAB = l_dfies_tab EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = g_conversion_date FOREIGN_AMOUNT = FOREIGN_CURRENCY = LOCAL_CURRENCY = g_analysis_currency TYPE_OF_RATE = g_type_of_rate IMPORTING LOCAL_AMOUNT = EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 4 DERIVED_2_TIMES = 5 OTHERS = 6.



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