Ansicht
Dokumentation

RFUSVS12 - Annual Sales Report (Spain) > on Disk

RFUSVS12 - Annual Sales Report (Spain) > on Disk

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Description

This program generates a data extract for annual sales reporting in Spain. It covers both vendors and customers, provided they have no withholding tax code.

The data extract is created as a UNIX file.

This UNIX-File consists of the following four record types:

  1. Record type 0: Sender details: Tax number (NIF), name, address and name of accounting clerk, plus their telephone number
  2. Record type 1: Totals information such as payables comprising individual amounts above and below a particular minimum/maximum amount
  3. Record type 2: Output of vendors with annual sales
  4. Record type 3: Output of leasing data

In the case of record type 3, data must be imported from a file. This file must be accessible and the data it contains must be in the format stipulated by the government agency. The file name (full path details as it is stored in the directory) must be entered on the selection screen.

For payables, the code "C" (compras) must be specified, and for receivables, "V" (ventas). The totals for vendors with debit balances are displayed as receivables; the totals for customers with credit balances are displayed as payables. Note that this program ignores those vendors and customers that do not have a tax number. It follows that for those vendors and customers created in Spain, the tax number must be entered in field LFA1-STCD1 or KNA1-STCD1 in the master record.

Every record type is of 180 characters in length.

Requirements

To generate a sequential UNIX file, the full file path must be entered.

For example: /usr/sap/tmp/

If a part of this path is missing, the file may be saved to the wrong place in the UNIX directory or it may not be possible to create it at all. In the latter case, the program will terminate with the message that the file could not be opened.

On the selection screen, enter:

  1. Whether the entity responsible is a company code or a tax on sales and purchases group
  2. The name of the responsible company code or tax on sales and purchases group
  3. The telephone area code of the responsible entity
  4. The actual telephone number of the responsible entity

Output

Output on disk:

In the first instance, this program creates a sequential UNIX file. The path and the name of this file must be specified on the selection screen. Using program RFUSVX10, this UNIX file can then be saved to a DOS or an OS/2 disk. If more than one disk is needed, the data record must first be saved to the hard disk of the DOS or OS/2 computer, using the program referred to above. It can then be stored on further disks using the BACKUP command (DOS or OS/2).

Output as list:

This program can also produce an output in list form. The structure of this list is essentially the same format as the UNIX file (four record types where the file for leasing data is available, otherwise three record types).






ROGBILLS - Synchronize billing plans   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3220 Date: 20240520 Time: 104508     sap01-206 ( 65 ms )