SAP Reports / Programs | Personnel Management | Recruitment(PA-RC) SAP PA

RPAPINWW1 SAP ABAP INCLUDE - documentation and ABAP source code







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

INCLUDE OFFICEINTEGRATIONINCLUDE.


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_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING QUERY = 'WS' IMPORTING RETURN = WINDOW_SYSTEM EXCEPTIONS INV_QUERY = 0 NO_BATCH = 0 OTHERS = 0.

WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING ENVIRONMENT = 'TEMP' QUERY = 'EN' IMPORTING RETURN = DOWN_LOAD_PATH EXCEPTIONS INV_QUERY = 1 NO_BATCH = 2 FRONTEND_ERROR = 3 OTHERS = 4.

WS_QUERY CALL FUNCTION 'WS_QUERY' EXPORTING ENVIRONMENT = 'TMP' QUERY = 'EN' IMPORTING RETURN = DOWN_LOAD_PATH EXCEPTIONS INV_QUERY = 1 NO_BATCH = 2 FRONTEND_ERROR = 3 OTHERS = 4.

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = filename = fname FILETYPE = 'ASC' * IMPORTING * FILELENGTH = tables data_tab = tab_dq 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 .

GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING * BIN_FILESIZE = filename = fname FILETYPE = 'ASC' * IMPORTING * FILELENGTH = tables data_tab = fctab 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_FILE_DELETE CALL FUNCTION 'WS_FILE_DELETE' EXPORTING file = path_template_ext IMPORTING RETURN = return .

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING TYPE = 'application' SUBTYPE = 'msword' TABLES DATA = DATA_TABLE_A CHANGING URL = ITEM_URL EXCEPTIONS DP_INVALID_PARAMETER = 1 DP_ERROR_PUT_TABLE = 2 DP_ERROR_GENERAL = 3 OTHERS = 4.

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING TYPE = 'application' SUBTYPE = 'msword' TABLES DATA = DATA_TABLE_A_CHAR CHANGING URL = ITEM_URL EXCEPTIONS DP_INVALID_PARAMETER = 1 DP_ERROR_PUT_TABLE = 2 DP_ERROR_GENERAL = 3 OTHERS = 4.

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING TYPE = 'application' SUBTYPE = 'msword' TABLES DATA = DATA_TABLE_A CHANGING URL = ITEM_URL EXCEPTIONS DP_INVALID_PARAMETER = 1 DP_ERROR_PUT_TABLE = 2 DP_ERROR_GENERAL = 3 OTHERS = 4.

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING TYPE = 'application' SUBTYPE = 'msword' TABLES DATA = DATA_TABLE CHANGING URL = ITEM_URL EXCEPTIONS DP_INVALID_PARAMETER = 1 DP_ERROR_PUT_TABLE = 2 DP_ERROR_GENERAL = 3 OTHERS = 4.

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING TYPE = 'application' SUBTYPE = 'msword' TABLES DATA = DATA_TABLE_A_CHAR CHANGING URL = ITEM_URL EXCEPTIONS DP_INVALID_PARAMETER = 1 DP_ERROR_PUT_TABLE = 2 DP_ERROR_GENERAL = 3 OTHERS = 4.

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING TYPE = 'application' SUBTYPE = 'msword' TABLES DATA = DATA_TABLE_CHAR CHANGING URL = ITEM_URL EXCEPTIONS DP_INVALID_PARAMETER = 1 DP_ERROR_PUT_TABLE = 2 DP_ERROR_GENERAL = 3 OTHERS = 4.

DP_CREATE_URL CALL FUNCTION 'DP_CREATE_URL' EXPORTING TYPE = 'application' SUBTYPE = 'msword' TABLES DATA = DATA_TABLE_1 CHANGING URL = ITEM_URL EXCEPTIONS DP_INVALID_PARAMETER = 1 DP_ERROR_PUT_TABLE = 2 DP_ERROR_GENERAL = 3 OTHERS = 4.

SAP_OI_GET_UNIQUE_URL CALL FUNCTION 'SAP_OI_GET_UNIQUE_URL' IMPORTING UNIQUE_URL = DOC_URL EXCEPTIONS OTHERS = 1.

DP_GET_STREAM_FROM_URL CALL FUNCTION 'DP_GET_STREAM_FROM_URL' EXPORTING URL = DOC_URL IMPORTING SIZE = DATA_SIZE TABLES DATA = DATA_TABLE EXCEPTIONS DP_FAIL = 1 DP_FAILED_INIT = 2 OTHERS = 3.

DP_GET_STREAM_FROM_URL CALL FUNCTION 'DP_GET_STREAM_FROM_URL' EXPORTING URL = DOC_URL IMPORTING SIZE = DATA_SIZE TABLES DATA = DATA_TABLE_CHAR EXCEPTIONS DP_FAIL = 1 DP_FAILED_INIT = 2 OTHERS = 3.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING HEADER = HEADER IMPORTING NEWHEADER = HEADER TABLES LINES = TEXT EXCEPTIONS OTHERS = 01.

WS_FILE_DELETE CALL FUNCTION 'WS_FILE_DELETE' EXPORTING FILE = DQ_PATH IMPORTING RETURN = MY_SUBRC EXCEPTIONS OTHERS = 0.

WS_FILE_DELETE





CALL FUNCTION 'WS_FILE_DELETE' EXPORTING FILE = FC_PATH IMPORTING RETURN = MY_SUBRC EXCEPTIONS OTHERS = 0.

WS_FILE_DELETE CALL FUNCTION 'WS_FILE_DELETE' EXPORTING * FILE = TP_PATH "XRGN528216 FILE = path_template_ext "XRGN528216 IMPORTING RETURN = MY_SUBRC EXCEPTIONS OTHERS = 0.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING CLIENT = '000' ID = 'TAPP' LANGUAGE = SPRACHE NAME = TEMPLATE_NAME OBJECT = 'APP-DOT' TABLES LINES = DOT EXCEPTIONS ID = 0 LANGUAGE = 0 NAME = 0 NOT_FOUND = 0 OBJECT = 0 REFERENCE_CHECK = 0 WRONG_ACCESS_TO_ARCHIVE = 0 OTHERS = 0.

HR_FEATURE_BACKTABLE CALL FUNCTION 'HR_FEATURE_BACKTABLE' EXPORTING feature = 'WPROC' struc_content = PME15 kind_of_error = '3' tables back = wproc CHANGING STATUS = rc EXCEPTIONS DUMMY = 1 ERROR_OPERATION = 2 NO_BACKVALUE = 3 FEATURE_NOT_GENERATED = 4 INVALID_SIGN_IN_FUNID = 5 TAB_IN_REPORT_FIELD_IN_PE03 = 6 OTHERS = 7 .



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