SAP Reports / Programs | Financial Accounting | Asset Accounting | Information System(FI-AA-IS) SAP FI

RASPEC01 SAP ABAP Report - Redestribution of special assets







RASPEC01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program allows write-up or write-down postings to assets (which belong to a special asset) and to special assets...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 RASPEC01 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 RASPEC01. "Basic submit
SUBMIT RASPEC01 AND RETURN. "Return to original report after report execution complete
SUBMIT RASPEC01 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: S_ANLN2 = Asset sub no.
Selection Text: S_ANLN1 = Asset main no.
Selection Text: S_ANLKL = Asset class
Selection Text: R_AAFABE = Depreciation area
Selection Text: P_TEST = Test
Selection Text: P_SUM = Summary
Selection Text: P_MAPNM = BDC session name
Selection Text: P_LIST = List assets
Selection Text: P_KEEP = Keep session
Selection Text: P_BZDAT = Posting date
Selection Text: P_BWA02 = Write-down transaction type
Selection Text: P_BWA01 = Write-up transaction type
Selection Text: P_BUKRS = Company code
Selection Text: P_BLART = Document type
Title: Redestribution of special assets
Text Symbol: 009 = User :
Text Symbol: 008 = Date :
Text Symbol: 007 = Company code:
Text Symbol: 006 = successfully created
Text Symbol: 005 = BDC session
Text Symbol: 004 = Output control
Text Symbol: 003 = BDC control
Text Symbol: 002 = Posting options
Text Symbol: 001 = General Selection


INCLUDES used within this REPORT RASPEC01

No INCLUDES are used within this REPORT code!


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:

T093C_READ CALL FUNCTION 'T093C_READ' EXPORTING f_t093c = l_t093c IMPORTING f_t093c = l_t093c EXCEPTIONS not_found = 1 OTHERS = 2.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' "#EC DOM_EQUAL EXPORTING i_date = p_bzdat i_monmit = l_t093c-monmit i_periv = l_t093c-periv IMPORTING e_gjahr = p_gjahr.

T093B_READ CALL FUNCTION 'T093B_READ' EXPORTING f_t093b = l_t093b IMPORTING f_t093b = l_t093b.

VIEW_READ_RANGE_TRIGGER_ADA CALL FUNCTION 'VIEW_READ_RANGE_TRIGGER_ADA' EXPORTING i_abra = g_iabra IMPORTING e_goon = g_goon TABLES t_r_afabe = r_aafabe t_r_anlkl = s_anlkl t_r_anln1 = s_anln1 t_r_anln2 = s_anln2 t_anlaz = t_anlaz EXCEPTIONS no_records_found = 1 input_false = 2.

GET_NEXT_ANLC CALL FUNCTION 'GET_NEXT_ANLC' EXPORTING i_agjahr = p_gjahr i_bgjahr = p_gjahr TABLES t_anlc = t_anlc EXCEPTIONS no_records_found = 1 OTHERS = 2.

AM_US_GET_ASSET_FROM_ANKAZ CALL FUNCTION 'AM_US_GET_ASSET_FROM_ANKAZ' EXPORTING i_ants = t_ants IMPORTING e_anln1 = g_anln1_abg e_anln2 = g_anln2_abg EXCEPTIONS special_asset_missing = 1 OTHERS = 2.

FI_AA_VALUES_CALCULATE CALL FUNCTION 'FI_AA_VALUES_CALCULATE' EXPORTING I_ANLC = t_anlc IMPORTING E_ANLCV = T_ANLCV EXCEPTIONS OTHERS = 1.

ANLA_READ_SINGLE CALL FUNCTION 'ANLA_READ_SINGLE' EXPORTING f_anla = t_anla i_lock = ' ' IMPORTING f_anla = t_anla EXCEPTIONS not_found = 1 selbst_gesperrt = 2 vorhanden = 3 OTHERS = 4.

ANLC_READ_SINGLE CALL FUNCTION 'ANLC_READ_SINGLE' EXPORTING f_anlc = t_anlc IMPORTING f_anlc = t_anlc EXCEPTIONS not_found = 1 OTHERS = 2.

FI_AA_VALUES_CALCULATE CALL FUNCTION 'FI_AA_VALUES_CALCULATE' EXPORTING I_ANLC = t_anlc IMPORTING E_ANLCV = T_ANLCV EXCEPTIONS OTHERS = 1.

ANLZ_READ_MULTIPLE_BDATU CALL FUNCTION 'ANLZ_READ_MULTIPLE_BDATU' EXPORTING I_ANLN1 = T_ANL-ANLN1 I_ANLN2 = T_ANL-ANLN2 i_bukrs = p_bukrs i_sort_absteig = 'X' TABLES t_anlz = t_anlz EXCEPTIONS not_found = 1 OTHERS = 2.

REDISTRIBUTE_DEPRECIATION CALL FUNCTION 'REDISTRIBUTE_DEPRECIATION' EXPORTING I_AFABE = R_AAFABE-LOW I_GJAHR = P_GJAHR TABLES T_ANL = T_ANL T_SPEC_CUM = T_SPEC_CUM EXCEPTIONS ERROR = 1 OTHERS = 2.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' "#EC DOM_EQUAL EXPORTING client = sy-mandt group = p_mapnm keep = p_keep user = sy-uname.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING tcode = u_tcode TABLES dynprotab = ftab EXCEPTIONS internal_error = 01 not_open = 02 queue_error = 03 tcode_invalid = 04 OTHERS = 08.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = 'RASPEC01' IS_LAYOUT = G_LAYOUT IT_FIELDCAT = gt_FIELDcat[] IT_SORT = lt_sort[] * I_DEFAULT = 'X' IT_EVENTS = LT_EVENTS * IT_EVENT_EXIT = I_TABNAME_HEADER = 'T_SPEC_CUM' I_TABNAME_ITEM = 'T_ANL' IS_KEYINFO = gs_keyinfo TABLES T_OUTTAB_HEADER = t_spec_cum T_OUTTAB_ITEM = t_anl EXCEPTIONS PROGRAM_ERROR = 0 OTHERS = 0.



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