SAP Reports / Programs | Financials | Financial Supply Chain Management | Transaction Manager(FIN-FSCM-TRM-TM) SAP FIN

IDCFM_FRIM_CREATE_IMPAIR_F02 SAP ABAP INCLUDE - Procedures: Selection and Calculation







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


Text pool values


Title: Procedures: Selection and Calculation


INCLUDES used within this REPORT IDCFM_FRIM_CREATE_IMPAIR_F02

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:

IDCFM_FRIM_SELOPTS_READ_CONST CALL FUNCTION 'IDCFM_FRIM_SELOPTS_READ_CONST' EXPORTING iv_constant_name = lc_key_date_comp_name IMPORTING ev_constant_value = lv_element_id EXCEPTIONS not_found = 1 OTHERS = 2.

IDCFM_FRIM_SELOPTS_READ_CONST CALL FUNCTION 'IDCFM_FRIM_SELOPTS_READ_CONST' EXPORTING iv_constant_name = lc_key_date_mean_name IMPORTING ev_constant_value = lv_element_id EXCEPTIONS not_found = 1 OTHERS = 2.

IDCFM_FRIM_SELOPTS_READ_CONST CALL FUNCTION 'IDCFM_FRIM_SELOPTS_READ_CONST' EXPORTING iv_constant_name = lc_period_comp_name IMPORTING ev_constant_value = lv_element_id EXCEPTIONS not_found = 1 OTHERS = 2.

TPM_TRG_GET_PROD_CAT_RANGES CALL FUNCTION 'TPM_TRG_GET_PROD_CAT_RANGES' IMPORTING ex_rng_prod_cat_sec = l_ran_pc_sec.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = gc_str_predefined TABLES dfies_tab = lt_dfies_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

PRODUCT_TYPE_READ_SEC CALL FUNCTION 'PRODUCT_TYPE_READ_SEC' EXPORTING i_gsart = ls_tzpa-gsart IMPORTING e_tzpa = ls_tzpa EXCEPTIONS i_gsart_initial = 1 entry_not_found = 2 OTHERS = 3.

SECURITY_LOAD CALL FUNCTION 'SECURITY_LOAD' EXPORTING i_ranl = -security_id IMPORTING e_anla = ls_vwpanla e_rating = lt_vwprating.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = -period_end foreign_amount = ls_idcfm_frim_dexp-expert_val_pc foreign_currency = ls_idcfm_frim_dexp-pc_currency local_currency = -pc_currency IMPORTING local_amount = -expert_val_pc EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = -period_end foreign_amount = ls_idcfm_frim_dexp-expected_val_pc foreign_currency = ls_idcfm_frim_dexp-pc_currency local_currency = -pc_currency IMPORTING local_amount = -expected_val_pc EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = -period_end foreign_amount = ls_idcfm_frim_dexp-expert_val_vc foreign_currency = ls_idcfm_frim_dexp-vc_currency local_currency = -vc_currency IMPORTING local_amount = -expert_val_vc EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = -period_end foreign_amount = ls_idcfm_frim_dexp-expected_val_vc foreign_currency = ls_idcfm_frim_dexp-vc_currency local_currency = -vc_currency IMPORTING local_amount = -expected_val_vc EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = lc_str_predefined TABLES dfies_tab = lt_dfies_tab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET * CALL FUNCTION 'REUSE_ALV_EVENTS_GET' * EXPORTING * i_list_type = 0 * IMPORTING * et_events = l_wa_events.

REUSE_ALV_VARIANT_DEFAULT_GET * CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' * EXPORTING * i_save = 'A' * CHANGING * cs_variant = l_wa_variant * EXCEPTIONS * not_found = 1.

REUSE_ALV_FIELDCATALOG_MERGE * CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' * EXPORTING * i_structure_name = 'FTI_S_REP_CHECK_IMPAIRMENT' * CHANGING * ct_fieldcat = l_tab_fieldcat * EXCEPTIONS * inconsistent_interface = 1 * program_error = 2 * OTHERS = 3.

