ROIRI_MARGIN_REPORT_FORMS_02 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_02 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: Other form routines (data selections and calculations)
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
OIRA_AUTH_FILTER_LOCATIONS CALL FUNCTION 'OIRA_AUTH_FILTER_LOCATIONS' EXPORTING i_structure = l_structure i_fname_pblnr = 'OIRIPBLNR' * I_RNBT = * I_REPID = SY-REPID TABLES t_data_tab = gt_raw_s412 EXCEPTIONS ddif_tabl_get = 1 OTHERS = 2.
OIFSPBL_ARRAY_READ CALL FUNCTION 'OIFSPBL_ARRAY_READ' TABLES ioifspbl_prefetch = g_pblnr_tab oifspbl_tab = g_oifspbl_tab.
ADDR_GET_ARRAY CALL FUNCTION 'ADDR_GET_ARRAY' * IMPORTING * RETURNCODE = TABLES address_selection = g_addrsel_tab address_value = g_addr1_val_tab * ADDRESS_ADDITIONAL_INFO = * ERROR_TABLE = * ADDRESS_TEXT = * EXCEPTIONS * PARAMETER_ERROR = 1 * INTERNAL_ERROR = 2 * OTHERS = 3 .
WEEKDAY_GET CALL FUNCTION 'WEEKDAY_GET' EXPORTING language = sy-langu TABLES weekday = l_weekdays_tab EXCEPTIONS weekday_not_found = 1 OTHERS = 2.
DATE_COMPUTE_DAY CALL FUNCTION 'DATE_COMPUTE_DAY' EXPORTING date = l_outtab_02-sptag IMPORTING day = l_outtab_02-day_wotnr.
REUSE_ALV_GRID_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_GET' IMPORTING et_sort = lt_sort.
OIRA_ALV_SUBTOTALLINES_GET CALL FUNCTION 'OIRA_ALV_SUBTOTALLINES_GET' EXPORTING i_selfield = pe_selfield i_sort_tab = lt_sort i_structure = 'ROIRI_MARG_ALV' IMPORTING e_tabix_from = g_tabix_01_from e_tabix_to = g_tabix_01_to e_fieldname = pe_selfield-fieldname e_value = pe_selfield-value TABLES i_outtab_total = gt_outtab_01.
REUSE_ALV_GRID_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_GET' IMPORTING et_sort = lt_sort.
OIRA_ALV_SUBTOTALLINES_GET CALL FUNCTION 'OIRA_ALV_SUBTOTALLINES_GET' EXPORTING i_selfield = pe_selfield i_sort_tab = lt_sort i_structure = 'ROIRI_MARG_ALV' IMPORTING e_tabix_from = g_tabix_01_from e_tabix_to = g_tabix_01_to e_fieldname = pe_selfield-fieldname e_value = pe_selfield-value TABLES i_outtab_total = gt_outtab_01.
REUSE_ALV_GRID_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_GET' IMPORTING et_sort = lt_sort.
OIRA_ALV_SUBTOTALLINES_GET CALL FUNCTION 'OIRA_ALV_SUBTOTALLINES_GET' EXPORTING i_selfield = pe_selfield i_sort_tab = lt_sort i_structure = 'ROIRI_MARG_ALV_DATES' IMPORTING e_tabix_from = g_tabix_02_from e_tabix_to = g_tabix_02_to e_fieldname = pe_selfield-fieldname e_value = pe_selfield-value TABLES i_outtab_total = gt_outtab_02.
DATE_GET_WEEK call function 'DATE_GET_WEEK' EXPORTING date = sy-datum IMPORTING week = week-high EXCEPTIONS date_invalid = 1 others = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
ROIRI_MARGIN_REPORT_FORMS_02 - Other form routines (data selections and calculations) ROIRI_MARGIN_REPORT_FORMS_01 - Form routines for ALV processing ROIRI_MARGIN_REPORT - Margin Analysis report ROIRI_MARGIN_REPORT - Margin Analysis report ROIRI_LV61A_FORMS - Form routines used with exits in SAPLV61A ROIRI_LV61A_FORMS - Form routines used with exits in SAPLV61A