SAP Reports / Programs | Payroll | Argentina(PY-AR) SAP PY

PCSRVAR2 SAP ABAP INCLUDE - documentation and ABAP source code







PCSRVAR2 is a standard ABAP INCLUDE 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 PCSRVAR2 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 PCSRVAR2. "Basic submit
SUBMIT PCSRVAR2 AND RETURN. "Return to original report after report execution complete
SUBMIT PCSRVAR2 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT PCSRVAR2

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:

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING * percentage = 0 TEXT = PI_TEXT.

RP_HIRE_FIRE CALL FUNCTION 'RP_HIRE_FIRE' * EXPORTING * BEG = '18000101' * END = '99991231' IMPORTING FIRE_DATE = FIRE_DATE HIRE_DATE = HIRE_DATE TABLES PPHIFI = PHIFI PP0000 = P0000 PP0001 = P0001 EXCEPTIONS OTHERS = 1.

HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' EXPORTING COMPANYCODE = EMPLOYER-BUKRS * LANGUAGE = SY-LANGU IMPORTING COMP_NAME = EMPLOYER-BUTXT * city = COUNTRY = PAIS * CURRENCY = * LANGU = * CHRT_ACCTS = * FY_VARIANT = * FI_MANAGEMENTAREA = * JURISDICTION = * RATE_DEVIATION = ADDRESS = GD_ADDRESS TABLES APPENDIX = GD_APPENDIX EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = GD_ADDRESS_SELECTION * ADDRESS_GROUP = * READ_SADR_ONLY = ' ' * READ_TEXTS = ' ' IMPORTING ADDRESS_VALUE = GD_ADDRESS_DATA * ADDRESS_ADDITIONAL_INFO = * RETURNCODE = * ADDRESS_TEXT = * SADR = * TABLES * ADDRESS_GROUPS = * ERROR_TABLE = * VERSIONS = EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5.

HR_99S_APPCORRONDA call function 'HR_99S_APPCORRONDA' exporting p_molga = AR_MOLGA p_cogrp = 'SSO' p_corr_nr = '00000002' P_val_date = IC_RGDIR-FPBEG p_act_date = IC_RGDIR-FPBEG p_simulation = 'X' importing p_aplicate = previo_reforma_200704.

RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING DAY_IN = LV_WAGETYPES-BEGDA IMPORTING LAST_DAY_OF_MONTH = LV_WAGETYPES-ENDDA EXCEPTIONS DAY_IN_NO_DATE = 1 OTHERS = 2.

HRAR_TERMINATION_ANTIGUEDAD CALL FUNCTION 'HRAR_TERMINATION_ANTIGUEDAD' EXPORTING TA_HIRING_DATE = ATC_CARACTER-BEGDA TA_FIRING_DATE = ATC_CARACTER-ENDDA IMPORTING TA_ANOS_ANTIGUEDAD = AUX_ANIO TA_MESES_ANTIGUEDAD = AUX_MES TA_DIAS_ANTIGUEDAD = AUX_DIA.

HRAR_TERMINATION_ANTIGUEDAD CALL FUNCTION 'HRAR_TERMINATION_ANTIGUEDAD' EXPORTING TA_HIRING_DATE = ATA_AUSENCIA-BEGDA TA_FIRING_DATE = ATA_AUSENCIA-ENDDA IMPORTING TA_ANOS_ANTIGUEDAD = AUX_ANIO TA_MESES_ANTIGUEDAD = AUX_MES TA_DIAS_ANTIGUEDAD = AUX_DIA.

HR_APPL_T596IJ_READ CALL FUNCTION 'HR_APPL_T596IJ_READ' EXPORTING i_molga = ar_molga i_appl = gc_type_serv i_date = pv_endda TABLES tab_sel_t596j = lt_t596j tab_sel_t596i = lt_t596i EXCEPTIONS no_application = 1 no_assignment_wagetype = 2 no_wagetype_found = 3 others = 4.



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