SAP Reports / Programs

ENH_REPAIR_OTR_USAGE SAP ABAP Report - Program ENH_REPAIR_OTR_USAGE







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


Text pool values


Title: Program ENH_REPAIR_OTR_USAGE


INCLUDES used within this REPORT ENH_REPAIR_OTR_USAGE

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:

SOTR_USAGE_READ CALL FUNCTION 'SOTR_USAGE_READ' EXPORTING pgmid = 'R3TR' object = objtype obj_name = objname IMPORTING sotr_usage = usages EXCEPTIONS OTHERS = 1.

RS_CORR_INSERT call function 'RS_CORR_INSERT' exporting object = obj_name object_class = obj_type korrnum = trkorr importing korrnum = trkorr exceptions cancelled = 1 permission_failure = 2 unknown_objectclass = 3 others = 4.

SOTR_USAGE_DELETE call function 'SOTR_USAGE_DELETE' EXPORTING sotr_usage = usages.

SOTR_USAGE_MODIFY CALL FUNCTION 'SOTR_USAGE_MODIFY' EXPORTING sotr_usage = usages_new.

BTFR_DELETE_SINGLE_TEXT CALL FUNCTION 'BTFR_DELETE_SINGLE_TEXT' EXPORTING concept = usage-concept * LANGU = SY-LANGU * FLAG_STRING = * CONTEXT = * corr_num = corrnr * use_korrnum_immediatedly = insert_corr EXCEPTIONS text_not_found = 1 invalid_package = 2 text_not_changeable = 3 text_enqueued = 4 no_correction = 5 parameter_error = 6 others = 7.

SOTR_USAGE_STRING_READ CALL FUNCTION 'SOTR_USAGE_STRING_READ' EXPORTING pgmid = 'R3TR' object = objtype obj_name = objname IMPORTING sotr_usage = usages EXCEPTIONS "#EC * OTHERS = 1.

RS_CORR_INSERT call function 'RS_CORR_INSERT' exporting object = obj_name object_class = obj_type korrnum = trkorr importing korrnum = trkorr exceptions cancelled = 1 permission_failure = 2 unknown_objectclass = 3 others = 4.

SOTR_USAGE_STRING_DELETE call function 'SOTR_USAGE_STRING_DELETE' EXPORTING sotr_usage = usages.

SOTR_USAGE_STRING_MODIFY CALL FUNCTION 'SOTR_USAGE_STRING_MODIFY' EXPORTING sotr_usage = usages_new.

BTFR_DELETE_SINGLE_TEXT CALL FUNCTION 'BTFR_DELETE_SINGLE_TEXT' EXPORTING concept = usage-concept * LANGU = SY-LANGU flag_string = 'X' * CONTEXT = * corr_num = corrnr * use_korrnum_immediatedly = insert_corr EXCEPTIONS text_not_found = 1 invalid_package = 2 text_not_changeable = 3 text_enqueued = 4 no_correction = 5 parameter_error = 6 others = 7.



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