Entering content frameFunction documentation Order Package Shipping Locate the document in its SAP Library structure

Use

This function carries out the shipping method depending on the communication type for completed shipping packages.

The function module is created as a user exit so that you can define your own function modules for shipping.

Prerequisites

In the IMG activity Specify Communication you have defined the format in which the report is to be output depending on the communication types.

In the IMG activity Assign Communication Types, you have defined the priority of the permitted communication types depending on the shipping reason. In the IMG activity Assign Shipping Units, you have assigned at least one shipping unit to each communication type.

You have defined the permitted communication types and a default communication type for all report recipients.

In the IMG activity Manage User Exits, for each communication type, you can find a separate variation of the standard user exit EHS_SEND of user exit category SRE_DIST.

In the IMG activity Assign Names for User Exits, the user exit EHS_SEND_* is assigned to the exit category SEND in accordance with the communication type. The exit category SEND defines the point in the program at which the user exit is called.

Features

Selecting the Communication Type

When triggering shipping manually you can choose between:

You enter the recipient directly when you set up the report shipping order. The system determines which communication types are specified for both the customer and in Customizing and allows you to choose from these. For shipping in the background, the communication type you specified as the default for the recipient is taken into account in the same way as for automatic report shipping (see below).

For automatic report shipping, you can choose from customers only (business partner, customer, or company) as the recipient and not from office users or report recipients. You must have specified the permitted communication types for all customers and their contact persons in the SAP component Sales and Distribution. You can define a communication type as the default communication type.

In Customizing you define the priorities of the permitted communication types depending on the shipping reason. The default communication type always has the highest priority, but must also be present in Customizing so that it can be used for shipping.

Example

In the figure, shipping as e-mail is not permitted as the communication type E-mail is not entered in Customizing.

This graphic is explained in the accompanying text

Example

In the same way, the communication type can be overridden by contact persons:

The communication type Letter was defined for the three contact persons of a business partner, whereas the business partner has the communication type Fax. In Customizing, only the communication type Fax is defined for shipping material safety data sheets. As a fax cannot be sent to the contact persons, they will not receive a report. Instead, the business partner receives a total of three faxes, each of which contains the address data of one contact person.

Note

The business address for the contact person is also evaluated in the customer master as a possible ship-to address. The evaluation is done by communication (for example, fax, letter). The following order of priority applies:

          1. Business address
          2. Personal data
          3. Company address

 

Shipping Methods

The following shipping methods are possible in the standard system:

Reports printed via the R/3 spool must be in Postscript format. Conversion in accordance with the formats defined for the communication type only takes place when the final report is generated.

Reports distributed via e-mail can be sent in *.DOC format.

When shipping via e-mail, the reports including the cover sheet and acknowledgement of receipt are sent as attachments to the e-mail. The e-mail itself contains only a standard text.

You can use the following alternatives for shipping:

In the SAP R/3 Office, you use the communication server SAPcomm to send faxes. You can also use the communication interface SAPconnect. The reports that are to be sent may be in Postscript or PCL format. Conversion takes place when generating the final report.

Note

For more information on setting up SAPconnect, see the application help for Basis under BC_SAPconnect.

If you want to use the communcation interface SAPconnect, you must assign the communication type FAX and the communication group CNT to the relevant shipping reason in the IMG activity Assign Communication Types.

 

 

Leaving content frame