cancel
Showing results for 
Search instead for 
Did you mean: 

XI Doubts

Former Member
0 Kudos

Hi,

Using XI in middle....

Q1.

If somebody posting data from Web, maybe some

'Online Order Form'

What is the best way to post that message to R/3?

Do we need to have Sender Agreement for that and Why Not?

Q2.I Want to Send some Data from R/3 to Vendor System,

What is the Best way to send data

Q3. If we have a XML File which exactly matches the structure of Data Type in XI,

in that case do we need to have any Sender Agreement to do that?

Do we really need an Adapter in this case to send message to XI?

Thanks

Seshu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Seshu,

Sorry for the late reply( Its 3 o clock in the morning here and I had gone for a coffee )

You do not use a communication channel to use the HTTP adapter as the sender. You only need to configure HTTP receivers. For a service to send HTTP messages, they use the URL for the XI pipeline(basis should know this) and place the service, interface and namespace in the query string.

Similarly, as long as you create the RFC destination to XI in the Backend system, assign it to a port in the backend system and reference that port in you pratner profile config for the IDOC you are sending, you do not need a sender agreement for the business senario involving a sender IDOC adapter.

Hope I have answered your question

cheers,

Prashanth

P.S: Please mark helpful answers

Answers (13)

Answers (13)

Former Member
0 Kudos

Hi,

This is the problem with the connectivity between

your ABAP Stack and J2EE Stack(IR).

Check the RFC connection INTEGRATION_DIRECTORY_HMI

and give the Host and path prefix in Target system

technical settings:

Ex Host: ABCxi1,

Path: /dir/hmi_cache_refresh_service/ext

Service Number: 50000

Hope this resolve Ur problem.

From

Yallabandi...

Former Member
0 Kudos

Seshu,

Could you open a new thread from your next question? It is difficult to navigate through all the previously answered ones, and come to the new question :).

Please close this thread, and open a new one, if it is not a problem for you.

cheers,

Prashanth

Former Member
0 Kudos

Hi Seshu,

I do not really think that there are any configuration steps specific to ABAP/JAVA stack. Each adapter on any of the stacks have there own set of configuration steps, and their own specific advantages.

cheers,

Prashanth

Former Member
0 Kudos

Hi,

Thanks for reply.. i mean to say..

let say for HTTP and IDOC.. sender agreement not required and sender comm channel as well..

then how you going to receive data from sender to XI?

(** somebody ask these questions in interview.. all which i am posting in this thread)

thanks

Former Member
0 Kudos

I Dont understand your questions 2 & 3.

:-).. Could you please explain more.

Former Member
0 Kudos

Hi,

Thanks for reply.. sure i can explain

Q2.What is the adavatage and steps we can eliminate using ABAP Stack adapters?

Q3.What is the adavatage and steps we can eliminate using JAVA Stack adapters?

i mean, any steps we no need to create (in I.R or I.D) and any extra needed while designing scenario by using ABAP / Java stack adapters

Thanks

Former Member
0 Kudos

Hi Seshu,

The adapter engine is on the Java stack apart.

IDoc and HTTP adapter are on ABAP stack.

Integration engine on ABAP stack.

cheers,

Prashanth

PS: Please mark helpful answers

Former Member
0 Kudos

Hi Seshu,

This is the address for full cache refresh..

http://<server>:<port>/CPACache?refresh=full

I dont know whether it would work.. but I think it's worth a try.

Did you go thru this thread?

cheers,

Prashanth

Former Member
0 Kudos

Hi,

Prashanth Azharuddin:

I tried using this URL, and gave user=xisuer

but giving some Unauthozized page..

Moorthy: thanks,

i will try that..

More questions >>>

Q1.List Adapters on ABAP Stack and Java Stack?

Q2.What is the adavatage and steps we can eliminate having Adapters on ABAP Stack?

Q3.What is the adavatage and steps we can eliminate having Adapters on JAVA Stack?

Thanks

Seshu

moorthy
Active Contributor
0 Kudos

Hi,

Go thru this help, it has answers for all the questions-

http://help.sap.com/saphelp_nw2004s/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm

to get each info, go each adapter check the descriptions

Http and Idoc adapters are the part of ABAP engine. All other adapters are part of J2EE engine

Regards,

Moorthy

Former Member
0 Kudos

Hi Seshu,

Try doing a full cache refresh . mode=full

