cancel
Showing results for 
Search instead for 
Did you mean: 

Jco Outbound - Saving data to table triggers short dump

Former Member
0 Kudos

Hi,

I am writing an EJB that uses Jco to process calls from abap. This EJB runs on the j2EE engine. Passing a String to an exporting parameter of an ABAP funtion works fine without problems. But when using table types it generates abap dumps telling the processFunction contains errors.

Does anyone have encountered the same problem or could help finding the issue?

Same fragments from the used code

String funcName = function.getName();

JCO.ParameterList input = function.getImportParameterList();

JCO.ParameterList output = function.getExportParameterList();

JCO.ParameterList table = function.getTableParameterList();

if (function.getName().equals("Z_RFC_GET_TRAFFIC_INFO")) {

JCO.Table tables = table.getTable("T_TRAFFIC"); ==> This triggers short dump (the table is defined with name T_TRAFFIC in the tabels tab of the function as Char512

output.setValue(result + "END OF THIS YEAR\n" + result2,"E_MESSAGE");

E_MESSAGE is a char 256 that works, result and result2 are arrays of string.

output.setValue("END OF THIS YEAR\n" + result,"E_TRAFFIC");

E_TRAFFIC is a table export parameter defined as char512 not working, trgiggering short dump

Thanks in advance

Reginald

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi Reginald,

As per my understanding, there seems to be some problem with the Function module (in ABAP). Check the Function module itself as well as its parameters. The dump telling process function contains error means that there is some problem in the calling FM.

Regards,

Richa.