SAP Reports / Programs

SVCTC50C SAP ABAP INCLUDE - User-Specific Subroutines







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


Text pool values


Title: User-Specific Subroutines


INCLUDES used within this REPORT SVCTC50C

INCLUDE LSVCMCOD.
INCLUDE LCOPBTO2.


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:

COC1_FEATURE_DATA CALL FUNCTION 'COC1_FEATURE_DATA' EXPORTING FEATURE_NEUTRAL_NAME = ITC50C-ATNAM LANGUAGE = SY-LANGU MESSAGE_TYPE_INP = 'E' KEY_DATE = SY-DATUM IMPORTING ECABN_PI = RCABN_PI ECABNT = CABNT EXCEPTIONS INVALID_CLASS_TYPE = 1 MISSING_FEATURE_INFORMATION = 2 NO_FEATURE_FOUND = 3 NO_FEATURE_VALID = 4 NO_LANGUAGE = 5 OTHERS = 6.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING CLIENT = SY-MANDT ID = LOC_ID LANGUAGE = SY-LANGU NAME = LOC_NAME OBJECT = LOC_OBJECT IMPORTING HEADER = TEXTHEAD TABLES LINES = TEXTL EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING CLIENT = SY-MANDT ID = LOC_ID LANGUAGE = SY-LANGU NAME = LOC_NAME OBJECT = LOC_OBJECT IMPORTING HEADER = TEXTHEAD TABLES LINES = TEXTL EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

PI_EDIT CALL FUNCTION 'PI_EDIT' EXPORTING ACTIVITY = ACTIVITY COSTR = COSTR FTTYP = FTTYP CSKTX = CSKTX LANGUAGE = SY-LANGU WERK = WERKS TDOBJECT = LOC_OBJECT TDID = LOC_ID AUTO_VALUE_POSSIBLE = ' ' PREV_PI = ' ' NEXT_PI = ' ' IMPORTING OK_CODE = PV_OKCODE PROCESS_INSTR_UKZ = PV_UKZ TABLES CHARACTERISTICS_TAB = PVED_TAB EXCEPTIONS INTERNAL_ERROR = 2 OTHERS = 3.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING ID = LOC_ID_NEW LANGUAGE = PVED_TAB-TDSPRAS NAME = PVED_TAB-TDNAME_TMP OBJECT = LOC_OBJECT IMPORTING HEADER = TEXTHEAD TABLES LINES = TEXTL EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING HEADER = TEXTHEAD IMPORTING NEWHEADER = TEXTHEAD TABLES LINES = TEXTL.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING ID = LOC_ID_OLD LANGUAGE = PVED_TAB-TDSPRAS NAME = PVED_TAB-TDNAME_TMP OBJECT = LOC_OBJECT IMPORTING HEADER = TEXTHEAD TABLES LINES = TEXTL EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING HEADER = TEXTHEAD IMPORTING NEWHEADER = TEXTHEAD TABLES LINES = TEXTL.

VIEW_MAINTENANCE_NO_DIALOG CALL FUNCTION 'VIEW_MAINTENANCE_NO_DIALOG' EXPORTING VIEW_NAME = 'V_TC50C_2' IMPORTING UPDATE_REQUIRED = UPD_REQU TABLES CORR_KEYTAB = CORR_KEYTAB DBA_SELLIST = DPL_SELLIST = EXTRACT = TOTAL = X_HEADER = X_NAMTAB = IX_TO_MODIFY = I_VIMMODIX EXCEPTIONS MISSING_CORR_NUMBER = 1.

RENAME_TEXT CALL FUNCTION 'RENAME_TEXT' EXPORTING OBJECT = LOC_OBJECT ID = LOC_ID_NEW LANGUAGE = PVED_TAB-TDSPRAS NAME = PVED_TAB-TDNAME_TMP NEWNAME = NEWNAME EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING ID = LT_ID OBJECT = LOC_OBJECT LANGUAGE = PVED_TAB-TDSPRAS NAME = OLDNAME EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

COMMIT_TEXT CALL FUNCTION 'COMMIT_TEXT'.



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