SAP Reports / Programs

RAPOST2001 SAP ABAP Report - Log of Posting Run







RAPOST2001 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Log report for displaying depreciation posted using report RAPOST2000...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 RAPOST2001 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

AFBP - Create depreciation posting log


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 RAPOST2001. "Basic submit
SUBMIT RAPOST2001 AND RETURN. "Return to original report after report execution complete
SUBMIT RAPOST2001 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: P_VARI = D .
Selection Text: P_SCHED = D .
Selection Text: P_LDGRP = D .
Selection Text: S_ANLN2 = Asset Subnumber
Selection Text: S_ANLN1 = Main Asset Number
Selection Text: P_MAFAL = List of manual depreciation
Selection Text: P_GJAHR = Fiscal Year
Selection Text: P_EINZL = List assets
Selection Text: P_BUPER = Posting Period
Selection Text: P_BUKRS = Company Code
Selection Text: P_ANZ = Sequence number in period
Title: Log of Posting Run
Text Symbol: M01 = List of manual depreciation
Text Symbol: M02 = Depreciation docmument
Text Symbol: M03 = No manual depreciation found
Text Symbol: M05 = AA document
Text Symbol: Q03 = &V1& documents were created
Text Symbol: Q04 = A document was created
Text Symbol: Q05 = A document could not be created due to errors
Text Symbol: Q06 = &V1& documents could not be created due to errors
Text Symbol: R01 = Error in RFC processing
Text Symbol: S01 = TargetLedger Group
Text Symbol: S02 = Depreciation Area
Text Symbol: S03 = Last posting fiscal year
Text Symbol: S04 = Posted to Period
Text Symbol: U01 = Posting date:
Text Symbol: U02 = Date created:
Text Symbol: U04 = Ledger Group:
Text Symbol: U05 = Company Code:
Text Symbol: F02 = Copy
Text Symbol: 001 = Log for Posting Run
Text Symbol: 002 = T E S T R U N
Text Symbol: 003 = ERROR ANALYSIS
Text Symbol: 004 = was ended
Text Symbol: 005 = was terminated
Text Symbol: 006 = ended with warnings.
Text Symbol: 007 = contained errors.
Text Symbol: 008 = completed successfully





Text Symbol: 009 = CoCd:
Text Symbol: 010 = Period:
Text Symbol: 011 = No Errors
Text Symbol: 012 = Error
Text Symbol: 013 = Warning
Text Symbol: 014 = Canceled
Text Symbol: 015 = Posting Date
Text Symbol: 016 = No documents were created in this run
Text Symbol: 028 = There are errors in the posting run. After correcting, restart the posting run.
Text Symbol: 029 = Refer to the error log
Text Symbol: 098 = Ledger Group &V1&
Text Symbol: 099 = for company code &V1&
Text Symbol: 100 = Simulated Document
Text Symbol: 101 = Output List
Text Symbol: 200 = Report date entered
Text Symbol: 201 = leads to archive analysis.
Text Symbol: 202 = Do you want to continue anyway?
Text Symbol: C01 = Further options
Text Symbol: C04 = Parameter
Text Symbol: C08 = Parameters for Test Run
Text Symbol: F01 = Info for Parameter


INCLUDES used within this REPORT RAPOST2001

INCLUDE LAFARCON.
INCLUDE RAPOST_TOP.
INCLUDE RKASMAWF .


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 i_bukrs = p_bukrs IMPORTING f_t093c = ls_t093c EXCEPTIONS not_found = 1.

FAGL_AUTHORITY_LEDGER CALL FUNCTION 'FAGL_AUTHORITY_LEDGER' EXPORTING i_bukrs = p_bukrs i_rldnr = '' i_ldgrp = p_ldgrp i_actvt = '01' EXCEPTIONS no_authority = 1 OTHERS = 2.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING defaultoption = 'Y' diagnosetext1 = text-200 diagnosetext2 = text-201 textline1 = text-202 textline2 = ' ' titel = text-001 IMPORTING answer = ld_answer.

ARCHIVE_ADMIN_SELECT_SESSIONS CALL FUNCTION 'ARCHIVE_ADMIN_SELECT_SESSIONS' EXPORTING runs_without_files = ' ' complete = con_x IMPORTING archive_runs = lt_archive_runs TABLES object = lr_object_range document = lr_document_range EXCEPTIONS OTHERS = 1.

AS_API_READ CALL FUNCTION 'AS_API_READ' EXPORTING i_fieldcat = 'SAP_FIAA_ABRA' i_selections = lt_selections i_maxrows = '1' IMPORTING e_result = lt_result EXCEPTIONS OTHERS = 4.

ARCHIVE_OPEN_FOR_READ CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ' EXPORTING archive_document = ls_t093r-arclp object = 'AM_ASSET' IMPORTING archive_handle = gd_archive_handle.

ARCHIVE_CLOSE_FILE





CALL FUNCTION 'ARCHIVE_CLOSE_FILE' EXPORTING archive_handle = gd_archive_handle.



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