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
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.
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
INCLUDE RFKORI00.
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SAPF140 - Trigger for Correspondence SAPF140 - Trigger for Correspondence SAPF130Z - Head Office and Branch Index for Balance Confirmations SAPF130Z - Head Office and Branch Index for Balance Confirmations SAPF130P - Grouping Customer/Vendor Master Records SAPF130P - Grouping Customer/Vendor Master Records