SAP Reports / Programs | Personnel Management | Personnel Administration | India(PA-PA-IN) SAP PA

PUUADIN3_ALV SAP ABAP INCLUDE - Include PUUADIN3







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


INCLUDES used within this REPORT PUUADIN3_ALV

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:

WS_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting ** BIN_FILESIZE = '50' ** CODEPAGE = 'WK1' * filename = pathname * filetype = ftype ** MODE = ' ' ** WK1_N_FORMAT = '0' ** WK1_N_SIZE = '0' ** WK1_T_FORMAT = '0' ** WK1_T_SIZE = '0' ** COL_SELECT = ' ' ** COL_SELECTMASK = ' ' ** NO_AUTH_CHECK = ' ' ** IMPORTING ** FILELENGTH = ' ' * tables * data_tab = itab_errc ** FIELDNAMES = ** EXCEPTIONS ** FILE_OPEN_ERROR = 1 ** FILE_WRITE_ERROR = 2 ** INVALID_FILESIZE = 3 ** INVALID_TYPE = 4 ** NO_BATCH = 5 ** UNKNOWN_ERROR = 6 ** INVALID_TABLE_WIDTH = 7 ** GUI_REFUSE_FILETRANSFER = 8 ** CUSTOMER_ERROR = 9 ** NO_AUTHORTY = 10 ** OTHERS = 11 * .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = FILENAME = pathname FILETYPE = ftype * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = TABLES DATA_TAB = itab_errc EXCEPTIONS FILE_WRITE_ERROR = 1 NO_BATCH = 2 GUI_REFUSE_FILETRANSFER = 3 INVALID_TYPE = 4 NO_AUTHORITY = 5 UNKNOWN_ERROR = 6 HEADER_NOT_ALLOWED = 7 SEPARATOR_NOT_ALLOWED = 8 FILESIZE_NOT_ALLOWED = 9 HEADER_TOO_LONG = 10 DP_ERROR_CREATE = 11 DP_ERROR_SEND = 12 DP_ERROR_WRITE = 13 UNKNOWN_DP_ERROR = 14 ACCESS_DENIED = 15 DP_OUT_OF_MEMORY = 16 DISK_FULL = 17 DP_TIMEOUT = 18 FILE_NOT_FOUND = 19 DATAPROVIDER_EXCEPTION = 20 CONTROL_FLUSH_ERROR = 21 OTHERS = 22.

WS_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting ** BIN_FILESIZE = '50' ** CODEPAGE = 'WK1' * filename = pathname * filetype = ftype ** MODE = ' ' ** WK1_N_FORMAT = '0' ** WK1_N_SIZE = '0' ** WK1_T_FORMAT = '0' ** WK1_T_SIZE = '0' ** COL_SELECT = ' ' ** COL_SELECTMASK = ' ' ** NO_AUTH_CHECK = ' ' ** IMPORTING ** FILELENGTH = ' ' * tables * data_tab = itab_corc ** FIELDNAMES = ** EXCEPTIONS ** FILE_OPEN_ERROR = 1 ** FILE_WRITE_ERROR = 2 ** INVALID_FILESIZE = 3 ** INVALID_TYPE = 4 ** NO_BATCH = 5 ** UNKNOWN_ERROR = 6 ** INVALID_TABLE_WIDTH = 7 ** GUI_REFUSE_FILETRANSFER = 8 ** CUSTOMER_ERROR = 9 ** NO_AUTHORTY = 10 ** OTHERS = 11 * .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = FILENAME = pathname FILETYPE = ftype * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = TABLES DATA_TAB = itab_corc EXCEPTIONS FILE_WRITE_ERROR = 1 NO_BATCH = 2 GUI_REFUSE_FILETRANSFER = 3 INVALID_TYPE = 4 NO_AUTHORITY = 5 UNKNOWN_ERROR = 6 HEADER_NOT_ALLOWED = 7 SEPARATOR_NOT_ALLOWED = 8 FILESIZE_NOT_ALLOWED = 9 HEADER_TOO_LONG = 10 DP_ERROR_CREATE = 11 DP_ERROR_SEND = 12 DP_ERROR_WRITE = 13 UNKNOWN_DP_ERROR = 14 ACCESS_DENIED = 15 DP_OUT_OF_MEMORY = 16 DISK_FULL = 17 DP_TIMEOUT = 18 FILE_NOT_FOUND = 19 DATAPROVIDER_EXCEPTION = 20 CONTROL_FLUSH_ERROR = 21 OTHERS = 22.

