SAP Reports / Programs

HAEPTRD0 SAP ABAP Report - Document Expiry Report







HAEPTRD0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to list employees and their dependents with expired travel documentation or documentation that expires in the near future...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 HAEPTRD0 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

PY_AE_HAEPTRD0 - Travel Document Expiry 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 HAEPTRD0. "Basic submit
SUBMIT HAEPTRD0 AND RETURN. "Return to original report after report execution complete
SUBMIT HAEPTRD0 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: S_OTHDOC = Other Documents
Selection Text: S_ICTYP = Documents
Selection Text: P_VISA = D .
Selection Text: P_VALDAT = Document Validity Date up to
Selection Text: P_PASSP = D .
Selection Text: P_LATI = D .
Selection Text: P_ARAB = D .
Title: Document Expiry Report
Text Symbol: 021 = Document Expiry Period
Text Symbol: 019 = Exclusions
Text Symbol: 018 = Employee Documents for Selection
Text Symbol: 017 = Errors
Text Symbol: 016 = Succesfully Processed Employees
Text Symbol: 015 = Employee Processing Errors
Text Symbol: 014 = Selected Employees
Text Symbol: 013 = Document Expiry Report
Text Symbol: 012 = Visa
Text Symbol: 011 = Passport
Text Symbol: 010 = Document Type
Text Symbol: 009 = Dependent Type
Text Symbol: 008 = Dependant Name
Text Symbol: 007 = Message
Text Symbol: 006 = Expires in Current Month
Text Symbol: 005 = Expired
Text Symbol: 004 = Expires Before Selection Date
Text Symbol: 003 = Expires next Month
Text Symbol: 002 = Dependent Information
Text Symbol: 001 = Dependent Documents for Selection
Text Symbol: 000 = Document Selection


INCLUDES used within this REPORT HAEPTRD0

INCLUDE HAEPTRD0_TOP . " GLOBAL DATA
INCLUDE HAEPTRD0_DHC.
INCLUDE HAEPTRD0_AUNIT.
INCLUDE HAEPTRD0_F01.


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