SAP Reports / Programs

RPCAIDP0 SAP ABAP Report - HR-PT: Annual Income Declaration







RPCAIDP0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The Annual Income Declaration provides the General Direction of Taxes (Direcção Geral dos Impostos) with a list of all payments made and tax amounts withheld for every employee classified with the following income categories: A - employees with income from dependent work B - independent workers H - pensioners Data from other income categories are imported from the FI component and integrated with the data provided by HR...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 RPCAIDP0 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

PC00_M19_CAID - Annual income declaration


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 RPCAIDP0. "Basic submit
SUBMIT RPCAIDP0 AND RETURN. "Return to original report after report execution complete
SUBMIT RPCAIDP0 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: CCODE = Company code
Selection Text: CONV_EUR = Euro conversion
Selection Text: FACTO = Fact date
Selection Text: FFACT = According to dash d), no.119
Selection Text: GET_FI = Retrieve FI data
Selection Text: MDJ_TMS = Model 10 / Annex J
Selection Text: NEW_TMS = Annex J
Selection Text: OLD_TAX = Old tax processing
Selection Text: OLD_TMS = Model 10
Selection Text: PRIM = First declaration of the year
Selection Text: PTECLOG = Technical log
Selection Text: RECT = Substitution declaration
Selection Text: WT_PR = Wage types
Selection Text: WT_SP = Wage types
Selection Text: YEAR = Year
Title: HR-PT: Annual Income Declaration
Text Symbol: F02 = RFC error:error_in_ale_customizing
Text Symbol: F01 = RFC error:error_in_filterobjects
Text Symbol: EDF = The field 'Fact date' must be filled.
Text Symbol: 091 = Survivor pension (H3)
Text Symbol: 090 = Output details
Text Symbol: 083 = Extraordinary surcharge
Text Symbol: 082 = Quota Arrangem.Union
Text Symbol: 081 = Compulsory discounts
Text Symbol: 080 = Description
Text Symbol: 079 = Prev.years ret.-
Text Symbol: 078 = TemSe contents
Text Symbol: 077 = Value
Text Symbol: 076 = Pre-retrmt.(dec.-law 261/91)
Text Symbol: 075 = IRC WITHHOLDING (art.88 of CIRC)
Text Symbol: 074 = of
Text Symbol: 073 = no.yrs.
Text Symbol: 072 = values
Text Symbol: 070 = Local
Text Symbol: F03 = RFC error: not_unique_receiver
Text Symbol: F04 = RFC error: no_rfc_destination_maintained
Text Symbol: F05 = RFC error: modulo GET_RFC_DEST_FI
Text Symbol: L01 = Evaluate retro results in





Text Symbol: NFI = No FI data available for the selection criteria
Text Symbol: R2W = Tax payer's reference number
Text Symbol: R31 = Tax office code
Text Symbol: R32 = CAE code - REV2
Text Symbol: R33 = Activity table code
Text Symbol: R34 = Legal Represent.tax no.
Text Symbol: R35 = Tax code stat.account.tax no.
Text Symbol: R36 = Business Volume Percentage
Text Symbol: RCT = EE doesn't match report criteria
Text Symbol: RRP = Error reading cluster RP
Text Symbol: RTX = Error reading TX cluster table
Text Symbol: TS1 = Error creating TemSe object
Text Symbol: TS2 = Error writing to the TemSe object
Text Symbol: TS3 = Error closing TemSe object
Text Symbol: UNK = Unknown error
Text Symbol: 028 = Declaration type:
Text Symbol: 027 = CODE:
Text Symbol: 026 = MUN./DISTRICT:
Text Symbol: 025 = 2. HEAD OFFICE'S TAX OFFICE
Text Symbol: 024 = TAX CODE:
Text Symbol: 023 = NAME:
Text Symbol: 022 = 1. IDENTIFICATION OF INCOME PROVIDER
Text Symbol: 019 = income
Text Symbol: 018 = inc.
Text Symbol: 017 = report
Text Symbol: 016 = passive
Text Symbol: 015 = of
Text Symbol: 014 = withhld
Text Symbol: 013 = of
Text Symbol: 012 = fiscal of person
Text Symbol: 011 = Alt
Text Symbol: 010 = Total
Text Symbol: 009 = Type
Text Symbol: 008 = Amounts
Text Symbol: 007 = Yr.
Text Symbol: 006 = Name
Text Symbol: 005 = ID number
Text Symbol: 004 = LIST OF PERSONS WITH INCOME
Text Symbol: 003 = PAGE NUMBER





Text Symbol: 002 = TAX CODE
Text Symbol: 001 = YR.
Text Symbol: 029 = 3. DATA ON DECLARATION
Text Symbol: 069 = Income
Text Symbol: 067 = Tax wage types
Text Symbol: 066 = FUNDS
Text Symbol: 065 = Currency
Text Symbol: 064 = C/A CREDIT BALANCE
Text Symbol: 063 = TemSe Format
Text Symbol: 059 = External income data
Text Symbol: 058 = Entity
Text Symbol: 057 = Declaration type
Text Symbol: 055 = Period
Text Symbol: 053 = TemSe objects created:
Text Symbol: 049 = Process employee no.
Text Symbol: 047 = ASSETS INCREASE
Text Symbol: 046 = IRS/IRC CLEARINGS
Text Symbol: 045 = PROPERTY
Text Symbol: 044 = LIBERATING RATES WITHHOLDINGS
Text Symbol: 043 = OTHER CAPITAL INCOME
Text Symbol: 041 = COMMISS.
Text Symbol: 040 = IRC WITHHOLDINGS (art.75 of CIRC)
Text Symbol: 039 = BUSINESS AND PROFESSIONAL INCOME
Text Symbol: 038 = PENSION
Text Symbol: 037 = DEPENDENT WORK
Text Symbol: 036 = 5. AMOUNTS WITHHELD
Text Symbol: 032 = NUMBER OF PAGES:
Text Symbol: 031 = Adjustment
Text Symbol: 030 = First


INCLUDES used within this REPORT RPCAIDP0

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:

No SAP FUNCTION MODULES are executed within this report code!



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