EC_PCA_F01_WRI 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 EC_PCA_F01_WRI 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!
G_ADMI_AUTHORITY_CHECK call function 'G_ADMI_AUTHORITY_CHECK' exporting activity = '03' exceptions not_authorized = 01.
K_GROUP_SELECT call function 'K_GROUP_SELECT' exporting buttons = gc_set field_name = lc_rprctr searchfld_input = space searchfld_required = space set = lv_pca_group_in_question table = gc_glpct kokrs = lv_kokrs importing set_name = fp_rprctr_gr "1) exceptions no_set_picked = 0. "its ok not to choose a set => ignore
DYNP_VALUES_READ call function 'DYNP_VALUES_READ' exporting dyname = gc_progname dynumb = lc_dynp_nr tables dynpfields = lt_dynp_fields.
G_SET_ENCRYPT_SETID call function 'G_SET_ENCRYPT_SETID' exporting setclass = gsetc_profitcenter_setclass shortname = fp_rprctr_gr kokrs = fv_kokrs importing setid = lv_setid.
G_SET_GET_ALL_VALUES call function 'G_SET_GET_ALL_VALUES' exporting setnr = lv_setid no_descriptions = space tables set_values = ft_set_values exceptions set_not_found = 1.
RK_BUKRS_OF_KOKRS call function 'RK_BUKRS_OF_KOKRS' exporting kokrs = lt_kokrs-kokrs tables t_bukrs = lt_rbukrs_tmp exceptions no_bukrs_found = 1 not_found = 2.
PCA_T895PCA_READ call function 'PCA_T895PCA_READ' tables it_rldnr_range = lr_rldnr it_kokrs_range = fs_kokrs it_ryear_range = fs_ryear it_rvers_range = fs_rvers et_t895pca = lt_rvers exceptions no_versions_found = 0. "2)
COPCA_ACTIVE_ACT call function 'COPCA_ACTIVE_ACT' exporting gjahr = lt_ryear-ryear kokrs = lt_kokrs-kokrs pcrch = lc_dummy "3) exceptions copca_not_active = 1.
FI_PERIOD_DETERMINE call function 'FI_PERIOD_DETERMINE'"zum bergebenen Buchungskreis exporting "das heute (weil sy-datum i_budat = sy-datum "angegegeben wird) aktuelle i_bukrs = lw_rbukrs-rbukrs "Geschftsjahr holen importing e_gjahr = lv_valid_gjahr.
ARCHIVE_PROTOCOL_INIT_APPL call function 'ARCHIVE_PROTOCOL_INIT_APPL' exporting i_detailprotocol = fp_prot.
ARCHIVE_WRITE_STATISTICS call function 'ARCHIVE_WRITE_STATISTICS' exporting archive_handle = lv_handle.
ARCHIVE_CLOSE_FILE call function 'ARCHIVE_CLOSE_FILE' exporting archive_handle = lv_handle.
ARCHIVE_PROTOCOL_WRITE_APPL call function 'ARCHIVE_PROTOCOL_WRITE_APPL'.
COPCA_ACTIVE_ACT call function 'COPCA_ACTIVE_ACT' exporting gjahr = fv_ryear kokrs = fv_kokrs pcrch = lc_dummy "2) exceptions copca_not_active = 1.
ARCHIVE_OPEN_FOR_WRITE call function 'ARCHIVE_OPEN_FOR_WRITE' exporting call_delete_job_in_test_mode = lv_delete_in_test create_archive_file = lv_create_file object = gc_archive_object comments = fp_coment do_not_delete_data = l_not_delete destroy = l_destroy output_sel_screen_when_dialog = space importing archive_handle = fv_handle exceptions internal_error = 1 object_not_found = 2 open_error = 3 not_authorized = 4.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_msgtype = 2 i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4.
ARCHIVE_PROTOCOL_WRITE call function 'ARCHIVE_PROTOCOL_WRITE'.
ARCHIVE_PROTOCOL_COLLECT_APPL call function 'ARCHIVE_PROTOCOL_COLLECT_APPL' exporting i_object = 'GLPCA' i_msgtype = 2 i_text = 'Archivierung im Produktivmodus nicht möglich. &1 &2'(005)
call function 'ARCHIVE_PROTOCOL_COLLECT_APPL' exporting i_object = 'GLPCP' i_msgtype = 2 i_text = 'Archivierung im Produktivmodus nicht möglich. &1 &2'(005)
ARCHIVE_PROTOCOL_COLLECT_APPL call function 'ARCHIVE_PROTOCOL_COLLECT_APPL' exporting i_object = lv_string1 i_msgtype = 1 i_text = text-002. "Teil der ... archiviert
ARCHIVE_PROTOCOL_COLLECT_APPL * call function 'ARCHIVE_PROTOCOL_COLLECT_APPL' * exporting * i_object = lv_string1 * i_msgtype = 1 * i_text = text-001. "archiviert'
ARCHIVE_NEW_OBJECT call function 'ARCHIVE_NEW_OBJECT' exporting archive_handle = fv_handle object_id = fw_object_id.
ARCHIVE_PUT_TABLE call function 'ARCHIVE_PUT_TABLE' "1) exporting archive_handle = fv_handle record_structure = fv_table tables table = ft_data.
ARCHIVE_SAVE_OBJECT call function 'ARCHIVE_SAVE_OBJECT' exporting archive_handle = fv_handle exceptions termination_requested = 1 data_object_not_saved = 6.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = fw_object_id-rprctr i_msgtype = 2 i_msgid = sy-msgid i_msgno = sy-msgno i_msgv1 = sy-msgv1 i_msgv2 = sy-msgv2 i_msgv3 = sy-msgv3 i_msgv4 = sy-msgv4.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = fw_object_id-rprctr i_msgtype = 1 i_text = lf_text.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = fw_object_id-rprctr i_msgtype = 1 i_text = lf_text.
ARCHIVE_PROTOCOL_COLLECT call function 'ARCHIVE_PROTOCOL_COLLECT' exporting i_object = fw_object_id-rprctr i_msgtype = 1 i_text = lf_text.
PCA_TEXTKEY_GET call function 'PCA_TEXTKEY_GET' exporting i_glpct =
importing e_tdname = lw_textkey.
TEXT_ARCHIVE_OBJECT call function 'TEXT_ARCHIVE_OBJECT' exporting archive_handle = fv_handle id = '*' "ALL language = '*' "ALL name =
object = lc_textobject.
PROGRESS_INDICATOR_APPL call function 'PROGRESS_INDICATOR_APPL' exporting i_text = '&2 Sätze archiviert'(w01) i_processed = fv_rec_archived i_output_immediately = fv_immediately importing e_progress_sent = lv_progress_sent.
DB_COMMIT call function 'DB_COMMIT'.
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 EC_PCA_F01_WRI or its description.
EC_PCA_F01_WRI - ECPCAF01WRI ECRM_PROCESS_ERRORTABLE - Process Remaining Downloads for Contract (Without Workflow) ECRM_PROCESS_ERRORTABLE - Process Remaining Downloads for Contract (Without Workflow) ECRM_OBJ_MDTDVVC_CHECK - Program ECRM_OBJ_MDTDVVC_CHECK ECRM_OBJ_MDTDVVC_CHECK - Program ECRM_OBJ_MDTDVVC_CHECK ECRM_MIOMR_TMP_DEL - Delete Temporary Table ECRM_MIOMR_TMP