HSAPSPT0 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for PY_SA_HSAPSPT0 To access this report, on the
If you would like to execute this report or see the full code listing simply enter HSAPSPT0 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_HSAPSPT0 - Sponsorship Transfer Request
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: SCHEMA = Payroll Schema
Selection Text: P_LAT = D .
Selection Text: P_LABOO = Labor Office
Selection Text: P_EXPL2 = Line 2
Selection Text: P_EXPL1 = Line 1
Selection Text: P_EXCL = D .
Selection Text: P_DFFORM = Logical Form Name
Selection Text: P_ARA = D .
Title: Request of Worker Service Transfer (Sponsorship Transfer)
Text Symbol: N04 = Error Messages
Text Symbol: N03 = Warning Messages
Text Symbol: N02 = Successfully Processed Employees
Text Symbol: N01 = Selection Statistics
Text Symbol: L02 = Application Log
Text Symbol: B01 = Print PDF
Text Symbol: 023 = Reasons for Sponsorship Transfer
Text Symbol: 022 = Unsuccessfully Processed Employees
Text Symbol: 021 = Select one record for printing
Text Symbol: 020 = Excluded Employees
Text Symbol: 019 = Spool Number
Text Symbol: 018 = Log
Text Symbol: 017 = General Error Messages
Text Symbol: 016 = Successfully Processed Employees
Text Symbol: 015 = Employee Processing Errors
Text Symbol: 014 = Selected Employees
Text Symbol: 010 = PDF Options
Text Symbol: 007 = Personal Information
Text Symbol: 005 = Schema for Payroll Simulation Run
Text Symbol: 004 = Years
Text Symbol: 003 = Year
Text Symbol: 002 = Labor Office Information
Text Symbol: 001 = Report Exclusions
INCLUDE HSAPSPT0_TOP.
INCLUDE HSAPSPT0_SEL.
INCLUDE HSAPSPT0_F01.
INCLUDE HSAPXXX0_ALV.
No SAP DATABASE tables are accessed within this REPORT code!
RPY_MESSAGE_COMPOSE CALL FUNCTION 'RPY_MESSAGE_COMPOSE' EXPORTING message_id = '3G' message_number = '166' IMPORTING message_text = titel EXCEPTIONS OTHERS = 0.
F4_POPUP_SCHEMA CALL FUNCTION 'F4_POPUP_SCHEMA' EXPORTING molga = gc_molga titel = titel IMPORTING sname = schema.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
HSAPSPT0 - Request of Worker Service Transfer (Sponsorship Transfer) HSAPSPT0 - Request of Worker Service Transfer (Sponsorship Transfer) HSAPSAZ4_TOP - Include HSAPSAZ4_TOP HSAPSAZ4_F01 - Include HSAPSAZ4_F01 HSAPSAZ4 - Nitaqat Program (Saudization Report New) HSAPSAZ4 - Nitaqat Program (Saudization Report New)