RAPERB2000 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program posts APC values from depreciation areas designated in the chart of depreciation as posting periodically...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 RAPERB2000 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
ASKBN - Periodic APC Posting Run
ASKB - Periodic Asset Postings
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.
Selection Text: P_VARI = D .
Selection Text: P_TEST = D .
Selection Text: P_NORMAL = D .
Selection Text: P_EINZLD = D .
Selection Text: P_EINZEL = D .
Selection Text: P_BUKRS = D .
Selection Text: S_ANLN2 = Asset Subnumber
Selection Text: S_ANLN1 = Main Asset Number
Selection Text: P_RSTART = Restart posting run
Title: Periodic Asset Postings
Text Symbol: Q08 = &V1& documents have warnings.
Text Symbol: Q07 = A document has warnings.
Text Symbol: Q06 = &V1& documents contain errors.
Text Symbol: Q05 = A document contains errors.
Text Symbol: Q04 = A total of one document was created.
Text Symbol: Q03 = A total of &V1& documents were created.
Text Symbol: N16 = No documents were created in this run
Text Symbol: N08 = completed successfully
Text Symbol: N07 = contained errors.
Text Symbol: N06 = ended with warnings.
Text Symbol: N05 = was terminated
Text Symbol: N04 = Errors occurred during run. Look at error log!
Text Symbol: N03 = Upd. run
Text Symbol: N02 = Restart
Text Symbol: N01 = Test Run
Text Symbol: H03 = Creation Time
Text Symbol: H02 = Creation Date
Text Symbol: H01 = Company Code
Text Symbol: C03 = Test Run Specific.
Text Symbol: C02 = Posting Control
Text Symbol: C01 = Parameter
Text Symbol: 029 = Refer to the error log
INCLUDE LAFARCON.
INCLUDE LABUZCON.
INCLUDE LAMBUCD0.
INCLUDE RAPERB2000TP.
INCLUDE RKASMAWF.
No SAP DATABASE tables are accessed within this REPORT code!
T093C_READ CALL FUNCTION 'T093C_READ' EXPORTING i_bukrs = p_bukrs IMPORTING f_t093c = t093c EXCEPTIONS not_found = 1.
AM_CONFIRM_LIMIT CALL FUNCTION 'AM_CONFIRM_LIMIT' EXPORTING i_test = p_test IMPORTING e_leave_prog = ld_answer.
FI_CURRENCY_INFORMATION CALL FUNCTION 'FI_CURRENCY_INFORMATION' EXPORTING i_bukrs = t093c-bukrs IMPORTING e_x001 = x001.
AMFI_PARALLEL_AREAS CALL FUNCTION 'AMFI_PARALLEL_AREAS' EXPORTING i_t093c = t093c IMPORTING e_x001 = x001 TABLES t_parea = lt_xparea.
T093A_READ CALL FUNCTION 'T093A_READ' EXPORTING f_t093a = t093a IMPORTING f_t093a = t093a EXCEPTIONS OTHERS = 8.
T093B_READ CALL FUNCTION 'T093B_READ' EXPORTING f_t093b = t093b IMPORTING f_t093b = t093b.
T093B_READ CALL FUNCTION 'T093B_READ' EXPORTING f_t093b = t093b IMPORTING f_t093b = t093b.
VANEPK_READ_RANGE_TRIGGER CALL FUNCTION 'VANEPK_READ_RANGE_TRIGGER' EXPORTING i_abra = ld_iabra IMPORTING e_goon = l_anep_sel_again TABLES t_r_anln1 = s_anln1 t_r_anln2 = s_anln2 t_vanepk = lt_yanepk EXCEPTIONS OTHERS = 08.
GET_NEXT_V_ANLA_2 CALL FUNCTION 'GET_NEXT_V_ANLA_2' IMPORTING e_anla = ls_anla EXCEPTIONS OTHERS = 0.
GET_NEXT_V_ANLA_1 CALL FUNCTION 'GET_NEXT_V_ANLA_1' IMPORTING e_anla = ls_anla EXCEPTIONS OTHERS = 0.
GET_NEXT_ANLZ CALL FUNCTION 'GET_NEXT_ANLZ' TABLES t_anlz = lt_anlz EXCEPTIONS OTHERS = 0.
GET_NEXT_ANEA CALL FUNCTION 'GET_NEXT_ANEA' TABLES t_anea = lt_yanea EXCEPTIONS OTHERS = 0.
GET_NEXT_APERB_ITEMS CALL FUNCTION 'GET_NEXT_APERB_ITEMS' TABLES t_aperb_items = lt_yaperb_items EXCEPTIONS OTHERS = 0.
GET_NEXT_ANLB CALL FUNCTION 'GET_NEXT_ANLB' TABLES t_anlb = lt_anlb EXCEPTIONS OTHERS = 0.
DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING i_date = lt_yanepk-budat i_periv = t001-periv IMPORTING e_buper = l_buper.
APER_ANEPI_ENHANCE CALL FUNCTION 'APER_ANEPI_ENHANCE' EXPORTING it_areasettings = gt_areasettings is_ants = ls_ants TABLES it_anlb = vt_anlb CHANGING ct_anepi = lt_anepi EXCEPTIONS OTHERS = 0.
APER_ANEPI_FOR_KZRBWB_RETIREMT CALL FUNCTION 'APER_ANEPI_FOR_KZRBWB_RETIREMT' EXPORTING is_anek_key = ls_anek_key CHANGING ct_anepi = lt_anepi ct_anepi_add = lt_anepi_add EXCEPTIONS OTHERS = 0.
T093C_READ CALL FUNCTION 'T093C_READ' EXPORTING i_bukrs = vt_anepi-bukrs IMPORTING f_t093c = ls_t093c.
CALL FUNCTION 'RA_ASSET_ENQUEUE' EXPORTING bukrs = p_bukrs anln1 = l_anln1_init anln2 = l_anln2_init i_scope = '1' EXCEPTIONS OTHERS = 8.
ENQUEUE_ET093C CALL FUNCTION 'ENQUEUE_ET093C' EXPORTING bukrs = p_bukrs _scope = '1' EXCEPTIONS OTHERS = 1.
RA_ASSET_DEQUEUE CALL FUNCTION 'RA_ASSET_DEQUEUE' EXPORTING bukrs = p_bukrs anln1 = l_anln1_init anln2 = l_anln2_init.
AM_T001_READ CALL FUNCTION 'AM_T001_READ' EXPORTING f_t001 = t001 IMPORTING f_t001 = t001 EXCEPTIONS wrong_bukrs = 1 OTHERS = 2.
FAA_READ_AREA_SETTINGS CALL FUNCTION 'FAA_READ_AREA_SETTINGS' EXPORTING i_orgunit = i_bukrs i_area = i_afabe IMPORTING es_areasettings = ls_areasettings EXCEPTIONS customizing_wrong = 1 wrong_input_data = 2 OTHERS = 3.
FAGL_GET_REPRESENTATIVE_LEDGER CALL FUNCTION 'FAGL_GET_REPRESENTATIVE_LEDGER' EXPORTING i_ldgrp = ls_areasettings-definition-ldgrp_gl i_bukrs = i_bukrs IMPORTING e_rldnr = lv_ledger EXCEPTIONS error_in_ledgergroup = 1 OTHERS = 2.
FAGL_GET_INFO_FROM_LEDGER CALL FUNCTION 'FAGL_GET_INFO_FROM_LEDGER' EXPORTING i_budat = i_budat i_rldnr = lv_ledger i_bukrs = i_bukrs IMPORTING e_poper = e_monat e_gjahr = e_gjahr EXCEPTIONS no_info_found = 1 error_in_setup = 2 OTHERS = 3.
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 RAPERB2000 or its description.