SAP Reports / Programs

RAITAR01 SAP ABAP Report - Asset Register (Italy)







RAITAR01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The asset register is a report required by law in Italy...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 RAITAR01 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

AR23 - Italy: Asset register


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 RAITAR01. "Basic submit
SUBMIT RAITAR01 AND RETURN. "Return to original report after report execution complete
SUBMIT RAITAR01 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_GSBER = Business area
Selection Text: SO_GWGKL = Low value assets classes
Selection Text: SO_IMWGK = Intangible assets classes
Selection Text: SO_KOSTL = Cost center
Selection Text: SO_KTANW = Balance sheet account
Selection Text: SO_KTOGR = Account determination key
Selection Text: SO_STORT = Location
Selection Text: SO_WERKS = Plant
Selection Text: ANLAGE = ?...(ANLAGE)
Selection Text: BERDATUM = ?...(BERDATUM)
Selection Text: BEREICH1 = ?...(BEREICH1)
Selection Text: BEREICH2 = ?...(BEREICH2)
Selection Text: BEREICH3 = ?...(BEREICH3)
Selection Text: BUCH-PER = ?...(BUCH-PER)
Selection Text: BUKRS = ?...(BUKRS)
Selection Text: EACHYEAR = ?...(EACHYEAR)
Selection Text: INDEXNAM = ?...(INDEXNAM)
Selection Text: INDEXTYP = ?...(INDEXTYP)
Selection Text: PA_ENDM = ?...(PA_ENDM)
Selection Text: PA_SIMDB = ?...(PA_SIMDB)
Selection Text: PA_SIMDV = ?...(PA_SIMDV)
Selection Text: SIMVAR = ?...(SIMVAR)
Selection Text: SO_ANLUE = ?...(SO_ANLUE)
Selection Text: SO_EAUFN = ?...(SO_EAUFN)
Selection Text: SO_PSPNR = ?...(SO_PSPNR)
Selection Text: SPRACHE = ?...(SPRACHE)
Selection Text: SRTVR = ?...(SRTVR)
Selection Text: SUMMB = ?...(SUMMB)
Selection Text: UNTNR = ?...(UNTNR)
Selection Text: VERMLST = ?...(VERMLST)
Selection Text: VERSN = ?...(VERSN)
Selection Text: XEINZEL = ?...(XEINZEL)
Selection Text: XUNTNR = ?...(XUNTNR)
Selection Text: DEP_AREA = Depreciation area
Selection Text: PA_GITVS = History sheet version
Selection Text: PA_LSSEP = List Separation
Selection Text: PA_MIKRO = Print microfiche line
Selection Text: PA_SRTVR = Sort version





Selection Text: PA_SUMMB = Summary report
Selection Text: PA_TITEL = Supplementary title
Selection Text: SO_AFASL = Depreciation key
Selection Text: SO_AKTIV = Capitalization date
Selection Text: SO_ANLKL = Asset class
Selection Text: SO_GEGST = Technical asset number
Title: Asset Register (Italy)
Text Symbol: 002 = Acquisition costs
Text Symbol: 003 = Location:
Text Symbol: 004 = Lic.plate:
Text Symbol: 005 = Year:
Text Symbol: 006 = Desc.:
Text Symbol: 007 = Asst.No:
Text Symbol: 050 = to
Text Symbol: 060 = Acquis. val.;
Text Symbol: 070 = Total ;
Text Symbol: 085 = % Ord.dep:
Text Symbol: 090 = % Spec.dep:
Text Symbol: 100 = (compl.) ;
Text Symbol: 101 = (incompl.) ;
Text Symbol: BL1 = Further selections
Text Symbol: BL2 = Further settings
Text Symbol: C02 = Additional sorting by value field
Text Symbol: C03 = Additional specifications for batch run
Text Symbol: F01 = Log of assets with errors
Text Symbol: F10 = Error message long text
Text Symbol: U01 = Report date: ;
Text Symbol: U02 = Creation date:


INCLUDES used within this REPORT RAITAR01

INCLUDE RASORT04.


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:

PF_STATUS_SET CALL FUNCTION 'PF_STATUS_SET' EXPORTING I_STATUS = 'LIST' I_SUMMB = SUMMB TABLES T_EXCLKEY = EXCLKEY.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = 'ANLA' FIELDNAME = ' ' LANGU = SY-LANGU LFIELDNAME = 'BUKRS' IMPORTING DFIES_WA = DFIES_WA EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = 'ANLA' FIELDNAME = ' ' LANGU = SY-LANGU LFIELDNAME = 'TXT_50' IMPORTING DFIES_WA = DFIES_WA EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = BERDATUM I_MONMIT = T093C-MONMIT I_PERIV = T001-PERIV IMPORTING E_GJAHR = SAV_GJAHR.






FIRST_DAY_IN_PERIOD_GET CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET' EXPORTING I_GJAHR = SAV_GJAHR I_PERIV = T001-PERIV I_POPER = CON_POPER I_MONMIT = T093C-MONMIT IMPORTING E_DATE = SAV_GJBEG.

LAST_DAY_IN_YEAR_GET CALL FUNCTION 'LAST_DAY_IN_YEAR_GET' EXPORTING I_DATE = BERDATUM I_PERIV = T001-PERIV IMPORTING E_DATE = SAV_GJEND EXCEPTIONS INPUT_FALSE = 01 T009_NOTFOUND = 02 T009B_NOTFOUND = 03.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = SY-DATLO I_MONMIT = T093C-MONMIT I_PERIV = T001-PERIV IMPORTING E_GJAHR = SAV_AKTJHR.

VIEW_GET_FIELDTAB CALL FUNCTION 'VIEW_GET_FIELDTAB' EXPORTING VIEW_NAME = 'T090I' TABLES FIELDTAB = NAMETAB.

