SAP Reports / Programs | Payroll | South Korea(PY-KR) SAP PY

PCBDCHKR2 SAP ABAP INCLUDE - Include PCBDCHKR2







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


Text pool values


Title: Include PCBDCHKR2


INCLUDES used within this REPORT PCBDCHKR2

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_FILENAME_GET * call function 'WS_FILENAME_GET' * exporting * def_filename = space * def_path = filename * mask = mask * mode = 'O' * title = text-005 * importing * filename = filename * rc = dummy * exceptions * inv_winsys = 04 * no_batch = 08 * selection_cancel = 12 * selection_error = 16.

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

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = tcode * POST_LOCAL = NOVBLOCAL * PRINTING = NOPRINT * SIMUBATCH = ' ' * CTUPARAMS = ' ' TABLES dynprotab = bdcdata EXCEPTIONS INTERNAL_ERROR = 1 NOT_OPEN = 2 QUEUE_ERROR = 3 TCODE_INVALID = 4 PRINTING_INVALID = 5 POSTING_INVALID = 6 OTHERS = 7 .

WS_UPLOAD * call function 'WS_UPLOAD' * exporting * filename = filename * filetype = 'ASC' * importing * filelength = messageline * tables * data_tab = itab * 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.

WS_UPLOAD * call function 'WS_UPLOAD' * exporting * filename = filename * filetype = 'ASC' * importing * filelength = messageline * tables * data_tab = itab1 * 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.

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

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

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = G_REPID I_INTERNAL_TABNAME = 'RECORD' I_INCLNAME = G_REPID CHANGING CT_FIELDCAT = FIELDCAT_ALV[] EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' IS_LAYOUT = LAYOUT_ALV IT_FIELDCAT = FIELDCAT_ALV IT_SORT = SORT_ALV IT_EVENTS = EVENTS_ALV[] I_SAVE = 'A' IS_VARIANT = VARIANT_ALV TABLES T_OUTTAB = ITAB EXCEPTIONS PROGRAM_ERROR = 1.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = G_REPID I_INTERNAL_TABNAME = 'RECORD1' I_INCLNAME = G_REPID CHANGING CT_FIELDCAT = FIELDCAT_ALV[] EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' IS_LAYOUT = LAYOUT_ALV IT_FIELDCAT = FIELDCAT_ALV IT_SORT = SORT_ALV IT_EVENTS = EVENTS_ALV I_SAVE = 'A' IS_VARIANT = VARIANT_ALV
TABLES T_OUTTAB = ITAB1 EXCEPTIONS PROGRAM_ERROR = 1.

HR_MAINTAIN_MASTERDATA CALL FUNCTION 'HR_MAINTAIN_MASTERDATA' EXPORTING PERNR = P0544-PERNR ACTIO = OPERATION * tclas = tclas BEGDA = P0544-BEGDA * objps = objectid * seqnr = recordnumber * sprps = lockindicator SUBTY = P0544-SUBTY * luw_mode = luw_mode NO_ENQUEUE = 'X' IMPORTING RETURN1 = RETURN TABLES PROPOSED_VALUES = PROPOSED_VALUES MODIFIED_KEYS = MODIFIED_KEYS EXCEPTIONS OTHERS = 0.

HR_MAINTAIN_MASTERDATA CALL FUNCTION 'HR_MAINTAIN_MASTERDATA' EXPORTING PERNR = P0544-PERNR ACTIO = OPERATION * tclas = tclas BEGDA = P0544-BEGDA * objps = objectid * seqnr = recordnumber * sprps = lockindicator SUBTY = P0544-SUBTY * luw_mode = luw_mode NO_ENQUEUE = 'X' IMPORTING RETURN1 = RETURN TABLES PROPOSED_VALUES = PROPOSED_VALUES MODIFIED_KEYS = MODIFIED_KEYS EXCEPTIONS OTHERS = 1.

HR_MAINTAIN_MASTERDATA CALL FUNCTION 'HR_MAINTAIN_MASTERDATA' EXPORTING PERNR = P0015-PERNR ACTIO = OPERATION * tclas = tclas BEGDA = P0015-BEGDA * objps = objectid * seqnr = recordnumber * sprps = lockindicator * subty = p0544-subty * luw_mode = luw_mode NO_ENQUEUE = 'X' IMPORTING RETURN1 = RETURN TABLES PROPOSED_VALUES = PROPOSED_VALUES MODIFIED_KEYS = MODIFIED_KEYS EXCEPTIONS OTHERS = 0.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = GT_LIST_TOP_OF_PAGE.

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING IT_LIST_COMMENTARY = FOOTER_ALV.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = RT_EVENTS.



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