Before you configure WebSphere® Adapter for SAP Software for
ALE inbound processing or for BAPI inbound processing, you
must configure authorization profiles and 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. Contact your system administrator
if you are not sure whether these items have been configured.
About this task
Perform the following steps on the SAP server using the SAP
GUI.
Note: Only the first task is required for BAPI inbound processing.
Procedure
- Access levels required for the user
name that is used to connect to the SAP system.:
To
run the SAP adapter smoothly, configure the following authorization
profiles in the SAP system:
Table 1. | OBJECT |
DESCRIPTION |
AUTHORIZATION |
| B_ALE_RECV ALE/EDI: |
Receiving IDocs via RFC |
B_ALE_RC_ALL |
| S_CTS_ADMI |
Administration Functions in the Change and Transport
S |
S_CTS_IMPALL |
| S_RFCACL |
Authorization Check for RFC User (for example,
Trusted System) |
S_RFCACL_ALL |
| S_TCODE |
Authorization Check for Transaction Start |
S_TCD_ALL |
| S_RFC |
Authorization check for RFC access |
S_RFC_ALL |
| S_TABU_DIS |
Table Maintenance (via standard tools such as
SM30) |
S_TABU_ALL |
| S_IDOCCTRL |
WFEDI: S_IDOCCTRL - General Access to IDoc Functions |
S_IDCCTR_AL+ |
| S_IDOCDEFT |
WFEDI: S_IDOCDEFT - Access to IDoc Development |
S_IDCDFT_ALL |
To identify which authorizations are absolutely necessary,
perform the following steps:
- Open TCode SM19 and use the Security
Audit trace
- Run the SAP Adapter
- Refer to the system log SM20 for
authorization objects that are either accessed or denied
- 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.
- Under the MDMP and Unicode tab, set the RFC destination
as Unicode or non-Unicode by choosing the appropriate
radio button.
For error-free operation of the adapter
while using multiple language settings, set the RFC destination as
Unicode.
- Save your entry.
- Set up a receiver port (for
ALE processing only):
- Open transaction WE21 (Ports
in IDoc processing).
- Select Transactional 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 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.
Results
You have performed the tasks (on the
SAP server)
required to use the
BAPI inbound interface or the ALE interface.
What to do next
Configure the adapter for the interface.