Look at this thread also..

cheers,

Prashanth

P.S : Please mark helpful answers

Former Member
0 Kudos

Seshu,

You can use a single system for doing this, but it does not make any sense!

The concept of using an ABAP proxy is to bypass your adapters, and for testing its capacity, you need an external system.

cheers,

Prashanth

P.S : Please mark helpful answers

Former Member
0 Kudos

Hi Seshu,

you can check rfc dest (SM59)

INTEGRATION_DIRECTORY_HMI

if the path and port are correct

cheers,

Prashanth

Former Member
0 Kudos

Hi,

I want to Text ABAP Proxy scenario, i don't have R/3 System.

I have only XI System..

Can i test with single XI System? Maybe between clients?

if so, how?

Thanks

Seshu

moorthy
Active Contributor
0 Kudos

Hi,

<i>Can i test with single XI System? Maybe between clients?</i>

>>>Yes it is possible with different clients.

Refer this

Regards,

Moorthy

Former Member
0 Kudos

Hi,

i created a Namespace under SWC and when i goto SPROXY.. its not showing under that Component... how do i refresh?

Thanks

Seshu

moorthy
Active Contributor
0 Kudos

Where are you executing SPROXY ? Is it in Application System ? i.e R/3 ?

Check this in R/3

Regards,

Moorthy

Former Member
0 Kudos

Hi,

I am executing SPROXY in XI System (i don't have R/3, just i want to test between clients).

Actually where we need to execute SPROXY,if we are using

a.Proxy as Sender

b.Proxy as Receiver

To do Full Cache Refresh, which user i have use?

Thanks

moorthy
Active Contributor
0 Kudos

If you have multiple clients in XI system, you need to configure one client as a Applications system in the SXMB_ADM.

And also, you need to have SM59->Http Destination should be created etc

So I have mentioned one of the thread in my ealier post. refer this.

Regards,

moorthy

Former Member
0 Kudos

Hi,

As far as your second question goes, I strongly believe that SOAP would ensure more security

cheers,

Prashanth

Former Member
0 Kudos

Hi

<i>Q1. I got bit confusion here, HTTP Adapter don't have Sender option, in that case how we going to send data from WebPage?</i>

When you send the data over HTTP it contains details such as the hostname,port,MI and the call is made directly to Integration Engine.

http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm

<i>Q2. Order Page from WebPage (Java or ASPX) contains somuch of data and some confidential data(CreditCard, etc), in that case, is it better to use HTTP or SOAP?</i>

<i>Q3.I Want to Send some Data from R/3 to Vendor System

>>Answers i got

1) Idoc

2) RFC

3) Proxy,

Which is Best option..</i>

If you want to do error handling, in both proxy and RFC you can use fault message type and capture the error in case of exceptions. This can be seen in SXMB_MONI.

In case of IDoc if the IDoc u can use Ack IDoc

If Proxy as better option, then Few question as follows..

<i>Q4. ok, i am sending data from R/3 using Proxy, the data not reaching XI System at all, so how do we track that?</i>

The answer is above.

Regards

Vijaya

Former Member
0 Kudos

Hi,

Few more related to above ones..

Q1. In what case we use HTTP Receiver (what is the application or software we need to have at receivers end)

Q2. i am sending data from R/3 using Proxy, the data not reaching XI System at all,

i.e problem in R/3 system it self,so how do we track that?

Q3. What is this

http://<hostname>:<port>/sap/xi/engine?type=entry

For <hostname>,<port> we need to give ABAP System details or XI System details

Where we will use above URL?

Thanks

Seshu

Former Member
0 Kudos

Hi,

<i>Q1. In what case we use HTTP Receiver (what is the application or software we need to have at receivers end)</i>

/people/siva.maranani/blog/2005/09/15/push-data-to-mvc-architectured-application-using-xi

<i>i am sending data from R/3 using Proxy, the data not reaching XI System at all,

i.e problem in R/3 system it self,so how do we track that?</i>

/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy

/people/siva.maranani/blog/2005/04/03/abap-server-proxies

<i>http://<hostname>:<port>/sap/xi/engine?type=entry

For <hostname>,<port> we need to give ABAP System details or XI System details</i>

this is adapter engine url...

give XI server details....

Hope it helps you

sekhar

Former Member
0 Kudos

Hi,

I tried to execute HTML code given under this thread

>>