WS_FILENAME_GET call function 'WS_FILENAME_GET' EXPORTING def_filename = rlgrap-filename def_path = $pathname mask = ',*.*,*.*.'

WS_DOWNLOAD * call function 'WS_DOWNLOAD' * exporting ** BIN_FILESIZE = '50' ** CODEPAGE = 'WK1' * filename = $dl_pathname * filetype = $dl_ftype ** MODE = ' ' ** WK1_N_FORMAT = '0' ** WK1_N_SIZE = '0' ** WK1_T_FORMAT = '0' ** WK1_T_SIZE = '0' ** COL_SELECT = ' ' ** COL_SELECTMASK = ' ' ** NO_AUTH_CHECK = ' ' ** IMPORTING ** FILELENGTH = ' ' * tables * data_tab = itab_corc ** FIELDNAMES = ** EXCEPTIONS ** FILE_OPEN_ERROR = 1 ** FILE_WRITE_ERROR = 2 ** INVALID_FILESIZE = 3 ** INVALID_TYPE = 4 ** NO_BATCH = 5 ** UNKNOWN_ERROR = 6 ** INVALID_TABLE_WIDTH = 7 ** GUI_REFUSE_FILETRANSFER = 8 ** CUSTOMER_ERROR = 9 ** NO_AUTHORTY = 10 ** OTHERS = 11 * .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = FILENAME = $dl_pathname FILETYPE = $dl_ftype * APPEND = ' ' * WRITE_FIELD_SEPARATOR = ' ' * HEADER = '00' * TRUNC_TRAILING_BLANKS = ' ' * WRITE_LF = 'X' * COL_SELECT = ' ' * COL_SELECT_MASK = ' ' * IMPORTING * FILELENGTH = TABLES DATA_TAB = itab_corc EXCEPTIONS FILE_WRITE_ERROR = 1 NO_BATCH = 2 GUI_REFUSE_FILETRANSFER = 3 INVALID_TYPE = 4 NO_AUTHORITY = 5 UNKNOWN_ERROR = 6 HEADER_NOT_ALLOWED = 7 SEPARATOR_NOT_ALLOWED = 8 FILESIZE_NOT_ALLOWED = 9 HEADER_TOO_LONG = 10 DP_ERROR_CREATE = 11 DP_ERROR_SEND = 12 DP_ERROR_WRITE = 13 UNKNOWN_DP_ERROR = 14 ACCESS_DENIED = 15 DP_OUT_OF_MEMORY = 16 DISK_FULL = 17 DP_TIMEOUT = 18 FILE_NOT_FOUND = 19 DATAPROVIDER_EXCEPTION = 20 CONTROL_FLUSH_ERROR = 21 OTHERS = 22.

WS_UPLOAD * call function 'WS_UPLOAD' * exporting * codepage = 'IBM' * filename = $ul_pathname * filetype = $ul_ftype ** headlen = ' ' ** line_exit = ' ' ** trunclen = ' ' * user_form = ' ' * user_prog = ' ' * importing * filelength = $ul_file_length * tables * data_tab = ul_itab_name * exceptions * conversion_error = 1 * file_open_error = 2 * file_read_error = 3 * invalid_table_width = 4 * invalid_type = 5 * no_batch = 6 * unknown_error = 7 * gui_refuse_filetransfer = 8 * others = 9.

