You are on page 1of 8

Defining Output Type and Fax Numbers in SD or MM Module

A user of the Sales and Distribution or Materials Management modules needs to do two things
to enable faxing from the relevant SAP module:
 Create a new output type for InterFAX mail-to-fax, and assign it to the relevant access
sequence.
 Define fax numbers, in a special email format, in the customer or vendor objects.

Below are detailed instructions for each of these tasks.

Creating a New Output Type (Transaction SPRO)

To create a new output type for InterFAX mail-to-fax:


1. Access the SPRO transaction.
2. Do one of the following:
o If you are using the SAP SD module, in the Structure tree, navigate to the
following path: Sales and Distribution > Basic Functions > Output
Control > Output Determination Using the Condition Technique >
Maintain Output Determination for Sales Documents > Maintain Output
Types.
o If you are using the SAP MM module, in the Structure tree, navigate to the
following path: Purchasing > Messages > Output Control > Message
Types > Define Message Types for Scheduling Agreement
Release/Expediter, and then click Maintain Message Types for Forecast
Delivery Schedule.

The output types overview is displayed.


3. Do one of the following:
o If you have an existing output type used for regular printing, select this output
type, copy and paste it to create another, identical output type, then double-
click the new output type to edit it.
o If you do not have an existing output type for printing, create a new output
type.

Details for the new output type are displayed.


4. At the top of the output type details, type a descriptive name for the new output type,
such as InterFAX Mail-to-Fax.
5. In the General Data tab, type the four-digit code of the Access sequence that is
relevant for sending faxes. Typically, this will be the same access sequence used for
regular printing.
6. In the Default Values tab, do the following:
o From the Dispatch Time drop-down menu, select the option relevant for
sending of faxes: sending immediately on save, sending by scheduled job, etc.
o From the Transmission Medium drop-down menu, select 8 - Special
function.

WARNING: You must set Transmission Medium to 8, otherwise it will not be


possible to define special handling for the outgoing email, so that it can be delivered to
fax by InterFAX.

7. Check with the SAP developer who will work on this output type, whether they prefer
to modify the existing processing program used for printing to also enable mail-to-fax,
or create a new program for mail-to-fax. Also, ask the developer for the name of the
program they will use for mail-to-fax. Do one of the following:
o If you copy-pasted from an existing output type used for printing, and the
developer wants to use the same processing program used for printing, do not
proceed to the next step. You are done defining the new output type.
o If you created a new output type, or if the developer wants to create a new
program, proceed to the next step.

8. Ensure that your new output type is selected. From the Dialog Structure tree on the
left, select Processing Routines.

9. Under Processing 1, in the Program field, type the name of the processing program
the developer will use for mail-to-fax (whether this is the existing program used for
printing, or a new program).

Defining Fax Numbers (XD02 or XK02 Transaction)

Repeat the procedure below for each customer (in SD) or vendor (in MM) which needs to
receive faxes via mail-to-fax (these must be all the customers included in the access sequence
you defined for the new output type).
To define fax numbers in a special email format, for a customer (in SD) or a vendor
(in MM):
1. If you are using the SD module, access transaction XD02. If you are using the MM
module, access transaction XK02.

2. Find the customer or vendor and edit their details. The Change Customer or Change
Vendor dialog is displayed.
3. Under Communication, use the Telebox field to enter the customer or vendor's fax
number, including all relevant area codes, in InterFAX's special email format. The
format is as follows: faxnumber@fax.tc (for example, if the customer's fax number
is 0032-98-11-89-48, the email format is 003298118948@fax.tc or
+3298118948@fax.tc).
4. Save the customer or vendor details.

Invoice Message Control Configuration


Below is an example of how to set up message control for the automatic creation of
INVOIC IDocs when an Invoice is created.
STEP 1: Output Type Config

Create Z810 output type with access sequence key Billing Type \ Sales Org \ Customer.
Z810 is based on the SAP standard RD00.

The following steps are executed in the IMG at the following path:

1. Create Condition table (Tx: V/63)


 Table 950
 Description Bill.type / Sales org. / Bill to
 Selected fields Billing type, Sales organization, Bill-to party

2. Maintain access sequence (V/54)


 Access sequence ZEDI
 Description Bill.type / Sales org. / Bill to
 Access Table 950, Exclusive
 Fields:
o FKART, KOMKBV3, FKART

o VKORG, KOMKBV3, VKORG

o KUNRE, KOMKBV3, KUNRE

3. Maintain output type (Tx: V/40)


 Output type: Z810
 Description: Invoice
o General data:

 Access sequence: ZEDI


 Check: Access to conditions
o Default Values:

 Time: 1
 Transmission medium: 6
 Partner function: BP
 Processing routines:
o Medium: 6

o Program: RSNASTED

o Form routine: EDI_PROCESSING

 Partner functions:
o Medium: 6

o Function: BP

4. Maintain Output Determination Procedure


 Procedure: V10000
 Control data: Insert step 11: Condition type: Z810 after RD00. No
requirement

5. Assign output determination procedure (V/25)


 Doc type: ZF1
 Output procedure: V10000. Clear output type => Either RD00 or ZD00
can be used
STEP 2: Condition Record (VV32)
The table below shows the values for the condition records.

 Part Fn: Partner function


 Med: Transmission medium
o 6 = EDI

 Time
o Timing = 1 implies that a background job (running program
RSNAST00) will process the output.
o Timing = 4 implies that the output will be created immediately on
document save.
TX MESSAGE KEY VALUES PART MED TIME DESCRIPTION
TYPE FN
VV32 Z810 Sales 0001 BP 6 4 Outbound EDI
Org: ZF1 Invoice
Bill 100000004,
type: 100000005,
Bill …
to:

You might also like