SAP Reports / Programs | Personnel Management | Personnel Administration | Mexico(PA-PA-MX) SAP PA

HMXS2001_CE SAP ABAP Report - HR Create 2001 absences (Mexico)







HMXS2001_CE 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 HMXS2001_CE 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 HMXS2001_CE. "Basic submit
SUBMIT HMXS2001_CE AND RETURN. "Return to original report after report execution complete
SUBMIT HMXS2001_CE 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: PBEGDA = Start date
Selection Text: PCTMODE = Call transaction mode
Selection Text: PENDDA = End date
Selection Text: PSUBTY = Att./Abs. type
Selection Text: PTEST = Display only
Title: HR Create 2001 absences (Mexico)
Text Symbol: 001 = Main parameters
Text Symbol: 002 = Control parameters
Text Symbol: 003 = Personid
Text Symbol: 004 = Assignment
Text Symbol: 005 = Infotype
Text Symbol: 006 = Type
Text Symbol: 007 = From
Text Symbol: 008 = To
Text Symbol: 009 = Amount
Text Symbol: 010 = Details of persons with infotype 2001 to be set
Text Symbol: 011 = Status


INCLUDES used within this REPORT HMXS2001_CE

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:

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid I_GRID_TITLE = 'Details of persons with infotype 2001 to be set'(010) it_fieldcat = lt_fieldcat i_save = 'A' TABLES t_outtab = pt_alv1 "it_data EXCEPTIONS program_error = 1 OTHERS = 2.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting tclas = 'A' pernr = peras-pernr infty = '2001' importing subrc = subrc tables infty_tab = ta_2001 exceptions infty_not_found = 1 others = 2.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting tclas = 'A' pernr = peras-pernr infty = '2006' importing subrc = subrc tables infty_tab = ta_2006 exceptions infty_not_found = 1 others = 2.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting tclas = 'A' pernr = peras-pernr infty = '2001' importing subrc = subrc tables infty_tab = ta_2001 exceptions infty_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 HMXS2001_CE or its description.