
You have set the adapter-specific properties to allow the IDoc adapter to recognize the receiver business system.
More information: Configuring the Adapter-Specific Properties
You have created an RFC destination for the receiver business system using the NWA. For example: XI_IDOC_DEFAULT_DESTINATION_SID
More information: Maintaining RFC Destinations
If you want to configure the communication channel in NWA mode, you must configure a JCA connection factory on the outboundRA resource adapter. If you want the communication channel in the NWA mode to receive ALEAUD from R3 system, you must clone a resource adapter from com.sap.aii.adapter.idoc.raclonetemplateRAR.
More information: Configuring Resource Adapters and JCA Connection Factories in NW
For more information about cloning resource adapters, see the section "Cloning Resource Adapters" under the link : Managing Resource Adapters
In the Adapter Type field, enter the Java IDoc type. The Java IDoc adapter has the following properties:
Adapter Type: IDoc_AAE
Namespace: http://sap.com/xi/XI/System
Software Component Version: SAP BASIS 7.30
Choose the Sender radio button to indicate the type of communication channel.
In the Transport Protocol enter tRFC .
In the Message Protocol field, enter Idoc XML . By default, the Java IDoc adapter uses tRFC transfer protocol and IDoc XML message protocol.
In the Adapter Engine field, choose the advanced adapter engine which you want to use for Java IDoc processing.
On the RFC Parameters , choose one of the following options:
In the RFC Client Parameters field, select Default (Recommended) and proceed with the following options:
In the Destination field, enter the RFC destination of the receiver business system.
In the RFC Client Parameters field, enter Manual and proceed with the following:
In the SAP Client field, enter the client number of the receiver business system.
In the User Name and Password fields, enter user name and password to connect to the receiver business system.
If you want to secure the data communication paths between the adapter engine and the R/3 system using IDoc adapter, select SNC Mode and then perform the following substeps.
Enter the SNC Partner Name .
Select the SNC Level .
The default level of protection is Level 8.
Optional: Enter the SNC My Name .
Enter the SNC Library Path .
In the Language field, enter the ISO code of the language you want to use.
In the Server Name field, enter the host name of the receiver business system.
In the System Number field, enter the port of the receiver system
In the Program ID (ALEAUD) field, enter the program ID which you used when you created the RFC destination on the receiver business system.
Alternatively, you can reuse the configuration that is set in the SAP NetWeaver Administrator. In the RFC Service Parameters field, enter From NWA and proceed with the following options:
In the Resource Adapter Name (ALEAUD) field, enter the name of the resource adapter that you have identified.
In the Connection Factory Name (reuse NWA Configuration) field, enter the name of the connection factory that you created in the SAP NetWeaver Administrator.
Note that for the communication with non-SAP systems you can only use the configuration that is set in the SAP NetWeaver Administrator (setting From NWA ).
By default, SAP systems prior to release 4.0 do not support Java IDoc adapter processing.
.Determine how you want to set the connection to metadata repository, and choose one of the following options.
To use an existing RFC destination configured in NWA, In the Metadata Client Parameters , select Default (Recommended) and in the Metadata Client Parameters section, enter the Destination .
To manually provide the connection details for the metadata repository, In the Metadata Client Parameters , select Manual .
In the Metadata Client Parameters section, enter Metadata SAP Client .
Enter the Metadata User Name .
Enter the Metadata Password .
Enter the Metadata Language .
Enter the Metadata Server Name .
Enter the Metadata System Number .
To choose an existing connection factory configured in NWA as the destination for metadata repository, In the Metadata Client Parameters , select From NWA , and enter the Metadata Connection Factory Name .
You use this option for debugging purpose.
If you want the receiver IDoc adapter to ensure that the incoming payload has the control record, in the Control Record in IDoc XML , choose Mandatory (Recommended) .
By default this option is selected.
An exception is thrown if the control record is not present in the payload.
If you want the receiver IDoc adapter to use the adapter specific XI information to update the control record of the incoming payload choose Not Mandatory in the Control Record in IDoc XML .
More information: Java IDoc Adapter Partner Conversion
If you want to override all the fields of the control record, select Apply Control Records from Payload .
More Information: The Control Record Fields of the IDoc Adapter (AAE)
If you want only the sender partner fields namely SNDPOR, SNDPRN, SNDPRT and SNDPFC to be updated in the control record, select Apply Sender from Payload .
If you want only the receiver partner fields (namely RCVPOR, RCVPRN, RCVPRT, and RCVPFC) to be updated in the control record, select Apply Receiver from Payload .