Page 1 of 2

IDOC from external SAP system

PostPosted: Thu Mar 03, 2011 6:14 am
by tapansingh
Hi,

I have scenarion in that we will receive IDOC from external system (SAP system) in XI i.e. IDOC- XI -IDOC scenrio. from my Understanding ,to configure the scenario I have to do ALE from sender side and IDOC receiver channel in receiving side.

External system (SAP) ---(ALE)-----> XI -----(IDOC rcv)----> Our System (SAP)

Please can anyone provide me steps to do ALE from external system.If i am wrong in my approach then please correct me.

Re: IDOC from external SAP system

PostPosted: Thu Mar 03, 2011 10:53 am
by tapansingh
Please respond

Re: IDOC from external SAP system

PostPosted: Thu Mar 03, 2011 12:25 pm
by Baz
depends on how the iDoc is to be triggered. Batch job? Change pointers? Automatically triggered?
The standard stuff to do is set up WE20, IDX1, WE21, SM59 connection to SAP PI.
If you have custom idoc, import into IDX2 in SAP PI as well as import the iDoc in the Enterprise Service Builder.

Re: IDOC from external SAP system

PostPosted: Fri Mar 04, 2011 4:11 am
by tapansingh
Thanks for the responce....

I am in little confusion...whether ALE will work in case of external system?

which type of RFC connection I have to make?

Will ABAP RFC connection [type 3] work in case of external SAP system or I need to create some different type of RFC connection?

Re: IDOC from external SAP system

PostPosted: Fri Mar 04, 2011 4:28 am
by Baz
define "External system"?
is it within your control? otherwise you may have to receive over http.

Re: IDOC from external SAP system

PostPosted: Fri Mar 04, 2011 5:22 am
by tapansingh
Could you please more elobrate

Thanks in advance!!

Re: IDOC from external SAP system

PostPosted: Fri Mar 04, 2011 6:03 am
by Baz
funny, that's what i want you to do!

is the external system your system? can it access/connect to PI via SM59 RFC Connection/WE20/WE21 config?

If not, you have to receive the iDoc over HTTP and process through PI.

Re: IDOC from external SAP system

PostPosted: Fri Mar 04, 2011 8:23 am
by tapansingh
"
define "External system"?
is it within your control?
"

i didn't got you question that was the reason i asked you to elobrate.

External system is not in my control so not able to check whether it could access/connect to PI via SM59 RFC Connection/WE20/WE21 config.

Thanks anyway

Re: IDOC from external SAP system

PostPosted: Sat Mar 05, 2011 5:50 am
by Baz
if it is not within your control you provide the url of the integration server for the third party to deliver the iDoc too.

Re: IDOC from external SAP system

PostPosted: Thu Mar 10, 2011 9:55 am
by tapansingh
sorry for late reply Baz..

Correct me if i am wrong, you mean to say by configuring SOAP adapter at external system end...

Re: IDOC from external SAP system

PostPosted: Thu Mar 10, 2011 11:22 am
by Baz
expose a wesbervice with the format of the iDoc.
provide the url of the SOAP adapter to the third party.
they then push the iDoc into the Webservice and then you have it...

Re: IDOC from external SAP system

PostPosted: Fri Mar 11, 2011 5:34 am
by tapansingh
thanks Baz

Re: IDOC from external SAP system

PostPosted: Wed Mar 30, 2011 5:40 am
by tapansingh
Hi,
Client is asking to use tRFC from communication.
Client will provide access to configure we20, we21, sm59 rfc destination in external system. but it will take some time to give them access.

I want to take your expert opinion whether it will go to work if I’ll define type3 rfc connection in client external system which will point to my XI system. After doing we20, we21 configuration, defining similar type 3 RFC destination in my system [pointing client external system] , creating port in IDX1 and import idoc meta data in idx2. Will I’ll be able to receive idoc in my XI system and vice versa.

Please reply with you expert opinions.

Re: IDOC from external SAP system

PostPosted: Wed Mar 30, 2011 6:32 am
by Baz
you can do either type 3 or type H to your XI System. either would work.
then make sure you import both iDocs into IDX2 and the ESR for mapping.

Re: IDOC from external SAP system

PostPosted: Wed Mar 30, 2011 6:47 am
by tapansingh
Thanks BAZ for valuable reply as always...

To define RFC dest of type 3... i must have public IP address of client SAP Server and system number [correct me if i an wrong]. They have provided there private IP, which I believe must be wrong instead they should provide public ip.

Do i need to ask client to open firewall as well... will it cause any problem??

if firewall need to be open then to which port they should open?? is there any standar port or I should ask there basis which port they have configured for communciation??