PCPV6UA1 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 PCPV6UA1 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
GUI_GET_FILE_INFO CALL FUNCTION 'GUI_GET_FILE_INFO' EXPORTING fname = l_filename IMPORTING file_size = l_filesize EXCEPTIONS fileinfo_error = 1 OTHERS = 2.
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = l_filename CODEPAGE = gs_codepage TABLES data_tab = lt_xmlexp EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = l_addrsel * ADDRESS_GROUP = * READ_SADR_ONLY = ' ' * READ_TEXTS = ' ' IMPORTING * ADDRESS_VALUE = * ADDRESS_ADDITIONAL_INFO = * RETURNCODE = * ADDRESS_TEXT = sadr = l_sadr * TABLES * ADDRESS_GROUPS = * ERROR_TABLE = * VERSIONS = EXCEPTIONS PARAMETER_ERROR = 1 ADDRESS_NOT_EXIST = 2 VERSION_NOT_EXIST = 3 INTERNAL_ERROR = 4 OTHERS = 5 .
GUI_DOWNLOAD CALL FUNCTION 'GUI_DOWNLOAD' EXPORTING filename = l_filename CODEPAGE = gs_codepage TABLES data_tab = lt_xmlexp EXCEPTIONS file_write_error = 1 no_batch = 2 gui_refuse_filetransfer = 3 invalid_type = 4 no_authority = 5 unknown_error = 6 header_not_allowed = 7 separator_not_allowed = 8 filesize_not_allowed = 9 header_too_long = 10 dp_error_create = 11 dp_error_send = 12 dp_error_write = 13 unknown_dp_error = 14 access_denied = 15 dp_out_of_memory = 16 disk_full = 17 dp_timeout = 18 file_not_found = 19 dataprovider_exception = 20 control_flush_error = 21 OTHERS = 22.
LVC_VARIANT_SAVE CALL FUNCTION 'LVC_VARIANT_SAVE' EXPORTING it_fieldcat = it_fld_list it_sort = gs_sort it_filter = gs_filter is_layout = gs_layout i_dialog = '' * I_OVERWRITE = ' ' * I_USER_SPECIFIC = ' ' * I_CUSTOMER_NAME_CHECK = 'X' * I_BUFFER_ACTIVE = * I_BYPASSING_BUFFER = * IMPORTING * E_EXIT = * TABLES * IT_DATA = CHANGING cs_variant = gs_variant EXCEPTIONS wrong_input = 1 fc_not_complete = 2 foreign_lock = 3 variant_exists = 4 name_reserved = 5 program_error = 6 OTHERS = 7 .
HR_READ_FOREIGN_OBJECT_TEXT CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT' EXPORTING otype = 'S' objid = pernr-plans status = '1' reference_date = pn-endda langu = sy-langu IMPORTING object_text = it_outtab-t_plans EXCEPTIONS nothing_found = 1 wrong_objecttype = 2 missing_costcenter_data = 3 missing_object_id = 4 OTHERS = 5.
HR_READ_FOREIGN_OBJECT_TEXT CALL FUNCTION 'HR_READ_FOREIGN_OBJECT_TEXT' EXPORTING otype = 'O' objid = pernr-orgeh status = '1' reference_date = pn-endda langu = sy-langu IMPORTING object_text = it_outtab-t_orgeh EXCEPTIONS nothing_found = 1 wrong_objecttype = 2 missing_costcenter_data = 3 missing_object_id = 4 OTHERS = 5.
HR_ENTRY_DATE CALL FUNCTION 'HR_ENTRY_DATE' EXPORTING persnr = pernr-pernr endda = pn-endda IMPORTING entrydate = it_outtab-hiredate EXCEPTIONS entry_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.
HR_LEAVING_DATE CALL FUNCTION 'HR_LEAVING_DATE' EXPORTING persnr = pernr-pernr begda = it_outtab-hiredate IMPORTING leavingdate = it_outtab-firedate EXCEPTIONS leaving_date_not_found = 1 pernr_not_assigned = 2 OTHERS = 3.
LVC_VARIANT_EXISTENCE_CHECK CALL FUNCTION 'LVC_VARIANT_EXISTENCE_CHECK' EXPORTING i_save = 'A' CHANGING cs_variant = gs_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.