SAP Reports / Programs | Investment Management | Capital Investments | Information System(IM-FA-IS) SAP IM

RAICENS2 SAP ABAP Report - IM Summarization: Output Assigned Enities to File







RAICENS2 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 RAICENS2 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

IMB4 - IM Summariz: Entities in file


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


Text pool values


Output assigned entities to file
Selection Text: G_XSFILE = D Use settings from file
Selection Text: G_SFILE = File name-settings on app.serv
Selection Text: G_RFCDES = D RFC destination in other systm
Selection Text: G_REQ = D Appropriation Requests
Selection Text: G_PRCTR = D Profit Centers
Selection Text: G_PLANT = D Plants
Selection Text: G_PC_F = Presentation Server
Selection Text: G_MEAS = D Measures
Selection Text: G_LOCAL = D Use local settings
Selection Text: G_IPROG = D Investment Program
Selection Text: G_FUNCL = D Functional Locations
Selection Text: G_FILEPC = File Name
Selection Text: G_FILE = File Name
Selection Text: G_COCTR = D Cost Centers
Selection Text: G_CENTRL = D Settings from other system
Selection Text: G_APPRYR = D Approval Year
Selection Text: G_APPL_F = Application Server
Title: IM Summarization: Output Assigned Enities to File
Text Symbol: T01 = Specify output file
Text Symbol: F01 = Output File
Text Symbol: B02 = Scale for appropriation requests or measures
Text Symbol: B01 = Entities
Text Symbol: 020 = Selected Records


INCLUDES used within this REPORT RAICENS2

RAICFORM, " ALLGEMEINE ROUTINEN.


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:

AIPA_CHECK_SUBTREE_INVPROG CALL FUNCTION 'AIPA_CHECK_SUBTREE_INVPROG' EXPORTING I_PRNAM = G_IPROG I_GJAHR = G_APPRYR.

WS_FILENAME_GET CALL FUNCTION 'WS_FILENAME_GET' EXPORTING " DEF_FILENAME = ' ' " DEF_PATH = ' ' MASK = ',*.*,*.*.'

F4_RFC_DESTINATIONS CALL FUNCTION 'F4_RFC_DESTINATIONS' EXPORTING TYPE = '3' * DESTINATION = '*' IMPORTING RESULT = G_RFCDES.

AICL_COMPRESSION_SETTINGS_GET CALL FUNCTION 'AICL_COMPRESSION_SETTINGS_GET' EXPORTING I_FLG_READ_LOCAL = G_LOCAL I_FLG_READ_FROM_FILE = G_XSFILE I_FILE = G_SFILE I_FLG_READ_VIA_RFC = G_CENTRL I_RFCDEST = G_RFCDES IMPORTING ES_ERROR_MESSAGE = GS_ERROR_MESSAGE ET_IGNORE_SCALES = GT_COMPR_SCALES[].

AIC3_ASSIGNED_ENTITIES_SELECT CALL FUNCTION 'AIC3_ASSIGNED_ENTITIES_SELECT' EXPORTING I_FLG_INTERNAL = ' ' I_INV_PROG = G_IPROG I_APPR_YEAR = G_APPRYR * I_FROM_PROG_POS = ' ' * I_LANGU = SY-LANGU I_FLG_REQUESTS = G_REQ I_FLG_MEASURES = G_MEAS I_FLG_PROFIT_CTR = G_PRCTR I_FLG_COSTCENTERS = G_COCTR I_FLG_PLANTS = G_PLANT I_FLG_FUNCTLOCS = G_FUNCL IMPORTING ES_ERROR_MESSAGE = GS_ERROR_MESSAGE TABLES IT_SCALES_TO_COMPRESS = GT_COMPR_SCALES[] ET_REQUESTS = GT_REQUESTS[] ET_MEASURES = GT_MEASURES[] ET_PROFIT_CTR = GT_PROFIT_CTR[] ET_COSTCENTERS = GT_COSTCENTERS[] ET_PLANTS = GT_PLANTS[] ET_FUNCTLOCS = GT_FUNCTLOCS[] ET_ERROR_MESSAGES = GT_MESSAGES[].

