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

MSSCFO01 SAP ABAP INCLUDE - Graphical Form Painter: Output modules







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


Text pool values


Title: Graphical Form Painter: Output modules


INCLUDES used within this REPORT MSSCFO01

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:

RS_WORKBENCH_CUSTOMIZING CALL FUNCTION 'RS_WORKBENCH_CUSTOMIZING' EXPORTING CHOICE = 'FP' SUPPRESS_DIALOG = 'X' IMPORTING SETTING = SETTING EXCEPTIONS OTHERS = 0.

RS_WORKBENCH_CUSTOMIZING CALL FUNCTION 'RS_WORKBENCH_CUSTOMIZING' EXPORTING CHOICE = 'FP' SUPPRESS_DIALOG = ' ' SETTING_IMPORT = SETTING IMPORTING SETTING = SETTING EXCEPTIONS OTHERS = 0.

FORMPAINTER_REMOVE_WINDOW CALL FUNCTION 'FORMPAINTER_REMOVE_WINDOW' EXPORTING WINDOW = SPACE PAGE = SPACE * NO_FLUSH = ' ' EXCEPTIONS OTHERS = 0.

FORMPAINTER_SET_TITLEBAR CALL FUNCTION 'FORMPAINTER_SET_TITLEBAR' EXPORTING HANDLE = DIALOG_HANDLE FORMNAME = FORM_HEADER-TDFORM PAGE = ACTUAL_PAGE NO_FLUSH = TRUE EXCEPTIONS CONTROL_ERROR = 1 OTHERS = 2.

CONTROL_FLUSH CALL FUNCTION 'CONTROL_FLUSH'.

FORMPAINTER_SET_PROPERTY * call function 'FORMPAINTER_SET_PROPERTY' * exporting * window = window * page = actual_page * property = 'BackColor' * value = '255' " rot! * value = '8421376' " sea green * exceptions * window_not_found = 1 * others = 2.

FORMPAINTER_SET_FOCUS CALL FUNCTION 'FORMPAINTER_SET_FOCUS' EXPORTING WINDOW = WINDOW PAGE = ACTUAL_PAGE NO_FLUSH = TRUE EXCEPTIONS WINDOW_NOT_FOUND = 1 OTHERS = 2.

FORMPAINTER_CALL_WINDOW_METHOD * call function 'FORMPAINTER_CALL_WINDOW_METHOD' * exporting * window = window * page = actual_page * method = 'ZOrder' * param_count = 1 * param1 = 0 " into foreground * exceptions * window_not_found = 1 * others = 2.

FORMPAINTER_SET_PROPERTY * call function 'FORMPAINTER_SET_PROPERTY' * exporting * window = window * page = actual_page * property = 'BackColor' * value = '16777215' " white * exceptions * window_not_found = 1 * others = 2.

FORMPAINTER_CREATE_DIALOG CALL FUNCTION 'FORMPAINTER_CREATE_DIALOG' EXPORTING OWNER_REPID = THIS_REPID DYNNR = SCREEN_LAYOUT LEFT = 100 TOP = 10 PAGEFORMAT = FORM_HEADER-TDPAGEFORM ORIENTATION = FORM_HEADER-TDPAGEORTN CPI = FORM_HEADER-TDCPI LPI = FORM_HEADER-TDLPI ZOOM_PERCENT = ZOOM GRID_STEP = GRIDSTEP GRID_UNIT = GRIDUNIT GRID_SMALLSTEP = GRID_SMALLSTEP IMPORTING E_GRID_STEP = IF_GRIDSTEP CHANGING HANDLE = DIALOG_HANDLE EXCEPTIONS CREATE_ERROR = 1 OTHERS = 2.

GUI_GET_PARENT_DYNPRO CALL FUNCTION 'GUI_GET_PARENT_DYNPRO' IMPORTING PARENT = IF_PARENT EXCEPTIONS ERROR = 1 OTHERS = 2.

FORMPAINTER_CREATE_MENU CALL FUNCTION 'FORMPAINTER_CREATE_MENU' " pregenerate empty menu EXPORTING " for performance reasons OWNER_REPID = THIS_REPID DYNNR = SCREEN_LAYOUT PARENTID = IF_PARENT CHANGING HANDLE = MENU_HANDLE EXCEPTIONS CREATE_ERROR = 1 OTHERS = 2.

FORMPAINTER_DISPLAY_MENU CALL FUNCTION 'FORMPAINTER_DISPLAY_MENU' EXPORTING HANDLE = MENU_HANDLE TABLES MENUTABLE = MOUSEMENU EXCEPTIONS CONTROL_ERROR = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = WINDOW_LIST_ID VALUES = WINDOW_LIST[] EXCEPTIONS ID_ILLEGAL_NAME = 1 OTHERS = 2.

VRM_SET_VALUES CALL FUNCTION 'VRM_SET_VALUES' EXPORTING ID = PAGE_LIST_ID VALUES = PAGE_LIST[] EXCEPTIONS ID_ILLEGAL_NAME = 1 OTHERS = 2.

