cancel
Showing results for 
Search instead for 
Did you mean: 

BW to File scenario

deepaksamtaney
Explorer
0 Kudos

Hi SDN,

I have a scenario from BW->XI->Legacy File system.

Both BW and XI are WAS 640 based so am using ABAP client proxies for the communication between the two.

I have done the following:

1. Created an outbound interface in XI 3.0, sp14

2. Created Proxy for this in ABAP using sproxy on XI 3.0

3. Created ABAP report on BW to call the proxy class with the message to be passed to the outbound interface

4. Maintained SM59 http destination to XI

(RFC Dest:INTEGRATIONSERVER TYPE H)

6. I also did sxmb_adm in Sender System to have Integration Engine URL pointing to XI System.

7. I registered/ activated queues in SXMB_ADM.

8. SICF service is active for defalt/xi/engine in both Sender and target systems.

When i run the report in BW I can't see any message in XI. Neither in SXMB_MONI, nor in RWB checking Message-Monitoring

In sxbm_moni of BW HTTP_RESP_STATUS_CODE_NOT_OK 200.

I referred the following weblog:

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

Has anybody done such a scenario, Please provide your inputs..

Regards,

Vineet

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Can you recheck if you have used a commit work after the call as ,

<i>CALL METHOD prxy->execute_synchronous

EXPORTING

output = it.

commit work

</i>

commit work is important, i know this is very basic but please recheck.

Regards,

Anirban.

deepaksamtaney
Explorer
0 Kudos

Thanks for your reply...

Yeah i have comit work in the code

Regards,

Vineet

Former Member
0 Kudos

Hi,

You must be using a xi sender adapter with xi3.0 message protocal as ur was is 6.40, what does ur adapter monitor show?? as there is no entry in moni then it means the proxy data is not coming inside xi.

Regards,

Anirban.

deepaksamtaney
Explorer

Hi Anirban,

I have an XI sender adapter with message protocol as XI 3.0.

I have written the abap report on BW and not on XI and am executing the repot in BW calling the execute sync method.

If suppose i write the report in XI IS client and execute it from BW as the weblog said...how to i pass the data from BW to that report in XI?

Any clue on this issue..

If you have come acorss such a scenario can you please pen down the steps that i have to follow..

Regards,

Vineet

Former Member
0 Kudos

Hi Vineet,

<i> have written the abap report on BW and not on XI </i>

You are correct,you need to write it on BW side and not xi abap stack,

yes i have worked on both inbound and outbound proxies in xi in IS-U, but i guess when we use reports its always same.

Refer the section under ABAP PROXY,

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

<i>Now to receive the validated message in the R/3 system, create the ABAP Proxy in the R/3 system</i>

although the scenario is opposite we write it in R3 side, in your case BW.

Regards,

Anirban.

Former Member
0 Kudos

Hi,

Just forgot to refer this,

/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies you may see the steps in proxies here apart from the link before.

All the best, and see if you get an entry in moni.

Anirban.

deepaksamtaney
Explorer
0 Kudos

Hi Anirban,

Thanks for your useful inputs.

To give you an idea i have succesfully done the scenario XI to BW so all the necessary settings are in place.

For BW to XI scenario please anwer the following:

I generate the proxy of the outbound interface in XI.

I write the report to call the proxy class in XI.

DO i need a sender XI comm channel?

Any additional configuration needed?

Can you please tell the steps you followed for ISU-XI integration.

Thanks a lot.

Vineet.

deepaksamtaney
Explorer
0 Kudos

I write the report to call the proxy class in XI.

>>>>> Sorry i write the report to call the proxy in BW

Former Member
0 Kudos

hi,

The steps seems ok, look you need a sender xi adapter as we discussed before to send proxy data from bw to xi.

1. see the sender xi adapter, you said you are on was 640, are you sure?? If not try changing the message protocal to xi2.0 and execute the report and retest.

why i am saying this is beacuse of the http code,

please refer this thread i solved, this time the proxy was coming from APO,

2. If it donot work it may be that password has expired goto sicf in xi abap stack,sap xiengine--and edit and retype the user id and password, please take Basis help if you are not sure.

Try these 2 things and lets take it forward.

Anirban.

deepaksamtaney
Explorer
0 Kudos

hi,

When i run the report in BW to call the client proxy in XI i get the following error under Call Integration Server error section in SXMB_MONI on BW side:

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

- <!-- Call Integration Server

-->

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

<SAP:Category>XIServer</SAP:Category>

<SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>

<SAP:P1>200</SAP:P1>

<SAP:P2>OK</SAP:P2>

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText><html> <head> <title>SAP J2EE Engine Start Page</title> </head> <frameset framespacing="0" border="0" rows="90,*" frameborder="0"> <frame name="banner" scrolling="no" noresize target="contents" src="top.html" marginwidth="0" marginheight="0"> <frame name="main" src="main.html" marginwidth="10" marginheight="30" scrolling="auto"> <noframes> <body> <p>This page uses frames, but your browser doesn't support them.</p> </body> </noframes> </frameset> </html></SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>HTTP response contains status code 200 with the description OK XML element Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

I see no message in XI.

Please help

Regards,

Vineet

Former Member
0 Kudos

Hi,

What do you see in sxmb_moni in xi server, not the BW server.

Regards,

Anirban.

deepaksamtaney
Explorer
0 Kudos

Hi Anirban,

Thanks for your replies.

I dont receive any message in XI.

Regards,

Vineet

Former Member
0 Kudos

Hi,

Did you check if your proxy classes are active,in s proxy??

Anirban.

deepaksamtaney
Explorer
0 Kudos

yes Anirban the class is active in sproxy in XI.

I am unable to understand where the problem is

Former Member
0 Kudos

Hi Vineet,

Well this seems to be my last try, as i have used all my knowledge i have,

This can be a password and userid problem,

See and read this thread carefully and the other refered thread, and especially the replies from Michal and Lima and siva,

Hope this will solve the problem,

else repost a thread so that others can participate, as this has become a long one.

All the best and i admire your patience,

Anirban.

Former Member
0 Kudos

Hi,

There is a guide for debugging proxies, you may also refer that,

https://websmp202.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=011000358700000002...

or

https://websmp202.sap-ag.de/nw-howtoguides exhange infrastructure, how to debug xi applications,

Please refer from page 15 onwards, like testing proxies, tracing proxies and recording proxies.

BTW, just thought of sharing it,

Anirban.

deepaksamtaney
Explorer
0 Kudos

Thanks a million times Anirban for your support.

It works now. I did not maintain the path prefix

/sap/xi/engine/?type=entry

in BW RFC destination for Integration server.

Former Member
0 Kudos

Great Vineet, i was also very happy to know that it was working, all the best!!!

And keep up the patience you have, i really liked your patience through out our conversation.

Regards,

Anirban.

Answers (0)