SAP Reports / Programs | Payroll(PY) SAP PY

PCORDPL6 SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

LT_FC_LOAD CALL FUNCTION 'LT_FC_LOAD' EXPORTING IS_VARIANT = LV_TEMPLATE I_TABNAME = 'EMPLS' IMPORTING ET_FIELDCAT = LT_FDCAT_EE[] ET_SORT = LT_SORT[] ET_FILTER = LT_FILTER[] CHANGING CS_LAYOUT = CS_LAYOUT CT_DEFAULT_FIELDCAT = LT_DEFAULT_FIELDCAT[] EXCEPTIONS FC_NOT_COMPLETE = 1 OTHERS = 2.

LT_FC_LOAD CALL FUNCTION 'LT_FC_LOAD' EXPORTING IS_VARIANT = LV_TEMPLATE I_TABNAME = 'CNTRS' IMPORTING ET_FIELDCAT = LT_FDCAT_CT[] ET_SORT = LT_SORT[] ET_FILTER = LT_FILTER[] CHANGING CS_LAYOUT = CS_LAYOUT CT_DEFAULT_FIELDCAT = LT_DEFAULT_FIELDCAT[] EXCEPTIONS FC_NOT_COMPLETE = 1 OTHERS = 2.

LT_FC_LOAD CALL FUNCTION 'LT_FC_LOAD' EXPORTING IS_VARIANT = LV_TEMPLATE I_TABNAME = 'PMNTS' IMPORTING ET_FIELDCAT = LT_FDCAT_PT[] ET_SORT = LT_SORT[] ET_FILTER = LT_FILTER[] CHANGING CS_LAYOUT = CS_LAYOUT CT_DEFAULT_FIELDCAT = LT_DEFAULT_FIELDCAT[] EXCEPTIONS FC_NOT_COMPLETE = 1 OTHERS = 2.

K_KKB_VARIANT_MAINTAIN CALL FUNCTION 'K_KKB_VARIANT_MAINTAIN' EXPORTING I_TABNAME = 'EMPLS' IMPORTING E_SAVE = L_SAVE CHANGING CT_FIELDCAT = LT_FDCAT_EE[] EXCEPTIONS OTHERS = 4.

K_KKB_VARIANT_MAINTAIN CALL FUNCTION 'K_KKB_VARIANT_MAINTAIN' EXPORTING I_TABNAME = 'CNTRS' IMPORTING E_SAVE = L_SAVE CHANGING CT_FIELDCAT = LT_FDCAT_CT[] EXCEPTIONS OTHERS = 4.

K_KKB_VARIANT_MAINTAIN CALL FUNCTION 'K_KKB_VARIANT_MAINTAIN' EXPORTING I_TABNAME = 'PMNTS' IMPORTING E_SAVE = L_SAVE CHANGING CT_FIELDCAT = LT_FDCAT_PT[] EXCEPTIONS OTHERS = 4.

LT_VARIANT_SAVE CALL FUNCTION 'LT_VARIANT_SAVE' EXPORTING I_TABNAME = 'EMPLS' IT_FIELDCAT = LT_FDCAT_EE[] I_DIALOG = SPACE CHANGING CS_VARIANT = LV_TEMPLATE EXCEPTIONS OTHERS = 4.

LT_VARIANT_SAVE CALL FUNCTION 'LT_VARIANT_SAVE' EXPORTING I_TABNAME = 'CNTRS' IT_FIELDCAT = LT_FDCAT_CT[] I_DIALOG = SPACE CHANGING CS_VARIANT = LV_TEMPLATE EXCEPTIONS OTHERS = 4.

LT_VARIANT_SAVE CALL FUNCTION 'LT_VARIANT_SAVE' EXPORTING I_TABNAME = 'PMNTS' IT_FIELDCAT = LT_FDCAT_PT[] I_DIALOG = SPACE CHANGING CS_VARIANT = LV_TEMPLATE EXCEPTIONS OTHERS = 4.

K_KKB_FIELDCAT_MERGE CALL FUNCTION 'K_KKB_FIELDCAT_MERGE' EXPORTING I_CALLBACK_PROGRAM = 'HPLCORD0' I_TABNAME = 'EMPLS' I_INCLNAME = 'PCORDPL1' CHANGING CT_FIELDCAT = LT_FDCAT_EE[].

K_KKB_FIELDCAT_MERGE CALL FUNCTION 'K_KKB_FIELDCAT_MERGE' EXPORTING I_CALLBACK_PROGRAM = 'HPLCORD0' I_TABNAME = 'CNTRS' I_INCLNAME = 'PCORDPL1' CHANGING CT_FIELDCAT = LT_FDCAT_CT[].

K_KKB_FIELDCAT_MERGE CALL FUNCTION 'K_KKB_FIELDCAT_MERGE' EXPORTING I_CALLBACK_PROGRAM = 'HPLCORD0' I_TABNAME = 'PMNTS' I_INCLNAME = 'PCORDPL1' CHANGING CT_FIELDCAT = LT_FDCAT_PT[].

K_KKB_FIELDCAT_COMPLETE CALL FUNCTION 'K_KKB_FIELDCAT_COMPLETE' EXPORTING I_TABNAME = TNAME CHANGING CT_FIELDCAT = LT_FDCAT_EE[].

K_KKB_FIELDCAT_COMPLETE CALL FUNCTION 'K_KKB_FIELDCAT_COMPLETE' EXPORTING I_TABNAME = TNAME CHANGING CT_FIELDCAT = LT_FDCAT_CT[].

K_KKB_FIELDCAT_COMPLETE CALL FUNCTION 'K_KKB_FIELDCAT_COMPLETE' EXPORTING I_TABNAME = TNAME CHANGING CT_FIELDCAT = LT_FDCAT_PT[].



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