SAPFACC1 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter SAPFACC1 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: BELNR_RV = Billing Document Number
Title: Program for Testing the FI Services of the FI/CO Interface (SD-FI)
Text Symbol: 304 = Accounting Item Information
Text Symbol: 303 = Acc. Header Information
Text Symbol: 302 = ***** Error - No Update ************
Text Symbol: 301 = ***** Test Run *****
Text Symbol: 300 = ***** Update Run ***
Text Symbol: 299 = Item
Text Symbol: 222 = G/L Account
Text Symbol: 221 = Vendor
Text Symbol: 220 = Customer
Text Symbol: 219 = Tax
Text Symbol: 213 = Type
Text Symbol: 212 = Tax Amount
Text Symbol: 211 = Tax Base
Text Symbol: 210 = D/C Ind
Text Symbol: 209 = Crcy
Text Symbol: 208 = Amount
Text Symbol: 207 = PstKey
Text Symbol: 206 = Period
Text Symbol: 205 = Postg Date
Text Symbol: 204 = Doc. Date
Text Symbol: 203 = FYear
Text Symbol: 202 = Doc. Number
Text Symbol: 201 = CoCode
Text Symbol: 200 = Item
Text Symbol: 199 = FI/CO Item Information - Currencies
Text Symbol: 109 = Ref. Org.
Text Symbol: 106 = Header Text
Text Symbol: 105 = EntryTime
Text Symbol: 104 = Entry Date
Text Symbol: 103 = User
Text Symbol: 102 = Trans.
Text Symbol: 101 = Reference
Text Symbol: 100 = Type
Text Symbol: 020 = Stop Time:
Text Symbol: 004 = Error generating FI/CO document
Text Symbol: 001 = StartTime:
INCLUDE FACC0TOP.
INCLUDE FACC0I01.
No SAP DATABASE tables are accessed within this REPORT code!
RV_INVOICE_REFRESH CALL FUNCTION 'RV_INVOICE_REFRESH' EXPORTING with_posting = 'E' TABLES xkomfk = xkomfk xkomv = xkomv xthead = xthead xvbfs = xvbfs xvbss = xvbss xvbpa = xvbpa xvbrk = xvbrk xvbrp = xvbrp.
RV_INVOICE_DOCUMENT_READ CALL FUNCTION 'RV_INVOICE_DOCUMENT_READ' EXPORTING vbrk_i = vbrk activity = '02' konv_read = 'X' no_nast = 'X' IMPORTING vbrk_e = vbrk vbuk_e = vbuk TABLES xkomfk = xkomfk xvbrk = xvbrk xvbrp = xvbrp xvbpa = xvbpa xkomv = xkomv EXCEPTIONS error_message = 4 others = 4.
RV_ACCOUNTING_DOCUMENT_CREATE CALL FUNCTION 'RV_ACCOUNTING_DOCUMENT_CREATE' EXPORTING INVOICE_HEADER = VBRK DOCUMENT_OLD = XVBRK-VBELN CPD_ADRESS = XVBRK-ADRNR MODE = ' ' RRREL = XVBRK-RRREL TESTRUN = 'X' TABLES XVBRP = XVBRP XKOMV = XKOMV XVBPA = XVBPA EXCEPTIONS ERROR_01 = 1.
AC_DOCUMENT_CREATE CALL FUNCTION 'AC_DOCUMENT_CREATE' TABLES T_ACCHD = YACCHD T_ACCIT = YACCIT T_ACCCR = YACCCR EXCEPTIONS ERROR_MESSAGE = 01.
AC_DOCUMENT_POST CALL FUNCTION 'AC_DOCUMENT_POST' EXPORTING I_AWTYP = AWTYP I_AWREF = AWREF I_AWORG = AWORG EXCEPTIONS ERROR_MESSAGE = 02.
AC_DOCUMENT_RECORD CALL FUNCTION 'AC_DOCUMENT_RECORD' EXPORTING i_awtyp = awtyp i_awref = awref i_aworg = aworg i_awsys = vbrk-logsys i_bukrs = vbrk-bukrs TABLES t_documents = documents.
AC_DOCUMENT_SENDER CALL FUNCTION 'AC_DOCUMENT_SENDER' EXPORTING i_awtyp = awtyp i_awref = awref i_aworg = aworg.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
SAPFACC1 - Program for Testing the FI Services of the FI/CO Interface (SD-FI) SAPFACC1 - Program for Testing the FI Services of the FI/CO Interface (SD-FI) SAPFACC0 - Program for Testing the FI Services of the FI/CO Interface (SD-FI) SAPFACC0 - Program for Testing the FI Services of the FI/CO Interface (SD-FI) SAPFABA0 - documentation and ABAP source code SAPFABA0 - documentation and ABAP source code