Ansicht
Dokumentation

J_1SWF02 - IS-M/SD CH/W: Update Monthly WEMF Statistics

J_1SWF02 - IS-M/SD CH/W: Update Monthly WEMF Statistics

TXBHW - Original Tax Base Amount in Local Currency   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Description

Program J_1SWF02 creates the monthly statistics data from the daily statistics data.

Which data is updated?

Program J_1SWF02 creates summarized monthly WEMF statistics data from the daily WEMF statistics. The WEMF code XMDELD in the daily statistics is set to 'X' during processing. This ensures that records in the daily statistics can only be summarized once into the monthly statistics.

A production run always processes all records that belong to the previous month or are as old as it and for which the WEMF code is not selected. The number of issues is only calculated for the month in question, since the issues are only all recorded in full for this particular month.

How is summarization performed?

The data is summarized for the period (field PERIODE) and the quantities are totaled (field MENGE). The program must check in the monthly statistics to determine whether the WEMF statistics have already run for each new period read. If the statistics have run, field XMELD in the monthly statistics is flagged ('X'); data can no longer be summerized to this period. The subsequent period must be searched in the monthly statistics until periods without XMELD = 'X' exist or no data is recorded for a period. The category is then assigned to this period. Cases like these are logged.

If a monthly record already exists for the period in question, the quantity is totaled for the record.

Restricting data for processing (test run only)

You can specify a particular date interval for shipping for a test run.

Requirements

Which data must exist?

The monthly WEMF statistics are based on the daily statistics.

Output

Output structure

You can request that all the inserted and changed monthly records are to be listed (display log). A message is always displayed beside the record if a period is moved (returns). The number of records read and processed is always displayed.






PERFORM Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 2130 Date: 20240520 Time: 093425     sap01-206 ( 51 ms )