Report Generating After a report shipping order has been successfully checked and bundled, this function generates the appropriate ready-to-ship reports.
The function module is created as a user exit so that you can define your own function modules for generation.
The report shipping order has the status
Order bundled
(BU) (see
Report Shipping Status Network
).
You have installed the current version of Windows Wordprocessor Integration (WWI) and made settings in the
Report Definition
IMG section of Customizing for
Basic Data and Tools
.
Defining the generation method
In Customizing for
Basic Data and Tools
under
Manage User Exits,
you can find the user exit EHS_GEN of user exit category SRE_DIST. The user exit contains the function module for the generation.
Assigning the generation method
In Customizing for
Product Safety
under
Assign Names for User Exits
, the user exit EHS_GEN is assigned to the exit category GENERATE in accordance with the communication type. The exit category GENERATE defines the point in the program at which the user exit is called.
There are several steps involved in generating reports:
Depending on the shipping reason, you can set the SAP system so that it checks whether a new released version of the report exists for the required key date before generating. To do this, set the
Redetermine Report Body
indicator under
Specify Shipping Reasons
in Customizing for
Product Safety
. If a new version exists it is sent.
For report shipping, the report (the *.DOC file, for example) must be uploaded from the
Document Management System
.
If the report still contains symbols of the symbol type
Parameter
, the SAP system replaces them all with the actual values. Current sales and distribution data such as the customer address are then determined for shipping.
Depending on the selected report view, the values controlled by a master group with instance control (see Repeating Group Types ) are output.
The SAP system determines the size of the individual final reports (in pages and bytes) so that the shipping order bundle can then be packed into shipping order packages.