RPC16CA0 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 RPC16CA0 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Formatting of Pay Slip L16 acc. to EStG
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_AT_GET_ORG_DATA CALL FUNCTION 'HR_AT_GET_ORG_DATA' "+ EXPORTING "+ ORG_IN = ORG_DATA "+ IMPORTING "+ ADDRESSE = AG_ADDR "+ EXCEPTIONS "+ T5A0P_DATA_NOT_FOUND = 1 "+ T5A0A_DATA_NOT_FOUND = 2 "+ T5A0P_LOHNB_NOT_SPECIFIED = 3 "+ T5A0A_ANKEY_NOT_SPECIFIED = 4 "+ OTHERS = 5 "+ . "+
RP_GET_CURRENCY CALL FUNCTION 'RP_GET_CURRENCY' EXPORTING molga = calc_molga begda = l_datum endda = l_datum IMPORTING waers = g_curr-waers valid_begda = g_curr-begda valid_endda = g_curr-endda EXCEPTIONS OTHERS = 4.
CURRENCY_CODE_ISO_TO_SAP CALL FUNCTION 'CURRENCY_CODE_ISO_TO_SAP' EXPORTING iso_code = p_iso_code IMPORTING sap_code = p_currency EXCEPTIONS OTHERS = 4.
HR_AT_GET_AUBGR_EIGENSCH_AUSPR CALL FUNCTION 'HR_AT_GET_AUBGR_EIGENSCH_AUSPR' EXPORTING aubgr =
-aubgr etype = '12' "Lohnzettel L16: Sozialer Status datum = p_datum IMPORTING eausp = l_eausp * aubgt = * etypt = eaupt = l_eaupt EXCEPTIONS * t5a1i_error = 1 t5a1d_not_found = 2 * OTHERS = 3 .
HRCA_COMPANYCODE_GETDETAIL CALL FUNCTION 'HRCA_COMPANYCODE_GETDETAIL' " ! EXPORTING " ! COMPANYCODE = $BUKRS " ! IMPORTING " ! COMP_NAME = I001-COMP_NAME " ! CITY = I001-CITY " ! COUNTRY = I001-COUNTRY " ! CURRENCY = I001-CURRENCY " ! LANGU = I001-LANGU " ! CHRT_ACCTS = I001-CHRT_ACCTS " ! FY_VARIANT = I001-FY_VARIANT " ! EXCEPTIONS " ! NOT_FOUND = 1. "XNRK019655-+
FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' " ! EXPORTING " ! * LOGICAL_FILENAME = P_DTASET " ! LOGICAL_FILENAME = gc_dta_name "Note 1778938 IMPORTING " ! FILE_NAME = DTAFILE " ! EXCEPTIONS " ! FILE_NOT_FOUND = 1 " ! OTHERS = 2. " !
FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_dta_name CHANGING physical_filename = dtafile EXCEPTIONS logical_filename_not_found = 1 validation_failed = 2 OTHERS = 3.
HR_AT_GET_ORG_DATA CALL FUNCTION 'HR_AT_GET_ORG_DATA' EXPORTING ORG_IN = ORG_DATA IMPORTING BTRTL_DATA = BTRTL_DATA LOHNB_DATA = LOHNB_DATA ADDRESS_DETAIL = AG_ADDR_DETAIL EXCEPTIONS T5A0P_DATA_NOT_FOUND = 1 T5A0A_DATA_NOT_FOUND = 2 T5A0P_LOHNB_NOT_SPECIFIED = 3 T5A0A_ANKEY_NOT_SPECIFIED = 4 ADDRESS_NOT_FOUND_IN_T536C = 5 OTHERS = 6.
HR_AT_GET_LOHNB_DATA CALL FUNCTION 'HR_AT_GET_LOHNB_DATA' " ! EXPORTING " ! LOHNB = BTRTL_DATA-LOHNB " ! * ENDDA = PN-BEGDA "VCX00727263 ! ENDDA = PN-ENDDA "VCX00727263 ! IMPORTING " ! LOHNB_DATA = LOHNB_DATA " ! EXCEPTIONS " ! OTHERS = 4. "VCX00908020+
CU_READ_RGDIR CALL FUNCTION 'CU_READ_RGDIR' EXPORTING persnr = p_pernr IMPORTING molga = calc_molga TABLES in_rgdir = rgdir EXCEPTIONS others = 0.
HR_FEATURE_BACKFIELD CALL FUNCTION 'HR_FEATURE_BACKFIELD' EXPORTING FEATURE = l_c_alzja STRUC_CONTENT = l_pme20 KIND_OF_ERROR = 4 IMPORTING BACK = p_orig_inper CHANGING STATUS = l_status EXCEPTIONS * DUMMY = 1 * ERROR_OPERATION = 2 * NO_BACKVALUE = 3 * FEATURE_NOT_GENERATED = 4 * INVALID_SIGN_IN_FUNID = 5 * FIELD_IN_REPORT_TAB_IN_PE03 = 6 OTHERS = 99.
VIEW_ENQUEUE CALL FUNCTION 'VIEW_ENQUEUE' EXPORTING action = 'D' enqueue_mode = 'E' view_name = 'T5A1O' EXCEPTIONS OTHERS = 8.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.