SNOTE_SUPPORT_FOR_ADD_OBJECTS 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 SNOTE_SUPPORT_FOR_ADD_OBJECTS 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!
DDIF_DOMA_GET CALL FUNCTION 'DDIF_DOMA_GET' EXPORTING name = i_domname langu = i_langu state = 'M' "newest version (e.g. inactive)
DDIF_DOMA_PUT CALL FUNCTION 'DDIF_DOMA_PUT' EXPORTING name = i_domname dd01v_wa = ls_dd01v TABLES dd07v_tab = lt_dd07v EXCEPTIONS doma_not_found = 1 name_inconsistent = 2 doma_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.
DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = i_rollname langu = i_langu state = 'M' "newest version (e.g. inactive)
DDIF_DTEL_PUT CALL FUNCTION 'DDIF_DTEL_PUT' EXPORTING name = i_rollname dd04v_wa = ls_dd04v EXCEPTIONS dtel_not_found = 1 name_inconsistent = 2 dtel_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.
DDIF_TTYP_GET CALL FUNCTION 'DDIF_TTYP_GET' EXPORTING name = i_typename state = 'M' IMPORTING dd40v_wa = ls_dd40v * TABLES * DD42V_TAB = EXCEPTIONS illegal_input = 1 OTHERS = 2.
DDIF_TTYP_PUT CALL FUNCTION 'DDIF_TTYP_PUT' EXPORTING name = i_typename dd40v_wa = ls_dd40v * TABLES * DD42V_TAB = EXCEPTIONS ttyp_not_found = 1 name_inconsistent = 2 ttyp_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.
DDIF_TABL_GET CALL FUNCTION 'DDIF_TABL_GET' EXPORTING name = i_tabname state = 'M' "newest version (e.g. inactive)
DDIF_TABL_PUT CALL FUNCTION 'DDIF_TABL_PUT' EXPORTING name = i_tabname dd02v_wa = ls_dd02v dd09l_wa = ls_dd09l TABLES dd03p_tab = lt_dd03p dd05m_tab = lt_dd05m dd08v_tab = lt_dd08v dd35v_tab = lt_dd35v dd36m_tab = lt_dd36m EXCEPTIONS tabl_not_found = 1 name_inconsistent = 2 tabl_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.
DDIF_VIEW_GET CALL FUNCTION 'DDIF_VIEW_GET' EXPORTING name = i_viewname state = 'M' "most recent, e.g. inactive
DDIF_VIEW_PUT CALL FUNCTION 'DDIF_VIEW_PUT' EXPORTING name = i_viewname dd25v_wa = ls_dd25v dd09l_wa = ls_dd09l TABLES dd26v_tab = lt_dd26v dd27p_tab = lt_dd27p dd28j_tab = lt_dd28j dd28v_tab = lt_dd28v EXCEPTIONS view_not_found = 1 name_inconsistent = 2 view_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.
POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Activation' "#EC NOTEXT text_question = 'How do you want to activate?' "#EC NOTEXT text_button_1 = 'Online' "#EC NOTEXT text_button_2 = 'Batch' "#EC NOTEXT display_cancel_button = 'X' IMPORTING answer = lv_answer EXCEPTIONS OTHERS = 1.
RS_WORKING_OBJECT_ACTIVATE CALL FUNCTION 'RS_WORKING_OBJECT_ACTIVATE' EXPORTING dictionary_only = 'X' TABLES objects = lt_dwinactiv EXCEPTIONS OTHERS = 5.
RS_WORKING_OBJECT_ACTIVATE CALL FUNCTION 'RS_WORKING_OBJECT_ACTIVATE' EXPORTING dictionary_only = ' ' TABLES objects = lt_dwinactiv EXCEPTIONS OTHERS = 5.
JOB_OPEN CALL FUNCTION 'JOB_OPEN' EXPORTING jobname = ls_job-jobname IMPORTING jobcount = ls_job-jobcount CHANGING ret = lv_rc EXCEPTIONS cant_create_job = 1 invalid_job_data = 2 jobname_missing = 3 OTHERS = 4.
JOB_CLOSE CALL FUNCTION 'JOB_CLOSE' EXPORTING jobcount = ls_job-jobcount jobname = ls_job-jobname strtimmed = 'X' EXCEPTIONS OTHERS = 1.
RS_CORR_INSERT CALL FUNCTION 'RS_CORR_INSERT' "and create TADIR-entry EXPORTING object = l_object_name object_class = l_object_class devclass = i_devclass korrnum = s_trkorr * USE_KORRNUM_IMMEDIATEDLY = ' ' * AUTHOR = ' ' master_language = i_langu * GENFLAG = ' ' * PROGRAM = ' ' * OBJECT_CLASS_SUPPORTS_MA = ' ' * EXTEND = ' ' * SUPPRESS_DIALOG = ' ' * MOD_LANGU = ' ' * ACTIVATION_CALL = ' ' IMPORTING korrnum = s_trkorr * ORDERNUM = * NEW_CORR_ENTRY = * AUTHOR = * TRANSPORT_KEY = * NEW_EXTEND = EXCEPTIONS cancelled = 1 permission_failure = 2 unknown_objectclass = 3 OTHERS = 4.
DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = i_rollname state = 'M' IMPORTING dd04v_wa = ls_dd04v EXCEPTIONS OTHERS = 0.
DOCU_UPDATE CALL FUNCTION 'DOCU_UPDATE' EXPORTING * ACTCLASS = ' ' head = ls_head no_masterlang = lv_no_masterlang state = 'A' typ = 'E' version = 0 TABLES line = lt_line.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.