SAP Reports / Programs

RFVZBVN2 SAP ABAP Report - BAV Statement 201 Revenues from and Expenses for Capital Assets







RFVZBVN2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report RFVZBVN2 generates statistical statement 201 according to §8 para...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 RFVZBVN2 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 RFVZBVN2. "Basic submit
SUBMIT RFVZBVN2 AND RETURN. "Return to original report after report execution complete
SUBMIT RFVZBVN2 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: SO_FLG_4 = Create DÜVA data record
Selection Text: SO_DOWN = Download path
Selection Text: PA_DVA = DÜVA interface path
Title: BAV Statement 201 Revenues from and Expenses for Capital Assets
Text Symbol: ZD1 = Company code :
Text Symbol: ZC9 = to
Text Symbol: ZC8 = Period:
Text Symbol: ZC7 = BAV reg. no. :
Text Symbol: ZC6 = about acquis. of financial assets R5/
Text Symbol: ZC5 = for circular R2/
Text Symbol: ZC4 = for circular R11/
Text Symbol: ZC3 = Page:
Text Symbol: ZC2 = Report acc.to app.
Text Symbol: ZC0 = Date:
Text Symbol: ZB4 = BAV reg. no.:
Text Symbol: ZB1 = BAV position list
Text Symbol: ZA7 = Stock ID:
Text Symbol: ZA6 = / Subsec.
Text Symbol: ZA5 = -ELI
Text Symbol: ZA4 = F O R M PRF
Text Symbol: ZA3 = Div:
Text Symbol: ZA2 = Currency:
Text Symbol: ZA1 = BAV repaymnt list
Text Symbol: SUM = Total capital assets 26
Text Symbol: SC1 = Unit
Text Symbol: RT3 = The date was written to the following file:
Text Symbol: RT2 = Maintain T001-BUTXT/SADR-NAME
Text Symbol: RT1 = Sec.5
Text Symbol: PR2 = ************************* E N D O F L O G *******************************************************************************
Text Symbol: PR1 = ************************* S T A R T O F L O G ***************************************************************************
Text Symbol: P21 = BAV asset group stmt 600 :
Text Symbol: P20 = BAV asset group stmt 201 :
Text Symbol: ZD2 = Report acc.to app.
Text Symbol: ZZ1 = BAV infl./outfl.list
Text Symbol: ZT1 = BAV - Inflow list for trustees
Text Symbol: ZO4 = Page:
Text Symbol: ZO3 = Date:
Text Symbol: ZO2 = / Subsec.





Text Symbol: ZO1 = F O R M PRF
Text Symbol: ZK8 = Z: Additional object
Text Symbol: ZK7 = M: Joint liab. object
Text Symbol: ZK6 = F: Fixed mortg.
Text Symbol: ZK5 = R: Inst.mortgage
Text Symbol: ZK4 = T: Level-pmnt mort.
Text Symbol: ZK3 = Remarks :
Text Symbol: ZK2 = OPEN ERROR for file =
Text Symbol: ZK1 = Rec.:
Text Symbol: ZH1 = IDNo.:
Text Symbol: ZE7 = to
Text Symbol: ZE6 = Period:
Text Symbol: ZE5 = BAV reg. no. :
Text Symbol: ZE4 = Page:
Text Symbol: ZE3 = Date:
Text Symbol: ZE2 = S T A T E M E N T:
Text Symbol: ZE1 = Company code :
Text Symbol: ZD8 = Page:
Text Symbol: ZD7 = BAV reg. no. :
Text Symbol: ZD6 = to
Text Symbol: ZD5 = Period:
Text Symbol: ZD4 = for circular R11/
Text Symbol: ZD3 = Date:
Text Symbol: 3D9 = on insurance policies 19
Text Symbol: 3D8 = 2) Bonded debts and loans 18
Text Symbol: 3D7 = 1) Registered bonds 17
Text Symbol: 3D6 = d) Other loans:
Text Symbol: 3D5 = 4) Remaining loans 21
Text Symbol: 3D4 = on insurance policies 20
Text Symbol: 3D3 = 3) Loans and advance payments
Text Symbol: 3D2 = 2) Bonded debts and loans 19
Text Symbol: 3D1 = 1) Registered bonds 18
Text Symbol: 3D0 = d) Other loans 17
Text Symbol: 3C1 = and annuity charge claims 16
Text Symbol: 3C0 = c) Mortgage, land charge
Text Symbol: 3B1 = other fixed-interest securities 15
Text Symbol: 3B0 = b) Coupon bonds and
Text Symbol: 3A4 = 3) Other non-fixed-interest securities 14
Text Symbol: 3A3 = 2) Mutual fund shares 13





