HSAPMPG0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for PY_SA_HSAPMPG0
If you would like to execute this report or see the full code listing simply enter HSAPMPG0 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_HSAPMPG0 - Multipurpose Government Form
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: P_EMPA = New Employer Address
Selection Text: P_EMPN = New Employer Name
Selection Text: P_EMPS = New Employer Number
Selection Text: P_EMPT = New Employer Tel. No.
Selection Text: P_ESTB = D .
Selection Text: P_FEXV = Final Exit Visa
Selection Text: P_FTIME = 1st Time
Selection Text: P_GOVM = Government
Selection Text: P_INDI = Individual
Selection Text: P_INFTR = Information Transfer
Selection Text: P_IQAMA = D .
Selection Text: P_IQDUR = Duration (Months)
Selection Text: P_ISSIQ = Issue Iqama
Selection Text: P_LAT2 = D .
Selection Text: P_LATI = D .
Selection Text: P_LOST = In Lieu of Lost
Selection Text: P_MERV = Multiple Exit Re-Entry Visa
Selection Text: P_NEW = New
Selection Text: P_OTHDD = D .
Selection Text: P_OTHER = Other
Selection Text: P_PASSP = D .
Selection Text: P_RENEW = Renew
Selection Text: P_SCOM = D .
Selection Text: P_SERV = Single Exit Re-Entry Visa
Selection Text: P_SERVT = Service Transfer
Selection Text: P_SEST = D .
Selection Text: P_SGOV = Government
Selection Text: P_SIND = Individual
Selection Text: P_STIME = 2nd Time
Selection Text: P_TRAVI = Travel Visa
Selection Text: P_TTIME = 3rd Time
Selection Text: P_VSDUR = Duration (Days)
Selection Text: P_DFFORM = D .
Selection Text: P_DFDEST = D .
Selection Text: P_DAMAG = In Lieu of Damage
Selection Text: P_COMP = D .
Selection Text: P_ARAB = D .
Selection Text: P_ARA2 = D .
INCLUDE HSAPMPG0_TOP.
INCLUDE HSAPMPG0_F01.
INCLUDE HSAPXXX0_PDF.
No SAP DATABASE tables are accessed within this REPORT code!
ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING name = 'ICON_INSERT_ROW' text = text-sel add_stdinf = '' IMPORTING result = gv_status_icon.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.