cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC's sending to XI from NON-SAP system

Former Member
0 Kudos

I need to send one IDOC from a NON-SAP sytem to XI. In my scenario I've configured a receiver IDOC adapter with the suitables RFC destination and Port for the SAP R/3 receiver system. We achieve this sending by using the following URL: "http://

:

/sap/xi/engine?type=entry" but we don´t get any message in XI. We don´t know if we are doing it properly.

Could you help me?

Thank you in advance.

Juan Pablo.

Accepted Solutions (0)

Answers (8)

Answers (8)

Former Member
0 Kudos

Hi Ricardo,

I´ve tried what you say, but nothing... one more time it doesnt work...

Thanks a lot

Juan Pablo.

Former Member
0 Kudos

Hi Juan,

Did you try the HTTP client tool that Michal gaves you?

Attention: the URL address that this tool or any other client who wants send messages via XI with http is: http://<our-server>:<http-port>/sap/xi/engine?type=entry and not -> http://<our-server>:<our-port>/sap/xi

This URL must be set on the pipeline of XI Business System (role-> Integration Server) as well on integration server configuration.

If you have http port and adapter_plain service (sifc) running it should be working!!!

Open your browser and put the Integration Engine URL http://<our-server>:<http-port>/sap/xi/engine?type=entry

If it’s running you should be see this soap message:

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP:Header />

- <SOAP:Body>

- <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<faultcode>SOAP:Client</faultcode>

<faultstring>Empty HTTP request received</faultstring>

<faultactor>http://sap.com/xi/XI/Message/30</faultactor>

- <detail>

- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIProtocol</SAP:Category>

<SAP:Code area="MESSAGE">EMPTY_HTTP_REQUEST_RECEIVED</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText />

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>Empty HTTP query received. No message processing possible</SAP:Stack>

</SAP:Error>

</detail>

</SOAP:Fault>

</SOAP:Body>

</SOAP:Envelope>[/code]

Cheers,

Ricardo.

Message was edited by: Ricardo Quintino

Message was edited by: Ricardo Quintino

Former Member
0 Kudos

Hi Ricardo,

thank you very much for your help, but for any reason is still not working..

Yes i was trying the HTTP client tool that Michal gave me, and i have the http port and the adapter_plain running but it doesn´t work.

And I´ve got the same SOAP message that you´ve got when you introduce those URL in the browser..

Kind regards,

Juan Pablo

Former Member
0 Kudos

Hi Vijaya,

I wrote the pipeline URL in my integration server defined, and my third system from where i want to send the data to the sap R/3 system is defined as an Integrated Business Systems of the integration server...

But it still not working, no idea what else can i do..

Thanks,

Juan Pablo

Former Member
0 Kudos

Hi Ricardo,

Could have something to do with the roles of the user??

The user Im using has the following roles:

SAP_XI_APPL_SERV_USER

SAP_XI_ID_SERV_USER

Z_SAP_XI_APPL_SERV_USER

Regards,

Juan Pablo

Former Member
0 Kudos

Hi,

check in the SLD Business system Integration server. The URL should be

http://<our-server>:<our-port>/sap/xi/engine?type=entry

Regards

Vijaya

Former Member
0 Kudos

Hi Vijaya,

Where can I check the URL in the SLD Business system Integration server.

No idea where i should set it to http://<our-server>:<our-port>/sap/xi/engine?type=entry

Regards

Juan Pablo

Former Member
0 Kudos

Hi,

Go to SLD--> Business system

There must be one Business system defined as the Integration server.

Check the pipeline URL. It should be the one described earlier.

Regards

Vijaya

Former Member
0 Kudos

Hi Juan,

maybe, but I don't have sure!

Open su01 and <b>xisuper</b> user and copy the roles to your user-id.

Cheers,

Ricardo.

Former Member
0 Kudos

We have it configured in this way:

Logon Procedure: Standard

