RFSEPA02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program activates open item (OI) management for a G/L account and makes the necessary changes to documents already posted...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 RFSEPA02 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: P_BELNR = Document number
Selection Text: P_BUKRS = Company code
Selection Text: P_LISTE = List log
Selection Text: P_SAKNR = G/L account
Title: Switch On Open Item Management by Changing Master Record
Text Symbol: 001 = G/L account
Text Symbol: 002 = Company code
Text Symbol: B01 = Additional log
Text Symbol: BE1 = Document selected
Text Symbol: BE2 = Document changed
Text Symbol: NB1 = Number of documents selected
Text Symbol: NB2 = Number of documents changed
Text Symbol: NSB = No suitable entries were found
Text Symbol: NX1 = Number of line items selected from table &TAB
Text Symbol: NX2 = Number of line items changed in table &TAB
Text Symbol: S01 = Doc. no.
Text Symbol: S02 = Year
Text Symbol: S03 = Remark
Text Symbol: XX1 = Line items selected in table &TAB
Text Symbol: XX2 = Line items changed in table &TAB
Text Symbol: XX3 = Line items generated in table &TAB
INCLUDE FSACHCDF.
INCLUDE FSACHCDV.
No SAP DATABASE tables are accessed within this REPORT code!
POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING POPUP_TITLE = ' ' TEXT_OBJECT = 'RFSEPA02' EXCEPTIONS TEXT_NOT_FOUND = 1 OTHERS = 2.
DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = SY-DATUM I_PERIV = T001-PERIV IMPORTING E_GJAHR = GJAHR EXCEPTIONS T009_NOTFOUND = 1 INPUT_FALSE = 1 T009B_NOTFOUND = 1.
GL_ACCOUNT_IN_COMPANY_UPDATE CALL FUNCTION 'GL_ACCOUNT_IN_COMPANY_UPDATE' EXPORTING I_SKB1 = SKB1.
ENQUEUE_EFSKB1 CALL FUNCTION 'ENQUEUE_EFSKB1' EXPORTING BUKRS = P_BUKRS SAKNR = P_SAKNR EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2.
DEQUEUE_EFSKB1 CALL FUNCTION 'DEQUEUE_EFSKB1' EXPORTING BUKRS = P_BUKRS SAKNR = P_SAKNR EXCEPTIONS SYSTEM_FAILURE = 1.
G_GIVE_LEDGERS_FOR_GLT0 CALL FUNCTION 'G_GIVE_LEDGERS_FOR_GLT0' EXPORTING BUKRS = XBUKRS CURTP = CURT TABLES LEDTAB = XGLEDTAB.
G_GIVE_LEDGERS_FOR_GLT0 CALL FUNCTION 'G_GIVE_LEDGERS_FOR_GLT0' EXPORTING BUKRS = XBUKRS CURTP = CURT TABLES LEDTAB = XGLEDTAB.
FI_CURRENCY_INFORMATION CALL FUNCTION 'FI_CURRENCY_INFORMATION' EXPORTING I_BUKRS = P_BUKRS IMPORTING E_X001 = X001 EXCEPTIONS CURRENCY_2_NOT_DEFINED = 1 CURRENCY_3_NOT_DEFINED = 2 OTHERS = 6.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RFSEPA02 - Switch On Open Item Management by Changing Master Record RFSEPA02 - Switch On Open Item Management by Changing Master Record RFSEPA01 - Switch On Line Item Display by Changing Master Record RFSEPA01 - Switch On Line Item Display by Changing Master Record RFSCTOP - documentation and ABAP source code RFSCM_SHOW_JAVAFILES - Upload of configuration files from the EBPP Java Server