Text Symbol: 3A2 = 1) Stocks 12
Text Symbol: 3A1 = other non-fixed-interest securities: 11
Text Symbol: 3A0 = a) Stocks, mutual fund shares and
Text Symbol: 300 = 3. Other capital assets: 10
Text Symbol: 2D1 = a shareholding relationship 09
Text Symbol: 2D0 = d) Loans to companies with
Text Symbol: 2C0 = c) Shareholdings 08
Text Symbol: 2B0 = b) Loans to affiliated companies 07
Text Symbol: 202 = a) Shareholdings in affiliated companies 06
Text Symbol: 201 = companies and shareholdings:
Text Symbol: 200 = 2. Capital assets in affiliated 05
Text Symbol: 102 = buildings on third-party properties 04
Text Symbol: 101 = rights and buildings including
Text Symbol: 100 = 1. Properties, leasehold 03
Text Symbol: 3DD = 4) Remaining loans 20
Text Symbol: P12 = Total of remaining expenses :
Text Symbol: P11 = Total of current expenses :
Text Symbol: P10 = Total of remaining revenues :
Text Symbol: P09 = Total of current revenues :
Text Symbol: P08 = Remaining expenses :
Text Symbol: P07 = Current expenses :
Text Symbol: P06 = Remaining revenues :
Text Symbol: P05 = Current revenues :
Text Symbol: P04 = Transaction number:
Text Symbol: P03 = Business entity:
Text Symbol: P02 = Sec.ID number :
Text Symbol: P01 = Loan number :
Text Symbol: NR0 = MESS
Text Symbol: KNR = IDNo.:
Text Symbol: BVR = BAV reg. no.:
Text Symbol: 999 = The date was written to the following file:
Text Symbol: 503 = of life insurance policy holders 25
Text Symbol: 502 = 5. Capital assets for invoice and risk
Text Symbol: 501 = and other loans taken 26
Text Symbol: 500 = 5. Payables to credit institutions
Text Symbol: 403 = transactions taken on for reinsurance 24
Text Symbol: 402 = 4. Securities acct receivables from insurance
Text Symbol: 401 = checks and cash 25
Text Symbol: 400 = 4. Current assets at credit institutions,



Text Symbol: 3S2 = 24
Text Symbol: 3S1 = Total 23
Text Symbol: 3F1 = f) Other capital assets 22
Text Symbol: 3F0 = f) Other capital assets 23
Text Symbol: 3E1 = e) Deposits at credit institutions 21
Text Symbol: 3E0 = e) Deposits at credit institutions 22


INCLUDES used within this REPORT RFVZBVN2

INCLUDE VZBAVDVA.


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:

ACCUMULATION_ADD * CALL FUNCTION 'ACCUMULATION_ADD' " vorl. ausgesternt, gus

ACCUMULATION_RESULT CALL FUNCTION 'ACCUMULATION_RESULT' IMPORTING REVAL = XREVAL * RLOAM = XRLOAM RPROF = XRPROF.

ACCUMULATION_ADD * CALL FUNCTION 'ACCUMULATION_ADD' * EXPORTING * RLDEPO = VWPDEP1-RLDEPO * VBEPP = VWZZBEPP * VERARB = ' '.

ACCUMULATION_RESULT CALL FUNCTION 'ACCUMULATION_RESULT' IMPORTING REVAL = XREVAL RPROF = XRPROF.

ACCUMULATION_RESULT CALL FUNCTION 'ACCUMULATION_RESULT' IMPORTING REVAL = XREVAL RPROF = XRPROF.

ACCUMULATION_RESULT CALL FUNCTION 'ACCUMULATION_RESULT' IMPORTING REVAL = XREVAL RPROF = XRPROF.

ACCUMULATION_ADD * CALL FUNCTION 'ACCUMULATION_ADD' " werden zusammenaddiert * EXPORTING * RLDEPO = ' ' * VBEPP = VDZZBEPP * VERARB = ' '.

