SAP Reports / Programs

RK2FGPKC SAP ABAP INCLUDE - documentation and ABAP source code







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

INCLUDE RK2FGTKC.
INCLUDE RK2FINC1.
INCLUDE RK2FINCF.


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:

RP_CHECK_PERNR CALL FUNCTION 'RP_CHECK_PERNR' "Hag 4.0

KE_PROFIT_CENTER_READ_TEXT CALL FUNCTION 'KE_PROFIT_CENTER_READ_TEXT' EXPORTING DATUM = SY-DATLO "wa30D PRCTR = f_0002 SPRACHE = LANGU KOKRS = f_0001 IMPORTING TEXT_WA = TEXT_WA EXCEPTIONS TEXT_NOT_FOUND = 01 "H532061 MISSING_COAREA_OR_CCODE = 02 "H532061 OTHERS = 03. "H532061

BAPI_HELPVALUES_GET CALL FUNCTION 'BAPI_HELPVALUES_GET' DESTINATION RFC_DEST EXPORTING * OBJTYPE = ' ' OBJNAME = 'EmployeeAbsence' METHOD = 'CREATE' PARAMETER = 'Absencetype' FIELD = 'AWART' * max_of_rows = 0 * descriptiononly = ' ' IMPORTING RETURN = I_RETURN TABLES SELECTION_FOR_HELPVALUES = I_SEL_FOR_HELPVALUES HELPVALUES = I_HELPVALUES VALUES_FOR_FIELD = I_VAL_FOR_FIELD DESCRIPTION_FOR_HELPVALUES = I_DSC_FOR_HELPVALUES.

RKC_ASPET_INFO CALL FUNCTION 'RKC_ASPET_INFO' EXPORTING ASPET = FIELD STATUS = 'A' IMPORTING ATEXT = IATEXT EXCEPTIONS NOT_EXIST NOT_IN_CLIENT NOT_IN_STATE.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING PLVAR = PLVAR OTYPE = OTYPE OBJID = OBJID REALO = ' ' ISTAT = ' ' BEGDA = I_CHAR_TAB-DATE ENDDA = I_CHAR_TAB-DATE_TO LANGU = SY-LANGU OINTERVAL = ' ' STORE = 'X' CHECK_STRU_AUTH = ' ' READ_DB = ' ' IMPORTING OBEG = BEGDA OEND = ENDDA OSTAT = OSTAT HISTO = HISTO SHORT = STEXT STEXT = LTEXT EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING PLVAR = PLVAR OTYPE = OTYPE OBJID = OBJID REALO = ' ' ISTAT = ' ' BEGDA = I_CHAR_TAB-DATE ENDDA = I_CHAR_TAB-DATE_TO LANGU = SY-LANGU OINTERVAL = ' ' STORE = 'X' CHECK_STRU_AUTH = ' ' READ_DB = ' ' IMPORTING OBEG = BEGDA OEND = ENDDA OSTAT = OSTAT HISTO = HISTO SHORT = STEXT STEXT = LTEXT EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING PLVAR = PLVAR OTYPE = OTYPE OBJID = OBJID REALO = ' ' ISTAT = ' ' BEGDA = I_CHAR_TAB-DATE ENDDA = I_CHAR_TAB-DATE_TO LANGU = SY-LANGU OINTERVAL = ' ' STORE = 'X' CHECK_STRU_AUTH = ' ' READ_DB = ' ' IMPORTING OBEG = BEGDA OEND = ENDDA OSTAT = OSTAT HISTO = HISTO SHORT = STEXT STEXT = LTEXT EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING PLVAR = PLVAR OTYPE = OTYPE OBJID = OBJID REALO = ' ' ISTAT = ' ' BEGDA = I_CHAR_TAB-DATE ENDDA = I_CHAR_TAB-DATE_TO LANGU = SY-LANGU OINTERVAL = ' ' STORE = 'X' CHECK_STRU_AUTH = ' ' READ_DB = ' ' IMPORTING OBEG = BEGDA OEND = ENDDA OSTAT = OSTAT HISTO = HISTO SHORT = STEXT STEXT = LTEXT EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

RP_CHECK_PERNR CALL FUNCTION 'RP_CHECK_PERNR' "Hag 4.0



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