FAGL_CHECK_DOCUMENT_CHAIN_SIZE 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 FAGL_CHECK_DOCUMENT_CHAIN_SIZE 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.
Selection Text: P_LEVEL = Cancelation Level
Selection Text: P_MIGDT = Key Date for Open Items
Selection Text: P_BUKRS = D .
Title: Document Chain Analysis
Text Symbol: 100 = Chain ID
Text Symbol: 101 = Chain Size
Text Symbol: 102 = Chain Depth
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FAGL_GET_OPEN_DOCUMENTS CALL FUNCTION 'FAGL_GET_OPEN_DOCUMENTS' EXPORTING it_bukrs = gt_bukrs id_migdt = p_migdt IMPORTING et_open_docs = gt_open_docs.
FAGL_GET_DOC_CHAIN_SIZE_DEPTH CALL FUNCTION 'FAGL_GET_DOC_CHAIN_SIZE_DEPTH' EXPORTING it_open_docs = gt_open_docs id_max_level = p_level IMPORTING et_doc_chains = gt_doc_chain.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = sy-repid it_fieldcat = gt_fieldcat * is_layout = ls_layout TABLES t_outtab = gt_doc_chain.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'FAGL_S_DOC_CHAIN_DEPTH' CHANGING ct_fieldcat = ct_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.
FAGL_CHECK_DOCUMENT_CHAIN_SIZE - Document Chain Analysis FAGL_CHECK_DOCUMENT_CHAIN_SIZE - Document Chain Analysis FAGL_CHECK_CUST_DOC_TYPE - Check on Business Transaction Assignment for Document Type FAGL_CHECK_CUST_DOC_TYPE - Check on Business Transaction Assignment for Document Type FAGL_CHECK_CURTP_AUTHORITY - FAGLCHECKCURTPAUTHORITY FAGL_CHECK_CURRS_OF_COMPS - FAGLCHECKCURRSOFCOMPS