SAP Reports / Programs

RFUSVS12 SAP ABAP Report - Annual Sales Report (Spain) > on Disk







RFUSVS12 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program generates a data extract for annual sales reporting in Spain...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 RFUSVS12 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 RFUSVS12. "Basic submit
SUBMIT RFUSVS12 AND RETURN. "Return to original report after report execution complete
SUBMIT RFUSVS12 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Annual Sales Report
Selection Text: BRARCHIV = ?...(BRARCHIV)
Selection Text: DATEI = UNIX file for output
Selection Text: FILE3 = File for leasing
Selection Text: HACIEN = Tax office
Selection Text: LIST = List Output
Selection Text: PHONE = Telephone no.
Selection Text: PREFIX = Telephone area code
Selection Text: RESBUKRS = Entity responsible
Selection Text: RESPONS = Is entity a company code?
Selection Text: SEL_UKRS = Taxes on sales/purchases group
Selection Text: S_BLDAT = Document date
Selection Text: S_REGION = Regions to be excluded
Selection Text: TAPE = Output as UNIX file
Selection Text: THRES1 = Maximum/minimum amount
Selection Text: BRARMSSG = ?...(BRARMSSG)
Selection Text: BRARONLY = ?...(BRARONLY)
Selection Text: BRDKUNNR = ?...(BRDKUNNR)
Selection Text: BRKLIFNR = ?...(BRKLIFNR)
Selection Text: BR_BELNR = ?...(BR_BELNR)
Selection Text: BR_BLART = ?...(BR_BLART)
Selection Text: BR_BUDAT = ?...(BR_BUDAT)
Selection Text: BR_BUKRS = ?...(BR_BUKRS)
Selection Text: BR_GJAHR = ?...(BR_GJAHR)
Selection Text: BR_SEQ = ?...(BR_SEQ)
Selection Text: BR_XBLNR = ?...(BR_XBLNR)
Title: Annual Sales Report (Spain) > on Disk
Text Symbol: 001 = Tx office:
Text Symbol: 002 = Period:
Text Symbol: 003 = Reptg typ:
Text Symbol: 004 = Comp.:
Text Symbol: 005 = Contact pers.:
Text Symbol: 006 = Telephone no.:
Text Symbol: 007 = No. of datasets:
Text Symbol: 008 = Tax office admin.:
Text Symbol: 009 = Main activity 1 code:
Text Symbol: 010 = Short text for activity 1:
Text Symbol: 011 = Code main activity 2:





Text Symbol: 012 = Short text for activity 2:
Text Symbol: 013 = Street:
Text Symbol: 014 = Postal code, city:
Text Symbol: 015 = from &V to &B
Text Symbol: 016 = Annual sales report for the period
Text Symbol: 017 = Annual sales report on data medium
Text Symbol: 018 = Information about the disk
Text Symbol: 050 = Following customer balances in credit and vendor balances in debit are not reported:
Text Symbol: 120 = rate
Text Symbol: 121 = Field
Text Symbol: 122 = is incorrect
Text Symbol: 123 = Enter fiscal year
Text Symbol: 124 = Do not enter more than one fiscal year
Text Symbol: 201 = does not exist
Text Symbol: 203 = Tax on sales/purchases group is not selected


INCLUDES used within this REPORT RFUSVS12

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:

FILE_VALIDATE_NAME * CALL FUNCTION 'FILE_VALIDATE_NAME' * EXPORTING * logical_filename = gc_filename * parameter_1 = sy-repid * parameter_2 = resbukrs * parameter_3 = 'WRITE' * CHANGING * physical_filename = datei * EXCEPTIONS * OTHERS = 1.

BUKRS_AUTHORITY_CHECK * CALL FUNCTION 'BUKRS_AUTHORITY_CHECK' * EXPORTING * xdatabase = 'B' * tables * xbukreis = br_bukrs.

TAX_REP_UMKRS_AUTHORITY_CHECK * CALL FUNCTION 'TAX_REP_UMKRS_AUTHORITY_CHECK' * EXPORTING * i_database = 'B' * tables * t_ran_umkrs = SEL_UKRS.

FILE_VALIDATE_NAME * CALL FUNCTION 'FILE_VALIDATE_NAME' * EXPORTING * logical_filename = gc_filename * parameter_1 = sy-repid * parameter_2 = resbukrs * parameter_3 = 'READ' * CHANGING * physical_filename = file3 * EXCEPTIONS * OTHERS = 1.

ADDR_GET * CALL FUNCTION 'ADDR_GET' * EXPORTING * ADDRESS_SELECTION = SELECTION * ADDRESS_GROUP = 'CA01' * IMPORTING * ADDRESS_VALUE = ADDRESS_VALUE * SADR = SADR * EXCEPTIONS * ADDRESS_NOT_EXIST = 1 * OTHERS = 2. "zav

FI_WT_READ_LFBW ** CALL FUNCTION 'FI_WT_READ_LFBW' ** EXPORTING ** I_LIFNR = stab-konto ** I_BUKRS = stab-bukrs ** TABLES ** T_LFBW = l_lfbw ** EXCEPTIONS ** NOT_FOUND = 1 ** OTHERS = 2.

ADDR_GET * CALL FUNCTION 'ADDR_GET' * EXPORTING * ADDRESS_SELECTION = SELECTION * ADDRESS_GROUP = 'CA01' * IMPORTING * ADDRESS_VALUE = ADDRESS_VALUE * SADR = SADR * EXCEPTIONS * ADDRESS_NOT_EXIST = 1 * OTHERS = 2. "zav

ADDR_GET * CALL FUNCTION 'ADDR_GET' * EXPORTING * ADDRESS_SELECTION = SELECTION * ADDRESS_GROUP = 'CA01' * IMPORTING * ADDRESS_VALUE = ADDRESS_VALUE * SADR = SADR * EXCEPTIONS * ADDRESS_NOT_EXIST = 1 * OTHERS = 2. "zav

FILE_VALIDATE_NAME * CALL FUNCTION 'FILE_VALIDATE_NAME' * EXPORTING * logical_filename = gc_filename * parameter_1 = sy-repid * parameter_2 = resbukrs * parameter_3 = 'WRITE' * CHANGING * physical_filename = datei * EXCEPTIONS * OTHERS = 1.

FILE_VALIDATE_NAME * CALL FUNCTION 'FILE_VALIDATE_NAME' * EXPORTING * logical_filename = gc_filename * parameter_1 = sy-repid * parameter_2 = resbukrs * parameter_3 = 'READ' * CHANGING * physical_filename = file3 * EXCEPTIONS * OTHERS = 1.

ADDR_GET





* CALL FUNCTION 'ADDR_GET' * EXPORTING * ADDRESS_SELECTION = SELECTION * ADDRESS_GROUP = 'CA01' * IMPORTING * ADDRESS_VALUE = ADDRESS_VALUE * SADR = SADR * EXCEPTIONS * ADDRESS_NOT_EXIST = 1 * OTHERS = 2. "zav



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