SAP Reports / Programs | Payroll | Portugal(PY-PT) SAP PY

RPCSOCPC SAP ABAP Report - HR-PT: Social Balance - Cover page







RPCSOCPC is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter RPCSOCPC 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 RPCSOCPC. "Basic submit
SUBMIT RPCSOCPC AND RETURN. "Return to original report after report execution complete
SUBMIT RPCSOCPC VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: HR-PT: Social Balance - Cover page
Text Symbol: 035 = 7. LEGAL CATEGORY:
Text Symbol: 036 = 8. GROSS VALUE ADDED (GVA):
Text Symbol: 037 = 8.1 Personnel costs:
Text Symbol: 038 = 8.2 Fiscal year depreciation:
Text Symbol: 039 = 8.3 Fiscal year accruals:
Text Symbol: 040 = 8.4 Financial costs and losses:
Text Symbol: 041 = 8.5 Income tax:
Text Symbol: 042 = 8.6 Profit or loss for fiscal year:
Text Symbol: 043 = 2.4 Fax:
Text Symbol: 065 = SOCIAL REPORT
Text Symbol: 067 = DATA REGARDING YEAR
Text Symbol: 380 = Average during interval:
Text Symbol: 381 = DATA REGARDING REQUESTED PERIODS
Text Symbol: 382 = in
Text Symbol: 383 = of
Text Symbol: 384 = :
Text Symbol: E01 = It is not possible to read Infotype
Text Symbol: E02 = Error reading SS cluster table in
Text Symbol: E03 = Error reading WPBP cluster table in
Text Symbol: E04 = Error reading AB cluster table in
Text Symbol: E05 = Not possible to evaluate entry date of employee
Text Symbol: E07 = No entry in table
Text Symbol: E08 = for fields MOLGA/AREA
Text Symbol: E09 = for fields MOLGA/COMPANY CODE
Text Symbol: EAB = There are absences not classified in table
Text Symbol: EUX = Error in user exit to detect if employee is active
Text Symbol: 034 = Average during year:
Text Symbol: 000 = Company data
Text Symbol: 002 = Output currency
Text Symbol: 005 = 5.1.3.Comp. O.P.S.
Text Symbol: 008 = Top man.
Text Symbol: 009 = Mid.man.
Text Symbol: 010 = Int.man.
Text Symbol: 011 = QualProf.
Text Symbol: 012 = SemiProf.
Text Symbol: 013 = NQualProf.
Text Symbol: 014 = Apprentice





Text Symbol: 015 = Total
Text Symbol: 018 = 1. Name:
Text Symbol: 019 = 2. Address
Text Symbol: 020 = 2.1 Locality:
Text Symbol: 021 = 2.2 Postal code:
Text Symbol: 022 = 2.5 District:
Text Symbol: 023 = 2.6 Municip.:
Text Symbol: 024 = 3. Company tax number:
Text Symbol: 025 = 4. Company's main activity:
Text Symbol: 026 = 5. NUMBER OF ESTABLISHMENTS:
Text Symbol: 027 = On mainland:
Text Symbol: 028 = In Azores:
Text Symbol: 029 = 2.3 Tel:
Text Symbol: 030 = In Madeira:
Text Symbol: 031 = 6. NUMBER OF WORKERS:
Text Symbol: 032 = On January 2:
Text Symbol: 033 = On December 31:


INCLUDES used within this REPORT RPCSOCPC

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:

HR_PT_GET_ENTITY CALL FUNCTION 'HR_PT_GET_ENTITY' EXPORTING P_ENTITY = feature_value P_DATE = AUX_ENDDA IMPORTING P_ENTITY_DATA = ENTITY_DATA.

HR_PT_COMPUTE_MONTHS CALL FUNCTION 'HR_PT_COMPUTE_MONTHS' EXPORTING FIRST_DATE = P_PN-BEGDA SECOND_DATE = P_PN-ENDDA MODIFY_INTERVAL = 'P' IMPORTING DURATION = P_N_PERIODS EXCEPTIONS INVALID_SEQ_DATES = 1 OTHERS = 2.

MONTH_NAMES_GET CALL FUNCTION 'MONTH_NAMES_GET' EXPORTING LANGUAGE = SY-LANGU * IMPORTING * RETURN_CODE = TABLES MONTH_NAMES = MONTH_NAME EXCEPTIONS MONTH_NAMES_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 RPCSOCPC or its description.