to test this(http://<hostname>:<port>/sap/xi/engine?type=entry)

Its giving 404 Error..!! do i need to activate anything?

Thanks

Former Member
0 Kudos

Hi Seshu,

For your first question, please take a look at this..

cheers,

Prashanth

P.S : Please mark helpful answers

bhavesh_kantilal
Active Contributor
0 Kudos

Seshu,

Like mentioned by Moorthy, you can create a Webservice to RFC scenario.

This blog can help you doing that,

/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1

<i>Do we need to have Sender Agreement for that and Why Not?</i>

Sender Agreement is the means of associating your communciation channel with one particular interface ( Sender Interface ) and so, you do need a sender agreeement.

The only adapters for which no Sender Agreement is needed is a HTTP adapter as the HTTP adapter hits the Integration Engine directly.

<i> Want to Send some Data from R/3 to Vendor System,

What is the Best way to send data</i>

You can use a Sender RFC or you can use ABAP Provies.

/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step

<i>If we have a XML File which exactly matches the structure of Data Type in XI,

in that case do we need to have any Sender Agreement to do that?

Do we really need an Adapter in this case to send message to XI?</i>

You need a sender agreeement and you also should makje sure that it matches the datatype you have created else, you are bound to get mapping exceptions.

Regards,

Bhavesh

Former Member
0 Kudos

....

....

> The only adapters for which no Sender Agreement is

> needed is a HTTP adapter as the HTTP adapter hits

> the Integration Engine directly.

>

...

...

> Regards,

> Bhavesh

Not just HTTP sender adapter but other sender adapters like IDOC, XI, RFC and SOAP also do not require a sender agreement. Since in all these cases calling programs are going to directly (in case of proxies) or indirectly (eg. in SOAP communication channel ) specify the interface.

In cases when this interface cannot be specified, sender agreement is required. This happens when XI is initiating the message processing thru one of its adapters i.e. data fetch/pull...

eg. JDBC sender adapter polling at a certain interval and fetching the data from database

Sender file adapter polling at a certain interval and

Hope I'm clear.

HTTP mode of communication is the only one which does not require a sender adapter. Is that what you meant Bhavesh?

thx

praveen

bhavesh_kantilal
Active Contributor
0 Kudos

Praveen,

That was a perfect reply.

Regards,

Bhavesh

moorthy
Active Contributor
0 Kudos

Hi,

<i>Q1.

If somebody posting data from Web, maybe some

'Online Order Form'

What is the best way to post that message to R/3</i>?

>>>Depends..You can go with WebService here. So you need to configure the SOAP as a Sender Adapter.

<i>Do we need to have Sender Agreement for that and Why Not?</i>

>>>Yes it is required, and it depends. Sender Agreement is not required when you use, Http Adapter/Idoc adapter as Sender. because these are parts of ABAP Stack.

<i>Q2.I Want to Send some Data from R/3 to Vendor System,

What is the Best way to send data</i>

>>>it depends, and it is based on your Vendor system. What type of communication mode these vendors will support.

From R/3 to XI , you can go with 3 options

1) Idoc

2) RFC

3) Proxy

<i>

Q3. If we have a XML File which exactly matches the structure of Data Type in XI,

in that case do we need to have any Sender Agreement to do that?

Do we really need an Adapter in this case to send message to XI?</i>

>>>First of all Sender Agreement is a binding of your communication channel into the specific message interface.

You need to have adapter to convert your input xml into XI understandable XML with SOAP structure.

For more on Sender Agreement~

http://help.sap.com/saphelp_nw2004s/helpdata/en/b1/f29e7a56e18a439984a3c6630951d2/content.htm

Regards,

Moorthy

Former Member
0 Kudos

Hi,

Thanks for replies.

More Questions here:

Q1. I got bit confusion here, HTTP Adapter don't have Sender option, in that case how we going to send data from WebPage?

Q2. Order Page from WebPage (Java or ASPX) contains somuch of data and some confidential data(CreditCard, etc), in that case, is it better to use HTTP or SOAP?

Q3.I Want to Send some Data from R/3 to Vendor System

>>Answers i got

1) Idoc

2) RFC

3) Proxy,

Which is Best option..

If <b>Proxy</b> as better option, then Few question as follows..

Q4. ok, i am sending data from R/3 using Proxy, the data not reaching XI System at all, so how do we track that?

Thanks