T090C_READ CALL FUNCTION 'T090C_READ' "HW 197812 EXPORTING "HW 197812 f_t090c = t090c "HW 197812 I_BUKRS = t093c-bukrs "HW 197812 IMPORTING "HW 197812 F_T090C = t090c "HW 197812 EXCEPTIONS "HW 197812 NOT_FOUND = 1 "HW 197812 NOT_ACTIV = 2 "HW 197812 OTHERS = 3. "HW 197812

T090_READ CALL FUNCTION 'T090_READ' "HW 197812 TABLES "HW 197812 T_T090P = lt_t090p "HW 197812 CHANGING "HW 197812 f_t090 = ls_t090 "HW 197812 EXCEPTIONS "HW 197812 NOT_FOUND = 1 "HW 197812 OTHERS = 2. "HW 197812

T090_READ CALL FUNCTION 'T090_READ' "HW 197812 TABLES "HW 197812 T_T090P = lt_t090p "HW 197812 CHANGING "HW 197812 f_t090 = ls_t090 "HW 197812 EXCEPTIONS "HW 197812 NOT_FOUND = 1 "HW 197812 OTHERS = 2. "HW 197812

AA_CUS_LOCAL_TOTAL_TO_TOTAL CALL FUNCTION 'AA_CUS_LOCAL_TOTAL_TO_TOTAL' EXPORTING I_LS_TOTAL = APOS CHANGING E_TOTAL = hlp_line.

HELPSCREEN_NA_CREATE CALL FUNCTION 'HELPSCREEN_NA_CREATE' EXPORTING LANGU = SY-LANGU MELDUNG = MSGH-MELDUNG MELD_ID = MSGH-MELD_ID MELD_NR = MSGH-MELD_NR TITEL = MSGH-TITEL MSGV1 = MSGH-MSGV1 MSGV2 = MSGH-MSGV2 MSGV3 = MSGH-MSGV3 MSGV4 = MSGH-MSGV4.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' "< 1019601 EXPORTING input = PAGNO_ALPHA "< 1019601 IMPORTING output = PAGNO_ALPHA. "< 1019601

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = ddic_tabname lfieldname = ddic_fieldname IMPORTING dfies_wa = wa_dfies EXCEPTIONS OTHERS = 0.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = ddic_tabname lfieldname = ddic_fieldname IMPORTING dfies_wa = wa_dfies EXCEPTIONS OTHERS = 0.

T093B_READ_VIRTUAL CALL FUNCTION 'T093B_READ_VIRTUAL' * IMPORTING * E_VIRTUAL = CHANGING F_T093B = T093B EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

AREP_FBEZ_ERMITTELN CALL FUNCTION 'AREP_FBEZ_ERMITTELN' EXPORTING i_feld = FELD i_content = FBE_CONTENT i_anlav = ANLAV i_bereich1 = LV_AFABE i_berdat = BERDATUM IMPORTING E_BEZ = FBE_BEZ.

FI_IMPORT_BALANCE_SHEET_TEXT * CALL FUNCTION 'FI_IMPORT_BALANCE_SHEET_TEXT' * EXPORTING * SPRACHE = SY-LANGU * VERSION = T093B-VERSN_011 * TABLES * X011Q = L_011Q * EXCEPTIONS * TEXT_NOT_FOUND = 1.

RK_KOKRS_FIND * CALL FUNCTION 'RK_KOKRS_FIND' * EXPORTING * BUKRS = ANLAV-BUKRS * GSBER = ANLAV-GSBER * IMPORTING * KOKRS = L_KOKRS * EXCEPTIONS * OTHERS = 1.

RK_KOSTL_READ * CALL FUNCTION 'RK_KOSTL_READ' * EXPORTING * DATUM = BERDATUM * KOKRS = L_KOKRS * KOSTL = FBE_CONTENT * SPRAS = SY-LANGU * IMPORTING * KTEXT = L_KTEXT * EXCEPTIONS * OTHERS = 1.

xxl_full_api * call function 'xxl_full_api' mit Fehlerbehandlung * *---------------------------------------------------------------------* * --> XXL_D * *---------------------------------------------------------------------* FORM CALL_XXL TABLES XXL_D.

XXL_FULL_API CALL FUNCTION 'XXL_FULL_API' EXPORTING DATA_ENDING_AT = -1 DATA_STARTING_AT = 1 FILENAME = 'XXL_1ST ' HEADER_1 = XXL_HEADER1 HEADER_2 = XXL_HEADER2 NO_DIALOG = ' ' NO_START = ' ' N_ATT_COLS = XXL_N_ATT_COLS N_HRZ_KEYS = XXL_N_HRZ_KEYS N_VRT_KEYS = XXL_N_VRT_KEYS SEMA_TYPE = ' ' SO_TITLE = ' ' TABLES DATA = XXL_D HKEY = XXL_H ONLINE_TEXT = XXL_O PRINT_TEXT = XXL_P SEMA = XXL_S VKEY = XXL_V EXCEPTIONS CANCELLED_BY_USER = 01 DATA_TOO_BIG = 02 DIM_MISMATCH_DATA = 03 DIM_MISMATCH_SEMA = 04 DIM_MISMATCH_VKEY = 05 ERROR_IN_HKEY = 06 ERROR_IN_SEMA = 07 FILE_OPEN_ERROR = 08 FILE_WRITE_ERROR = 09 INV_DATA_RANGE = 10 INV_WINSYS = 11 INV_XXL = 12.

AA_CUS_TOTAL_TO_LOCAL_TOTAL



CALL FUNCTION 'AA_CUS_TOTAL_TO_LOCAL_TOTAL' EXPORTING I_TOTAL = POSITIONEN(17) CHANGING E_LS_TOTAL = APOS.



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