SAP Reports / Programs | Personnel Management | Personnel Administration | Japan(PA-PA-JP) SAP PA

SAPMWS01000060HF0100 SAP ABAP INCLUDE - Subroutines for screen 0100 (INIT,OK): copied from SAPMWS01000060HF100







SAPMWS01000060HF0100 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter SAPMWS01000060HF0100 into the relevant SAP transactions such as SE38 or SE80


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 SAPMWS01000060HF0100. "Basic submit
SUBMIT SAPMWS01000060HF0100 AND RETURN. "Return to original report after report execution complete
SUBMIT SAPMWS01000060HF0100 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Subroutines for screen 0100 (INIT,OK): copied from SAPMWS01000060HF100


INCLUDES used within this REPORT SAPMWS01000060HF0100

No INCLUDES are used within this REPORT code!


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:

SWW_WI_HEADER_READ CALL FUNCTION 'SWW_WI_HEADER_READ' EXPORTING WI_ID = WI_ID * READ_FOR_UPDATE = ' ' IMPORTING WI_HEADER = L_WI_HEADER EXCEPTIONS READ_FAILED = 1 OTHERS = 2 .

SWW_WI_FIND_FATHER_WIS CALL FUNCTION 'SWW_WI_FIND_FATHER_WIS' EXPORTING WI_ID = WI_ID TABLES FATHER_WIS = L_FATHER_WIS .

STRING_SPLIT_AT_POSITION CALL FUNCTION 'STRING_SPLIT_AT_POSITION' EXPORTING STRING = G_WI_RH_TASK POS = SY-FDPOS * LANGU = SY-LANGU IMPORTING STRING1 = L_TCODE_OTYPE STRING2 = L_TCODE_OBJID * POS_NEW = EXCEPTIONS STRING1_TOO_SMALL = 1 STRING2_TOO_SMALL = 2 POS_NOT_VALID = 3 OTHERS = 4 .

TH_USER_INFO CALL FUNCTION 'TH_USER_INFO' IMPORTING MY_SESSION = my_session .

MENU_CREATE_ID CALL FUNCTION 'MENU_CREATE_ID' EXPORTING INTERNAL_USE = 'X' IMPORTING ID = TASKNAME EXCEPTIONS OTHERS = 1.

TH_USER_INFO CALL FUNCTION 'TH_USER_INFO' IMPORTING ACT_SESSIONS = aCT_SESSIONS MAX_SESSIONS = mAX_SESSIONS.

ABAP4_CALL_TRANSACTION CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK TASKNAME EXPORTING TCODE = OBJECT_NAME * SKIP_SCREEN = ' ' * MODE_VAL = 'A' * UPDATE_VAL = 'A' * IMPORTING * SUBRC = TABLES * USING_TAB = SPAGPA_TAB = L_SPAGPA_TAB * MESS_TAB = * EXCEPTIONS * CALL_TRANSACTION_DENIED = 1 * TCODE_INVALID = 2 * OTHERS = 3 .

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' PERNR = PERSONNELNUMBER010100 INFTY = '0000' BEGDA = L_VALIDITY_BEGIN ENDDA = L_VALIDITY_END BYPASS_BUFFER = $CROSS IMPORTING SUBRC = L_SUBRC TABLES INFTY_TAB = L_P0000 * EXCEPTIONS * INFTY_NOT_FOUND = 1 * OTHERS = 2 .

HR_READ_INFOTYPE CALL FUNCTION 'HR_READ_INFOTYPE' EXPORTING * TCLAS = 'A' PERNR = P_P0000_MATCH_KEY-PERNR INFTY = '0000' BEGDA = P_P0000_MATCH_KEY-BEGDA ENDDA = P_P0000_MATCH_KEY-ENDDA BYPASS_BUFFER = $CROSS IMPORTING SUBRC = L_SUBRC TABLES INFTY_TAB = L_P0000 * EXCEPTIONS * INFTY_NOT_FOUND = 1 * OTHERS = 2 .

BAPI_EMPLOYEE_ENQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE' EXPORTING NUMBER = P_P0000_MATCH_KEY-PERNR IMPORTING RETURN = L_RETURN * EXCEPTIONS * OTHERS = 1 .

HR_INFOTYPE_OPERATION CALL FUNCTION 'HR_INFOTYPE_OPERATION' EXPORTING INFTY = '0000' NUMBER = P_P0000_MATCH_KEY-PERNR SUBTYPE = P_P0000_MATCH_KEY-SUBTY OBJECTID = P_P0000_MATCH_KEY-OBJPS LOCKINDICATOR = P_P0000_MATCH_KEY-SPRPS VALIDITYEND = P_P0000_MATCH_KEY-ENDDA VALIDITYBEGIN = P_P0000_MATCH_KEY-BEGDA RECORDNUMBER = P_P0000_MATCH_KEY-SEQNR RECORD = L_P0000 OPERATION = L_CHANGE "'MOD' * TCLAS = 'A' * DIALOG_MODE = '0' * NOCOMMIT = * VIEW_IDENTIFIER = * SECONDARY_RECORD = IMPORTING RETURN = L_RETURN * KEY = .

BAPI_EMPLOYEE_DEQUEUE CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE' EXPORTING NUMBER = P_P0000_MATCH_KEY-PERNR IMPORTING RETURN = L_RETURN * EXCEPTIONS * OTHERS = 1 .

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = P_STATUS * TEXT = P_ICON_TEXT * INFO = P_ICON_TEXT ADD_STDINF = 'X' IMPORTING RESULT = P_STATUS_ICON EXCEPTIONS ICON_NOT_FOUND = 1 OUTPUTFIELD_TOO_SHORT = 2 OTHERS = 3 .

DATE_CHECK_PLAUSIBILITY CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY' EXPORTING DATE = P_DATE EXCEPTIONS PLAUSIBILITY_CHECK_FAILED = 1 OTHERS = 2 .



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