HSAPTRD0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for PY_SA_HSAPTRD0
If you would like to execute this report or see the full code listing simply enter HSAPTRD0 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
PY_SA_HSAPTRD0 - Document Expiry Report
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.
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_IQAMA = D .
Selection Text: P_ARAB = D .
Title: Document Expiry Report
Text Symbol: 021 = Document Expiry Period
Text Symbol: 020 = Iqama
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 = Dependent 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
INCLUDE HSAPTRD0_TOP . " GLOBAL DATA
INCLUDE HSAPTRD0_DHC.
INCLUDE HSAPTRD0_AUNIT.
INCLUDE HSAPTRD0_F01.
No SAP DATABASE tables are accessed within this REPORT code!
No SAP FUNCTION MODULES are executed within this report code!
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.