on 09-26-2007 4:45 PM
Hi everybody,
Can someone please tell me how to fill a model with data from a table? I am near to desperation.
The problem is: I have a model constructed from a R/3 function module. The function module defines some import parameters one of them is a table.
My idea was to first create a new instance of the model input class then set all the import parameters, bind the model to a model node in context and finally execute it.
Well, there is no problem with the simple import parameters (just three strings have to be set). But when I try to set the "table parameter" I get some trouble. The "set" method for this parameter only allows to set an object of type "AbstractList" (which is NOT java.util.list). There is also an "add" method for this parameter but trying to use this ends up in an "ArrayIndexOutOfBoundsException" (java.lang.ArrayIndexOutOfBoundsException: -1).
I wonder now how to fill up the "table" parameter with data. Can someone please tell me the "usual" way?
Thanks in advance for all answers!
Regards,
Torben
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.