Java and SAP JCoFunction getting no data -


hi need sap integration java. don't know sap if i'm getting function next template using java jcofunction.

input: iv_size_exchg   iv_trgid   changing: null output: ev_total_zdt1   tables: et_articles   et_location_keys et_treagers   it_location_keys return   exceptions: 

my client gets data sap filtering table it_location_keys. can see table on output side , not on input. can works on java?

by way there way data limit or top in sql. thanks

this code

jcoparameterlist importparameterlist = function.getimportparameterlist();  jcotable articlestable = importparameterlist.gettable("it_location_keys"); articlestable.appendrow(); articlestable.setvalue(param_customer_number, request.getcustomer().getcustomernumber()); articlestable.setvalue(param_contract_number, request.getcontractnumber()); articlestable.setvalue(param_location, request.getlocation()); 

and when tried table it_location_keys says there no input table.

i tried table using next code.

jcotable articlestable = function.gettableparameterlist().gettable("it_location_keys"); 

this seems work fine problem still can't data export.

function.getexportparameterlist() 

the result

|------------| | parameters 'output' |------------| |ev_total_zdt| |------------| |   0   1   2| |------------| |00000000000c| |------------| 

and output tables empty.

function.gettableparameterlist().gettable("et_location_keys"); 

tables parameters changing parameters (in- , output), regardless of name. it's implementation used for.

you need use gettableparameterlist() access parameter.


Comments

Popular posts from this blog

serialization - Convert Any type in scala to Array[Byte] and back -

matplotlib support failed in PyCharm on OSX -

python - Matplotlib: TypeError: 'AxesSubplot' object is not callable -