Configuring the SAP server to work with the adapter
Before you configure the WebSphere® Adapter for SAP
Software for Application Link Enabling (ALE) processing, you must
register a Remote Function Call (RFC) destination on the SAP server,
and configure a receiver port, logical system, distribution model,
and partner profile on the SAP server. Ask your system administrator
if these items have been configured.
Complete the following steps on the
SAP server by using the SAP graphical user interface.
- Register an RFC program ID:
- Open transaction SM59 (Display
and Maintain RFC Destinations).
- Click Create.
- Type a name for the RFC destination.
- In the Connection Type field,
select T.
- In the Activation Type field,
select Registered Server Program.
- Type a Program ID.
You use this program
ID when you configure the adapter. This value indicates to the SAP
gateway which RFC-enabled functions the program ID listens for.
- Enter a description in Description 1,
such as RFC for Test Sample.
- Enter a description in Description 2,
such as your name.
- Click MDMP & Unicode,
and set the RFC destination to Unicode or non-Unicode,
depending on the communication type of the target system.
To
avoid errors when you use multiple language settings, set the RFC
destination to Unicode.
- Save your entry.
- Set up a receiver port:
- Open transaction WE21 (Ports
in IDoc processing).
- Select Transactional RFC, click Ports,
and click the Create icon.
- Type a name for the port and click OK.
- Type the name of the destination that you created in
the previous task (or select it from the list).
- Save your entry.
- Specify a logical system:
- Open transaction BD54 (Change
View Logical Systems).
- Click New Entries.
- Type a name for the logical system and click the Save icon.
- If you see the Prompts for Workbench request, click
the New Request icon. Then enter a short description
and click Save.
- Click the Continue icon.
- Configure a distribution model:
- Open transaction BD64 (Maintenance
of Distribution Model).
- Click .
- Click Create model view.
- Type a name for the model view and click the Continue icon.
- Select the distribution model that you created and click Add
message type.
- For outbound processing, type the logical system name
that you created in the previous task as Sender,
and type the logical name of the SAP server as Receiver,
then select a message type (for example, MATMAS)
and click the Continue icon.
- Select the distribution model again and click Add
message type.
- For inbound processing, type the logical name of the
SAP server as Sender, and the logical system
name that you created in the previous task as Receiver,
then select a message type (for example, MATMAS)
and click the Continue icon.
- Save your entry.
- Set up a partner profile:
- Open transaction WE20 (Partner
Profiles).
- Click the Create icon.
- Type the name of the logical system that you created
in the earlier task and, for Partner Type,
select LS.
- For Post Processing: permitted agent,
type US and your user ID.
- Click the Save icon.
- In the Outbound parameters section, click the Create
outbound parameter icon.
- In the Outbound parameters window,
type a message type (for example, MATMAS05),
select the receiver port that you created in the earlier task, and
select Transfer IDoc immed.
- Click the Save icon.
- Press F3 to return to the Partner
Profiles view.
- In the Inbound parameters section, click the Create
inbound parameter icon.
- In the Inbound parameters window,
type a message type (for example, MATMAS),
and a process code (for example, MATM).
- Click the Save icon.
- Press F3 to return to the Partner
Profiles view.
- In the Inbound parameters section, click the Create
inbound parameter icon.
- In the Inbound parameters window,
type the following values: ALEAUD for Message
Type, and AUD1 for Process
Code.
- Click the Save icon.
- Press F3 to return to the Partner
Profiles view.
- Click the Save icon.