cancel
Showing results for 
Search instead for 
Did you mean: 

INBOUND PROXY

Former Member
0 Kudos

Hi ALL,

When Iam testing my INBOUND proxy using screen as output

the output is coming s required.

The code is as following.

method ZGSLL_II_MI_CLM_I~EXECUTE_ASYNCHRONOUS.

      • **** INSERT IMPLEMENTATION HERE **** ***

DATA : WA TYPE ZGSLL_DT_CLM_RSSTRUCT.

LOOP AT INPUT-MT_CLM-RSET-RSSTRUCT INTO WA.

WRITE : / WA-PERNR, WA-SUBTY, WA-SDATE, WA-BETRG.

ENDLOOP.

endmethod.

This is working fine.

But when I include my actual Function Module it is showing error as

- <CX_XMS_SYSTEM_ERROR>

<ID>DYNAMIC_CALL_FAILURE</ID>

<P1>UNCAUGHT_EXCEPTION</P1>

<P2>ZGSLL_CL_MI_CLM_I</P2>

<P3>EXECUTE_ASYNCHRONOUS</P3>

<P4 />

<INFO />

<CATEGORY />

<AREA />

<RETRY />

</CX_XMS_SYSTEM_ERROR>

- <CX_XMS_SYSERR_PROXY>

Please help Very Urgent.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I think you have not used the execute_synchornous method properly.

Please refer below link for the coding of inbound proxy and to activate it properly.

ABAP Proxy inbound program - sales order creation

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsa...

ABAP Proxy Runtime

http://help.sap.com/saphelp_nw04s/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm

ABAP Proxy configuration:

/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies

File to Inbound Proxy:

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

Debugging Inbound Proxy:

/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation

Thanks

swarup

Edited by: Swarup Sawant on Feb 22, 2008 7:53 AM

Former Member
0 Kudos

Hi SWARUP,

Iam sending the total error Iam getting .Please Help.

Golive Tomorrow.

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

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

- <asx:values>

<ERROR href="#o132" />

</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_XMS_SYSERR_PROXY id="o132">

- <CX_ROOT>

<TEXTID>392B46E58AC0F445B64639726E2A3D85</TEXTID>

<PREVIOUS href="#o127" />

<KERNEL_ERRID />

- <INTERNAL_SOURCE_POS>

<PROGID>209</PROGID>

<CONTID>1130</CONTID>

</INTERNAL_SOURCE_POS>

</CX_ROOT>

<CX_STATIC_CHECK />

- <CX_XMS_SYSTEM_ERROR>

<ID>DYNAMIC_CALL_FAILURE</ID>

<P1>UNCAUGHT_EXCEPTION</P1>

<P2>ZGSLL_CL_MI_CLM_I</P2>

<P3>EXECUTE_ASYNCHRONOUS</P3>

<P4 />

<INFO />

<CATEGORY />

<AREA />

<RETRY />

</CX_XMS_SYSTEM_ERROR>

- <CX_XMS_SYSERR_PROXY>

<CO_AREA_ABAP>ABAP</CO_AREA_ABAP>

</CX_XMS_SYSERR_PROXY>

</cls:CX_XMS_SYSERR_PROXY>

- <cls:CX_SY_NO_HANDLER id="o127">

- <CX_ROOT>

<TEXTID>1F09B73915F6B645E10000000A11447B</TEXTID>

<PREVIOUS href="#o126" />

<KERNEL_ERRID>UNCAUGHT_EXCEPTION</KERNEL_ERRID>

- <INTERNAL_SOURCE_POS>

<PROGID>240</PROGID>

<CONTID>47</CONTID>

</INTERNAL_SOURCE_POS>

</CX_ROOT>

<CX_NO_CHECK />

- <CX_SY_NO_HANDLER>

<CLASSNAME>CX_SY_DYN_CALL_PARAM_MISSING</CLASSNAME>

</CX_SY_NO_HANDLER>

</cls:CX_SY_NO_HANDLER>

- <cls:CX_SY_DYN_CALL_PARAM_MISSING id="o126">

- <CX_ROOT>

<TEXTID>C2D6C63BEACF517BE10000000A11447B</TEXTID>

<PREVIOUS />

<KERNEL_ERRID />

- <INTERNAL_SOURCE_POS>

<PROGID>240</PROGID>

<CONTID>72</CONTID>

</INTERNAL_SOURCE_POS>

</CX_ROOT>

<CX_DYNAMIC_CHECK />

- <CX_SY_DYN_CALL_ERROR>

<CLASSNAME />

<METHODNAME />

<FUNCTION>ZRHRF_IT0015</FUNCTION>

<FORM />

<PROGNAME />

</CX_SY_DYN_CALL_ERROR>

- <CX_SY_DYN_CALL_PARAMETER_ERROR>

<PARAMETER>WA</PARAMETER>

<PARAM_NUMBER>0</PARAM_NUMBER>

</CX_SY_DYN_CALL_PARAMETER_ERROR>

<CX_SY_DYN_CALL_PARAM_MISSING />

</cls:CX_SY_DYN_CALL_PARAM_MISSING>

</asx:heap>

</asx:abap>

Thanks in advance,

Jeevan

Former Member
0 Kudos

Hi,

If possible can you try to catch the exception in execute_synchronous method.

and see the text code for it.

Also have you tried to verify the error reason in XI monitoring.

You had send me the whole log, but if you have observed it carefully its saying about uncaught exception. So there are some exceptions that if we could trace then it will be easy.

For e.g.

TRY.

CALL METHOD obj_get_authorized_context->execute_synchronous

EXPORTING

output = wa_get_context_req

IMPORTING

input = wa_get_context_res.

CATCH cx_ai_system_fault INTO exc_ref.

  • If you need to debug the error exception

exc_text = exc_ref->get_text( ).

  • Raise Exception

  • RAISE rbac_call_failed.

ENDTRY.

try this way.

Thanks

swarup

Answers (1)

Answers (1)

Former Member
0 Kudos

hi,

Is there an exception being triggered from your function module which is not being caught.

I assume you call the FM from your method or is it the other way around.

it would never work if it is other way around. just check the exceptions raised by your FM.

Reward points if useful

Best Regards

abhishek