FORMPAINTER_CREATE_WINDOW CALL FUNCTION 'FORMPAINTER_CREATE_WINDOW' EXPORTING WINDOW = CW_WINDOW PAGE = CW_PAGEWINDOW-TDPAGE WTYPE = CW_TYPE AUTO_ALIGN = CB_AUTO_ALIGN OWNER_REPID = THIS_REPID DYNNR = SCREEN_LAYOUT PARENTID = DIALOG_HANDLE-SHELLID IMPORTING WINDOW_CREATED = CREATED EXCEPTIONS CREATE_ERROR = 1 CONTROL_ERROR = 2 OTHERS = 3.

FORMPAINTER_SHOW_WINDOW CALL FUNCTION 'FORMPAINTER_SHOW_WINDOW' EXPORTING WINDOW = CW_WINDOW PAGE = CW_PAGEWINDOW-TDPAGE VISIBLE = TRUE NO_FLUSH = TRUE.

FORMPAINTER_PUT_WINDOW call function 'FORMPAINTER_PUT_WINDOW' EXPORTING WINDOW = PW_WINDOW PAGE = PW_PAGEWINDOW-TDPAGE SET_SIZE = TRUE SET_POSITION = TRUE SET_CAPTION = PW_WITH_TEXT VIEW_MODE = VIEW_MODE VISIBLE = PW_VISIBLE LEFT = PW_PAGEWINDOW-TDWLEFT UNIT_LEFT = PW_PAGEWINDOW-TDWLEFTU TOP = PW_PAGEWINDOW-TDWTOP UNIT_TOP = PW_PAGEWINDOW-TDWTOPU WIDTH = PW_PAGEWINDOW-TDWWIDTH UNIT_WIDTH = PW_PAGEWINDOW-TDWWIDTHU HEIGHT = PW_PAGEWINDOW-TDWHEIGHT UNIT_HEIGHT = PW_PAGEWINDOW-TDWHEIGHTU CPI = FORM_HEADER-TDCPI LPI = FORM_HEADER-TDLPI DISPLAY_MODE = STATUS-LAYOUT_DISP NO_FLUSH = TRUE EXCEPTIONS WINDOW_NOT_FOUND = 1 CONTROL_ERROR = 2 OTHERS = 3.

FORMPAINTER_PUT_WINDOW





call function 'FORMPAINTER_PUT_WINDOW' EXPORTING WINDOW = PW_WINDOW PAGE = PW_PAGEWINDOW-TDPAGE SET_SIZE = TRUE SET_POSITION = TRUE SET_CAPTION = FALSE SET_SCROLLBARS = TRUE VIEW_MODE = VIEW_MODE VISIBLE = PW_VISIBLE LEFT = PW_PAGEWINDOW-TDWLEFT UNIT_LEFT = PW_PAGEWINDOW-TDWLEFTU TOP = PW_PAGEWINDOW-TDWTOP UNIT_TOP = PW_PAGEWINDOW-TDWTOPU WIDTH = PW_PAGEWINDOW-TDWWIDTH UNIT_WIDTH = PW_PAGEWINDOW-TDWWIDTHU HEIGHT = PW_PAGEWINDOW-TDWHEIGHT UNIT_HEIGHT = PW_PAGEWINDOW-TDWHEIGHTU CPI = FORM_HEADER-TDCPI LPI = FORM_HEADER-TDLPI DISPLAY_MODE = STATUS-LAYOUT_DISP NO_FLUSH = TRUE EXCEPTIONS WINDOW_NOT_FOUND = 1 CONTROL_ERROR = 2 OTHERS = 3.

FORMPAINTER_SHOW_WINDOW_TEXT CALL FUNCTION 'FORMPAINTER_SHOW_WINDOW_TEXT' EXPORTING WINDOW = PW_WINDOW PAGE = PW_PAGEWINDOW-TDPAGE TEXTHEADER = FORMTEXTHEADER FORMHEADER = FORM_HEADER NO_FLUSH = TRUE TABLES WINDOWTEXT = WINDOWTEXT PAGE_WINDOWS = PAGE_WINDOW PARAGRAPHS = PARAGRAPH STRINGS = STRING TABS = TAB WINDOWS = WIND EXCEPTIONS WINDOW_NOT_FOUND = 1 CONTROL_ERROR = 2 OTHERS = 3.

CONTROL_FLUSH CALL FUNCTION 'CONTROL_FLUSH' EXCEPTIONS CNTL_SYSTEM_ERROR = 1 CNTL_ERROR = 2 OTHERS = 3.

FORMPAINTER_GET_WINDOW_PROP_PW CALL FUNCTION 'FORMPAINTER_GET_WINDOW_PROP_PW' EXPORTING WINDOW = PW_WINDOW PAGE = PW_PAGEWINDOW-TDPAGE UNIT_LEFT = PW_PAGEWINDOW-TDWLEFTU UNIT_TOP = PW_PAGEWINDOW-TDWTOPU UNIT_WIDTH = PW_PAGEWINDOW-TDWWIDTHU UNIT_HEIGHT = PW_PAGEWINDOW-TDWHEIGHTU CPI = FORM_HEADER-TDCPI LPI = FORM_HEADER-TDLPI IMPORTING LEFT = PW_PAGEWINDOW-TDWLEFT TOP = PW_PAGEWINDOW-TDWTOP WIDTH = PW_PAGEWINDOW-TDWWIDTH HEIGHT = PW_PAGEWINDOW-TDWHEIGHT EXCEPTIONS WINDOW_NOT_FOUND = 1 CONTROL_ERROR = 2 OTHERS = 3.



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