IMPORT FROM DATABASE doesn't work in Web Dynpro

Hi all, I want to use the code at the bottom to get the last packages visited by a user I specify.
But I'm getting this error:
IMPORT var_1 ... var_N FROM DATABASE is not supported in the OO
context. Use IMPORT name_1 TO var_1 ... name_n TO var_n FROM DATABASE
... instead. var_n DATABSE ... insted var_n FROM DATABASE.
Could someone please show me how I can resolve this?
  TYPES : BEGIN OF ty_key,
            uname  TYPE euf4values-uname,
            object TYPE euf4values-object,
          END OF ty_key.
  TYPES : BEGIN OF ty_value_table,   " Last F4 Values
            obj_name    TYPE tadir-obj_name,
            encl_object TYPE tadir-obj_name,
            position    TYPE i,
          END OF ty_value_table.
  DATA : gs_key TYPE ty_key,
         f4_last_values TYPE TABLE OF ty_value_table,
         gs_value_table TYPE ty_value_table.
  gs_key-uname  = item_user.
  gs_key-object = 'K'.
  IMPORT f4_last_values FROM DATABASE euf4values(eu) ID gs_key.

Did you check the online documentation ? [http://help.sap.com/abapdocu_70/en/ABAPIMPORT_MEDIUM.htm#&ABAP_ALTERNATIVE_4@4@]
I see your code has differences from the example provided in the standard documentation.

Similar Messages

  • Create app from database doesn't work

    hi all, i am new to developing in flex, and just set up a
    test-database (php, mysql) - i created a php project, and when i
    choose data->create application from database nothing happens
    ... just nothing ... any help would be very much appreciated, i am
    sure it's a no-brainer, but i just can't figure it out at this
    stage ... i run a full version of flex 3 pro

    Did you check the online documentation ? [http://help.sap.com/abapdocu_70/en/ABAPIMPORT_MEDIUM.htm#&ABAP_ALTERNATIVE_4@4@]
    I see your code has differences from the example provided in the standard documentation.

  • Cursor style doesn't work on web forms

    Hi All,
    I have a FORM (6i) from which I run the report by clicking a button .
    I used to set_application_property to set cursor style to BUSY untill I get report output . It works in client/server but doesn't work in Web .
    Can I set this in any other way or is there any way we can show a progress bar in web FORMS without using ActiveX ? .
    Thanks in Advance,
    Sampath

    Hi Duncan,
    Thank you for your update . I didn't get "try a call to synchronize "
    in your note did you want me to run the report in Synchronous mode ?
    Thanks,
    Sampath
    Cursor Style does work on the Web (at least in 6i, there was an old bug in 4.5) - you shouldn't have to but try a call to synchronize after the set_application_property call.

  • Edit in Photoshop from Lightroom doesn't work; Automate Photomerge doesn't work

    Edit in Photoshop from Lightroom doesn't work.
    It opens the Photoshop application with all the menus/windows, but it never opens the actual image I chose to work on.
    Likewise,  I also can't automate>Photomerge ...  I pick all the images for the PHotomerge and hit "okay," but nothing happens.   Makes me think it's  Photoshop, not Lightroom, that is all wacky.
    I'm on a Mac, using OS X Yosemite, 10.10.1  Lightroom is version 5.7  Photoshop is CS5, version 12.0.4
    I uninstalled Photoshop CS5 and reinstalled. No change.  I also tried dumping PS preferences, but that didn't affect a thing, either.

    None of my "Edit In" worked with the pictures in Lightroom for a particular folder. I expanded the 2014 folder and found that two subfolders had a "?" in front of the 2014-07-04" and another. In other words, the folder was missing. After I found the missing folders using the Lightroom "Find Missing Folder" option, I was able to use the "Edit In" menu item. The 2014 folders weren't expanded at first, so I didn't see the ? marks in front of them. With the missing folders, Lightroom's "Edit In" option was basically telling me there was no picture to "Edit In." Howerver, I have Previews and Smart Previews made when I import picture files into Lightroom. So, the "pictures" showed in the slide strip on the bottom, and also in the display in "expand," but it was actually only showing the previews I had built, not the actual missing pictures in the missing folders. I had accidentally moved some directories using Windows Explorer, and I didn't realize my "happy fingers" moved them outside of Lightroom. Of course, Lightroom has no way of knowing I moved them, and just shows the "?" before the missing folder name. After expanding the root folder, then knew what to do. Fixed it easily. It was frustrating, and took about 20 minutes to see the problem. And that fixed the greyed-out "Edit In" Photoshop CC 2014, and all the other plug-ins were greyed out too.
    Hope this fixes your problem.
    Mike

  • ABAP command "import from database..."

    Can someone in this forum explain to me the low level  details behind the ABAP command "import from database"?
    The select in tables like stxl, indx, moni just retrieves data in hex format for the fields of type raw or lraw.
    But the command import from database works fine!
    What's the magic? Compression? Hash algorithms? etc?
    Thanks!

    When you import a field from a database, it should be the same name and format when it was exported. These databases are a cluster table where data is stored in raw. I assumed it will read the cluster portion of the record and convert it into the field structure byte by byte. These tables have field CLUSTR which store the byte size of the record. So if you are willing to program the read, where you find out the length of the field you want to IMPORT, then read that number of byte from the cluster data, move it to the field you are importing, you should be able to do your own read. However, if we can do it in 1 statement using IMPORT, we don't need to program it.
    Cluster table is used to save space since you don't need to create a new database record for each line of internal table you stored into them. Hope this helps.

  • Why Position:Relative from CSS doesn't work at Safari 5.03?

    If you watch my web page: http://clubdeleonesst.tk
    I designed a ComboBox and have some problems with position relative. I used jQuery to create it, you could watch the original example here:
    http://www.marghoobsuleman.com/jquery-image-dropdown
    And I have been watching that the transparency from Flash doesn't work too. I hope you can solve these bugs.
    Message was edited by: FANMixco
    Message was edited by: FANMixco

    The "disappearing" affect you describe is not normal. You may need to reinstall Safari.
    First, try removing the Apple cookies from your Safari Preferences>Security>Cookies panel. Also, go to your Safari Menu and Empty cache. Then try to log-on to Apple Discussions.
    Also, regarding the "disappearing" effect, try Safari from another User Account.
    Here is guidance from Apple on how to set up the account. You can ignore step 7 in the article.
    Also, on the system preference>Accounts panel, click on "log-in" options. There, select "fast user switching". This allows you to go back and forth between user accounts via an icon in your Menu Bar at the top of the computer screen.
    Log-on to the new account and start Safari. If Safari is stable in the new account, then your problem is specific to your regular user account. Otherwise, similar response means a system-wide problem.
    Post back with results.

  • Hi, i've imported some mts files from my camera on fcpx 10,04 then i erase them (also from the trash). now if i try to reimport them, the import from camera doesn't see them anymore even if i see the files in the finder. someone could help me??

    Hi, i've imported some mts files from my camera on fcpx 10,04 then i erase them (also from the trash). now if i try to reimport them, the import from camera doesn't see them anymore even if i see the files in the finder. someone could help me??
    ps
    i got a backup for the files but even if they are on the mmc, when camera is connected fcpx doesn't see them. if i try to import a new shoot it works!!

    Thx a lot Salty. As you suggest I found other staff on support pages. I deleted AVCHD structure and kept only .mts... Now what I need to do is to convert those files with handbrake or similar tool in .mp4 or .mov to make them digest to FCPX.

  • Import from database

    Hi all,
    I am trying to import (schema+data) from another database by using Enterprise Manager 10g ( http://host:portno/em ). But i am getting only schema.
    how to get data also.

    I am not exporting data from file. Directly from data base by using Import from Database in Oracle Enterprise Manager 10g.
    I created Database Link and selected import type as database.Any help?
    Thankyou

  • HT204022 Can't seem to get rid of any photos in Photo Stream from my iMac.  Following instructions from Apple doesn't work!

    Can't seem to get rid of any photos in Photo Stream from my iMac.  Following instructions from Apple doesn't work!

    You need to update iPhoto.  The latest version is 9.4.2. 
    To do your updates, do the following: 
    Software Updates
    How to do software updates via the apple menu - http://support.apple.com/kb/ht1338. - is a link to Apples article on updating the software on your computer
    How to do software updates via the App's store - PH2730 - Mac App Store: Update applications and http://support.apple.com/kb/HT4710.
    If you need info on your apple ID -
    You can visit the Apple ID Support page - http://www.apple.com/support/appleid/ - to learn more about your Apple ID, or visit the - Apple ID Frequently asked questions page - http://support.apple.com/kb/HE37.

  • Import from Database - how to restrict the list of schemas

    This may be more of a general Oracle question, but the problem is showing up in OBIEE, so...
    When running an Import from Database in the repository tool, I see a lot of schemas listed in the data source pane, like APEX_030200, CTXSYS, MDSYS, OLAPSYS, PUBLIC, SYS, and SYSTEM, in addition to the schema that I've used for the connection (TRAINING). There are a lot of other schemas in the database that are NOT shown in the import dialog.
    Question 1: What's special about the schemas that I've mentioned above that causes them to always show up in the import dialog?
    Question 2: How can I eliminate them from the import dialog, so that I see one and only one schema - TRAINING? What privileges or roles must I grant or revoke so that when my connecion pool uses the TRAINING schema, then TRAINING is the only schema listed on the import dialog?
    Thanks!

    to see the list of schemas
    select username from dba_users
    select distinct owner from dba_tables;{code}to know on which DB you are
    {code:java}select instance_name from v$instance;{code}
    Edited by: Leo Anderson on 7 sept. 2008 19:37                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • "Exclude page from menu" doesn't work

    Choosing Page > Page Properties > Menu Options > Exclude page from menus doesn't work for me in the current release. Anybody else having this problem?

    Humm?
    Just tested both your process and again by going to Plan View > rt-click on page >  Menu Options and both instantly remove the page.
    Have you tried just making  simple/quick test site with 2-3 pages and trying? 
    Maybe somthing in your site and not in Muse that's causing the issue.

  • Requirements to work on Web DynPro for ABAP

    hi all,
    what is it required to work on Web DynPro for ABAP. i have got ECC 5.0 installed in my system but i dont find "WebDynpro Comp/Intf" under the "Repository Browser" in SE80(ABAP WorkBech).
    How should i proceed further??
    waiting for replies...
    Regards,
    Ajay

    Hi,
    for Web Dynpro ABAP you need NW2004s and AS ABAP, see http://help.sap.com/saphelp_nw2004s/helpdata/en/43/e86de5008b4d9ae10000000a155369/frameset.htm
    Regards, Heidi

  • Environment for working with web dynpro

    Hi All,
    I am new to web Dynpro and would like to work on this. Please let me know what software i need to install to work on web dynpro. PLease provide all the necessary information.
    Thanks,
    Ramana Kishore.

    Hi.  THere are two flavors of webdynpo, you have the java side, and the ABAP side?  Which do you want to work with? 
    For the java side, you will need to download and install a Netweaver Sneak Preview Java system as well as the Netweaver Developer Studio.  The studio is the IDE which you will use to create your webdynpro applications, you then deploy to this java system to run the app.
    For the ABAP side, you will need to download and install the Netweaver Sneak Preview ABAP system.  Of course the IDE here is SE80 in the ABAP system.  Webdynpro is built directly into SE80.
    You can download all of this good stuff here on SDN at the following link.
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/cfc19866-0401-0010-35b2-dc8158247fb6
    The ABAP system is on the far right.
    You can also check out the help on both.
    http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
    Hope this helps.
    REgards
    Rich Heilman

  • Import from database an internal table with generic Type : Web Dynpro ABAP

    Hi everyone,
    i have a requirement in which i'm asked to transfer data flow between two frameworks, from WD Component to another. The problem is that i have to transfer internal tables with generic types. i used the import/ export from database approache but in that way i get an error message saying "Object references and data references not yet supported".
    Here is my code to extract a generic internal table from memory.
        DATA l_table_f4 TYPE TABLE OF REF TO data.
      FIELD-SYMBOLS: <l_table_f4> TYPE STANDARD TABLE.
      DATA lo_componentcontroller TYPE REF TO ig_componentcontroller .
      DATA: ls_indx TYPE indx.
      lo_componentcontroller =   wd_this->get_componentcontroller_ctr( ).
      lo_componentcontroller->fire_vh_search_action_evt( ).
      ASSIGN l_table_f4 TO <l_table_f4>.
    *-- Import table for Help F4
      IMPORT l_table_f4 TO <l_table_f4> FROM DATABASE indx(v1) TO ls_indx ID 'table_help_f4_ID'.
    The error message is desplayed when last instruction is executed " IMPORT l_table_f4...".
    I saw another post facing the same problem but never solved "Generic Type for import Database".
    Please can anyone help ?
    Thanks & Kind regards.

    hi KIan,
    go:
    general type
    TYPE : BEGIN OF ty_itab,
               field1 TYPE ztab-field1,
               field2 TYPE ztab-field2,
    *your own fields here:
               field TYPE i,
               field(30) TYPE c,
               END OF ty_itab.
    work area
    DATA : gw_itab TYPE ty_itab.
    internal table
    DATA : gt_itab TYPE TABLE OF ty_itab.
    hope this helps
    ec

  • Import from card doesn't seem to work

    I am watching a training video from Lynda.com on FCP X and in that video it shows that when importing media from a card as soon as the card is connected an import window pops up with many useful features.  The trouble is that that window never appears for me.  I am shooting with a Canon 5d and recording to a compact flash card.  Lemme guess, this doesn't work for the 5d?

    Andy,
    There are other recent discussions on this very topic with the 5D.  Look for them on this forum.  I own a T2i.  You can get the files, just not maybe in the way your are looking for.  The mov files that the Canon DSLRs record should be able to be brought directly in.  So, IMHO, you can simply copy the files from your card to a folder on your drive then use the FCP X File menu command to Import ... Files to get them.  Still, I am working from vague memories of what the resolution was.  Check the discussions by searching the forum for 5D.  Best wishes.
    stephen

Maybe you are looking for