SAP Reports / Programs | Payroll | Taiwan(PY-TW) SAP PY

PLAM0TW1 SAP ABAP INCLUDE - subroutine







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


Text pool values


Title: subroutine


INCLUDES used within this REPORT PLAM0TW1

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:

HR_MAPNAME_VERIFY CALL FUNCTION 'HR_MAPNAME_VERIFY' EXPORTING MAPNAME = $MAP_NAME REPORTNAME = REP_NAME IMPORTING MAPNAME = $MAP_NAME.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING GROUP = MAP_NAME USER = SY-UNAME.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = 'PA30' TABLES DYNPROTAB = BDCDATA.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP'.

HR_DISPLAY_BASIC_LIST CALL FUNCTION 'HR_DISPLAY_BASIC_LIST' EXPORTING BASIC_LIST_TITLE = TEXT-030 HEAD_LINE1 = STRING HEAD_LINE2 = STR * head_line3 = head3 FILE_NAME = REP_NAME DYN_PUSHBUTTON_TEXT1 = TEXT-103 IMPORTING RETURN_CODE = RETURNCODE TABLES * data_tab = disp_lst DATA_TAB = SELTAB_TYPE SELECT_TAB = SELT FIELDNAME_TAB = FIELDNAMES EXCEPTIONS DOWNLOAD_PROBLEM = 1 NO_DATA_TAB_ENTRIES = 2 TABLE_MISMATCH = 3 PRINT_PROBLEMS = 4 OTHERS = 5.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING TEXT = PROG_TEXT EXCEPTIONS OTHERS = 1.

RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING DAY_IN = $BEGDA IMPORTING LAST_DAY_OF_MONTH = $ENDDA.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING PERNR = P_PERNR ARBGB = P_MSGID MSGTY = P_MSGTY MSGNO = P_MSGNO MSGV1 = P_MSGV1 MSGV2 = P_MSGV2 MSGV3 = P_MSGV3 MSGV4 = P_MSGV4 EXCEPTIONS OTHERS = 1.

HR_APPEND_ERROR_LIST CALL FUNCTION 'HR_APPEND_ERROR_LIST' EXPORTING PERNR = P_PERNR ARBGB = P_MSGID MSGTY = P_MSGTY MSGNO = P_MSGNO MSGV1 = P_MSGV1 MSGV2 = P_MSGV2 MSGV3 = P_MSGV3 MSGV4 = P_MSGV4 EXCEPTIONS OTHERS = 1.

HR_DISPLAY_ERROR_LIST CALL FUNCTION 'HR_DISPLAY_ERROR_LIST' EXPORTING NO_POPUP = 'X' NO_PRINT = SPACE * tables * error = error_int EXCEPTIONS INVALID_LINESIZE = 1 OTHERS = 2.

HR_TW_NAME_IN_CHINESE CALL FUNCTION 'HR_TW_NAME_IN_CHINESE' EXPORTING PP0002 = P0002 PP0182 = P0182 IMPORTING EDIT_NAME = $NAME RETCODE = SUBRC EXCEPTIONS OTHERS = 1.

RP_EDIT_NAME CALL FUNCTION 'RP_EDIT_NAME' EXPORTING FORMAT = P0002-KNZNM LANGU = SPACE MOLGA = '42' PP0002 = P0002 IMPORTING EDIT_NAME = $NAME RETCODE = SUBRC EXCEPTIONS OTHERS = 1.



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