cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Client Proxy

Former Member
0 Kudos

Hi All,

By using client proxy i am moving material master data into a file, i have finished IR part and activated it after that i went to R/3 side and generated the proxy and activated it . after that i have written a program in abap editor to fetch data for matnr,mart,mbrsh and meins and passed to exporting parameter output in method asynchroneous_execute method. and in XI side i have created receiver determination, interface determination and receiver agreement and activated. And finally i have excetued my program in R/3 . i didn't get the file into my destination and i didn't find any message in sxmb_moni. can any body suggest me where can i look at the status of message and list some possible errors.

Thanks in advance .

Regards,

Prem.S

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

The user which u was using in the ABAP Proxy communication channel was not having enough authorizations.

hope this helpful....

Former Member
0 Kudos

As Sasitharan said...its user authenication problem..you would not have enough authorizations

Former Member
0 Kudos

Sasi,

In client proxy we don't use any communication channel, i think in communication channel we set the adapters. Proxy purpose is to bypass the adapters then again why communication channel comes into picture. please correct me if iam wrong.

Regards,

Prem.S

Answers (10)

Answers (10)

prasanthi_chavala
Active Contributor
0 Kudos

Hi Prem,

Have a look at this below blog:

/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi

Regards,

Prasanthi.

Former Member
0 Kudos

Hi All,

When i execute sxmb_moni in R/3 system , i am getting the below mentioned error. Kindly porive me some solutions for this.

<?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>404</SAP:P1>

<SAP:P2>Not Found</SAP:P2>

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Error Report</title> <style> td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active </style> </head> <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0"> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>&nbsp;&nbsp;404 &nbsp Not Found</b></font></td> </tr> <tr bgcolor="#3F73A3"> <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td> <td height="23"><img width=1 height=1 border=0 alt=""></td> <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/7.00&nbsp;</b></font></td> </tr> <tr bgcolor="#9DCDFD"> <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td> </tr> </table> <br><br><br><br><br><br> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>&nbsp;&nbsp;The requested resource does not exist.</b></font></td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>&nbsp;&nbsp;Details:</b></font></td> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre>&nbsp;&nbsp;Go to <A HREF="/" target="_parent">main page</A> of this application!</pre></font></td> </tr> </body> </html></SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack>HTTP response contains status code 404 with the description Not Found Error when sending by HTTP (error code: 404, error text: Not Found)</SAP:Stack>

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

</SAP:Error>

List some possibilities for getting this error.

Regards,

Prem.S

prasanthi_chavala
Active Contributor
0 Kudos

Hi prem,

The Error - HTTP_RESP_STATUS_CODE_NOT_OK is because of authorization problem.Please check sm59 HTTP destination on R3 that points to the XI integration engine.

Regards,

Prasanthi.

prabhu_s2
Active Contributor
0 Kudos

as pointed it might be related with autho issues. u can check ur rfc destination from sm59

Former Member
0 Kudos

Hi ,

Can any body help me in giving some solution for my issue.

Regards,

Prem.S

prabhu_s2
Active Contributor
0 Kudos

prem,

just check if the pointer is passing thru the async call for triggering the interface in R3 by debugging it. Also check for the dates in the selection screen of sxmb_moni...

Former Member
0 Kudos

Hi,

Please help me in solving the below issue.

Prem.S

Former Member
0 Kudos

I think u ill be using business system right....

so u ill be giving userid and password there right....

so that user may create problem ....

Former Member
0 Kudos

Hi Prem,

You can try out this:-

1. You can debug your ABAP code.

Just put a breakpoint, somewhere in the code where it is useful for you to trace

out the error.

2. Just do an SXMB_MONI in XI sytem, and check if the error is wrt to which end

system, XI or R/3.

Hope this should help you.

regards,

Younus

Former Member
0 Kudos

Hi All,

I am getting the below error.

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

- <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">

- <asx:values>

<SYSTEMFAULT href="#o158" />

</asx:values>

- <asx:heap xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:abap="http://www.sap.com/abapxml/types/built-in" xmlns:cls="http://www.sap.com/abapxml/classes/global" xmlns:dic="http://www.sap.com/abapxml/types/dictionary">

- <cls:CX_AI_SYSTEM_FAULT id="o158">

- <CX_ROOT>

<TEXTID>F63AFF63DBE4BB4786A7F52CC4167145</TEXTID>

<PREVIOUS />

<KERNEL_ERRID />

- <INTERNAL_SOURCE_POS>

<PROGID>94</PROGID>

<CONTID>3338</CONTID>

</INTERNAL_SOURCE_POS>

</CX_ROOT>

<CX_STATIC_CHECK />

- <CX_AI_SYSTEM_FAULT>

<CODECONTEXT />

<CODE>INTERNAL.SLD_NO_OWN_BS</CODE>

