Fill model with tabledata

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

I found a very good posting from Betran Ganz (initializing AbstractList Model in Custom Controller)

Similar Messages

  • Filling bc travel data model with test data

    Hey i read somewhere that there is a app to fill the bc travel data model with test data.I been searching but havent found one in the preview version.Please help me if anyone knows how to get it done.Filling it manually is taking a whole lot of time.

    Go to the ABAP Editor (SE38) and execute the SAPBC_DATA_GENERATOR program. This program generates suitable sample data in the tables of the flight data application.

  • Hi ya'll, I'm having problems with patterns. Error 519, what's going on?? URGENT!!! Can't seem to fill layers with user defined patterns

    I've never had this problem before, I noticed improvements a few days ago regarding pattern tool but the last few days I've been unable to fill layers with a user defined pattern. This is one of the main reasons I use photoshop and it's giving me a headache!!! I have to turn in some patterns by monday and this is not working, please fix it!!

    First a clarification:  You are NOT addressing Adobe here in these user forums.
    BOILERPLATE TEXT:
    Note that because this is boilerplate text, not all points may apply to any given, specific poster.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Simulation Modeling with BPEL

    Is it possible, using BEPL to complete simulation models to understand the effects of altering a business process workflow?
    For example : I have a model that does X, Y and Z in that order. I want to be able to alter the order, and/or add some new steps to the model, but prior to doing that I want to simulate the model to be able to see the effects of changing the process before actually doing it…
    Make sense?
    Please let me know if you have any expertise in this area. If Oracle BPEL does not do it, do you know of any products that do?
    Thanks a lot

    What you need is a tool like Oracle BPM (business procss modeller) and fill this with data from Oracle BPA to perform simulations.

  • I am trying to use an external 3g modem made by Huawei model e173s-6 and when I do connect it on my usb port the macbook pro just do not recognize it. I own a 2012 model with mountain lion 10.8.2 . What should I do ?

    I am trying to use an external 3g modem made by Huawei model e173s-6 and when I do connect it on my usb port the macbook pro just do not recognize it. I own a 2012 model with mountain lion 10.8.2 . What should I do ?

    I still don't know what happened to my test Aperture Library after the update to 3.4...Not only were my previews lost, but so were the original images!  Needless to say, I haven't bothered to update the main library on the Mac Pro because I don't want to deal with this level of uncertainty (even with backups in place).

  • How do I create a shortcut to fill cells with the same background colour

    I have recently starting using Numbers, being an Excel user for years.
    I often fill cells with a yellow background to highlight them.
    In Excel you can do this from a simple colour menu in the toolbar at the top.
    I have found no quick and easy way to do this in Numbers.
    Any advice would be appreciated.
    thank you

    As far as I can tell there's no direct equivalent of the little paintbucket button in Excel that remembers the last colour you filled with.
    One quick and relatively easy way to achieve it would be with an AppleScript:
    tell application "Numbers" to tell front document to tell active sheet
      try
      set active_table to (first table whose class of selection range is range)
      on error
      display alert "No selection" buttons {"OK"} default button 1
      return
      end try
      tell active_table
      set background color of selection range to {62466, 65535, 28003}
      end tell
    end tell
    This could be run from Numbers' script menu (screen grab below) or saved as an Automator Service and run from a popup or keyboard shortcut (eg ctrl-y).
    Post back if you'd like to follow up either of those ideas.

  • Uncheck "Fill screen with one page at a time"

    Is it possible to set a javascript to turn off the preference "Fill screen with one page at a time" when entering in Full Screen mode? So that way, it will override Acrobat or Reader application preferences when the PDF is open on users computers.

    Everything that's supported is documented here: http://livedocs.adobe.com/acrobat_sdk/11/Acrobat11_HTMLHelp/JS_API_AcroJS.89.768.html
    Unfortunately, what you want isn't supported.

  • Java Script Error while deploying a Model with Value Help

    Hi,
    I am using EP 7.0 SP 10.
    I am trying to deploy a model which includes the Value Help for an Input field, and i am trying to deploy this model.
    The model compiles successfully, but gives a Java Script Error while deploying the model,
    ! Error on Page
    When Click on this java script error, it shows that ,
    Line:14985
    Char 1: Error
    object does n't support this property or method.
    code
    URL: <serverhost>/VCRes/WebContent/VisualComposer6.0/bin/223334.htm?24102006.1712.
    The Same model works in dev server, and it fails in the production server.
    Thanks and Regards,
    Sekar

    Hi jakob,
    Thankyou for your quick response.
    I did a basic model with the help of a documentation which i got from this forums.I created a iView and from there i used Bapi "BAPI_SALESORDER ".
    I created a Input Form and a outpot form (table view).I tested model and am able to get the output.but when i try to deploy it is giving me the error.
    And i think am not paring any formulas here.
    Please guide me.
    thanks and regrads
    Pradeep.B

  • Error while binding the model with the custom controller

    Hi All,
    I first started with a dummy project and in that binded the model with the custom controller.
    For some reason, I deleted the project and created a new one. I have deleted the whole project from the workspace.
    Now, when I am trying to bind the model  again , I am getting an error when selecting the response parameters saying that DUPICATE ENTRIES.Ideally it should not happen when I am deleting it completely.
    I am using a Webservice Model. Can any one help me out to resolve the same.
    Looking forward for your response.
    Regards
    Dipendra

    Hi Raman,
    I did that and even I have Installed the IDE again.
    Still I have that error.
    Regards
    Dipendra

  • Hello Everyone,      I have a MacBook older model with me.I am running 10.7.6 on that, I was trying to use BootCamp to install windows on my mac. Since BootCamp can only work on a single Volume, I partitioned my Hard Disk to one volume.   Using BootCamp I

    Hello Everyone,
              I have a MacBook older model with me.I am running 10.7.6 on that, I was trying to use BootCamp to install windows on my mac. Since BootCamp can only work on a single Volume, I partitioned my Hard Disk to one volume.
    Using BootCamp I installed windows and everything worked fine. After installing windows and testing everything, I switched back to OS X and this time I tried to make another partition on my single portioned Mac volume and named it Backup. That too worked. Now I have three Volumes
    1)Development2)Backup3)BootCamp.
    Next when I switched to Windows, It should the classic error, No Bootable device found, please insert a Bootable CD and press any key. When I tried to enter my Mac OS X install DVD and by pressing option key, it does not show me the proper Mac OS X development volume. It keeps going back to the No bootable device found message.
    Any help will be much appreciated
    Regards
    Mithun

    you can't add a partition in between - you put Windows to a new partition number.
    GPT (GUID)
    EFI
    Mac HFS
    Lion Recovery
    Windows
    And now you have two HFS
    One partition and one Windows (plus Lion Recovery).
    If you were to have more, it can't be before Windows for one thing.

  • Long runtime when Generate Org model with CRM_R3_ORG_GENERATE. never finish

    Hi All,
    I tried to generate org.model with CRM_R3_ORG_GENERATE.
    But it ran for a long time. For a day and still not finished.
    I killed it and did again.  Same situation happen.
    I see process is running and use almost CPU time.
    Is this normal for this transaction? Can we tune it up?
    Note that our R/3 sale structure is quite large. The system is used by global.
    Thanks in advance for your advice
    Pichet A.

    I test extract list in  CRM_R3_ORG_GENERATE  to text file.
    It size is 87MB.
    Can I generate in background?

  • Mail Queue filling up with DSN failures

    So my Exchange 2010 queue viewer keeps filling up with failed DSNs. There is no sender (except for [email protected]). I have done some searching and the first thing that everyone usually mentions as a cause is SPAM. It's not SPAM.  I know this
    for two reasons:
    1. We have a barracuda SPAM/AV firewall that all SMTP email goes through. None of these emails are there
    2. We can see the subject of the email. The subject is a cronjob email from our linux servers. "Undeliverable Cron <cronuser@>..." But there is no source email to be found. Our linux server is not sending any.
    Any idea what could be causing this?

    If they're DSNs, they could be sent from anywhere with a spoofed reply address.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • My hardrive keeping filling up with "other" files. How do I delete them and keep them from building back up?

    I am new to Apple/MacBook this year, so far I am just plain frustrated. My harddrive keeps filling up with "other" files and I dete them and they always come back from using apple mail. I have used tech support and filters but it still happens over and over. Any help here? I would SO appreciate it!

    Boot in safe mode by shutting down, then restarting and holding down the shift key, keeping it down until you see the Apple logo on the display. Safe mode is slow to boot and run.
    While in safe mode, use a tool such as the one linked below to explore your volume and find out what's taking up a lot of space:
    OmniDiskSweeper - Products - The Omni Group
    Don't launch any other applications. After completing this test, and deleting some files, reboot as usual (not in safe mode.)

  • HT1688 HELP! My Iphone4 is filling up with unknown memory

    My iphone is filling up with unknown memory. If a delete an app or photos the unknown memory will take up that free space as well. This is my second iphone to do this. My computer has no viruses and I have reset my phone. The only thing i can think of that might have something to do with it is my SIM card.

    Thank You for responding,
       I didn't think SIM cards had to do with it either, but that's all I could come up with. Yes I have restored my phone as a new device. I didn't put any music or ringtones on it. After a few weeks it start filling up again. I clean my phone daily (deleting messages,clearing history, cookies, ect.) If it is corruption, then how did my previous iphone and this iphone have the same problem? Some days it will show I have free memory but most of the time it is showing full. The only way I can take pictures is through Facebook.....
    With my previous iphone I had apple support on the phone and on my computer trying to figure out the problem. Everything they instructed me to do would fix the problem (temporarily)  Eventually they sent me another iphone4, the one I have now. I set it up as a new device, it was fine for about 2months. Now it is doing the same thing.....

  • How to use Adaptive WebService Model with CAF WebService and Complex Type

    Hi All,
    I am trying to use the Adaptive Web Service Model and call a WebService generated by the CAF. The return type of the WebService is a Complex Type.. I receive an exception when trying to instantiate the Model Node.
    Does anybody know how to use the Adpative Web Service Model with CAF WebServices and Complex Types as return type?
    Help is appreciated..
    Thanks, Johannes

    Thanks Mukesh.
    It is not possible to apply the Service Controller Template on Enterprise Java Bean Models as described in the Document. When I try to aply the template on the EJB Model, NWDS says: Only Webservice Models and RFC Models are supported...???
    I did not find any information about how to return complex types in AWS.. in this document???
    Is there such information available? Has anybody ever done that? There must be a way to do that.. Is is the standard approach, isn't it...? Please help me out there.. I need to get this running..
    Thanks, Johannes

Maybe you are looking for