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

SAPF140P SAP ABAP Report - Maintain Correspondence Requests







SAPF140P is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program is used for displaying and maintaining the correspondence requests of the current user...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 SAPF140P 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 SAPF140P. "Basic submit
SUBMIT SAPF140P AND RETURN. "Return to original report after report execution complete
SUBMIT SAPF140P 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: BUKRS = Company code
Selection Text: CAJON = Cash journal number
Selection Text: DATUM = Date of request
Selection Text: ERLDT = Print Date
Selection Text: EVENT = Correspondence
Selection Text: GJAHR = Fiscal year
Selection Text: KOART = Account type
Selection Text: KONTO = Open item account
Selection Text: USNAM = User
Selection Text: UZEIT = Time of request
Selection Text: XGEDRU = Entries with print date
Selection Text: XNGEDR = Entries without print date
Selection Text: BELNR = Document number
Title: Maintain Correspondence Requests
Text Symbol: 022 = Cash jour.num.
Text Symbol: 021 = items
Text Symbol: 020 = Document included in resetting cleared
Text Symbol: 019 = Display
Text Symbol: 018 = No output
Text Symbol: 017 = No.of letters
Text Symbol: 016 = Output
Text Symbol: 015 = Maintain
Text Symbol: 014 = repeated ? ;;
Text Symbol: 013 = Are the selected requests to be ;;
Text Symbol: 100 = Sort ;;
Text Symbol: 101 = Corr. ;;
Text Symbol: 001 = Indiv.text
Text Symbol: 002 = Language
Text Symbol: 003 = Correspondence
Text Symbol: 004 = Company code
Text Symbol: 005 = Corr. CoCd Acct/doc. User Date Time Print date
Text Symbol: 006 = Text for the correspondence type does not exist in the logon language
Text Symbol: 007 = Parameters
Text Symbol: 008 = Correspondence request generated by report
Text Symbol: 009 = Delete correspondence
Text Symbol: 010 = Are the selected requests to be ;;
Text Symbol: 011 = deleted ? ;;
Text Symbol: 012 = Repeat correspondence





Text Symbol: 102 = CoCd ;;
Text Symbol: 103 = AcTyp ;;
Text Symbol: 104 = Acct ;;
Text Symbol: 105 = Doc.no.;;
Text Symbol: 106 = Fis.Yr ;;
Text Symbol: 107 = Date ;;
Text Symbol: 108 = Time ;;
Text Symbol: 109 = Print ;;
Text Symbol: 110 = Pyt advice
Text Symbol: 201 = Cust;;
Text Symbol: 202 = Vend;;


INCLUDES used within this REPORT SAPF140P

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.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = 'N' TEXTLINE1 = TEXT-013 TEXTLINE2 = TEXT-014 TITEL = TEXT-012 IMPORTING ANSWER = HANSWER.

INIT_TEXT CALL FUNCTION 'INIT_TEXT' EXPORTING ID = 'FIKO' LANGUAGE = BKORM-PARAM+78(1) NAME = HTDNAM2 OBJECT = 'BKORM' IMPORTING HEADER = HTHEADER2 TABLES LINES = HTLINES.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING ID = 'FIKO' LANGUAGE = BKORM-PARAM+78(1) NAME = HTDNAME OBJECT = 'BKORM' IMPORTING HEADER = HTHEADER TABLES LINES = HTLINES EXCEPTIONS * ID = 01 * LANGUAGE = 02 * NAME = 03 * OBJECT = 04.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING HEADER = HTHEADER2 * INSERT = 'X' SAVEMODE_DIRECT = 'X' TABLES LINES = HTLINES.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = 'N' TEXTLINE1 = TEXT-013 TEXTLINE2 = TEXT-014 TITEL = TEXT-012 IMPORTING ANSWER = HANSWER.

INIT_TEXT CALL FUNCTION 'INIT_TEXT' EXPORTING ID = 'FIKO' LANGUAGE = BKORM-PARAM+78(1) NAME = HTDNAM2 OBJECT = 'BKORM' IMPORTING HEADER = HTHEADER2 TABLES LINES = HTLINES.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING ID = 'FIKO' LANGUAGE = BKORM-PARAM+78(1) NAME = HTDNAME OBJECT = 'BKORM' IMPORTING HEADER = HTHEADER TABLES LINES = HTLINES EXCEPTIONS * ID = 01 * LANGUAGE = 02 * NAME = 03 * OBJECT = 04.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING HEADER = HTHEADER2 * INSERT = 'X' SAVEMODE_DIRECT = 'X' TABLES LINES = HTLINES.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING ID = 'FIKO' LANGUAGE = BKORM-PARAM+78(1) NAME = HTDNAME OBJECT = 'BKORM' IMPORTING HEADER = HTHEADER TABLES LINES = HTLINES EXCEPTIONS * ID = 01 * LANGUAGE = 02 * NAME = 03 * OBJECT = 04.

EDIT_TEXT CALL FUNCTION 'EDIT_TEXT' EXPORTING DISPLAY = ' ' HEADER = HTHEADER SAVE = ' ' IMPORTING FUNCTION = FUNCTION NEWHEADER = HTHEADER TABLES LINES = HTLINES.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING HEADER = HTHEADER * INSERT = 'X' SAVEMODE_DIRECT = 'X' TABLES LINES = HTLINES.

READ_TEXT





CALL FUNCTION 'READ_TEXT' EXPORTING ID = 'FIKO' LANGUAGE = BKORM-PARAM+78(1) NAME = HTDNAME OBJECT = 'BKORM' IMPORTING HEADER = HTHEADER TABLES LINES = HTLINES EXCEPTIONS * ID = 01 * LANGUAGE = 02 * NAME = 03 * OBJECT = 04.

EDIT_TEXT CALL FUNCTION 'EDIT_TEXT' EXPORTING DISPLAY = ' ' HEADER = HTHEADER SAVE = ' ' IMPORTING FUNCTION = FUNCTION NEWHEADER = HTHEADER TABLES LINES = HTLINES.

SAVE_TEXT CALL FUNCTION 'SAVE_TEXT' EXPORTING HEADER = HTHEADER * INSERT = 'X' SAVEMODE_DIRECT = 'X' TABLES LINES = HTLINES.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = 'N' TEXTLINE1 = TEXT-010 TEXTLINE2 = TEXT-011 TITEL = TEXT-009 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.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' EXPORTING DEFAULTOPTION = 'N' TEXTLINE1 = TEXT-010 TEXTLINE2 = TEXT-011 TITEL = TEXT-009 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.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING ID = 'FIKO' LANGUAGE = HLTDNAM-SPRAS 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 SAPF140P or its description.