Hi Diego,
An SAP instance can communicate with external programs through different application protocols. These application protocols are transported through the Transaction Control Protocol (TCP). An SAP instance component opens a TCP port on its host for each application protocol. SAP Basis supports the following three protocols:
Dynamic Information and Action Gateway (DIAG)
DIAG is an application protocol used for communication between the SAP GUI and SAP instance. The SAP instance uses this protocol to send screens and lists to the SAP GUI and to accept user commands.The dispatcher implements this protocol within the SAP instance. The
dispatcher opens the TCP port with the number 32 on the host to communicate with DIAG. Because the port numbers must be
unique, every instance on a host must have a different port number. In the services file of computers that want to communicate with an
SAP instance through this port, the sapdp service name is assigned to the port.
Remote Function Call (RFC)
RFC is an SAP application protocol that external programs can use to call function modules in the SAP instance. In this case, parameters can
be transferred to the function module and received by it. RFC is implemented by the gateway. The gateway opens the TCP port
with the number 33 on the host; the corresponding service name is sapgw.
When the SAP GUI is being installed on a computer, the service names and relevant port numbers are automatically entered into the services
file. The services file is located under /system32/drivers/etc on Windows systems.
To send and receive IDocs, the ALE subsystem must be configured
accordingly.
The following steps are required:
- Define logical systems.
Each system participating in ALE is identified by a logical name. These
names are entered in the TBDLS database table.
- Assign logical systems to clients.
A logical system is assigned to every client in an SAP system by maintaining
the master data of the client.
**3. Define target systems for RFC calls.
In the sending system, you must use Transaction SM59 to create tRFC
destinations for the target system. If the tRFC destination has the
same name as the target system, some definitions can be generated
automatically in the last step.
- Maintain distribution model.
Here it is determined which messages the sending system sends to
which receiving systems. This step is performed in the sending system.
- Maintain partner profiles.
Finally, it is determined how outbound IDocs are sent to the receiving
systems
You’ve to make sure step3 in particular reflects the same value you’ve configured in the SAP Adapter listener configuration for the gateway service.
For more info, please purchase the book SAP Interface Programming from SAP press. Otherwise if you’ve sure the issue lies on SAP side, I suggest you pass this back to your SAP Basis team to check. Also you may turn on SAP adapter debug log by set LOG level to TRACE for the setting at both server logger > SAP Adapter and also SAP Adapter > Setting > 8 (Verbose) and select all subsysystems.
#Integration-Server-and-ESB#webMethods#Adapters-and-E-Standards