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
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.
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:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
* 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
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.