SAP Reports / Programs | Basis Components | ABAP Runtime Environment | Syntax, Compiler, Runtime(BC-ABA-LA) SAP BC

SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT

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:

CONTROL_INIT CALL FUNCTION 'CONTROL_INIT' EXCEPTIONS CONTROL_INIT_ERROR = 1.

BITMAP_CREATE CALL FUNCTION 'BITMAP_CREATE' EXPORTING OWNER_REPID = OWNER_REPID DYNNR = DYNPRO LEFT = POS-X TOP = POS-Y HEIGHT = POS-DY WIDTH = POS-DX METRIC = CNTL_METRIC_DYNPRO NO_FLUSH = 'X' REGISTER_EVENT_CLICK = 'X' CHANGING HANDLE = %_SCTL_TAB-HANDLE.

CONTROL_REGISTER_EXTERNFORM CALL FUNCTION 'CONTROL_REGISTER_EXTERNFORM' EXPORTING EVENT = EVENT_CLICK CALLBACK_PROG = FORM_REPID CALLBACK_FORM = 'BITMAP_CLICK' CHANGING H_CONTROL = %_SCTL_TAB-HANDLE.

COMBOBOX_CREATE CALL FUNCTION 'COMBOBOX_CREATE' EXPORTING OWNER_REPID = OWNER_REPID DYNNR = DYNPRO LEFT = POS-X TOP = POS-Y WIDTH = POS-DX METRIC = CNTL_METRIC_DYNPRO LIST_LENGTH = 5 * FONT = CNTL_FONT_DEFAULTS NO_FLUSH = 'X' REGISTER_EVENT_CLICK = 'X' CHANGING HANDLE = %_SCTL_TAB-HANDLE.

CONTROL_REGISTER_EXTERNFORM CALL FUNCTION 'CONTROL_REGISTER_EXTERNFORM' EXPORTING EVENT = EVENT_CLICK CALLBACK_PROG = FORM_REPID CALLBACK_FORM = 'COMBO_CLICK' CHANGING H_CONTROL = %_SCTL_TAB-HANDLE.

CONTROL_SET_WINDOW_PROPERTY CALL FUNCTION 'CONTROL_SET_WINDOW_PROPERTY' EXPORTING NO_FLUSH = 'X' H_CONTROL = HANDLE PROPID = %_SCTL_TAB-PROPERTY VALUE = %_SCTL_TAB-VALUE.

WS_FILE_ATTRIB CALL FUNCTION 'WS_FILE_ATTRIB' EXPORTING FILE = URL ATTRIB = 'R+' IMPORTING RETURN = FILE_NOTFOUND EXCEPTIONS OTHERS = 1.

CONTROL_CALL_METHOD CALL FUNCTION 'CONTROL_CALL_METHOD' EXPORTING H_CONTROL = HANDLE METHOD = 'LoadBitmap' P_COUNT = 2 NO_FLUSH = 'X' P1 = URL P2 = %_SCTL_TAB-COMMENT.

CONTROL_SET_WINDOW_PROPERTY CALL FUNCTION 'CONTROL_SET_WINDOW_PROPERTY' EXPORTING NO_FLUSH = 'X' H_CONTROL = HANDLE PROPID = PROP_VISIBLE VALUE = INVISIBLE.

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

CONTROL_EXIT * CALL FUNCTION 'CONTROL_EXIT'.

CONTROL_DISPATCH CALL FUNCTION 'CONTROL_DISPATCH' EXPORTING FCODE = SY-UCOMM EXCEPTIONS CB_NOT_FOUND = 1 OTHERS = 2.

COMBOBOX_GET_SELECTION CALL FUNCTION 'COMBOBOX_GET_SELECTION' EXPORTING HANDLE = %_SCTL_TAB-HANDLE IMPORTING * INDEX = ITEM = ITEM EXCEPTIONS CNTL_SYSTEM_ERROR = 1 CNTL_ERROR = 2 OTHERS = 3.

STREAM_EXIST CALL FUNCTION 'STREAM_EXIST' EXPORTING STREAM_NAME = NAME IMPORTING EXIST = bmp_exist.

STREAM_INSTALL call function 'STREAM_INSTALL' exporting STREAM_NAME = NAME IMPORTING STREAM_FILENAME = PATH.



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