SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | Class Builder(BC-DWB-TOO-CLA) SAP BC

PRINTFKT SAP ABAP INCLUDE - documentation and ABAP source code







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

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:

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = format.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = format.

DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = domname value = value langu = ' ' bypass_buffer = ' ' IMPORTING dd07v_wa = i_dd07v rc = i_rc.

DD_DOMVALUE_TEXT_GET CALL FUNCTION 'DD_DOMVALUE_TEXT_GET' EXPORTING domname = domname value = value langu = 'E' bypass_buffer = ' ' IMPORTING dd07v_wa = i_dd07v rc = i_rc.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'TABLE_HEADER_HOLD' function = 'DELETE' type = 'TOP'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' "Überschr. ausgeben, Unt.str. im TE

WRITE_FORM * CALL FUNCTION 'WRITE_FORM' * EXPORTING ELEMENT = 'TABLE_HEADER_HOLD' * TYPE = 'TOP'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' "Header auf Folgeseite EXPORTING element = 'TABLE_HEADER_HOLD' type = 'TOP'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'TABLE_HEADER_HOLD' function = 'DELETE' type = 'TOP'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'CONTENTS_LEVEL1'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'CONTENTS_LEVEL2'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING element = 'CONTENTS_LEVEL3'.

DOCU_GET CALL FUNCTION 'DOCU_GET' EXPORTING * EXTEND_EXCEPT = ' ' id = id langu = langu object = object typ = 'E' * VERSION = 0 * VERSION_ACTIVE_OR_LAST = 'L' * PRINT_PARAM_GET = 'X' IMPORTING * DOKSTATE = * DOKTITLE = head = phead * DOKTYP = TABLES line = pline EXCEPTIONS no_docu_on_screen = 1 no_docu_self_def = 2 no_docu_temp = 3 ret_code = 4 OTHERS = 5.

WRITE_FORM_LINES CALL FUNCTION 'WRITE_FORM_LINES' EXPORTING * FUNCTION = 'SET' header = phead * TYPE = 'BODY' * WINDOW = 'MAIN' * IMPORTING * FROMPAGE = * PENDING_LINES = TABLES lines = pline EXCEPTIONS function = 1 type = 2 unopened = 3 unstarted = 4 window = 5 bad_pageformat_for_print = 6 OTHERS = 7.



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