SAP Reports / Programs | Basis Components | Basis Services / Communication Interfaces | SAPscript(BC-SRV-SCR) SAP BC

MSSCOF01 SAP ABAP INCLUDE - SAPscript Font Maintenance: FORM Routines For New Screens







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


Text pool values


Title: SAPscript Font Maintenance: FORM Routines For New Screens


INCLUDES used within this REPORT MSSCOF01

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:

TR_GET_PARTNER_PROJECTS CALL FUNCTION 'TR_GET_PARTNER_PROJECTS' IMPORTING WE_ROLE_FLAG = ROLE WE_PARTNER_FLAG = PARTNER_FLAG.

SYSTEM_STATUS CALL FUNCTION 'SYSTEM_STATUS' IMPORTING STATUS = STATUS.

SAPSCRIPT_DELETE_LOAD CALL FUNCTION 'SAPSCRIPT_DELETE_LOAD' EXPORTING ALL = ALL CLIENT = CLIENT DELETE = DELETE WRITE = WRITE.

DELETE_FONT_REPLACEMENT CALL FUNCTION 'DELETE_FONT_REPLACEMENT' EXPORTING PRINTER = printer.

FONT_EXCHANGE CALL FUNCTION 'FONT_EXCHANGE' EXPORTING TOPRINTER = PRINTERTAB-TDPRINTER SYSTEM_FONTS = SPACE REFRESH_CACHE = 'X' language = lang IMPORTING RESULT = RC TABLES FONTTABLE = FONTTABLE.

FONT_EXCHANGE CALL FUNCTION 'FONT_EXCHANGE' EXPORTING TOPRINTER = IT_PRIN-PATYPE SYSTEM_FONTS = 'X' REFRESH_CACHE = 'X' language = lang IMPORTING RESULT = RC TABLES FONTTABLE = FONTTABLE.

POPUP_TO_GET_VALUE call function 'POPUP_TO_GET_VALUE' exporting FIELDNAME = 'TDSPRAS' TABNAME = 'THEAD' TITEL = 'Fontumsetzung für Sprache...'(216)

SAPSCRIPT_FONTS_GET_ALL CALL FUNCTION 'SAPSCRIPT_FONTS_GET_ALL' EXPORTING DEVTYPE = printer TABLES PRINTERFONTS = printerfonts EXCEPTIONS NO_FONTS = 1 DEVTYPE_NOT_FOUND = 2.

SAPSCRIPT_BARC_GET_ALL CALL FUNCTION 'SAPSCRIPT_BARC_GET_ALL' EXPORTING DEVTYPE = printer TABLES PRINTERBARCODES = printerbarcodes EXCEPTIONS NO_BARCODES = 1 DEVTYPE_NOT_FOUND = 2.

SAPSCRIPT_PC_GET_SINGLE CALL FUNCTION 'SAPSCRIPT_PC_GET_SINGLE' EXPORTING DEVTYPE = printer PC = pc IMPORTING PRINTCONTROL = prc BASE_DEVTYPE = basetype EXCEPTIONS NOT_FOUND = 1 DEVTYPE_NOT_FOUND = 2.

AFM_EDIT CALL FUNCTION 'AFM_EDIT' EXPORTING PRINTER = PRINTER FAMILY = FAMILY HEIGHT = SIZE BOLD = BOLD ITALIC = ITALIC DISPLAY = DISPLAY_FLAG USELINES = SPACE TABLES LINES = AFMBLOCK EXCEPTIONS SAVED_AFM = 1 ERR_TOO_MANY_LINES = 2.

AFM_READ CALL FUNCTION 'AFM_READ' EXPORTING BOLD = SRC_BOLD FAMILY = SRC_FAMILY HEIGHT = SRC_SIZE ITALIC = SRC_ITALIC PRINTER = SRC_PRINTER TABLES LINES = AFMBLOCK EXCEPTIONS NOT_FOUND = 01.

AFM_EDIT CALL FUNCTION 'AFM_EDIT' EXPORTING PRINTER = PRINTER FAMILY = FAMILY HEIGHT = SIZE BOLD = BOLD ITALIC = ITALIC DISPLAY = DISPLAY_FLAG USELINES = TRUE TABLES LINES = AFMBLOCK EXCEPTIONS SAVED_AFM = 1.

AFM_SAVE CALL FUNCTION 'AFM_SAVE' EXPORTING BOLD = TFO03-TDBOLD FAMILY = TFO03-TDFAMILY HEIGHT = TFO03-TDFONTSIZE ITALIC = TFO03-TDITALIC PRINTER = TFO03-TDPRINTER TABLES LINES = AFMBLOCK EXCEPTIONS ERR_TOO_MANY_LINES = 1.

SAPSCRIPT_PC_GET_SINGLE CALL FUNCTION 'SAPSCRIPT_PC_GET_SINGLE' EXPORTING DEVTYPE = printer PC = pc IMPORTING PRINTCONTROL = prc BASE_DEVTYPE = basetype EXCEPTIONS NOT_FOUND = 1 DEVTYPE_NOT_FOUND = 2.

SAPSCRIPT_PC_GET_SINGLE CALL FUNCTION 'SAPSCRIPT_PC_GET_SINGLE' EXPORTING DEVTYPE = printer PC = pc IMPORTING * PRINTCONTROL = BASE_DEVTYPE = basetype EXCEPTIONS NOT_FOUND = 1 DEVTYPE_NOT_FOUND = 2.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING POPUP_TITLE = 'Name für residenten TTF Druckerfont'(230) * START_COLUMN = '5' * START_ROW = '5' IMPORTING RETURNCODE = rc TABLES FIELDS = fieldinfo.

RSPO_PTYPE_FLUSH CALL FUNCTION 'RSPO_PTYPE_FLUSH' EXPORTING PTYPE = PRINTER EXCEPTIONS CALL_ERROR = 1 OPERATION_FAILED = 2 OTHERS = 3.

TR_OBJECTS_CHECK





CALL FUNCTION 'TR_OBJECTS_CHECK' IMPORTING WE_ORDER = CORRECTION_ORDERID * WE_TASK = * WE_OBJECTS_APPENDABLE = TABLES WT_KO200 = WA_KO200 WT_E071K = WA_E071K EXCEPTIONS CANCEL_EDIT_OTHER_ERROR = 1 SHOW_ONLY_OTHER_ERROR = 2 others = 3.

TR_OBJECTS_INSERT CALL FUNCTION 'TR_OBJECTS_INSERT' EXPORTING WI_ORDER = CORRECTION_ORDERID IMPORTING WE_ORDER = CORRECTION_ORDERID WE_TASK = CORRECTION_TASKID TABLES WT_KO200 = WA_KO200 WT_E071K = WA_E071K EXCEPTIONS CANCEL_EDIT_OTHER_ERROR = 1 SHOW_ONLY_OTHER_ERROR = 2 others = 3.

SAPSCRIPT_SOFTFONT_GET_METRICS CALL FUNCTION 'SAPSCRIPT_SOFTFONT_GET_METRICS' EXPORTING FAMILY = SRC_FAMILY BOLD = SRC_BOLD ITALIC = SRC_ITALIC TABLES METRIC = metrictab EXCEPTIONS NO_SOFTFONT = 1 OTHERS = 2.



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