GUI_UPLOAD CALL FUNCTION 'GUI_UPLOAD' EXPORTING FILENAME = $ul_pathname FILETYPE = $ul_ftype * HAS_FIELD_SEPARATOR = ' ' * HEADER_LENGTH = 0 * READ_BY_LINE = 'X' IMPORTING FILELENGTH = $ul_file_length * HEADER = TABLES DATA_TAB = ul_itab_name EXCEPTIONS FILE_OPEN_ERROR = 1 FILE_READ_ERROR = 2 NO_BATCH = 3 GUI_REFUSE_FILETRANSFER = 4 INVALID_TYPE = 5 NO_AUTHORITY = 6 UNKNOWN_ERROR = 7 BAD_DATA_FORMAT = 8 HEADER_NOT_ALLOWED = 9 SEPARATOR_NOT_ALLOWED = 10 HEADER_TOO_LONG = 11 UNKNOWN_DP_ERROR = 12 ACCESS_DENIED = 13 DP_OUT_OF_MEMORY = 14 DISK_FULL = 15 DP_TIMEOUT = 16 OTHERS = 17 . "Unicode

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting pernr = ul_itab_final-pernr infty = '0008' begda = low-date endda = dweffdt * IMPORTING * SUBRC = tables infty_tab = basicpay exceptions infty_not_found = 1 others = 2 .

BDC_INSERT call function 'BDC_INSERT' EXPORTING tcode = 'PA30' TABLES dynprotab = bdcdata.

BDC_CLOSE_GROUP call function 'BDC_CLOSE_GROUP'.

HR_READ_INFOTYPE call function 'HR_READ_INFOTYPE' exporting pernr = pernr-pernr infty = '0025' begda = low-date endda = dweffdt * IMPORTING * SUBRC =
tables infty_tab = appraisal exceptions infty_not_found = 1 others = 2 .

BDC_OPEN_GROUP call function 'BDC_OPEN_GROUP' EXPORTING client = sy-mandt group = bthsec user = sy-uname.

HR_PAL_CREATE_NODE_CATEG CALL FUNCTION 'HR_PAL_CREATE_NODE_CATEG' EXPORTING I_CATEG_ID = gc_catg_id I_STRUCTURE_NAME = gc_str I_WITH_MSG_FIELDS = abap_true I_MSG_TEXT_POS = 4 I_ICON_LTEXT_POS = 2 IT_FIELDCAT = lt_fldcat IS_LAYOUT = ls_layout EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

HR_PAL_NODE_ADD call function 'HR_PAL_NODE_ADD' EXPORTING i_relatkey = 'ROOT' i_node_txt = TEXT-ERR I_CATEG_ID = gc_catg_id IMPORTING e_node_key = genrl_node_key EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

HR_PAL_NODE_MSG_ADD CALL FUNCTION 'HR_PAL_NODE_MSG_ADD' EXPORTING I_NODE_KEY = genrl_node_key i_msgid = gc_aplg_msgid_bl i_msgty = lv_msgty i_msgno = gc_aplg_msgno i_msgv1 = ls_msg-msgv1 i_msgv2 = ls_msg-msgv2 i_msgv3 = ls_msg-msgv3 i_msgv4 = ls_msg-msgv4 I_CONTEXT = gs_error EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

HR_PAL_GENRL_MSG_ADD call function 'HR_PAL_GENRL_MSG_ADD' exporting i_msgid = gc_aplg_msgid_bl i_msgty = lv_msgty i_msgno = gc_aplg_msgno i_msgv1 = uv_msg exceptions program_error = 1 others = 2 .

HR_PAL_LOG_DISPLAY





CALL FUNCTION 'HR_PAL_LOG_DISPLAY' EXPORTING I_S_DISPLAY_PROFILE = l_display_profile EXCEPTIONS PROGRAM_ERROR = 1 NO_LOGS = 2 OTHERS = 3 .



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