<ERRORTEXT>Error when reading the ID of the business system from the SLD for system ECC and client 800</ERRORTEXT>

<LANGUAGE />

</CX_AI_SYSTEM_FAULT>

</cls:CX_AI_SYSTEM_FAULT>

</asx:heap>

</asx:abap>

kindly list the possibilities for getting the error.

Prem.S

Former Member
0 Kudos

Run transaction SLDCHECK and see the result. Every thing must be green.

Regards,

Jai Shankar

Former Member
0 Kudos

Jai,

every thing looks green, please look at the report below when i execute SLDCHECK transaction in XI system.

Properties of RFC destination SAPSLDAPI

RFC host:

%%RFCSERVER%%

program id: SAPSLDAPI_SD1

gateway host:

phxsapsvr3

gateway service: sapgw00

Testing the RFC connection to the SLD java client...

RFC ping was successful

SLD server access settings:

host name: phxsapsvr3

port number: 50000

user : SLDDSUSER

Use transaction SLDAPICUST if you wish to maintain the SLD server access data

Launching the SLD GUI in a separate browser window...

=> Verify in the browser GUI that the SLD is in a healthy running state!

Calling function LCR_LIST_BUSINESS_SYSTEMS

Retrieving data from the SLD server...

Function call terminated sucessfully

List of business systems maintained in the SLD:

CR1_800

BWD_555

Dell_Bs_Ib

Test_Bs_Ib

PED_100

CR1_JAVA

Test_Bs_Ob

(...more...)

Calling function LCR_GET_OWN_BUSINESS_SYSTEM

Retrieving data from the SLD server...

Function call terminated sucessfully

Properties of own business system associated to system PED client 100

id = PED_100

role = HUB

Calling function LCR_GET_BS_DETAILS

Retrieving data from the SLD server...

Function call terminated sucessfully

Details of own business system PED_100

caption = PED_100

product =

IS-URL = http://phxsapsvr5:8000/sap/xi/engine?type=entry

Summary: Connection to SLD works correctly

Now checking access to the XI Profile

Properties of RFC destination LCRSAPRFC

RFC host:

%%RFCSERVER%%

program id: LCRSAPRFC_PED

gateway host:

phxsapsvr5

gateway service: sapgw00

Testing the RFC connection to the SLD java client...

RFC ping was successful

Calling function EXCHANGE_PROFILE_GET_PARAMETER

Retrieving data from the XI Profile...

Function call terminated sucessfully

Retrieved value of

section = Connections

parameter = com.sap.aii.ib.server.connect.webas.r3.ashost

-> value =

Summary: Connection to the XI Profile works correctly

Regards,

Prem.S

Former Member
0 Kudos

hi

I think you r executing sxmb_moni in R/3 system...

try to execute sxmb_moni in XI system.....where ur integration server resides...

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

that's the point to execute sxmb_moni on R3

and not on XI

it will only be visible in XI after it is visible in SXMB_MONI in R3

that's how it works

Regards,

michal

Former Member
0 Kudos

Sasi,

Even i have executed sxmb_moni in XI system also there also no messages found

Prem.S

Former Member
0 Kudos

Michal,

I have executed sxmb_moni in both XI and R/3 system there is no message found in both systems. Kindly do the needful.

Prem.S

Former Member
0 Kudos

Hi All,

Please find the code which i have written in abap editor at R/3 side.

-


|

List of all generated proxy objects. |

class : ZDEV1CO_MI_MATERIAL_OB

structure : ZDEV1DT_MATERIAL |

structure : ZDEV1MT_MATERIAL |

-


|-

REPORT ZABAP_PROXY.

DATA : Proxy TYPE REF TO ZDEV1CO_MI_MATERIAL_OB.

DATA : It TYPE ZDEV1MT_MATERIAL.

DATA : It_mara like mara occurs 0 with header line.

CREATE OBJECT proxy.

TRY.

SELECT * from MARA into table It_mara where ersda eq sy-datum.

loop at it_mara.

move-corresponding : it_mara to it-Mt_Material.

endloop.

CALL METHOD PROXY->EXECUTE_ASYNCHRONOUS

EXPORTING

OUTPUT = It.

COMMIT WORK.

CATCH cx_ai_system_fault.

DATA fault TYPE REF TO cx_ai_system_fault.

CREATE OBJECT fault.

WRITE:/ fault->errortext.

ENDTRY.

and correct me if iam wrong.

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

try SXMB_MONI on R3

Regards,

michal

Former Member
0 Kudos

Michal,

When i executed SXMB_MONI in R/3 i got a message as " No message available for selection".

Regards,

Prem.S

MichalKrawczyk
Active Contributor
0 Kudos

hi,

debug your R3 report that executes send_async method and check if it's excuted

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

Michal,

Asynchroneous method is executing fine.

Regards,

Prem.S