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

RAIM_GEN_FROM_ORG SAP ABAP Report - Create Investment Program







RAIM_GEN_FROM_ORG 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 RAIM_GEN_FROM_ORG 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

IM24 - Create Investment Program


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 RAIM_GEN_FROM_ORG. "Basic submit
SUBMIT RAIM_GEN_FROM_ORG AND RETURN. "Return to original report after report execution complete
SUBMIT RAIM_GEN_FROM_ORG 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_GJAHR = Approval year
Selection Text: PA_KOKRS = Controlling area
Selection Text: PA_PRNAM = Inv.prog. definition
Selection Text: PA_TEST = Test run
Title: Create Investment Program
Text Symbol: C01 = ID and text of top position
Text Symbol: ERR = The following messages were generated:
Text Symbol: H01 = Nodes
Text Symbol: SUC = The following positions were created:
Text Symbol: TES = The following positions were created:


INCLUDES used within this REPORT RAIM_GEN_FROM_ORG

INCLUDE RAIMEQU.
INCLUDE RAIM_MESSAGE_LIST_ALV.


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:

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING GJAHR = PA_GJAHR KOKRS = PA_KOKRS EXCEPTIONS NOT_FOUND = 1 NOT_FOUND_GJAHR = 2 OTHERS = 3.

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.

BAPI_EXPENDITUREPROGTREE_CREAT CALL FUNCTION 'BAPI_EXPENDITUREPROGTREE_CREAT' EXPORTING PROGRAM_IN = PA_PRNAM APPROVALYEAR_IN = PA_GJAHR LANGUAGE = SY-LANGU TABLES PROGTREE = PROGTREE RETURN = RETURN.

AIPC_POSITION_UNEDIT CALL FUNCTION 'AIPC_POSITION_UNEDIT' EXPORTING INPUT = G_POSID " Posid uneditiert.

CONVERSION_EXIT_POSID_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_POSID_OUTPUT' EXPORTING INPUT = L_POSID_S " Posid uneditiert.

CONVERSION_EXIT_ALPHA_INPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' EXPORTING INPUT = L_INPUT IMPORTING OUTPUT = L_INPUT.



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