SAP Reports / Programs

NOTE_1702698 SAP ABAP Report - Report NOTE_1665112







NOTE_1702698 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 NOTE_1702698 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

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.






SUBMIT NOTE_1702698. "Basic submit
SUBMIT NOTE_1702698 AND RETURN. "Return to original report after report execution complete
SUBMIT NOTE_1702698 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Report NOTE_1665112


INCLUDES used within this REPORT NOTE_1702698

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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 global_lock = l_global_lock * AUTHOR = ' ' master_language = i_langu * GENFLAG = ' ' * PROGRAM = ' ' * OBJECT_CLASS_SUPPORTS_MA = ' ' extend = l_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.

DOCU_GET CALL FUNCTION 'DOCU_GET' EXPORTING id = ls_head-tdid(2) langu = ls_head-tdspras object = ls_head-tdname(60) TABLES line = lt_line_old EXCEPTIONS OTHERS = 0.

DOCU_UPDATE CALL FUNCTION 'DOCU_UPDATE' EXPORTING * ACTCLASS = ' ' head = ls_head no_masterlang = lv_no_masterlang state = 'A' typ = 'E' version = 1 TABLES line = lt_line.

DOCU_GET





CALL FUNCTION 'DOCU_GET' EXPORTING id = ls_head-tdid(2) langu = ls_head-tdspras object = ls_head-tdname(60) TABLES line = lt_line_old EXCEPTIONS OTHERS = 0.

DOCU_UPDATE CALL FUNCTION 'DOCU_UPDATE' EXPORTING * ACTCLASS = ' ' head = ls_head no_masterlang = lv_no_masterlang state = 'A' typ = 'E' version = 1 TABLES line = lt_line.

DD_AUTH_CHECK CALL FUNCTION 'DD_AUTH_CHECK' EXPORTING action = 'ACTIVA' objname = 'RIHMPLA' objtype = 'STRU' IMPORTING rc = rc EXCEPTIONS OTHERS = 0.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.

The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name NOTE_1702698 or its description.