SAP Reports / Programs

RFUSVS14 SAP ABAP Report - Annual Operations Report # Model 347 (Spain)







RFUSVS14 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Annual Operations Report (Spain) In Spain, you can use the Annual Operations Report # Model 347 (Spain) (RFUSVS14) report to generate the annual declaration of your company#s operations with business partners...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 RFUSVS14 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 RFUSVS14. "Basic submit
SUBMIT RFUSVS14 AND RETURN. "Return to original report after report execution complete
SUBMIT RFUSVS14 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Annual Operations Report
Selection Text: SEL_VCON = Vendor Country
Selection Text: SEL_LSTM = Tax Return Country
Selection Text: SEL_CUST = Customers To Be Included
Selection Text: SEL_CTID = Customer Vat Registration No.
Selection Text: SEL_CCON = Customer Country
Selection Text: SAKNR_IC = GL Account(Incoming)
Selection Text: P_OUTMED = Output medium
Selection Text: P_IC = Cash limit for incash tran.
Selection Text: LIST = List Output
Selection Text: IN_LIST = Detailed list Incoming Payment
Selection Text: FILE3 = File for Leasing
Selection Text: EXT_PSC = Public Administration
Selection Text: EXT_LAN = D .
Selection Text: EXT_INS = D .
Selection Text: EXT_GRA = D .
Selection Text: EXT_CM = Ceuta and Melilla
Selection Text: EXT_AG = Agriculture
Selection Text: DET_LIST = Detailed List Output
Selection Text: DATEI = UNIX File for Output
Selection Text: COND_WTV = Include With. Tax for Vendor
Selection Text: COND_WTC = Include With. Tax for Cust
Selection Text: COND_340 = Model 340
Selection Text: BUDAT_IC = Posting Date(Incoming)
Selection Text: BLDAT_IC = Document Date(Incoming)
Selection Text: WITH_RWV = Withhold. Tax Code (Vendor)
Selection Text: WITH_RWC = Withhold. Tax Code (Customer)
Selection Text: VO_NR_PR = Number of Replaced Report
Selection Text: VO_NR = Report Number
Selection Text: VCOD_OT = VAT Code(Real Estate Sales)
Selection Text: THRES1 = Amount Limit
Selection Text: TCOD_RW = Tax Code(Renting)
Selection Text: TCOD_INS = Tax Code(Insurance)
Selection Text: TCOD_CM = Tax Code(Ceuta and Melilla)
Selection Text: TCOD_AG = Tax Code(Special Regime Agr)
Selection Text: TAPE = Output as UNIX File
Selection Text: S_ZLSCH = Payment Method
Selection Text: S_VTDAT = Tax Reporting Date





Selection Text: S_STCD1F = D .
Selection Text: S_RESALE = Real estate sales
Selection Text: S_REGION = Regions To Be Excluded
Selection Text: S_MWSKZ = Codes To Be Excluded
Selection Text: S_INCASH = Incash transaction
Selection Text: S_GLEXC = Special G/L ind. to exclude
Selection Text: S_COMP = Supplementary Return
Selection Text: S_BLDAT = Document Date
Selection Text: SUBST = Replacement Return
Selection Text: SEL_VTID = Vendor Vat Registration No.
Selection Text: SEL_VEND = Vendors To Be Included
Title: Annual Operations Report # Model 347 (Spain)
Text Symbol: 124 = Enter Only One Fiscal Year
Text Symbol: 123 = Enter Fiscal Year
Text Symbol: 122 = Incorrect
Text Symbol: 121 = Fld
Text Symbol: 120 = Rate
Text Symbol: 050 = Following customer balances in credit and vendor balances in debit are not reported:
Text Symbol: 018 = Information about the disk
Text Symbol: 017 = Annual Oper. Report on Data Medium
Text Symbol: 016 = Annual Operations Report for Year &E
Text Symbol: 015 = Posting Date
Text Symbol: 014 = Postal Code, City:
Text Symbol: 013 = Street:
Text Symbol: 012 = Short Text for Activity 2:
Text Symbol: 011 = Main Activity 2 Code:
Text Symbol: 010 = Short Text for Activity 1:
Text Symbol: 009 = Main Activity 1 Code:
Text Symbol: 008 = Tax Office Admin.:
Text Symbol: 007 = No. of Datasets:
Text Symbol: 006 = Telephone No.:
Text Symbol: 005 = Contact Pers.:
Text Symbol: 004 = Comp.:
Text Symbol: 003 = Reptg Typ:
Text Symbol: 002 = Period:
Text Symbol: 001 = Tx Office:
Text Symbol: 511 = Ceuta and Melilla
Text Symbol: 510 = Real Estate
Text Symbol: 509 = Other Documents





Text Symbol: 508 = Insurance Documents
Text Symbol: 507 = Documents related to Public Admin
Text Symbol: 506 = Incoming Documents
Text Symbol: 505 = Renting Documents
Text Symbol: 504 = Agriculture
Text Symbol: 503 = Insurance Companies
Text Symbol: 502 = Public Administration
Text Symbol: 501 = Incoming
Text Symbol: 500 = Renting
Text Symbol: 213 = Additional selection
Text Symbol: 212 = Payment methods
Text Symbol: 211 = Document types
Text Symbol: 210 = Output medium
Text Symbol: 209 = Tax Reporting Date
Text Symbol: 208 = Document Date
Text Symbol: 207 = Special Settings for Insurance Companies or Landlords/Tenants
Text Symbol: 206 = Output Control
Text Symbol: 205 = Further Selections
Text Symbol: 204 = Report Details
Text Symbol: 203 = Tax on Sales/Purchases Group Not Selec.
Text Symbol: 201 = Does Not Exist


INCLUDES used within this REPORT RFUSVS14

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:

AUTHORITY_CHECK_DATASET * CALL FUNCTION 'AUTHORITY_CHECK_DATASET' * EXPORTING * program = sy-repid * activity = 'WRITE' ** Note 941909 Start ** filename = datei * filename = fname ** Note 941909 End * EXCEPTIONS * no_authority = 1 * activity_unknown = 2 * OTHERS = 3.

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

BUKRS_AUTHORITY_CHECK * CALL FUNCTION 'BUKRS_AUTHORITY_CHECK' "OT-01 * EXPORTING "OT-01 * xdatabase = 'B' "OT-01 * TABLES "OT-01 * xbukreis = br_bukrs. "OT-01

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

CHECK_PLANTS_ABROAD_ACTIVE * CALL FUNCTION 'CHECK_PLANTS_ABROAD_ACTIVE' * EXPORTING * i_cust = flg_xwia * IMPORTING * e_fi_isactive = d_xwiaa.

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 = sy-msgv1 * 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 = sy-msgv1 * 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

CONVERSION_EXIT_ALPHA_INPUT * CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT' * EXPORTING * input = vo_nr * IMPORTING * output = vo_nr.

BUKRS_AUTHORITY_CHECK * CALL FUNCTION 'BUKRS_AUTHORITY_CHECK' * EXPORTING * xdatabase = 'B' * TABLES * xbukreis = l_ran_bukrs.



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