TTE_DOCUMENT_LIST 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 TTE_DOCUMENT_LIST 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: SEL_USER = D User
Selection Text: SEL_OBJK = D Ref.Obj Key.
Selection Text: SEL_CRDT = D Created On
Selection Text: SEL_CHNG = D Changed On
Selection Text: P_STORNO = Select only Canceled
Selection Text: P_ITEM = With item detail
Title: TTE Document List
Text Symbol: A06 = Display Document
Text Symbol: A05 = Number of Documents
Text Symbol: A04 = to
Text Symbol: A03 = Created from
Text Symbol: 015 = TTE Documents are selected
Text Symbol: 014 = It can take long time! Do you want to continue?
Text Symbol: 013 = TTE Document Selection
Text Symbol: 012 = TTE Documents
Text Symbol: 011 = Doc.ID/Item Number/TaxValue
Text Symbol: 010 = ERROR
Text Symbol: 005 = Data source...
Text Symbol: 004 = caused a failure.
Text Symbol: 003 = A method in the automation queue
Text Symbol: 002 = Internal error:
Text Symbol: 001 = Automation Queue failure
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_TO_INFORM CALL FUNCTION 'POPUP_TO_INFORM' EXPORTING titel = 'Automation Queue failure'(001) txt1 = 'Internal error:'(002) txt2 = 'A method in the automation queue'(003) txt3 = 'caused a failure.'(004).
LVC_FIELDCATALOG_MERGE CALL FUNCTION 'LVC_FIELDCATALOG_MERGE' EXPORTING i_structure_name = 'TTEPDT_DOCUMENT_LIST_CURR_ST' CHANGING ct_fieldcat = gt_fieldcatalog.
TTE_4_DOCUMENT_DISPLAY CALL FUNCTION 'TTE_4_DOCUMENT_DISPLAY' EXPORTING i_reftooriginal = p_document_id i_pridocguid = lv_pridocguid * i_ipc_dest = lv_ipc_dest * i_session_id = lv_session_id i_archived_only = gv_archived_only EXCEPTIONS OTHERS = 1.
TTE_4_DOCUMENT_GET_PERS CALL FUNCTION 'TTE_4_DOCUMENT_GET_PERS' EXPORTING I_HANDLE = lv_get_handle I_WITH_USITEMS = 'N' I_READ_FROM_TTE = space I_ARCHIVED_ONLY = gv_archived_only IR_TTEDOC = gr_tte_doc_ext EXCEPTIONS COMMUNICATION_FAILURE = 1 NO_TTE_DOCUMENT = 2 SYSTEM_FAILURE = 3 IMPORT_ERROR = 4 OTHERS = 5.
TTE_4_DOCUMENT_BUFF_REFRESH CALL FUNCTION 'TTE_4_DOCUMENT_BUFF_REFRESH'.
TTE_4_DOCUMENT_BUFF_REFRESH CALL FUNCTION 'TTE_4_DOCUMENT_BUFF_REFRESH'.
TTE_4_DOCUMENT_SELECT_AR CALL FUNCTION 'TTE_4_DOCUMENT_SELECT_AR' EXPORTING it_obj_key = sel_objk[] it_chng_date = sel_chng[] it_crea_date = sel_crdt[] it_crea_user = sel_user[] i_only_cancelled = p_storno i_use_infosys = p_useas it_arch_sel = so_files[] TABLES t_document = gt_document.
POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' "#EC * EXPORTING defaultoption = 'N' textline1 = gv_s_text textline2 = text-014 titel = text-013 * START_COLUMN = 25 * START_ROW = 6 * CANCEL_DISPLAY = 'X' IMPORTING answer = gv_sel_answer.
AS_DATASOURCE_INIT CALL FUNCTION 'AS_DATASOURCE_INIT' EXPORTING it_objects = lt_objects[] i_report = 'TTE_DOCUMENT_LIST' IMPORTING e_use_database = r_usedb e_use_archive = r_usear e_use_infosys = r_useas et_arch_sel = rt_files[].
AS_DATASOURCE_SELECT CALL FUNCTION 'AS_DATASOURCE_SELECT' EXPORTING i_report = 'TTE_DOCUMENT_LIST' it_objects = lt_objects[] CHANGING c_use_database = r_usedb c_use_archive = r_usear c_use_infosys = r_useas ct_arch_sel = rt_files.
BAPI_CURRENCY_GETDECIMALS CALL FUNCTION 'BAPI_CURRENCY_GETDECIMALS' EXPORTING CURRENCY = lw_CURRENCY IMPORTING CURRENCY_DECIMALS = lw_CURRENCY_DECIMALS RETURN = lw_return.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
TTE_DOCUMENT_LIST - TTE Document List TTE_DOCUMENT_LIST - TTE Document List TTE_CUST_IMPORT_FROM - Import external customizing tables into TTE TTE_CUST_IMPORT_FROM - Import external customizing tables into TTE TTE_CUST_CHECK_DATE_VALIDATF01 - Include TTE_CUST_CHECK_DATE_VALIDATF01 TTE_CUST_CHECK_CHECK_TAXCODF01 - Include TTE_CUST_CHECK_CHECK_TAXCODF01