SAP Reports / Programs | Personnel Management | Personnel Administration | Kingdom of Saudi Arabia(PA-PA-SA) SAP PA

HSAPSPT0 SAP ABAP Report - Request of Worker Service Transfer (Sponsorship Transfer)







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 SAP Easy Access screen, choose Human Resources -> Payroll -> Asia/Pacific -> Saudi Arabia -> Information System -> Other Government Forms -> Request for Worker Service Transfer – Form 2/3/1...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 HSAPSPT0 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_SA_HSAPSPT0 - Sponsorship Transfer Request


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 HSAPSPT0. "Basic submit
SUBMIT HSAPSPT0 AND RETURN. "Return to original report after report execution complete
SUBMIT HSAPSPT0 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: 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


INCLUDES used within this REPORT HSAPSPT0

INCLUDE HSAPSPT0_TOP.
INCLUDE HSAPSPT0_SEL.
INCLUDE HSAPSPT0_F01.
INCLUDE HSAPXXX0_ALV.


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:

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.



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