cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with the configuration of http xml port for sending the idoc

0 Kudos

Hello,

I am planning to send multiple idocs in a single file using http xml port.

Presently I am trying to send a single idoc, but am having the issue.

I am trying to create a RFC for HTTP XML port of type H i.e. HTTP Connection to ABAP System

In the how to guide for - How Tou2026 Send Multiple IDocs Within One XI Message

( https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634b... )

the following parameters are defined for the path prefix -

RFC destination of type H (HTTP Connection to R/3 System).

Specify the path prefix as follows:

/sap/xi/adapter_plain/

?namespace=< your namespace>

&interface=<IDoc_Type>

&service=<Sender System>

&qos=EO (or EOIO).

I am trying to use the following prefix -

/sap/xi/adapter_plain/

?namespace=urn:sap-com:document:sap:idoc:messages ( this is the standard namespace of SAP for all the idocs)

&interface=DEBMAS05 (Idoc type )

&service=SNDLS100 ( ECC system name )

&qos=EOIO

On testing the RFC connection, I am getting the error of page not found.

Can anyone please give me pointers for the issue.

Regards,

Mayank

Accepted Solutions (1)

Accepted Solutions (1)

former_member181962
Active Contributor
0 Kudos

Alternatively, you check if your service is active in SICF transaction, If not , activate it by right clicking on the service.

Regards,

Ravi

0 Kudos

Hello Barry/Ravi,

I had already activated the services in SICF.

The idocs are ending in error status 02.

When I am trying to test the RFC directly I am getting the following error -

1. When I am using the WAS Java port i.e. 50100 - >Page not found

2. When I am using the ABAP engine port i.e. 8000 -> ICM_HTTP_CONNECTION_FAILED

Please let me know if you have ny idea about it.

Regards,

Mayank

Former Member
0 Kudos

try abap port 80<sysno>

0 Kudos

Hello Barry...

We have client 100 of ECC from which we are trying to send the idoc.

So I have used the port 8000.

Regards,

Mayank

0 Kudos

I even tried 80100....but it does not work.

At RFC I am still getting the ICM_HTTP_CONNECTION_FAILED error

Former Member
0 Kudos

I would try 8001!

Check your xi system number....

0 Kudos

Thanks Barry!!!

Now I am getting a different message.

In RFC...it is giving me the following message ->

Status HTTP Response 204

Status Text Body is empty

In case of Idoc, the status is till 02...

the error description for the idoc is --

"When transferring the IDoc by HTTP, the return code with the message '500<SAP:Error><SAP:Category>XIServer</SAP:Category><S' has occurred.

The target address was: http://emgeccsnd1:8001/sap/xi/adapter_plain/?namespace=urn:sap-com:document:sap:idoc:messages&interf

Check whether the IDoc can be sent again.

It is unfortunately not possible to determine automatically whether the IDoc has in fact arrived in the target system and the error occurred afterwards"

I am still not able to resolve the issue.

Regards,

Mayank

0 Kudos

Hello Barry,

I was able to resolve the issue.

I changed the logon credentials in the RFC with a user with SAP_ALL authorisation.

Now the idoc is being transferred to XI.

Can you please let me know what roles are required for the user to call the HTTP URL for the adapter?

Thanks for all your help.

Regards,

Mayank

Former Member
0 Kudos

Try using the XIAPPLUSER!

That's what we use, maybe we add some additional authorisations just for the IDOC/ALE side!

Answers (1)

Answers (1)

Former Member
0 Kudos

have you executed the following:

RSXMB_ACTIVATE_ICF_SERVICES