PSFC_DOCLINK_DIST is a standard Executable ABAP Report 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 PSFC_DOCLINK_DIST 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: PPS Print: Document Distributions
Text Symbol: DUP = Duplicat
Text Symbol: MAT = Material
Text Symbol: OED = Basic Finish Date
Text Symbol: ORD = Request
Text Symbol: ORG = Original
Text Symbol: OSD = Basic Start Date
Text Symbol: QUA = Quantity
INCLUDE PPCOINCL.
FORM GET_DOCLINKS USING I_HDR_INCLUDE
No SAP DATABASE tables are accessed within this REPORT code!
CVV1_PLOT_DOCUMENTS CALL FUNCTION 'CVV1_PLOT_DOCUMENTS' EXPORTING * pass the next two parameters to use classification * i_class = 'ORDER' * i_classtype = '170' i_printer = print_co-desti * I_CONTEXT = * I_STATUS = 'SY' i_com_type = 'PLO' i_drzoi = ls_drzoi IMPORTING e_ddi_id = l_ddi_id TABLES documents = lt_documents characteristics = lt_characteristics EXCEPTIONS printer_does_not_exist = 1 error = 2 classification_update_error = 3 parameter_error = 4 OTHERS = 5.
CO_PRINT_IMPORT_DATA CALL FUNCTION 'CO_PRINT_IMPORT_DATA' EXCEPTIONS memory_id_ppt_not_exist = 1 memory_id_ppi_not_exist = 2 memory_id_pps_not_exist = 3 OTHERS = 4.
CO_PRINT_GET_ORD CALL FUNCTION 'CO_PRINT_GET_ORD' EXPORTING aufnr_imp = print_co-aufnr flg_prtbl_opr = on flg_prtbl_sop = on flg_prtbl_cmp = on flg_prtbl_prt = on CHANGING caufvd_p_tab_exp = caufvd_p_tab[] EXCEPTIONS entry_not_found = 1 OTHERS = 2.
CO_PRINT_GET_INFO_LIST CALL FUNCTION 'CO_PRINT_GET_INFO_LIST' IMPORTING print_co_exp = print_co print_opts_exp = print_opts EXCEPTIONS OTHERS = 0.
CO_PRINT_GET_ITEM CALL FUNCTION 'CO_PRINT_GET_ITEM' EXPORTING caufvd_p_imp = caufvd_p posnr_imp = '0001' CHANGING afpod_p_tab_exp = afpod_p_tab[] EXCEPTIONS entry_not_found = 1 OTHERS = 2.
CO_PRINT_GET_FIRST_OPR CALL FUNCTION 'CO_PRINT_GET_FIRST_OPR' EXPORTING i_aufpl = afvgd_p-aufpl IMPORTING e_vornr = g_first_opr EXCEPTIONS not_found = 1.
CO_PRINT_GET_DOCL_ORD CALL FUNCTION 'CO_PRINT_GET_DOCL_ORD' EXPORTING caufvd_p_imp = caufvd_p * AFFLD_P_IMP = * AFVGD_P_IMP = * FLG_NO_REFRESH = * FLG_CHK_CNTRLKEY = 'X' CHANGING afdld_p_tab_exp = afdld_p_tab[] EXCEPTIONS entry_not_found = 1 too_many_params = 2 .
CO_PRINT_GET_DOCL_OPR CALL FUNCTION 'CO_PRINT_GET_DOCL_OPR' EXPORTING * caufvd_p_imp = caufvd_p afvgd_p_imp = afvgd_p flg_no_refresh = l_no_refresh * FLG_CHK_CNTRLKEY = 'X' CHANGING afdld_p_tab_exp = afdld_p_tab[] EXCEPTIONS entry_not_found = 1 too_many_params = 2 OTHERS = 3 .
CO_PRINT_GET_SEQ CALL FUNCTION 'CO_PRINT_GET_SEQ' EXPORTING caufvd_p_imp = caufvd_p * AFVGD_P_IMP = * RESBD_P_IMP = * AFFHD_P_IMP = * FLG_NO_REFRESH = flg_prtbl_opr = on flg_prtbl_sop = on flg_prtbl_cmp = on flg_prtbl_prt = on CHANGING affld_p_tab_exp = affld_p_tab[] EXCEPTIONS entry_not_found = 1 too_many_params = 2 OTHERS = 3.
CO_PRINT_GET_OPR CALL FUNCTION 'CO_PRINT_GET_OPR' EXPORTING * CAUFVD_P_IMP = affld_p_imp = affld_p * SAFVGD_P_IMP = * RESBD_P_IMP = * AFFHD_P_IMP = * FLG_NO_REFRESH = flg_chk_ctrlkey = print_co-psteu * FLG_PRTBL_SOP = * FLG_PRTBL_CMP = * FLG_PRTBL_PRT = CHANGING afvgd_p_tab_exp = afvgd_p_tab[] EXCEPTIONS entry_not_found = 1 too_many_params = 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.