Skip to Content
0
Former Member
Nov 24, 2006 at 08:04 AM

report with interface

32 Views

There is a report needed which will be started with a variant by a job.

Reportname: ZRF_INT_SPOOL_SEND

That report is supposed to copy each day the lists of several interfaces from

the spool into a file and to send this file as an attachment by email.

Parameters of this report are:

- interface numbers(several!)

- mail addresses of the receivers

This report finds the spoolnumbers of the lists, which were created by the interfaces run.

The spool numbers are found in the table TSP01.

With the help of these spool numbers the lists can be read in the spool and copied into a file.

The report sends this file as an attachment by email to the receivers.

If the report finds no list for an interface on this day, an error message has to be sent by that email.

In the field ’subject’ of the emails the text ‚SIXSIGMA’ is required.

The spool numbers are found in the table TSP01. The fields RQTITLE and RQTIME are key.

The functional module RSPO_RETURN_ABAP_SPOOLJOB

can be used. It reads with import parameter spool number a list from the spool into an internal table.

For sending an email e.g. the functional module SO_NEW_DOCUMENT_ATT_SEND_API1 can be used.

how to start the coding with this

can you send me the code to proceed further