SAP Reports / Programs | Financial Accounting(FI) SAP FI

SAPF140 SAP ABAP Report - Trigger for Correspondence







SAPF140 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program controls the output of correspondence requests by calling up the appropriate print reports on a company code basis for the individual correspondence requests...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter SAPF140 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 SAPF140. "Basic submit
SUBMIT SAPF140 AND RETURN. "Return to original report after report execution complete
SUBMIT SAPF140 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: UZEIT = Time of request
Selection Text: USNAM = User
Selection Text: PRDEST = Log to printer
Selection Text: KONTO = Open item account
Selection Text: KOART = Account type
Selection Text: GJAHR = Fiscal year
Selection Text: EVENT = Correspondence
Selection Text: ERLDT = Repeat at print date
Selection Text: DELDAYS = Delete if finished since
Selection Text: DATUM = Date of request
Selection Text: CAJON = Cash journal number
Selection Text: BUKRS = Company code
Selection Text: BELNR = Document number
Title: Trigger for Correspondence
Text Symbol: 205 = Error list
Text Symbol: 204 = Correspondence
Text Symbol: 203 = Name is Missing in Logon Language
Text Symbol: 202 = CC Correspondence Spool No./Fax ID Title/Fax No. .. Output Pages..
Text Symbol: 201 = Overview of generated output requests
Text Symbol: 200 = Log
Text Symbol: 011 = Correspondence requests
Text Symbol: 010 = request?
Text Symbol: 009 = Would you like to issue the
Text Symbol: 008 = selected
Text Symbol: 007 = requests were
Text Symbol: 006 = & correspondence
Text Symbol: 005 = request?
Text Symbol: 004 = Would you like to issue the
Text Symbol: 003 = selected
Text Symbol: 002 = request was
Text Symbol: 001 = A correspondence


INCLUDES used within this REPORT SAPF140

INCLUDE RFKORI00.


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:

BUKRS_AUTHORITY_CHECK call function 'BUKRS_AUTHORITY_CHECK' exporting xdatabase = 'B' tables xbukreis = bukrs.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING ID = 'FIKO' LANGUAGE = HLTDNAM-SPRAS NAME = HTDNAME OBJECT = 'BKORM' SAVEMODE_DIRECT = 'X' EXCEPTIONS NOT_FOUND = 04.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING DEFAULTOPTION = 'Y' DIAGNOSETEXT1 = TEXT-001 DIAGNOSETEXT2 = TEXT-002 DIAGNOSETEXT3 = TEXT-003 TEXTLINE1 = TEXT-004 TEXTLINE2 = TEXT-005 TITEL = TEXT-011 IMPORTING ANSWER = HANSWER.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING DEFAULTOPTION = 'Y' DIAGNOSETEXT1 = HTEXT35 DIAGNOSETEXT2 = TEXT-007 DIAGNOSETEXT3 = TEXT-008 TEXTLINE1 = TEXT-009 TEXTLINE2 = TEXT-010 TITEL = TEXT-011 IMPORTING ANSWER = HANSWER.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING DEFAULTOPTION = 'Y' DIAGNOSETEXT1 = TEXT-001 DIAGNOSETEXT2 = TEXT-002 DIAGNOSETEXT3 = TEXT-003 TEXTLINE1 = TEXT-004 TEXTLINE2 = TEXT-005 TITEL = TEXT-011 IMPORTING ANSWER = HANSWER.

POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING DEFAULTOPTION = 'Y' DIAGNOSETEXT1 = HTEXT35 DIAGNOSETEXT2 = TEXT-007 DIAGNOSETEXT3 = TEXT-008 TEXTLINE1 = TEXT-009 TEXTLINE2 = TEXT-010 TITEL = TEXT-011 IMPORTING ANSWER = HANSWER.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING ID = 'FIKO' LANGUAGE = BKORM-PARAM+78(1) NAME = HTDNAME OBJECT = 'BKORM' SAVEMODE_DIRECT = 'X' EXCEPTIONS NOT_FOUND = 04.



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