11-07-2007 5:17 PM
Hi there,
has anybody got a clue what method is the right one?
Id like to set some importparametes f.e datevalues and flags.
They are hidden in Range Tables.
How do i get the structure and how to i set these values?
This is unfortunately not the right way to set the import parametes ...for this FB
fct4statistics.getImportParameterList().setValue(sdate,
CBConstants.DATEOPTION);
Any hint would be highly appretiated
TIA
11-09-2007 1:02 PM
hmmm...
this does ... not really work for me.. im getting a nullpointer exeption..
codes = function.getTableParameterList().getTable("xyz");
codes.appendRows(2); // Add two rows to internal table
codes.setValue("I", "SIGN");
codes.setValue("EQ", "OPTION");
codes.setValue("P1001087", "SO_parameterOne");
codes.setValue("", "MATNR_HIGH");....
a.) if my function module belongs to a certain namespace, lets call it "/COMPAN/" does this prefix has to be added before "xyz" here?
b.) It seems that I have to use kinds of importparameter methods....
Is that possible and do they have to be in an order ?
something like this...
first ..
JCO.PARAMETERLIST imports fct4statistics.getImportParameterList().setValue(stime, CaConstants.I_STAT_BEGINTIME);
JCO.Structure importXY = imports.getStructure("Importselectionparametername")
imports.setValue(strFlag, "ARCH_FLAG)..
and then the above mentioned jco.table..