cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering IDoc through xml-http port

PriyankaAnagani
Active Contributor
0 Kudos

Hi All,

I'm doing a scenario from IDoc to File. In the sender SAP backend system I'm triggering IDoc through xml-http port. For that I need to create RFC destination of type H. While creating the RFC destination, in the path prefix we need to enter like

" /sap/xi/adapter_plain/ ?namespace=<*your namespace> &interface=<IDoc_Type> &service=<Sender System> &qos=EO ".

Here which namespace I need to use??????

For example, in the ESR if I'm using a namespace "http://xyz" .But the Idoc namespace will be something like..."urn:sap.com...".So, which namespace I have to use while creating the RFC destination of type H?????

If I use ESR namespace(http://...), the IDocs are coming to PI(sxmb_moni) but failing in the receiver determination because in the integration directory the namespace in the receiver determination is different(urn:sap....).

If I use IDoc namespace(urn:...) in the RFC destination....I'm getting error(status code 02) in the sender outbound system itself & the IDocs are not coming to PI.

Can any one please tell me which namespace i've to use????

Thanks&Regards

Priyanka Anagani

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi priyanka,

" /sap/xi/adapter_plain/ ?namespace=<your namespace> &interface=<IDoc_Type> &service=<Sender System> &qos=EO ".*

Here which namespace I need to use??????

Path is correct but you will pass interface name is Service interface outbound name so before you have to create Service interface out bound on top of this Idoc.

Like:

/sap/xi/adapter_plain/?namespace=http:idoc_packaging&interface=SI_Outbound&service=BC_E6S_Sender&qos=EO

If I use ESR namespace(http://...), the IDocs are coming to PI(sxmb_moni) but failing in the receiver determination because in the integration directory the namespace in the receiver determination is different(urn:sap....)

If you create Service interface outbound on top of this Idoc, then will not get any error in sxmb_moni for receiver determination.

Thanks,

Sankar.S

Former Member
0 Kudos

Hi

Moreover you have to create a service interafce on top of this idoc which will have the name http://xyz.

Regards

Monika

Former Member
0 Kudos

Hi

You have to use the namespace of your scenario. http://xyz

Regards

Monika

baskar_gopalakrishnan2
Active Contributor
0 Kudos

IMO, you need to use only IDOC namespace. (urn:...)

Refer these 2 links..

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bd...

In the below link refer disadvantage section of using HTTP destination methodology... where he says if the connection between SAP Application system ECC and SAP PI is interrupted this status code 02 happens..