SAP Reports / Programs | Payroll | Mexico | Public Sector(PY-MX-PS) SAP PY

HMXCSARPBS SAP ABAP Report - SAR Contributions and Employee Catalog maintenance







HMXCSARPBS is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for In this report, you can report the registration, modification and departure transactions to the SAR as well as the corresponding contributions for each two-month period...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 HMXCSARPBS 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_M32_PBS_CSAR - SAR report


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 HMXCSARPBS. "Basic submit
SUBMIT HMXCSARPBS AND RETURN. "Return to original report after report execution complete
SUBMIT HMXCSARPBS 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: BRNAME = Branch name
Selection Text: DPNAME = Payroll department name
Selection Text: FILENAM1 = File attachment A
Selection Text: FILENAM3 = File attachment C
Selection Text: FILENAM4 = File attachment B
Selection Text: FILENAM5 = RCV archive
Selection Text: FILENAM6 = Extemporary RCV archive
Selection Text: FILENAM7 = Archive Attachment A - Leaves
Selection Text: GT_OCRSN = Special payroll for awards
Selection Text: PAYAREA = Payroll area
Selection Text: PX_LFORM = Form
Selection Text: PX_LFVAR = Form variant
Selection Text: PYTYPE = Extemp. contr. payment type
Selection Text: REPORTDT = Notification date
Selection Text: SF_NAME = Control numbers form
Selection Text: SS_WKDAY = Contr. days in two-month per.
Selection Text: TEST = Generate files
Selection Text: TOBJ_RE = TemSe file name
Selection Text: TOBJ_SA = TemSe file name
Selection Text: YEAR = Year
Selection Text: RPBEGDA = D .
Selection Text: RPENDDA = D .
Selection Text: RPPERIOD = D .
Selection Text: RPYEAR = D .
Selection Text: SND_PERN = D .
Title: SAR Contributions and Employee Catalog maintenance
Text Symbol: T22 = Period
Text Symbol: T23 = Notification date
Text Symbol: T24 = Registration
Text Symbol: T25 = Modifications
Text Symbol: T26 = Deregistration
Text Symbol: T27 = Extemporaneous
Text Symbol: T28 = Voluntary
Text Symbol: TM1 = TemSe file
Text Symbol: TM2 = TemSe file name
Text Symbol: TM3 = Save in TemSe format
Text Symbol: TM4 = Reading of TemSe file
Text Symbol: TM5 = TemSe object





Text Symbol: TM6 = exists.
Text Symbol: TM7 = Replace?
Text Symbol: T21 = SAR Report results
Text Symbol: E01 = Please specify the form name
Text Symbol: E03 = RFC not found
Text Symbol: E04 = Payroll results not found
Text Symbol: E05 = Date of birth not found
Text Symbol: E06 = Gender not found
Text Symbol: E07 = ICEFA key not found
Text Symbol: E08 = Place of birth not found
Text Symbol: E09 = Employee's federal entity not found
Text Symbol: E10 = CURP not found
Text Symbol: E11 = Incorrect period or year
Text Symbol: E12 = Incorrect payment type
Text Symbol: E13 = Contr. days in two-month period (/PDY) =
Text Symbol: E14 = > selection parameter =
Text Symbol: I01 = Error
Text Symbol: I02 = Advice
Text Symbol: I03 = Success
Text Symbol: I04 = Data file(s) saved in
Text Symbol: I05 = , which name begins with 'Leaves', 'Employees','Extemporaneous' or 'Voluntary'
Text Symbol: I06 = Negative contributions
Text Symbol: I07 = Negative ISSSTE retroactive contributions in period
Text Symbol: I08 = Negative SAR retroactive contributions in period
Text Symbol: I09 = Start
Text Symbol: I10 = term
Text Symbol: P00 = No REGISTRATION movements found
Text Symbol: P01 = No MODIFICATION transactions found
Text Symbol: P02 = No DEREGISTRATION transactions found
Text Symbol: P03 = No extemporaneous contributions found
Text Symbol: P04 = No voluntary contributions found
Text Symbol: P05 = No awards found
Text Symbol: S01 = Output format
Text Symbol: S02 = Period
Text Symbol: S03 = Bimonthly no.
Text Symbol: S04 = to
Text Symbol: S05 = Payment type
Text Symbol: S06 = Payment date
Text Symbol: S07 = Extemp. contr. payment type





Text Symbol: S08 = Contribution date
Text Symbol: S09 = Awards
Text Symbol: T05 = CURP
Text Symbol: T06 = Message


INCLUDES used within this REPORT HMXCSARPBS

INCLUDE RPPPXD10. "COMMON PART BUFFER PCL1/PCL2
INCLUDE RPC2RX09.


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_MX_READ_T7MX62 CALL FUNCTION 'HR_MX_READ_T7MX62' TABLES OUT_T7MX62 = t7mx62_a_itab.

H99B_OPEN_LFORM_JOB CALL FUNCTION 'H99B_OPEN_LFORM_JOB' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant options = l_options EXCEPTIONS OTHERS = 99.

H99B_OUTPUT_LFORM CALL FUNCTION 'H99B_OUTPUT_LFORM' EXPORTING i_molga = hr99b_form_sel-molga i_fogroup = hr99b_form_sel-fogroup i_folname = hr99b_form_sel-folname i_fovariant = hr99b_form_sel-fovariant i_data_struc = l_data EXCEPTIONS OTHERS = 99.

H99B_CLOSE_LFORM_JOB CALL FUNCTION 'H99B_CLOSE_LFORM_JOB' EXCEPTIONS OTHERS = 99.

SUSR_USER_DEFAULTS_GET CALL FUNCTION 'SUSR_USER_DEFAULTS_GET' EXPORTING user_name = sy-uname IMPORTING user_defaults = l_usdefaults EXCEPTIONS user_name_not_exist = 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 HMXCSARPBS or its description.