SAP set-up for sending IDOCS to BIZTALK (Full Version)

All Forums >> [BizTalk Utilities] >> BizTalk 2004/2006 Utilities and Adapters



Message


mclark -> SAP set-up for sending IDOCS to BIZTALK (7 September 2005)

Hi,
I am working on the SAP configuration for transferring IDOCS between BIZTALK and SAP. (see posts from 'ltmon' who is working on the BIZTALK  side.
We are sucessfully able to send IDOCS from Biztalk to SAP using a direct RFC call to initiate IDOC_INBOUND_ASYNCHRONOUS, however we are having difficulty finding appropriate documentation for the correct ALE port/connection settings to use is SAP to send IDOCS back to BIZTALK.

I suspect that in SAP, I need an RFC destination that points to the appropriate receiver program in eitehr BIZTALK or the SAP .NET connector.

The SAP system is Release 4.6C and is in a completely different network from the BIZTALK server. Connection is via a tightly controlled VPN tunnel.

Any clues or additional documentation would be extremely helpful.

Cheers......Matt




Pieter -> RE: SAP set-up for sending IDOCS to BIZTALK (8 September 2005)

You don't need to send IDocs with a custom RFC. The Adapter has a SAP IDoc Send and Receive Adapter included, you can rather use these because all of the transaction logic etc is included with the Adapters.

There is detailed PDF documentation for the SAP IDoc Adapters included within the installation these detail the BizTalk Server configuration required as well as the SAP Configuration required.

Which version of the Adapter are you currently running?




mclark -> RE: SAP set-up for sending IDOCS to BIZTALK (9 September 2005)

Hi Pieter,
Thanks for the response.
I don't have access to the BIZTALK server, I only work on the SAP system (which is on a different network). I have spoken to Luke (ltmon on your forum) and he has send me the document that you provided (SAP Configuration).
This confirms what I expected, in that the IDOC transfer (from SAP to BIZTALK)is done through a registered program (BTSIDOC).
I have created this RFC destination, as per the document, but the test connection fails with the message "program btsidoc not registered / CPI-C error CM_ALLOCATE_FAILURE_RETRY"
I suspect that this is because the BIZTALK server is on a different network and we will need to be specific about the IP address of the server that is running (i.e nominate the sever with a router string).
We would also need to arrange for our network guys to allow that traffic through the firewall.
Can you tell me what ports are used for this (will the default SAP port of 3299 be appropriate).

Cheers.........   Matt




Pieter -> RE: SAP set-up for sending IDOCS to BIZTALK (9 September 2005)

The IDoc Receive Adapter uses the standard SAP RFC ports.

Please bear in mind that when testing the connection from SAP, your SAP IDoc Receive Location within BizTalk Server needs to be started, otherwise the Test Connection will fail from SAP.




mclark -> RE: SAP set-up for sending IDOCS to BIZTALK (13 September 2005)

Hi Pieter,
Thanks for the response, we are in the process of getting our network guys to allow the additional traffic through the firewalls.
I will let you know how we go.

Cheers.......  Matt




mclark -> RE: SAP set-up for sending IDOCS to BIZTALK (16 September 2005)

Hi Pieter,
I know you have been talking to Luke today, but not sure which of his issues you discussed.
We have successfully established connectivity using the Registered receiver program.
The problem we have now is that when SAP sends and IDOC, it is not being translated correctly by the receiver. What appears to be happening is that the receiver is putting the end of line terminator for each segment after the last actual data item so that the fields that exists but happen to contain blanks are being lost.
We have done a direct comparison of the IDOC received via RFC and the IDOC generated from SAP to a file store.
On the SAP one, the line terminator is after all of the possible fields for each segment, but on the one received by RFC, the terminator is always after the last piece of populated data.

I can't find anything to control this from the SAP side.
Do you have any suggestions?

Cheers.......Matt




Pieter -> RE: SAP set-up for sending IDOCS to BIZTALK (16 September 2005)

We have received the IDoc samples and Schemas. We are currently having a look into this.




Deleted User -> [Deleted] (1 March 2006)

[Deleted by Admins]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875