Ansicht
Dokumentation

RFUSVS10 - Annual Sales Report (Spain) > on Disk

RFUSVS10 - Annual Sales Report (Spain) > on Disk

CL_GUI_FRONTEND_SERVICES - Frontend Services   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Description

This program creates a data extract for the annual sales report in Spain. The program includes both vendors and customers, as long as they do not have a withholding tax indicator. The data extract is created as a UNIX file.

The UNIX file consists of three different record types:

  1. Specifications of the sender: tax number (NIF), name, address, and accounting clerk with telephone number
  2. Totals specifications, such as payables made up of individual amounts over and under a certain minimum/maximum amount
  3. Output of vendors with annual sales

You must specify a "C" (compras) code for payables and a "V" (ventas) code for receivables. The balances of vendors in debit are output as receivables. The balances of customers in credit are output as payables. The program only includes vendors and customers with a tax number. This means that the tax number must be entered in field LFA1-STCD1 or KNA1-STCD1 for customers vendors created for Spain. One-time vendors may not have a withholding tax indicator.

The record length is 142 characters for all record types.

Requirements

To create the sequential UNIX file, you must enter the entire access path in the file tree for the file names.

For example: /usr/sap/tmp/

If part of the access path is missing, the system may write the file in the wrong position in the UNIX file tree or may not be able to create it. In the second case, the program terminates with the message that the file could not be opened.

Output

Output on disk:

The program first creates a sequential UNIX file. You specify the access path and file name for this on the selection screen. Using program RFUSVX10, you can store this UNIX file on a DOS or OS/2 disk. If one disk is not sufficient, you must first store the data record on the hard drive of the DOS or OS/2 computer by using the above-mentioned program. There, it can then be stored on disks with the BACKUP command (DOS or OS/2).

Output as a list:

The program can also create output as a list. The structure of the list basically corresponds to the output as a UNIX file (three record types).






BAL_S_LOG - Application Log: Log header data   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 2368 Date: 20240601 Time: 093001     sap01-206 ( 57 ms )