RN2_DELETE_DOKTYP 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 RN2_DELETE_DOKTYP 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_TEST = Test Run (Log Only)
Selection Text: P_PROD = Update Run (DB Changes)
Selection Text: EINRI = Institution
Selection Text: DTVERS = DocCatgy Version No.
Selection Text: DTID = Document Category ID
Title: Delete Concrete Draft
Text Symbol: S03 = Version
Text Symbol: S02 = Doc.Ctgy
Text Symbol: S01 = Institution
Text Symbol: B02 = Processing Mode
Text Symbol: B01 = Selection Criteria
Text Symbol: 018 = Also Documents WITHOUT Deletion Ind.
Text Symbol: 015 = Number of Deleted Documents:
Text Symbol: 014 = Number of Selected Documents:
Text Symbol: 012 = Messages:
Text Symbol: 011 = Processing Mode: UPDATE RUN, i.e. documents have been deleted.
Text Symbol: 010 = Processing Mode: TEST RUN, i.e. no documents have been deleted.
Text Symbol: 009 = Deleted Documents:
Text Symbol: 007 = ChangeDate
Text Symbol: 005 = With Doc.
Text Symbol: 004 = DocVr
Text Symbol: 003 = DocPt
Text Symbol: 002 = DocNumber
Text Symbol: 001 = DocTyp
INCLUDE RNDATA00.
INCLUDE IN2DOC_CONST01.
INCLUDE MNCOLOUR.
INCLUDE RNSSIEIN.
INCLUDE RNSSSPBO.
INCLUDE RNSSSEIN.
No SAP DATABASE tables are accessed within this REPORT code!
ISH_N2_WRITE_DTVERS CALL FUNCTION 'ISH_N2_WRITE_DTVERS' EXPORTING * SS_MANDT = SY-MANDT ss_einri = wa_n2dt-einri ss_dtid = wa_n2dt-dtid ss_dtvers = wa_n2dt-dtvers * SS_ASK_SELECTION = OFF * SS_SHOW_HEADER = ON * SS_SHOW_STRUCTURE = ON * SS_SHOW_ELEMENTS = ON * S_DATA_MODE = ' ' * S_DOCTYPE = * TABLES * S_DOCELS = EXCEPTIONS doktyp_not_found = 1 OTHERS = 2 .
ISH_N2_DOCUMENTS_DELETE_FROMDB CALL FUNCTION 'ISH_N2_DOCUMENTS_DELETE_FROMDB' EXPORTING im_apicontrol = apicontrol im_with_content = l_delcont im_without_del_indicator = l_no_loekz IMPORTING ex_worst_msgty = worst_msgty ex_number_sel_docs = number_sel_docs ex_number_del_docs = number_del_docs TABLES ext_return = t_return filter_einri = r_einri filter_dtid = r_dtid * filter_updat = r_updat * filter_dokar = r_dokar * filter_doknr = r_doknr * filter_doktl = r_doktl * filter_dokvr = r_dokvr ext_doc_delete = t_doc_delete.
ISH_N2_CHECK_OBJECT_NAME CALL FUNCTION 'ISH_N2_CHECK_OBJECT_NAME' EXPORTING ss_object_name = wa_n2dt-ddtab ss_object_type = 'TABL' CHANGING name_free = name_free EXCEPTIONS wrong_object_type = 1 OTHERS = 3.
FUNCTION_INCLUDE_INFO CALL FUNCTION 'FUNCTION_INCLUDE_INFO' * IMPORTING * FUNCTAB = * NAMESPACE = CHANGING * FUNCNAME = group = fugr_name * INCLUDE = EXCEPTIONS function_not_exists = 1 include_not_exists = 2 group_not_exists = 3 no_selections = 4 no_function_include = 5 OTHERS = 6.
ISH_N2_CHECK_OBJECT_NAME CALL FUNCTION 'ISH_N2_CHECK_OBJECT_NAME' EXPORTING ss_object_name = wa_n2dt-prgsciprog ss_object_type = 'PROG' CHANGING name_free = name_free EXCEPTIONS wrong_object_type = 1 OTHERS = 3.
ISH_N2_CHECK_OBJECT_NAME CALL FUNCTION 'ISH_N2_CHECK_OBJECT_NAME' EXPORTING ss_object_name = wa_n2dt-forsciform ss_object_type = 'FORM' CHANGING name_free = name_free EXCEPTIONS wrong_object_type = 1 OTHERS = 3.
ISH_N2_CHECK_OBJECT_NAME CALL FUNCTION 'ISH_N2_CHECK_OBJECT_NAME' EXPORTING ss_object_name = wa_n2dt-usrsciform ss_object_type = 'FORM' CHANGING name_free = name_free EXCEPTIONS wrong_object_type = 1 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.