SAP Reports / Programs

J_1GAMIBOOK SAP ABAP Report - Investment Book







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

J1G_AMI - Investment Book


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 J_1GAMIBOOK. "Basic submit
SUBMIT J_1GAMIBOOK AND RETURN. "Return to original report after report execution complete
SUBMIT J_1GAMIBOOK 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: SO_ORD43 = Investment Law
Selection Text: SO_KTANW = Balance sheet account
Selection Text: SO_AKTIV = Capitalization date
Selection Text: P_REP2 = Tax free reductions
Selection Text: P_REP1 = Investments
Selection Text: P_HEAD = Headers
Selection Text: P_ALTC = Alternative Account
Selection Text: PA_XGBAF = Posted depreciation
Title: Investment Book
Text Symbol: E19 = Deprec
Text Symbol: E20 = Document No
Text Symbol: E21 = Vendor
Text Symbol: E22 = Name
Text Symbol: E23 = Acquisition Value
Text Symbol: E24 = Asset Val Trans.
Text Symbol: E25 = Tax Reduction
Text Symbol: F01 = Log of assets with errors
Text Symbol: F10 = Error message long text
Text Symbol: H01 = I n v e s t m e n t s
Text Symbol: H02 = T a x F r e e R e d u c t i o n s
Text Symbol: J01 = Page......:
Text Symbol: J02 = I n v e s t m e n t B o o k
Text Symbol: J08 = Carry forward from
Text Symbol: J09 = Carry forward to
Text Symbol: J10 = General Totals
Text Symbol: J11 = Totals per Investment Law $
Text Symbol: J12 = Acquisition Account :
Text Symbol: J13 = Depreciation Account :
Text Symbol: J14 = You must maintain table J_1GAMREP
Text Symbol: J15 = You must maintain table J_1GAMREG
Text Symbol: K01 = Factor.........:
Text Symbol: U01 = Report date:
Text Symbol: U02 = Creation date:
Text Symbol: E18 = Cap.Date
Text Symbol: 001 = LVA simulation period from
Text Symbol: 050 = to
Text Symbol: 100 = (compl.)
Text Symbol: 101 = (incompl.)





Text Symbol: 300 = Asset:
Text Symbol: 301 = SD:
Text Symbol: 302 = ED:
Text Symbol: 303 = Location:
Text Symbol: 304 = Asset Law:
Text Symbol: 305 = Claim:
Text Symbol: 306 = O.D.R.:
Text Symbol: 307 = S.D.R.:
Text Symbol: 308 = G/L Acc.:
Text Symbol: 309 = Dep.Acc.:
Text Symbol: 310 = Quan.:
Text Symbol: C03 = *** Supplementary batch specs.
Text Symbol: C04 = *** Retirement simulation
Text Symbol: E01 = Asset No
Text Symbol: E02 = SubNo
Text Symbol: E03 = Description
Text Symbol: E04 = Cap.Date
Text Symbol: E05 = Deprec
Text Symbol: E06 = Investment Reason
Text Symbol: E07 = %Inv.
Text Symbol: E08 = Investment Value
Text Symbol: E09 = Inv.Revaluation
Text Symbol: E10 = Investment CY
Text Symbol: E11 = Depr.Invest.PY
Text Symbol: E12 = Depr.Invest.CY
Text Symbol: E13 = Inv.Balance
Text Symbol: E14 = Asset No
Text Symbol: E15 = SubNo
Text Symbol: E17 = Description


INCLUDES used within this REPORT J_1GAMIBOOK

INCLUDE RASORT00.
INCLUDE RM07GRID.
INCLUDE J_1GAMSORT04.
INCLUDE RASORT08.


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:

AA_CUS_LOCAL_TOTAL_TO_TOTAL call function 'AA_CUS_LOCAL_TOTAL_TO_TOTAL' exporting i_ls_total = apos changing e_total = hlp_line.

J_2GMDM_K call function 'J_2GMDM_K' exporting i_lfa1 = lfa1 importing e_md = j_2gmd.






DATE_TO_PERIOD_CONVERT call function 'DATE_TO_PERIOD_CONVERT' exporting i_date = berdatum * I_MONMIT = 00 i_periv = t001-periv importing * E_BUPER = e_gjahr = ber_gj exceptions input_false = 1 t009_notfound = 2 t009b_notfound = 3 others = 4.

ANEP_AFARECHNEN call function 'ANEP_AFARECHNEN' exporting i_ants = hlp_ants tables t_anep = hlp_anep t_anea = hlp_anea t_anlb = hlp_anlb t_anlc = hlp_anlc t_anfm = hlp_anfm t_anlz = hlp_anlz.

ASSET_MOVEMENT_SIMULATE call function 'ASSET_MOVEMENT_SIMULATE' exporting i_anlav = anlav i_bzdat = sav_gjend i_gjahr = hlp_anlc-gjahr i_waers = sav_waer1 i_xvabg = 'X' tables t_anea = hlp_anea t_anep = hlp_anep t_anfm = hlp_anfm t_anlb = hlp_anlb t_anlc = hlp_anlc t_anlz = hlp_anlz.

FIRST_AND_LAST_DAY_IN_YEAR_GET call function 'FIRST_AND_LAST_DAY_IN_YEAR_GET' exporting i_gjahr = l_gjahr i_periv = t001-periv importing e_first_day = l_yearfirst e_last_day = l_yearlast exceptions input_false = 1 t009_notfound = 2 t009b_notfound = 3 others = 4.

FIMA_DAYS_AND_MONTHS_AND_YEARS call function 'FIMA_DAYS_AND_MONTHS_AND_YEARS' exporting i_date_from = l_datefrom i_date_to = l_dateto importing e_days = l_days * E_MONTHS = * E_YEARS = exceptions others = 1.

FIMA_DAYS_AND_MONTHS_AND_YEARS call function 'FIMA_DAYS_AND_MONTHS_AND_YEARS' exporting i_date_from = l_yearfirst i_date_to = l_yearlast importing e_days = w_ydays * E_MONTHS = * E_YEARS = exceptions others = 1.



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