SAP Reports / Programs | Basis Components | BW Service API(BC-BW) SAP BC

ROSOD_CORRECTION SAP ABAP Report - Apply DataSource (OSOD) Corrections







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


Text pool values


Selection Text: P_CORR = Apply Corrections
Selection Text: P_DATE = Date
Selection Text: P_LOGS = Display Logs
Selection Text: SO_CL = Classes
Selection Text: SO_DS = DataSources
Selection Text: P_LOGNR = D .
Selection Text: P_USER = D .
Title: Apply DataSource (OSOD) Corrections
Text Symbol: 001 = Filter
Text Symbol: 002 = Logs
Text Symbol: 003 = Confirm Selection
Text Symbol: 004 = Application Logs
Text Symbol: 010 = Class
Text Symbol: 011 = DataSource


INCLUDES used within this REPORT ROSOD_CORRECTION

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:

RSA1_DSOURCE_AUTHORITY_CHECK CALL FUNCTION 'RSA1_DSOURCE_AUTHORITY_CHECK' EXPORTING i_oltpsource = csx_corr-datasource * I_APCO = i_activity = rsaot_c_authority-change EXCEPTIONS internal_error = 1 no_authority = 2 OTHERS = 3.

DB_COMMIT CALL FUNCTION 'DB_COMMIT'.

RSA1_DSOURCE_CHECK CALL FUNCTION 'RSA1_DSOURCE_CHECK' CHANGING c_cs_ds = lsx_ds.

BAL_LOG_MSG_ADD call function 'BAL_LOG_MSG_ADD' exporting i_log_handle = l_log_handle i_s_msg = ls_bal_msg exceptions log_not_found = 0.

LIST_FREE_MEMORY CALL FUNCTION 'LIST_FREE_MEMORY'.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = ls_log IMPORTING e_log_handle = l_log_handle.

BAL_DB_SAVE_PREPARE CALL FUNCTION 'BAL_DB_SAVE_PREPARE' EXPORTING i_t_replace_in_these_logs = ct_log_handle EXCEPTIONS OTHERS = 0.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING i_t_log_handle = ct_log_handle EXCEPTIONS log_not_found = 0 save_not_allowed = 0 numbering_error = 0.

BAL_DSP_PROFILE_POPUP_GET CALL FUNCTION 'BAL_DSP_PROFILE_POPUP_GET' IMPORTING e_s_display_profile = lsx_profile EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = lsx_profile i_t_log_handle = its_log_handle IMPORTING e_s_exit_command = ls_exit EXCEPTIONS OTHERS = 1.

BAL_LOG_REFRESH CALL FUNCTION 'BAL_LOG_REFRESH' EXPORTING i_log_handle = EXCEPTIONS OTHERS = 0.

BAL_DB_LOAD CALL FUNCTION 'BAL_DB_LOAD' EXPORTING i_t_lognumber = lt_lognr IMPORTING e_t_log_handle = lts_log EXCEPTIONS no_logs_specified = 1 log_not_found = 2 log_already_loaded = 3 OTHERS = 4.

BAL_DB_LOAD CALL FUNCTION 'BAL_DB_LOAD' EXPORTING i_t_lognumber = lt_lognr IMPORTING e_t_log_handle = lts_log EXCEPTIONS no_logs_specified = 1 log_not_found = 2 log_already_loaded = 3 OTHERS = 4.

