cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP Proxy Exception

Former Member
0 Kudos

Hello everybody i have this error in my sxmb_moni of xi for a abap proxy server receiver:

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

- <!-- Inbound Message

-->

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

<SAP:Category>XIProxy</SAP:Category>

<SAP:Code area="ABAP">DYNAMIC_CALL_FAILURE</SAP:Code>

<SAP:P1>UNCAUGHT_EXCEPTION</SAP:P1>

<SAP:P2>ZFUS_CL_MI_FMGOB_CAT_FONDOS_C1</SAP:P2>

<SAP:P3>EXECUTE_SYNCHRONOUS</SAP:P3>

<SAP:P4 />

<SAP:AdditionalText>Unable to execute the dynamic application call (kernel error ID UNCAUGHT_EXCEPTION, class ZFUS_CL_MI_FMGOB_CAT_FONDOS_C1, method EXECUTE_SYNCHRONOUS)</SAP:AdditionalText>

<SAP:ApplicationFaultMessage namespace="" />

<SAP:Stack />

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

</SAP:Error>

any suggestions?

Regards,

Julio Cesar

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Sridhar,

I can't open those threads you are pointing me.

Regards,

Julio Cesar

Former Member
0 Kudos

Hi

Below is the full details of above links

For link 4196517?

Q) Hi All,

I have got a requirement to raise an exception from existing ABAP Proxy depending on condition. XI consultant created a fault messge type and attached to the inbound interface message type. I have regenerated the ABAP proxy but I cant find any thing in excpetion tab to raise exception.

Please let me know the solution for this.

Answers : 1) Go to Sproxy .

Select the message interface for which you generated the proxy.

Click on the Structure tab. Do you see any Exception Class generated for fault message ?

2) Just follow all the steps defined in the below Blog and you will find the solution.

/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1

3) I can't find any exception class there in 'Structure' tab. what might be the problem.

4) In SProxy ..under the Message Interface you will see Fault Message Type.

Click on Fault Message Type and check if you can see the fault message type created by xi consultant.

Also ask your xi team to login to IR and re-activate the interface.

5) I can't find any fault message type under Fault Message Type. I will ask my XI consultant to reactivate the interface.

Is this the only problem for this or is htere any other reason for not finding this fault message type in SPROXY.

6) Ideally the fault message type should be visible unless he has defined Software Dependencies and using MT from some other SC.

Even if the fault message type is not visible everything could be all right.

Ask him to check if he selected the fault message type while activating the interface.

Do update us when you get a reply from ur xi team.

7) I have checked with XI admin, he said that he created fault message types in Development Xi but R/3 Development refers to Production XI system in exchange profiles. He asked me to change it to XI development in exhange profile settings. So I am searching info on how to set exchange profiles.

😎 The following link will guide you ..

http://help.sap.com/saphelp_nw04s/helpdata/en/c9/7a1041ebf0f06fe10000000a1550b0/frameset.htm

I dont think we need to do any changes in Exchange Profile for proxy communication.

Changing the RFC Destinations (in your R/3 system)- LCRSAPRFC & SAPSLDAPI should solve your problem.

II) For Link :4147406?

Q) Hi All,

We have an ABAP Proxy implemented for posting goods movement and it is calling BAPI function module to post good movement. We have got a requirement that if BAPI returns any error, this error message send back to SAP XI.

data call proxy

Legacy -


> XI -


> SAP R/3(call bapi)

<----


error message

Please let me know how to send the message back to XI.

Answers: 1) Refer the following

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File

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

2) you can utilize the fault messages for such an usage -

Ref:

Fault messages -

/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1

Handling Web Service SOAP Fault Responses in SAP NetWeaver XI -

/people/jin.shin/blog/2007/05/21/handling-web-service-soap-fault-responses-in-sap-netweaver-xi

3) You have to do Fault message implementation in this case...

A no. of exception will be there.For any error proxy will catch the exception and will write it in the fault message...so....from r/3 response will go to Xi as Fault message response in case any error/exception occours......

have look here...

Fault message implementation.

/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1

4) Please go through it is very useful.

/people/krishna.moorthyp/blog/2005/12/23/monitoring-for-processed-xml-messages-in-abap-proxy --Monitoring for Processed XML messages in ABAP Proxy

/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy --ABAP Proxies in XI(Client Proxy)

/people/sap.user72/blog/2005/12/29/service-enable-your-sap-application-component --- Service Enable Your SAP Application Component

5) the file adapter can work only asynchronous, so you cant have a response. You should build two asynchronous messages. File -> proxy inbound and after the bapi call an outbound proxy is called which is sending a second messge to the file adapter.

6) you can define a synchronous scenario which will include request/response messages.

send the response back to XI.

the file adapter supports BE QoS.

http://help.sap.com/saphelp_nw04s/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm

7)I have an interface Z_stock_move(message interface(inbound)) and class z_STOCK_MOVE in that. I have clicked exception tab but not able to add exception there as its not enabled for change.

Please let me know how to add the exception to an existing abap proxy.so that i can raise an exception when bapi call to goods movenment returns errors.

Might be useful to U.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello Phani,

I'm sorry but i'm not sure what do you mean by that, could you explain more about it.

Regards,

Julio Cesar

Former Member
0 Kudos

Hi,

Have u writen any UDF for dymanic configuration,if u have done that nay fail check that first.

Regards,

Phani

Former Member
0 Kudos

try this

?

?