SAP Reports / Programs

FMKOWRITE SAP ABAP Report - documentation and ABAP source code







FMKOWRITE 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 FMKOWRITE 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 FMKOWRITE. "Basic submit
SUBMIT FMKOWRITE AND RETURN. "Return to original report after report execution complete
SUBMIT FMKOWRITE 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 FMKOWRITE

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:

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING DIALOG = 'X' FORM = L_FORM_NAME OPTIONS = L_F_ITCPO IMPORTING RESULT = L_F_ITCPP EXCEPTIONS DEVICE = 2.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING DIALOG = ' ' FORM = L_FORM_NAME OPTIONS = L_F_ITCPO.

START_FORM CALL FUNCTION 'START_FORM' EXPORTING FORM = L_FORM_NAME STARTPAGE = 'START'.

CONTROL_FORM CALL FUNCTION 'CONTROL_FORM' EXPORTING COMMAND = 'NEW-PAGE'.

END_FORM CALL FUNCTION 'END_FORM' EXCEPTIONS UNOPENED = 1 OTHERS = 2.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM' EXCEPTIONS UNOPENED = 1.

FP_FUNCTION_MODULE_NAME CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' EXPORTING I_NAME = FPNAme IMPORTING E_FUNCNAME = FM_NAME E_INTERFACE_TYPE = E_INTERFACE_TYPE.

FP_JOB_OPEN CALL FUNCTION 'FP_JOB_OPEN' CHANGING IE_OUTPUTPARAMS = FP_OUTPUTPARAMS EXCEPTIONS CANCEL = 1 USAGE_ERROR = 2 SYSTEM_ERROR = 3 INTERNAL_ERROR = 4 OTHERS = 5.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING PLVAR = '01' OTYPE = 'US' REALO = L_UNAME IMPORTING STEXT = L_TEXT EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

FP_JOB_CLOSE CALL FUNCTION 'FP_JOB_CLOSE' EXCEPTIONS USAGE_ERROR = 1 SYSTEM_ERROR = 2 INTERNAL_ERROR = 3 OTHERS = 4.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = '100' WINDOW = 'MAIN'.

RH_READ_OBJECT CALL FUNCTION 'RH_READ_OBJECT' EXPORTING PLVAR = '01' OTYPE = 'US' REALO = L_UNAME IMPORTING STEXT = L_TEXT EXCEPTIONS NOT_FOUND = 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 FMKOWRITE or its description.