SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

RFVESBOOK SAP ABAP Report - Program RFVESBOOK







RFVESBOOK 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 RFVESBOOK 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 RFVESBOOK. "Basic submit
SUBMIT RFVESBOOK AND RETURN. "Return to original report after report execution complete
SUBMIT RFVESBOOK 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: S_XBLNR = SD Document Category
Selection Text: S_WTTYP = D .
Selection Text: S_VBTYP = Do Not Total Transaction
Selection Text: S_TCODE = Customer
Selection Text: S_KUNNR = Business Area
Selection Text: S_DRMEMO = D .
Selection Text: S_BUDAT = D .
Selection Text: S_BLART = Do Not Total Document Type
Selection Text: P_KURST = D .
Selection Text: P_EKPO = Display Sales Information
Selection Text: ALTFNCUR = Alternate Foreign Currency
Title: Program RFVESBOOK
Text Symbol: 526 = Total
Text Symbol: 525 = the Customer
Text Symbol: 524 = Total Domestic Sales
Text Symbol: 523 = Total Export Sales
Text Symbol: 522 = Total Domestic Nontaxable Sales
Text Symbol: 521 = VAT Received
Text Symbol: 520 = VAT Withheld by
Text Symbol: 519 = VAT Amount
Text Symbol: 518 = Document Number
Text Symbol: 517 = VAT Received
Text Symbol: 516 = VAT Withheld
Text Symbol: 515 = VAT Amount
Text Symbol: 514 = VAT Rate
Text Symbol: 513 = VAT Base Amount
Text Symbol: 512 = Domestic Nontaxable Sales
Text Symbol: 511 = Total Sales Incl. VAT
Text Symbol: 510 = Related Invoice No.
Text Symbol: 509 = Transaction Type
Text Symbol: 508 = Credit Memo No.
Text Symbol: 507 = Debit Memo No.
Text Symbol: 506 = Control No.
Text Symbol: 505 = Invoice No.
Text Symbol: 504 = Export Form No. (Form D)
Text Symbol: 503 = Name
Text Symbol: 502 = RIF Number
Text Symbol: 501 = Document Date





Text Symbol: 500 = Trans. No


INCLUDES used within this REPORT RFVESBOOK

No INCLUDES are used within this REPORT code!


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:

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = bkpf-budat foreign_currency = altfncur local_amount = EX_HWBAS local_currency = bkpf-hwaer type_of_rate = 'M' IMPORTING foreign_amount = EX_HWBAS EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = bkpf-budat foreign_currency = altfncur local_amount = EX_HWSTE local_currency = bkpf-hwaer type_of_rate = 'M' IMPORTING foreign_amount = EX_HWSTE EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' EXPORTING date = bkpf-budat foreign_currency = altfncur local_amount = EX_WITHTAX local_currency = bkpf-hwaer type_of_rate = 'M' IMPORTING foreign_amount = EX_WITHTAX EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 derived_2_times = 5 OTHERS = 6.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = REPID IT_FIELDCAT = XFIELD IS_LAYOUT = X_LAYOUT IT_EVENTS = GT_XEVENTS TABLES T_OUTTAB = ALVTABLE.

VIEW_VBADR CALL FUNCTION 'VIEW_VBADR' EXPORTING INPUT = VBPA NRART = 'KU' IMPORTING ADRESSE = VBADR EXCEPTIONS ERROR = 02.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = BKPF-WWERT "#EC DOM_EQUAL FOREIGN_AMOUNT = VBAP-NETPR FOREIGN_CURRENCY = VBAP-WAERK LOCAL_CURRENCY = BKPF-HWAER * TYPE_OF_RATE = P_KURST IMPORTING LOCAL_AMOUNT = VBAP-NETPR EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 4 OTHERS = 5.

ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING address_selection = addr1_sel IMPORTING address_value = addr1_val EXCEPTIONS parameter_error = 0 address_not_exist = 0 version_not_exist = 0.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' "#EC * exporting I_BUDAT = BKPF-BUDAT I_BUKRS = T001-BUKRS I_PERIV = T001-PERIV I_GJAHR = BKPF-GJAHR I_MONAT = BKPF-MONAT X_XMO16 = SPACE importing E_GJAHR = post_year E_MONAT = post_month E_POPER = post_peri EXCEPTIONS FISCAL_YEAR PERIOD PERIOD_VERSION POSTING_PERIOD SPECIAL_PERIOD VERSION POSTING_DATE.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE'"#EC * exporting I_BUDAT = BKPF-BLDAT I_BUKRS = T001-BUKRS I_PERIV = T001-PERIV * I_GJAHR = BKPF-GJAHR * I_MONAT = BKPF-MONAT X_XMO16 = SPACE importing E_GJAHR = docu_year E_MONAT = docu_month E_POPER = docu_peri EXCEPTIONS FISCAL_YEAR PERIOD PERIOD_VERSION POSTING_PERIOD SPECIAL_PERIOD VERSION POSTING_DATE.



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