cancel
Showing results for 
Search instead for 
Did you mean: 

How can you avoid that an ABAB-Function works with an EXPORT_PARAMETER

Former Member
0 Kudos

Hello everybody,

I have to call the ABAP-Function ECATT_EXECUTE via JCO.

In SAP 7.0 there is a new EXPORT_PARAMETER for the function ECATT_EXECUTE, which is called E_RESULT_XML.

There is a statement "IF E_RESULT_XML is requested" which gives always TRUE, so that the function tried to fill this Parmeter and an error occurred while processing.

How you can avoid this ?

What you can do, that this IF-Statement gives FALSE ?

Every helpful hint is welcome !

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Klaus,

It may be because when calling a function via JCO all import/export/table parameters are always passed with the call. Have you tried running the function from a test ABAP program and NOT requesting the parameter E_RESULT_XML? If that works ok, the simple solution is to create a custom wrapper function module that you can call from JCO, which will call ECATT_EXECUTE for you ignoring E_RESULT_XML and then return the results to your Java.

Hope this helps,

Gareth.