SAP Reports / Programs

RPTTWDW_DTEL_COPY SAP ABAP Report - Copy a DTEL changing the medium text to the desired value







RPTTWDW_DTEL_COPY 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 RPTTWDW_DTEL_COPY 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 RPTTWDW_DTEL_COPY. "Basic submit
SUBMIT RPTTWDW_DTEL_COPY AND RETURN. "Return to original report after report execution complete
SUBMIT RPTTWDW_DTEL_COPY VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Copy a DTEL changing the medium text to the desired value


INCLUDES used within this REPORT RPTTWDW_DTEL_COPY

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_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = new_dtel state = 'A' langu = sy-langu IMPORTING gotstate = lv_gotstate dd04v_wa = ls_dd04v * TPARA_WA = EXCEPTIONS illegal_input = 1 OTHERS = 2.

DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING name = old_dtel state = 'A' langu = sy-langu IMPORTING gotstate = lv_gotstate dd04v_wa = ls_dd04v * TPARA_WA = EXCEPTIONS illegal_input = 1 OTHERS = 2.

DDIF_DTEL_PUT CALL FUNCTION 'DDIF_DTEL_PUT' EXPORTING name = new_dtel dd04v_wa = ls_dd04v EXCEPTIONS dtel_not_found = 1 name_inconsistent = 2 dtel_inconsistent = 3 put_failure = 4 put_refused = 5 OTHERS = 6.

DDIF_DTEL_ACTIVATE CALL FUNCTION 'DDIF_DTEL_ACTIVATE' EXPORTING name = new_dtel * AUTH_CHK = 'X' * PRID = -1 IMPORTING rc = lv_rc EXCEPTIONS not_found = 1 put_failure = 2 OTHERS = 3 .

DD_E071_TO_DD CALL FUNCTION 'DD_E071_TO_DD' EXPORTING object = objtype obj_name = objname_e071 IMPORTING type = objtype "DTED->DTEL etc.

RS_ACCESS_PERMISSION CALL FUNCTION 'RS_ACCESS_PERMISSION' EXPORTING authority_check = ' ' * GLOBAL_LOCK = ' ' * LANGUAGE_UPD_EXIT = ' ' * MASTER_LANGUAGE = ' ' * MODE = 'MODIFY' object = enq object_class = 'DICT' * TRDIR_INF = * REQUEST_LANGUAGE = ' ' suppress_corr_check = 'X' * SUPPRESS_LANGUAGE_CHECK = 'X' * SUPPRESS_EDITOR_LOCK_CHECK = ' ' * SUPPRESS_LANGUAGE_DIALOG = ' ' * SUPPRESS_EXTEND_DIALOG = 'X' * SUPPRESS_UPGRADE_CHECK = ' ' ** BEgin Valid = L6B * IMPORTING * frozen = l_frozen ** End Valid = L6B * DEVCLASS = * ERROR_INFO = * NEW_MASTER_LANGUAGE = * KORRNUM = * TRANSPORT_KEY = * MODIFICATION_LANGUAGE = * EXTEND = * TADIRE = EXCEPTIONS canceled_in_corr = 1 enqueued_by_user = 2 enqueue_system_failure = 3 illegal_parameter_values = 4 locked_by_author = 5 no_modify_permission = 6 no_show_permission = 7 permission_failure = 8 request_language_denied = 9 OTHERS = 10 .

RS_CORR_INSERT CALL FUNCTION 'RS_CORR_INSERT' EXPORTING object = enq object_class = 'DICT' mode = 'MODIFY' korrnum = l_trkorr IMPORTING korrnum = l_new_trkorr EXCEPTIONS OTHERS = 01.



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 RPTTWDW_DTEL_COPY or its description.