SAPF180 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for A
If you would like to execute this report or see the full code listing simply enter SAPF180 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: TAXSTTAG = Lower date limit for tax
Selection Text: STICHTAG = Key date
Selection Text: PR_ZPROT = Log at line item level
Selection Text: PR_TITEL = Additional title
Selection Text: PR_BPROT = Log of distributed documents
Selection Text: ECHTLAUF = Generate postings
Selection Text: BU_XPRCT = Post to profit center
Selection Text: BU_MONAT = Posting period
Selection Text: BU_BUDAT = Posting date
Selection Text: BU_BLART = Document type
Selection Text: BUKRS = Company code
Title: Post Balance Sheet Adjustment
Text Symbol: TEN = Not all adjustment accounts have been entered as yet
Text Symbol: TEO = If you start this program as a production run (generate postings), the missing
Text Symbol: TEP = entries are transferred from the account determination.
Text Symbol: TEQ = You can, however, also update the entries beforehand.
Text Symbol: TEW = The settings for the parallel currencies are incorrect
Text Symbol: TGR = The incorrect docs were entered in batch input session &
Text Symbol: TK1 = G/L account
Text Symbol: TK2 = BA
Text Symbol: TK3 = TPBA
Text Symbol: TK4 = Profit ctr
Text Symbol: TK5 = TP ProfCtr
Text Symbol: TK6 = Amount in LC
Text Symbol: TKA = Account
Text Symbol: TKB = Amount
Text Symbol: TKF = Amount in LC1
Text Symbol: TKG = Amount in LC2
Text Symbol: TKH = Amount in LC3
Text Symbol: TKS = G/L acct
Text Symbol: TV0 = An error occurred when determining the clearing account
Text Symbol: TV1 = A clearing account has not been specified for chart of accounts &1
Text Symbol: TV2 = Account &2 has not been created in company code &3
Text Symbol: TV3 = You cannot post directly to account &2 in company code &3
Text Symbol: TV4 = Account &2 is relevant to tax in company code &3
Text Symbol: TEL = Run report SAPF180K
Text Symbol: B01 = B/S readjustment:
Text Symbol: B0B = Post
INCLUDE SAPF180H.
INCLUDE SAPF180Q.
INCLUDE SAPF180V.
INCLUDE RKASMAWF.
No SAP DATABASE tables are accessed within this REPORT code!
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DEQUEUE_ALL CALL FUNCTION 'DEQUEUE_ALL'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
FI_NEGATIVE_POSTING_CHECK CALL FUNCTION 'FI_NEGATIVE_POSTING_CHECK' EXPORTING i_bukrs = xrf180-bukrs i_blart = bu_blart IMPORTING e_xnegp = xnegp.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
DB_COMMIT CALL FUNCTION 'DB_COMMIT'.
POSTING_INTERFACE_START CALL FUNCTION 'POSTING_INTERFACE_START' EXPORTING i_function = 'C' i_xbdcc = 'X' i_keep = 'X' i_group = bu_hlk-group i_user = sy-uname.
POSTING_INTERFACE_END CALL FUNCTION 'POSTING_INTERFACE_END'.
POSTING_INTERFACE_DOCUMENT CALL FUNCTION 'POSTING_INTERFACE_DOCUMENT' EXPORTING i_tcode = bu_hlp-tcode IMPORTING e_subrc = subrc TABLES t_blntab = blntab t_ftpost = ftpost t_fttax = fttax EXCEPTIONS account_missing = 1 company_code_missing = 2 posting_key_invalid = 3 posting_key_missing = 4 record_type_invalid = 5 transaction_code_invalid = 6.
KPEP_MONI_INIT_RECORD CALL FUNCTION 'KPEP_MONI_INIT_RECORD' EXPORTING ls_detail = ls_detail ls_witem = ls_witem IMPORTING ls_key = ls_key_static TABLES lt_selkrit = lt_selkrit lt_param = lt_param.
KPEP_MONI_CLOSE_RECORD CALL FUNCTION 'KPEP_MONI_CLOSE_RECORD' EXPORTING ls_key = ls_key_static ls_scma_event = ls_scma_event CHANGING ld_aplstat = ld_aplstat EXCEPTIONS OTHERS = 0.
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 SAPF180 or its description.