RAIMCRC2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The system translates the net present value automatically to the object currency only if you recalculate values from the object currency to the controlling area currency...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter RAIMCRC2 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
IMCRC2 - Currency Recalculation (App.Req.)
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.
Selection Text: PA_ALLVR = D All variants
Selection Text: PA_CAOBJ = D Object Crcy from CO Area Crcy
Selection Text: PA_GJAHR = D Approval Year
Selection Text: PA_GNJHR = D Approval Year
Selection Text: PA_OBJCA = D CO Area Crcy from Object Crcy
Selection Text: PA_PRNAM = D Investment Program
Selection Text: PA_TESTR = D Test Run
Selection Text: PA_YFROM = D Recalculate from Fiscal Year
Selection Text: SO_ABUKR = D Requesting Company Code
Selection Text: SO_IVART = D Approp.Request Type
Selection Text: SO_POSID = D Appropriation Request
Selection Text: SO_VERSI = D Version
Selection Text: SO_VKOKR = D Controlling Area
Title: Currency Recalculation of Plan for Appropriation Requests
Text Symbol: MO2 = Program was executed in test mode
Text Symbol: MO1 = Program was executed in update mode
Text Symbol: F02 = Selections
Text Symbol: F01 = Processing options
Text Symbol: 006 = Data can be updated without errors
Text Symbol: 005 = Data was updated, as long as no errors are logged
Text Symbol: 004 = Data was updated without errors
Text Symbol: 002 = No data updated
Text Symbol: 001 = Following serious error occurred:
INCLUDE SBAL_CONSTANTS.
No SAP DATABASE tables are accessed within this REPORT code!
AIPA_F4_PROGRAM CALL FUNCTION 'AIPA_F4_PROGRAM' EXPORTING i_program = gd_program i_dynnr = gd_dynnr i_fn_prnam = 'PA_PRNAM' i_fn_gjahr = 'PA_GJAHR'.
AIPA_APPL_LOG_GET_HANDLE CALL FUNCTION 'AIPA_APPL_LOG_GET_HANDLE' IMPORTING es_log_handle = gs_log_handle.
AIPA_APPL_LOG_INSERT_COMMENT CALL FUNCTION 'AIPA_APPL_LOG_INSERT_COMMENT' EXPORTING is_log_handle = gs_log_handle id_comment = text-mo1.
AIPA_APPL_LOG_INSERT_COMMENT CALL FUNCTION 'AIPA_APPL_LOG_INSERT_COMMENT' EXPORTING is_log_handle = gs_log_handle id_comment = text-mo2.
IM_ENQUEUE_IMAK CALL FUNCTION 'IM_ENQUEUE_IMAK' EXPORTING I_GENERIC = 'X' * I_SCOPE = '2' * I_WAIT = ' ' I_VARNT = 'X' * I_COLLECT = ' ' EXCEPTIONS REQUEST_LOCKED = 1 NO_POSNR_FOR_LOCK = 2 OTHERS = 3.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
AIPA_APPL_LOG_INSERT_MESSAGE CALL FUNCTION 'AIPA_APPL_LOG_INSERT_MESSAGE' EXPORTING is_log_handle = gs_log_handle is_return = gs_return.
AIPB_BAPIRET2_FILL CALL FUNCTION 'AIPB_BAPIRET2_FILL' EXPORTING type = 'I' cl = 'AO_PLANNING' number = 105 par1 = gd_count_chngd IMPORTING return = gs_return.
AIPB_BAPIRET2_FILL CALL FUNCTION 'AIPB_BAPIRET2_FILL' EXPORTING type = 'I' cl = 'AO_PLANNING' number = 106 par1 = gd_count_unchg IMPORTING return = gs_return.
AIPB_BAPIRET2_FILL CALL FUNCTION 'AIPB_BAPIRET2_FILL' EXPORTING type = 'I' cl = 'AO_PLANNING' number = 107 par1 = gd_count_error IMPORTING return = gs_return.
AIPA_APPL_LOG_INSERT_MESSAGE CALL FUNCTION 'AIPA_APPL_LOG_INSERT_MESSAGE' EXPORTING is_log_handle = gs_log_handle is_return = gs_return.
AIPA_APPL_LOG_INSERT_COMMENT CALL FUNCTION 'AIPA_APPL_LOG_INSERT_COMMENT' EXPORTING is_log_handle = gs_log_handle id_comment = text-004.
AIPA_APPL_LOG_INSERT_COMMENT CALL FUNCTION 'AIPA_APPL_LOG_INSERT_COMMENT' EXPORTING is_log_handle = gs_log_handle id_comment = text-006.
AIPA_APPL_LOG_INSERT_COMMENT CALL FUNCTION 'AIPA_APPL_LOG_INSERT_COMMENT' EXPORTING is_log_handle = gs_log_handle id_comment = text-005.
AIPA_APPL_LOG_INSERT_COMMENT CALL FUNCTION 'AIPA_APPL_LOG_INSERT_COMMENT' EXPORTING is_log_handle = gs_log_handle id_comment = text-001.
AIPA_APPL_LOG_INSERT_MESSAGE CALL FUNCTION 'AIPA_APPL_LOG_INSERT_MESSAGE' EXPORTING is_log_handle = gs_log_handle is_return = gs_return.
AIPA_APPL_LOG_INSERT_COMMENT CALL FUNCTION 'AIPA_APPL_LOG_INSERT_COMMENT' EXPORTING is_log_handle = gs_log_handle id_comment = text-002.
AIPA_APPL_LOG_WRITE_AS_LIST CALL FUNCTION 'AIPA_APPL_LOG_WRITE_AS_LIST' EXPORTING id_title = SY-TITLE.
CALL FUNCTION 'AIPA_CURR_TRANS_AR' EXPORTING ID_SOURCE = gd_cursrc ID_TARGET = gd_curtrg ID_YFROM = pa_YFROM ID_ENQUEUE = gd_enqueue ID_TEST = pa_testr IMPORTING ED_CHANGED = ld_count_chngd ed_unchngd = ld_count_unchg ed_error = ld_count_error TABLES IT_ARVERS = gt_arvers_proc ET_RETURN = gt_return_tmp EXCEPTIONS ABEND_OCCURED = 1 OTHERS = 2.
AIPB_BAPIRET2_FILL CALL FUNCTION 'AIPB_BAPIRET2_FILL' EXPORTING type = sy-msgty cl = sy-msgid number = sy-msgno par1 = sy-msgv1 par2 = sy-msgv2 par3 = sy-msgv3 par4 = sy-msgv4 IMPORTING return = gs_return.
AIPB_BAPIRET2_FILL CALL FUNCTION 'AIPB_BAPIRET2_FILL' EXPORTING type = 'W' cl = 'AO_PLANNING' number = 109 par1 = gs_arvers_proc-posnr par2 = gs_arvers_proc-varnt par3 = gs_arvers_proc-gjahr par4 = gs_arvers_proc-versi IMPORTING return = gs_return.
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 RAIMCRC2 or its description.