cancel
Showing results for 
Search instead for 
Did you mean: 

RFC call in XI

Former Member
0 Kudos

Hi All:

<b>In my HTTP to BAPI Scenaerio I am sending the message</b>

<?xml version="1.0" encoding="UTF-8" ?>

- <ns:MT_HTTP_Request xmlns:ns="http://sap.com/XI/HTTP2BAPI">

<CompnayID>001</CompnayID>

</ns:MT_HTTP_Request>

<b>In MONI its Mapped to BAPI</b>

<?xml version="1.0" encoding="UTF-8" ?>

- <ns0:BAPI_COMPANY_GETDETAIL xmlns:ns0="urn:sap com:document:sap:rfc:functions">

<COMPANYID>001</COMPANYID>

</ns0:BAPI_COMPANY_GETDETAIL>

<b>But I am getting response</b>

- <rfc:BAPI_COMPANY_GETDETAIL.Response xmlns:rfc="urn:sap-com:document:sap:rfc:functions">

- <COMPANY_DETAIL>

<COMPANY />

<NAME1 />

<NAME2 />

<COUNTRY />

<LANGU />

<STREET />

<PO_BOX />

<POSTL_COD1 />

<CITY />

<CURRENCY />

<COUNTRY_ISO />

<CURRENCY_ISO />

<LANGU_ISO />

</COMPANY_DETAIL>

- <RETURN>

<TYPE>E</TYPE>

<CODE>FN030</CODE>

<MESSAGE>Company 001 does not exist</MESSAGE>

<LOG_NO />

<LOG_MSG_NO>000000</LOG_MSG_NO>

<MESSAGE_V1>001</MESSAGE_V1>

<MESSAGE_V2 />

<MESSAGE_V3 />

<MESSAGE_V4 />

</RETURN>

</rfc:BAPI_COMPANY_GETDETAIL.Response>

When I checked the same comp code "001", "1", 0001 in R3 (SE38), I am getting response.

what is the reason behind it?

I am using <b>BAPI_COMPANY_GETDETAIL</b>

Regards

Farooq.

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

try 000001

as shonw here:

/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit

Regards,

michal

Former Member
0 Kudos

Got the Response

Michal just like to know in the blog u sent /people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit

In the Step -14, what does that screen shot? Is it any other Client to sent the message to XI??

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

it's RWB test client

link:

<b>RWB - component monitoring - integration engine - test message</b>

you can sent messages from there too

Regards,

michal

Former Member
0 Kudos

Miss this test tool:(

But where it display the Response Message.

RWB - component monitoring - integration engine - test message

with QoS = BE, but no response message. Is this tool is just to puch the

data to XI?

Former Member
0 Kudos

Hi Michal,

I am seeing the setting that I did in sxmb_adm as suggested by you to see the Synch messages in MONI. I am seeing these setting in RWB

<b>LOGGING_PROPAGATION 1

LOGGING 0

LOGGING_SYNC 1

IS_URL

ENGINE_TYPE HUB</b>

Any extra setting to view the response message in "Test Message" in RWB

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>Any extra setting to view the response message in "Test Message" in RWB

none I'm starting to fell you don't have a sync interface

if you don't see response at all

Regards,

michal

Former Member
0 Kudos

But using HTTP client I am getting correct Response:)

But when I am sending same Message from RWB test message I am not getting anything

MichalKrawczyk
Active Contributor
0 Kudos

stick with the http client then it's much better

Regards,

michal

Former Member
0 Kudos

I will try to crack it soon

Thanks for usefull tips..

Thread Closed...Rewarded Ponits.

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>>I will try to crack it soon

then I will send you a new html page with it hehe

Regards,

michal

Answers (1)

Answers (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Find the field length of the Company ID in the R3 system and append zero's to the value to maked it of that length and then trigger the from XI .

regards

Bhaves