SAP Reports / Programs

RAIDKRC04 SAP ABAP Report - Changes to Useful Life Caused by New Depreciation Method







RAIDKRC04 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report processes assets that were acquired before January 1, 1995 and that were originally subject to declining-balance depreciation but are to be changed to straight-line depreciation in accordance with Korea's corporate tax law (alternative 2)...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 RAIDKRC04 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 RAIDKRC04. "Basic submit
SUBMIT RAIDKRC04 AND RETURN. "Return to original report after report execution complete
SUBMIT RAIDKRC04 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: TESTRUN = Test Run
Selection Text: S_AFASL = Old Depreciation Key
Selection Text: S_AFABE = Depreciation Area
Selection Text: NEW_AFA = New Depreciation Key
Selection Text: IGN_WAR = Ignore Warnings
Title: Changes to Useful Life Caused by New Depreciation Method
Text Symbol: 021 = from its original useful life
Text Symbol: 022 = See program documentation on the "Ignore warnings" checkbox
Text Symbol: 030 = *2: Asset changed, although its current useful life is different
Text Symbol: 031 = from its original useful life
Text Symbol: 040 = Change
Text Symbol: 041 = No Change
Text Symbol: 050 = Old
Text Symbol: 051 = New
Text Symbol: 055 = life
Text Symbol: 001 = Asset
Text Symbol: 002 = SNo.
Text Symbol: 005 = Test Run
Text Symbol: 006 = Update Run
Text Symbol: 007 = Proposed New Depreciation Key:
Text Symbol: 008 = Used New Depreciation Key:
Text Symbol: 010 = Report-Specific Selections
Text Symbol: 011 = Settings
Text Symbol: 020 = *1: Asset not changed, because its current useful life is different
Text Symbol: 056 = Depr Key
Text Symbol: T05 = Acquisition Cost
Text Symbol: T06 = Net Book Value
Text Symbol: T07 = Factor
Text Symbol: 060 = Action
Text Symbol: 061 = (proposed)
Text Symbol: 062 = (executed)
Text Symbol: 100 = Ignore Warnings
Text Symbol: 101 = Do you really want to ignore the warnings? You must only select this
Text Symbol: 102 = function for assets that have not yet been processed by this report.
Text Symbol: 200 = Assets that could not be processed:
Text Symbol: 201 = For more information, see the job log.
Text Symbol: T02 = Area


INCLUDES used within this REPORT RAIDKRC04

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:

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING titel = text-100 textline1 = text-101 "maximum length: 70 textline2 = text-102 defaultoption = 'N' IMPORTING answer = answer.

AM_CONFIRM_LIMIT CALL FUNCTION 'AM_CONFIRM_LIMIT' EXPORTING i_test = testrun IMPORTING e_leave_prog = answer.

AFARSL_READ * CALL FUNCTION 'AFARSL_READ' * EXPORTING * AFASL = ANLB-AFASL * BUKRS = BUKRS-LOW * IMPORTING * ITAB_T090 = I_T090.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = berdatum " YYYYMMDD i_monmit = t093c-monmit " 00 i_periv = t001-periv " K4 IMPORTING e_gjahr = sav_gjahr. " YYYY

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.

ROUND CALL FUNCTION 'ROUND' EXPORTING decimals = 3 input = dep_rate_rf sign = '+' IMPORTING output = dep_rate_round.

ROUND CALL FUNCTION 'ROUND' EXPORTING decimals = 3 input = ann_rate sign = '-' IMPORTING output = ann_rate.

CHANGEDOCUMENT_READ_HEADERS * CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' * EXPORTING * OBJECTCLASS = OBJCLAS * OBJECTID = IDKEY * USERNAME = SPACE * TABLES * I_CDHDR = ICDHDR * EXCEPTIONS * NO_POSITION_FOUND = 1 * OTHERS = 2.

CHANGEDOCUMENT_READ_POSITIONS * CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS' * EXPORTING * CHANGENUMBER = ICDHDR-CHANGENR * IMPORTING * HEADER = CDHDR * TABLES * EDITPOS = AUSG * EXCEPTIONS * NO_POSITION_FOUND = 1 * OTHERS = 2.

T093C_READ CALL FUNCTION 'T093C_READ' EXPORTING f_t093c = t093c IMPORTING f_t093c = t093c EXCEPTIONS not_found = 1.

T090C_READ CALL FUNCTION 'T090C_READ' EXPORTING f_t090c = y_t090c * i_flg_access = 'O' " 'O' -> read key in old tables i_bukrs = bukrs IMPORTING f_t090c = y_t090c EXCEPTIONS not_found = 1 OTHERS = 2.

T090_READ CALL FUNCTION 'T090_READ' CHANGING f_t090 = y_t090 EXCEPTIONS not_found = 1 OTHERS = 2.



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