REUSE_ALV_GRID_DISPLAY * CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' * EXPORTING * i_callback_pf_status_set = 'SET_PF_STATUS_DISPLAY' * i_callback_user_command = 'USER_COMMAND' * i_callback_program = l_wa_repid * i_structure_name = 'FTI_S_REP_CHECK_IMPAIRMENT' * is_layout = l_wa_layout * it_fieldcat = l_tab_fieldcat * i_save = 'A' * is_variant = l_wa_variant * it_events = l_wa_events[] * it_event_exit = l_tab_event_exit * it_except_qinfo = l_tab_except_qinfo * IMPORTING * es_exit_caused_by_user = l_wa_exit_caused_by_user * TABLES * t_outtab = im_tab_item * EXCEPTIONS * program_error = 1 * OTHERS = 2.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_top_of_page.

TPM_VAL_SP_VAL_GET CALL FUNCTION 'TPM_VAL_SP_VAL_GET' EXPORTING im_tab_sp_val = im_tab_sp_val IMPORTING ex_tab_sp_val = l_tab_sp_val_found.

KCD_PROTOCOL_NUMBER_GET





CALL FUNCTION 'KCD_PROTOCOL_NUMBER_GET' IMPORTING prot_number = l_number EXCEPTIONS interval_not_found = 1 number_range_not_intern = 2 object_not_found = 3 quantity_is_0 = 4 quantity_is_not_1 = 5 interval_overflow = 6 OTHERS = 7.

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log IMPORTING e_log_handle = l_log_handle EXCEPTIONS log_header_inconsistent = 1 OTHERS = 2.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING i_log_handle = l_log_handle i_s_msg = l_s_msg.

BAL_DB_SAVE CALL FUNCTION 'BAL_DB_SAVE' EXPORTING I_T_LOG_HANDLE = lt_log_handle EXCEPTIONS LOG_NOT_FOUND = 1 SAVE_NOT_ALLOWED = 2 NUMBERING_ERROR = 3 OTHERS = 4.

GET_GLOBALS_FROM_SLVC_FULLSCR CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR' IMPORTING e_grid = lr_grid_slvc_fullscr.

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = 'E' enqueue_mode = 'S' view_name = 'VALT_SP_VAL_SEC' EXCEPTIONS client_reference = 1 foreign_lock = 2 invalid_action = 3 invalid_enqueue_mode = 4 system_failure = 5 table_not_found = 6 OTHERS = 7.

TPM_VAL_SP_VAL_POST CALL FUNCTION 'TPM_VAL_SP_VAL_POST' EXPORTING im_tab_sp_val_ins = gt_sp_val_import im_tab_sp_val_upd = gt_sp_val_update.

VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = 'D' enqueue_mode = 'S' view_name = 'VALT_SP_VAL_SEC' EXCEPTIONS client_reference = 1 foreign_lock = 2 invalid_action = 3 invalid_enqueue_mode = 4 system_failure = 5 table_not_found = 6 OTHERS = 7.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = l_wa_events.

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

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = 'A' CHANGING cs_variant = l_wa_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_pf_status_set = 'SET_PF_STATUS_EXPORT' i_callback_user_command = 'USER_COMMAND_EXPORT' i_callback_program = l_wa_repid i_structure_name = 'FTI_S_IMPAIRMENT_EXPORT' is_layout = l_wa_layout it_fieldcat = l_tab_fieldcat i_save = 'A' is_variant = l_wa_variant it_events = l_wa_events[] it_event_exit = l_tab_event_exit i_html_height_top = 175 i_grid_title = l_grid_title IMPORTING es_exit_caused_by_user = l_wa_exit_caused_by_user TABLES t_outtab = im_tab_sp_val_display EXCEPTIONS program_error = 1 OTHERS = 2.

BAL_DSP_PROFILE_DETLEVEL_GET CALL FUNCTION 'BAL_DSP_PROFILE_DETLEVEL_GET' IMPORTING e_s_display_profile = l_s_display_profile.

BAL_LOG_EXIST CALL FUNCTION 'BAL_LOG_EXIST' EXPORTING i_log_handle = ip_log_handle EXCEPTIONS LOG_NOT_FOUND = 1 OTHERS = 2.

BAL_DB_LOAD CALL FUNCTION 'BAL_DB_LOAD' EXPORTING I_T_LOG_HANDLE = lt_log_handle EXCEPTIONS NO_LOGS_SPECIFIED = 1 LOG_NOT_FOUND = 2 LOG_ALREADY_LOADED = 3 OTHERS = 4.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_t_log_handle = lt_log_handle i_s_display_profile = l_s_display_profile i_amodal = 'X' EXCEPTIONS profile_inconsistent = 1 internal_error = 2 no_data_available = 3 no_authority = 4 OTHERS = 5.



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