SAP Reports / Programs | Investment Management | Capital Investments | Investment Programs(IM-FA-IP) SAP IM

RAIMGENR100 SAP ABAP Report - Create Investment Program







RAIMGENR100 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 RAIMGENR100 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 RAIMGENR100. "Basic submit
SUBMIT RAIMGENR100 AND RETURN. "Return to original report after report execution complete
SUBMIT RAIMGENR100 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: PA_FLGCC = Cost center hierarchy
Selection Text: PA_FLGPC = Profit center hierarchy
Selection Text: PA_GJAHR = Approval year
Selection Text: PA_GROUP = Group
Selection Text: PA_KOKRS = Controlling area
Selection Text: PA_PRE_H = Prefix for hierarchy area
Selection Text: PA_PRE_K = Prefix for cost ctr/profit ctr
Selection Text: PA_PRNAM = Inv.prog. definition
Selection Text: PA_TEST = Test run
Title: Create Investment Program
Text Symbol: 001 = Reference for investment program hierarchy
Text Symbol: 002 = Format of position ID


INCLUDES used within this REPORT RAIMGENR100

INCLUDE RAIMGENR_COMM.
INCLUDE RAIMGENR_ATSELSCR.


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:

FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING I_GJAHR = PA_GJAHR I_PERIV = IMTP-PERIV I_POPER = FIRST_POPER IMPORTING E_DATE = GNJHR_BEG EXCEPTIONS INPUT_FALSE = 1 T009_NOTFOUND = 2 T009B_NOTFOUND = 3 OTHERS = 4.

AIPA_GET_SET_HIERARCHY CALL FUNCTION 'AIPA_GET_SET_HIERARCHY' EXPORTING I_GROUP = PA_GROUP I_KOKRS = PA_KOKRS I_FLG_CC = PA_FLGCC I_FLG_PC = PA_FLGPC I_VALID_DATE = GNJHR_BEG " n. 183206

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = L_DYNAME DYNUMB = L_DYNUMB TABLES DYNPFIELDS = T_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.

K_GROUP_SELECT CALL FUNCTION 'K_GROUP_SELECT' EXPORTING CLASS = L_SETCLASS FIELD_NAME = L_FIELD SEARCHFLD_INPUT = ' ' TABLE = L_TABLE KOKRS = PA_KOKRS IMPORTING SETID = L_SETID EXCEPTIONS NO_SET_PICKED = 1 OTHERS = 2.

G_SET_DECRYPT_SETID CALL FUNCTION 'G_SET_DECRYPT_SETID' EXPORTING SETID = L_SETID IMPORTING SHORTNAME = L_GROUP.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING DYNAME = L_DYNAME DYNUMB = L_DYNUMB TABLES DYNPFIELDS = T_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.



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