Sending as an E-Mail or Fax (SAP Connect)

You can send a document in any number of different ways using send types.  The interface to SAPconnect made available by SAPscript is used for send types TELEFAX, EMAIL and RMAIL. TELEFAX stands for faxes, EMAIL for Internet e-mail (SMTP) and RMAIL for documents sent within r/3.

If you choose a send type other than PRINTER, the document formatted by SAPscript is transferred to SAPconnect along with information, such as fax number and e-mail address, needed for sending it. SAPconnect places the document in a send queue which is released for processing by an administrator or a program that runs periodically.

Integration - All send types require a document created by SAPscript. SAPconnect is a standard application in the R/3 system and is included automatically.

Prerequisites - In order for alternative send types to function correctly, the following system settings must be created:

You set the communication methods to "ACTIVE" with transaction SO16 (Tools ® Administration ® Process technology ® Office ® General office settings).

With transaction SCOT you transfer the communication methods to SAPconnect. (Tools ® Administration ® Process technology ® Communication ® SAPconnect ® Goto ® Customizing ® Communication methods

With transaction SCOT you create communication nodes. These define, which route a document sent to SAPconnect should take.
User data must be maintained for each communication method in the system.
Address data in business partner master data must also be maintained for the communication methods.

Features - Aside from the standard send type PRINTER, a document can also be sent via SAPconnect as a fax, e-mail or internal r-mail.

Because SAPscript also gives you the option of using the raw data interface to format documents in external systems, you must decide how you want to do formatting.

1.) Formatting by SAPscript (no RDI)
Processing takes place automatically according to the standard procedure in SAPconnect. The created document is placed in the SAPconnect send queue and is transferred later to an external fax or e-mail server to be sent.

2.) Formatting by external system (RDI)
If the RDI indicator is set in the printing parameters, an RDI flow is created instead of starting SAPconnect. In this case, an external system must also take over sending the document. The data contained in the RDI flow is used for this purpose.

Prior to standard release 4.6a, no sending information is contained as a fax, e-mail or r-mail.

For this purpose, the print workbench provides several fields in the c global variables in the application forms:

c-sendtype : print workbench send type (PRINTER, TELEFAX, EMAIL, RMAIL)

c-comm_type : SAPconnect communication method (FAX, INT, RML, OFF)

c-rec_address : recipient address as character string (fax number, e-mail address)

c-send_address : sender address as character string (fax number, e-mail address)

These fields must appear as symbols in SAPscript texts in order to appear in an RDI data flow as well.

Activities - You can define a dispatch method in the printing parameters dialog box. Enter the send type in the Send type field. In the dialog box that follows, specify each address according to send type.

If the address type has been maintained in the master record of the business partner associated with a transaction, this address will be defaulted in the parameters.
 
Beam Back to Basis Index
SAP Cafe for Basis Components

Beam Back to Main Index
SAP Cafe for SAP Professional