PCANNIN4 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 PCANNIN4 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: Main routine for payroll annual display -India
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
HR_DISPLAY_BASIC_LIST * CALL FUNCTION 'HR_DISPLAY_BASIC_LIST' * EXPORTING * BASIC_LIST_TITLE = SY-TITLE ** FILE_NAME = 'RPTTYD27' * FILE_NAME = 'HINCANN0' ** HEAD_LINE1 = 'Payroll Annual Display'(201) * HEAD_LINE2 = HEADING ** foot_note1 = statistik ** LAY_OUT = 0 * DYN_PUSHBUTTON_TEXT1 = 'Error'(E01) * CURRENT_REPORT = THIS_REPORT * ADDITIONAL_OPTIONS = ADDITIONAL_OPTIONS * WORD_DOCUMENT = WORDFILE * IMPORTING * RETURN_CODE = RET_CD * TABLES * DATA_TAB = DATA_TAB * FIELDNAME_TAB = FIELDNAMES2 * ERROR_TAB = HR_ERROR * EXCEPTIONS * DOWNLOAD_PROBLEM = 1 * NO_DATA_TAB_ENTRIES = 2 * TABLE_MISMATCH = 3 * PRINT_PROBLEMS = 4 * OTHERS = 5.
NAMETAB_GET CALL FUNCTION 'NAMETAB_GET' EXPORTING LANGU = SY-LANGU ONLY = ' ' TABNAME = TABELLENNAME TABLES NAMETAB = NAMETAB EXCEPTIONS INTERNAL_ERROR = 01 TABLE_HAS_NO_FIELDS = 02 TABLE_NOT_ACTIV = 03.
HR_FIELD_CHOICE CALL FUNCTION 'HR_FIELD_CHOICE' EXPORTING MAXFIELDS = FELDER TITEL1 = TEXT-001 "'Auswählbare Felder' TITEL2 = TEXT-002 "'Ausgewählte Felder' POPUPTITEL = TEXT-003 "'HR Feldauswahl' IMPORTING RETURN_CODE = RETURNCODE TABLES FIELDTABIN = HR_CHOICE_TAB_IN SELFIELDS = SELECTTAB EXCEPTIONS NO_TAB_FIELD_INPUT = 01 TO_MANY_SELFIELDS_ENTRIES = 02.
HR_FIELD_CHOICE CALL FUNCTION 'HR_FIELD_CHOICE' EXPORTING MAXFIELDS = FELDER TITEL1 = TEXT-001 "'Auswählbare Felder' TITEL2 = TEXT-002 "'Ausgewählte Felder' POPUPTITEL = TEXT-003 "'HR Feldauswahl' IMPORTING RETURN_CODE = RETURNCODE TABLES FIELDTABIN = TITEL SELFIELDS = SELECTTAS EXCEPTIONS NO_TAB_FIELD_INPUT = 01 TO_MANY_SELFIELDS_ENTRIES = 02.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = 'HINCANN0' i_internal_tabname = 'DATA_TAB' i_inclname = 'PCANNIN1' CHANGING ct_fieldcat = fieldcat[] EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.