ACCUMULATION_RESULT CALL FUNCTION 'ACCUMULATION_RESULT' IMPORTING REVAL = XREVAL RPROF = XRPROF.

ACCUMULATION_ADD * CALL FUNCTION 'ACCUMULATION_ADD' * EXPORTING * RLDEPO = ' ' " VWPDEP1-RLDEPO * VBEPP = VDZZBEPP * VERARB = ' '.

ACCUMULATION_RESULT CALL FUNCTION 'ACCUMULATION_RESULT' IMPORTING REVAL = XREVAL * RLOAM = XRLOAM RPROF = XRPROF.

TB_VTBFHAPO_CONVERT_TO_VTBACFL * CALL FUNCTION 'TB_VTBFHAPO_CONVERT_TO_VTBACFL' * EXPORTING * FHAPO = VTBFHAPO * IMPORTING * ACFL = VTBACFL.

ACCUMULATION_ADD_FLOW * CALL FUNCTION 'ACCUMULATION_ADD_FLOW' * EXPORTING * FLOW = VTBACFL * MEMORY = HLP_MEMORY.

ACCUMULATION_RESULT CALL FUNCTION 'ACCUMULATION_RESULT' IMPORTING REVAL = XREVAL RLOAM = XRLOAM RPROF = XRPROF.

TB_VTBFHAPO_CONVERT_TO_VTBACFL CALL FUNCTION 'TB_VTBFHAPO_CONVERT_TO_VTBACFL' EXPORTING FHAPO = VTBFHAPO IMPORTING ACFL = VTBACFL.

ACCUMULATION_ADD_FLOW CALL FUNCTION 'ACCUMULATION_ADD_FLOW' EXPORTING FLOW = VTBACFL MEMORY = HLP_MEMORY.

ACCUMULATION_RESULT CALL FUNCTION 'ACCUMULATION_RESULT' IMPORTING REVAL = XREVAL * RLOAM = XRLOAM RPROF = XRPROF.

ACCUMULATION_RESULT CALL FUNCTION 'ACCUMULATION_RESULT' IMPORTING REVAL = XREVAL * RLOAM = XRLOAM RPROF = XRPROF.

CHECK_INCOMING_PAYMENT_FLOW CALL FUNCTION 'CHECK_INCOMING_PAYMENT_FLOW' EXPORTING I_FLOW_TYPE = VWZZBEPP-SBEWART I_FLOW_CATEGORY = VWZZBEPP-SBEWZITI IMPORTING E_INCOMING_PAYMENT_TYPE = PAYMENT_TYPE E_INCOMING_PAYMENT_STEP = PAYMENT_STEP EXCEPTIONS ERROR_READING_FLOW_TYPE = 1 I_FLOW_TYPE_INITIAL = 2 I_FLOW_CATEGORY_INITIAL = 3 OTHERS = 4.

CHECK_INCOMING_PAYMENT_FLOW CALL FUNCTION 'CHECK_INCOMING_PAYMENT_FLOW' EXPORTING I_FLOW_TYPE = VWZZBEPP-SBEWART I_FLOW_CATEGORY = VWZZBEPP-SBEWZITI IMPORTING E_INCOMING_PAYMENT_TYPE = PAYMENT_TYPE E_INCOMING_PAYMENT_STEP = PAYMENT_STEP EXCEPTIONS ERROR_READING_FLOW_TYPE = 1 I_FLOW_TYPE_INITIAL = 2 I_FLOW_CATEGORY_INITIAL = 3 OTHERS = 4.

K_COSPA_READ_SINGLES CALL FUNCTION 'K_COSPA_READ_SINGLES' EXPORTING BIS_PERIODE = SAV_BISPE VON_PERIODE = SAV_VONPE TABLES ICOSPA = INT_COSPA EXCEPTIONS NOT_FOUND = 01.

K_COSSA_READ_SINGLES CALL FUNCTION 'K_COSSA_READ_SINGLES' EXPORTING BIS_PERIODE = SAV_BISPE VON_PERIODE = SAV_VONPE TABLES ICOSSA = INT_COSSA EXCEPTIONS NOT_FOUND = 01.



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 RFVZBVN2 or its description.