Security requirements: Standard

Basic Authentication: Standard R/3 user

The client is correct. We've tried without logon data and it doesn´t work.

ENGINE_TYPE = HUB

IS_URL = http://<our-server>:<our-port>/sap/xi/

Still not working...

Thanks,

Juan Pablo

Former Member
0 Kudos

Hi Juan,

I think the IS_URL parameter is wrong, it must be something like: http://<our-server>:<our-port>/sap/xi/<b>engine?type=entry</b>;

Try to check the integration configuration data in sxmb_adm > integration engine config... and press F7 button.

Cheers,

Ricardo.

Former Member
0 Kudos

Hi Ricardo,

I´ve changed the IS_URL parameter for the one you gave me and it still not working....

I´ve got the next configuration when I press F7:

Current configuration:

Corresponding integration server:

http://<our-server>:<our-port>/sap/xi/

System landscape:

Role of business system: Integration server

http://<our-server>:<our-port>/sap/xi/

Regards,

Juan Pablo

Former Member
0 Kudos

Hi guys,

I've checked the port in smicm and the logon data of the adapter_plain in sicf and everything is correct, and we checked as well that the service is actived. So it seems to be everything fine for me, but it still not working when we try to logon with the user and the password that we have configured in the adapter_plain...

Any other idea?,

Thanks very much for your help!

Former Member
0 Kudos

hi, Juan Pablo

change your password using less than 8 bit and upper-case. they can work. pls try

good luck!

Amanda

Message was edited by: Amanda Cao

Former Member
0 Kudos

Hi Juan,

SICF:

What do you have in;

Logon Procedure;

Security requirements;

Basic Authentication?

The Client is the correct?

Did you try without logon data?

sxmb_adm > integration engine configuration > Specific Config. Check in the category RUNTIME if there is the parameters ENGINE_TYPE (HUB) and IS_URL (http address = integration engine address).

Cheers,

Ricardo.

Message was edited by: Ricardo Quintino

Former Member
0 Kudos

Hi guys,

Now I'm a bit confused I was reading in this other post and they say there that there is no reason for using a http sender adapter.

We tried to send the IDOC using the html code, but it didn't work we got a logon authentification error....

Thanks for your answers.

MichalKrawczyk
Active Contributor
0 Kudos

hi Juan,

from SP16 you need sender agreement for http adapter

but if you use http test tool (from my post) you don't need it

if you get auth error

you can assign user/pass in TCODE - SICF

for adapter_plain service (double click on the service)

and try using the http test tool once more

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Former Member
0 Kudos

Hi Juan,

Yes, you don't need any sender adapter to send a message via HTTP. You just only need any http (like Michal gives you) and then put the address of your Integration engine. Is something like: http://<host>:<http port>/sap/xi/engine?type=entry

You can check http port on transaction smicm -> goto -> services.

For logon problems do what michal said, and go to t-code sicf under default_host > sap > xi > adapter_plain Check the logon data on your http service and also check if is activated (pressing with right button over the service you can see it)

I hope it helps you.

Cheers,

Ricardo.

Former Member
0 Kudos

Hi Juan Pablo,

If I understand you are trying to send an xml via http adapter to a SAP backend trough receiver IDOC… is it?

If so check http services on transaction SICF and check if the http is running in SMICM.

You can test the http via RWB (Runtime workbench) -> Component Monitoring -> Integration Engine -> Test Message.

If everything is ok you could see the message in message monitoring.

Hope it helps you.

Cheers,

Ricardo.

MichalKrawczyk
Active Contributor
0 Kudos

hi Juan,

are you using http protocol to send this idoc?

if so try sending it with http test tool first

code here:

/message/266750#266750 [original link is broken]

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

MichalKrawczyk
Active Contributor
0 Kudos

once you get the http test tool to work

you can see the whole string (from the code of the page)

for detailed description of parameters in the quesry string

have a look at this page:

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

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>