AICF_TABLE_WRITE_TO_DATASET CALL FUNCTION 'AICF_TABLE_WRITE_TO_DATASET' EXPORTING I_FILE = G_FILE IT_TAB = GT_REQUESTS[] I_TABNAME = IMIS_CON_S_TABNAME-REQUESTS.

AICF_TABLE_WRITE_TO_DATASET CALL FUNCTION 'AICF_TABLE_WRITE_TO_DATASET' EXPORTING I_FILE = G_FILE IT_TAB = GT_MEASURES[] I_TABNAME = IMIS_CON_S_TABNAME-MEASURES.

AICF_TABLE_WRITE_TO_DATASET CALL FUNCTION 'AICF_TABLE_WRITE_TO_DATASET' EXPORTING I_FILE = G_FILE IT_TAB = GT_PROFIT_CTR[] I_TABNAME = IMIS_CON_S_TABNAME-PROFIT_CTR.

AICF_TABLE_WRITE_TO_DATASET CALL FUNCTION 'AICF_TABLE_WRITE_TO_DATASET' EXPORTING I_FILE = G_FILE IT_TAB = GT_COSTCENTERS[] I_TABNAME = IMIS_CON_S_TABNAME-COSTCENTER.

AICF_TABLE_WRITE_TO_DATASET CALL FUNCTION 'AICF_TABLE_WRITE_TO_DATASET' EXPORTING I_FILE = G_FILE IT_TAB = GT_PLANTS[] I_TABNAME = IMIS_CON_S_TABNAME-PLANTS.

AICF_TABLE_WRITE_TO_DATASET CALL FUNCTION 'AICF_TABLE_WRITE_TO_DATASET' EXPORTING I_FILE = G_FILE IT_TAB = GT_FUNCTLOCS[] I_TABNAME = IMIS_CON_S_TABNAME-FUNCTLOCS.

AICF_TABLE_WRITE_TO_PC_TAB CALL FUNCTION 'AICF_TABLE_WRITE_TO_PC_TAB' EXPORTING I_TABNAME = IMIS_CON_S_TABNAME-REQUESTS IT_TAB = GT_REQUESTS[] CHANGING CT_RAW_DATA = GT_RAW_DATA[].

AICF_TABLE_WRITE_TO_PC_TAB CALL FUNCTION 'AICF_TABLE_WRITE_TO_PC_TAB' EXPORTING I_TABNAME = IMIS_CON_S_TABNAME-MEASURES IT_TAB = GT_MEASURES[] CHANGING CT_RAW_DATA = GT_RAW_DATA[].

AICF_TABLE_WRITE_TO_PC_TAB CALL FUNCTION 'AICF_TABLE_WRITE_TO_PC_TAB' EXPORTING I_TABNAME = IMIS_CON_S_TABNAME-PROFIT_CTR IT_TAB = GT_PROFIT_CTR[] CHANGING CT_RAW_DATA = GT_RAW_DATA[].

AICF_TABLE_WRITE_TO_PC_TAB CALL FUNCTION 'AICF_TABLE_WRITE_TO_PC_TAB' EXPORTING I_TABNAME = IMIS_CON_S_TABNAME-COSTCENTER IT_TAB = GT_COSTCENTERS[] CHANGING CT_RAW_DATA = GT_RAW_DATA[].

AICF_TABLE_WRITE_TO_PC_TAB CALL FUNCTION 'AICF_TABLE_WRITE_TO_PC_TAB' EXPORTING I_TABNAME = IMIS_CON_S_TABNAME-PLANTS IT_TAB = GT_PLANTS[] CHANGING CT_RAW_DATA = GT_RAW_DATA[].

AICF_TABLE_WRITE_TO_PC_TAB CALL FUNCTION 'AICF_TABLE_WRITE_TO_PC_TAB' EXPORTING I_TABNAME = IMIS_CON_S_TABNAME-FUNCTLOCS IT_TAB = GT_FUNCTLOCS[] CHANGING CT_RAW_DATA = GT_RAW_DATA[].

AICF_TABLE_WRITE_TO_PC CALL FUNCTION 'AICF_TABLE_WRITE_TO_PC' EXPORTING I_FILE = G_FILEPC IT_RAW_DATA = GT_RAW_DATA[].



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