Before you configure WebSphere® Adapter for SAP Software for
ALE processing or for Synchronous callback processing, you must register an
RFC destination on the SAP server. For ALE processing, you must also configure
a receiver port, logical system, distribution model, and partner profile on
the SAP server. See your system administrator if you are not sure whether
these items have been configured.
Perform the following steps on the SAP server using the SAP graphical
user interface. Note that only the first task is required for Synchronous
callback processing.
- 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 will 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.
- Click MDMP & Unicode, and in the
Communication Type with Target System section, click Unicode.
- Save your entry.
- Set up a receiver port (for ALE processing only):
- Open transaction WE21 (Ports in IDoc
processing).
- SelectTransactional RFC, click Ports,
and click the Create icon.
- Type a name for the port and select OK.
- Type the name of the destination you created in the previous
task (or select it from the list).
- Save your entry.
- Specify a logical system (for ALE processing only):
- 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 the Save icon.
- Click the Continue icon.
- Configure a distribution model (for ALE processing only):
- 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 you created, and click Add
message type.
- For outbound processing, type the logical system name you created
in the previous task as Sender and 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 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 (for ALE processing only)
- Open transaction WE20 (Partner Profiles).
- Click the Create icon.
- Type the name of the logical system 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 you created in the earlier task, and select Transfor
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.