BAL_DB_SEARCH CALL FUNCTION 'BAL_DB_SEARCH' EXPORTING i_s_log_filter = lsx_log_filter IMPORTING e_t_log_header = ct_logheader EXCEPTIONS OTHERS = 1.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'BALHDR' CHANGING ct_fieldcat = lt_fcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_POPUP_TO_SELECT CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT' EXPORTING i_title = 'Application Logs'(004) "#EC TEXT_DIFF * I_SELECTION = 'X' * I_ALLOW_NO_SELECTION = i_zebra = 'X' i_screen_start_column = 5 i_screen_start_line = 5 i_screen_end_column = 180 i_screen_end_line = 25 * I_CHECKBOX_FIELDNAME = * I_LINEMARK_FIELDNAME = * I_SCROLL_TO_SEL_LINE = 'X' i_tabname = 'BALHDR' it_fieldcat = lt_fcat it_excluding = lt_exclude * I_CALLBACK_PROGRAM = * I_CALLBACK_USER_COMMAND = * IS_PRIVATE = IMPORTING es_selfield = ls_selfield e_exit = l_exit TABLES t_outtab = lt_logheader EXCEPTIONS program_error = 1 OTHERS = 2.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING dyname = sy-repid dynumb = sy-dynnr translate_to_upper = 'X' TABLES dynpfields = lt_dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 invalid_parameter = 7 undefind_error = 8 double_conversion = 9 OTHERS = 10.

CONVERSION_EXIT_SDATE_INPUT CALL FUNCTION 'CONVERSION_EXIT_SDATE_INPUT' EXPORTING input = ls_dynpfields-fieldvalue IMPORTING output = l_date.

DYNP_VALUES_UPDATE





CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING dyname = sy-repid dynumb = sy-dynnr TABLES dynpfields = lt_dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 OTHERS = 8.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'DATASOURCE' * PVALKEY = ' ' dynpprog = sy-cprog dynpnr = sy-dynnr dynprofield = i_dynprofield * STEPL = 0 window_title = 'DataSource'(011) "#EC TEXT_DIFF * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' * CALLBACK_METHOD = * MARK_TAB = * IMPORTING * USER_RESET = TABLES value_tab = lt_value * FIELD_TAB = lt_field_tab * RETURN_TAB = * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

SEO_CLASS_GET CALL FUNCTION 'SEO_CLASS_GET' EXPORTING clskey = l_clskey * version = seoc_version_inactive * STATE = '0' IMPORTING * SUPERCLASS = class = ls_classdescr EXCEPTIONS not_existing = 1 deleted = 2 is_interface = 3 model_only = 4 OTHERS = 5.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'CLSNAME' * PVALKEY = ' ' dynpprog = sy-cprog dynpnr = sy-dynnr dynprofield = i_dynprofield * STEPL = 0 window_title = 'Class'(010) "#EC TEXT_DIFF * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' * CALLBACK_METHOD = * MARK_TAB = * IMPORTING * USER_RESET = TABLES value_tab = lt_value * FIELD_TAB = lt_field_tab * RETURN_TAB = * DYNPFLD_MAPPING = EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

REUSE_ALV_POPUP_TO_SELECT CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT' EXPORTING i_title = 'Confirm selection'(003) "#EC TEXT_DIFF * I_SELECTION = 'X' i_allow_no_selection = ' ' * I_ZEBRA = ' ' i_screen_start_column = 5 i_screen_start_line = 5 i_screen_end_column = 90 i_screen_end_line = 30 i_checkbox_fieldname = 'MARKED' * I_LINEMARK_FIELDNAME = * I_SCROLL_TO_SEL_LINE = 'X' i_tabname = 'LT_F4' * i_structure_name = 'xxxx' it_fieldcat = lt_fieldcat * it_excluding = lt_excluding * I_CALLBACK_PROGRAM = * I_CALLBACK_USER_COMMAND = * IS_PRIVATE = IMPORTING es_selfield = ls_selected e_exit = c_cancel TABLES t_outtab = lt_f4 EXCEPTIONS program_error = 1 OTHERS = 2.

RFC_IS_GUI_ON CALL FUNCTION 'RFC_IS_GUI_ON' EXPORTING login_check = l_login_check IMPORTING on = c_gui_on.

TH_IN_UPDATE_TASK CALL FUNCTION 'TH_IN_UPDATE_TASK' IMPORTING in_update_task = l_flg_update_task.



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