Importing tutwd_mobile_init and tutwd_mobile projects in Netweaver DS

Dear All,
I am not able to find the tutwd_mobile_init and tutwd_mobile project in netweaver developer studio
and hence cannot import the same to the workspace.
please help regarding the same.
Thanks.

Hi,
I think you are referrring to the NW 2004 Tutorial found here:
/docs/DOC-8061#55 [original link is broken]
All you need to do is download the 2 files linked in that page itself:
1. Mobile Web Dynpro_Details.zip - tutwd_mobile_init - https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3068cc8a-4798-2b10-2285-d35a6c48d785
2. Mobile Web Dynpro_Code Sample.zip - tutwd_mobile - https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00fbdb95-4798-2b10-a096-b4103ea52252
Extract the folders on to your PC. Now you need to import them according to the following instrcutions found in one of the SDN SAP Teched 05 docs:
Remark: If these projects do not appear in the SAP NetWeaver Developer Studio yet you probably have to
- copy the folders "TutWD_Mobile_Init" and "TutWD_Mobile" to your Laptop/PC
- import the two projects into the workspace of your SAP NetWeaver Developer Studio
(File -> Import -> Existing Project into Workspace)
- if the rebuild (click right on project, Rebuild project) fails, "repair" the project (right click on
project, Repair -> Project Structure and Classpath)
Please mark this thread as answered and my post as solved if my post solved your query.
Regards,
Veera

Similar Messages

  • Unable to import slides and save project

    Hello Captivators,
    I have a problem. I call it a big problem. I am unable to
    import any slides from one project to another.
    I have a project with 15 slides, some with audio. And I have
    a similar project with the same number of slides.
    I wanted to import from project a to project b just two
    slides with objects. The import seems to work. I get an asterisk in
    the title bar, indicating the project has changed (added two slides
    with audio). I then attempt to save this project (under the same
    name). The screen locks, I get a permanent hourglass (using Windows
    XP on HP xw8400 workstation), and the app goe to the "not
    responding" state. and a CTRL-ALT-Delete takes several tries before
    I can kill the app(s). It also seems that I get two instances of
    the project when I try to kill the app in Task Manager.
    Anyone seen this before???
    Catbandit are you there???
    eholz1

    Haven't seen it before but a perhaps obvious thing to try is
    to save the
    project as a *different* file after importing (or maybe just
    try
    copy/paste?) in the two new slides?
    Erik
    eholz1 wrote:
    > Hello Captivators,
    >
    > I have a problem. I call it a big problem. I am unable
    to import any slides
    > from one project to another.
    > I have a project with 15 slides, some with audio. And I
    have a similar
    > project with the same number of slides.
    >
    > I wanted to import from project a to project b just two
    slides with objects.
    > The import seems to work. I get an asterisk in the title
    bar, indicating the
    > project has changed (added two slides with audio). I
    then attempt to save this
    > project (under the same name). The screen locks, I get a
    permanent hourglass
    > (using Windows XP on HP xw8400 workstation), and the app
    goe to the "not
    > responding" state. and a CTRL-ALT-Delete takes several
    tries before I can kill
    > the app(s). It also seems that I get two instances of
    the project when I try
    > to kill the app in Task Manager.
    >
    > Anyone seen this before???
    >
    > Catbandit are you there???
    >
    > eholz1
    >
    Erik Lord
    http://www.capemedia.net
    Adobe Community Expert - Authorware
    http://www.adobe.com/communities/experts/
    http://www.awaretips.net -
    samples, tips, products, faqs, and links!
    *Search the A'ware newsgroup archives*
    http://groups.google.com/group/macromedia.authorware

  • Aperture import - folder and project structure!

    Hi, everyone!
    I am a long time Picasa user, and I really enjoyed the way my imported images simply put themselves into folders in the interface, all named by date automatically. I have been trying out Aperture for some time now, and I just can´t find a good way to mimic this. There is seemingly no way for Aperture to automatically name my projects by date, unless it gets to split up some dumb album/project that I have to name myself.
    I guess what I am asking here is: Is there any way to make Aperture automatically name, keep and update the same structure under "Projects and Albums" as id does in Finder?
    And yes.. I know I should name my projects myself with sweet relevant names, but I don´t wanna! I really want everything to be sorted by date.
    My solution at the moment: Import photos using no name in projects, Aperture splits anyway, I delete project in Aperture and then I drag and drop folder from Finder.  Gahh... This is heavy work for one used to simple and obedient Picasa 
    Thanx!

    Hello,
    My solution at the moment: Import photos using no name in projects, Aperture splits anyway,
    How are your "Impert Preference" settings and "Import Settings"?
    In the Aperture -> Preferences -> Import   set the "Split Projects" Selector to the longest possible value, two weeks.
    And don't drag projects from the Finder, select them in In the "Import" Panel; 
    make sure you have all import options visible by enabling them in the "Import Settings" drop down, then uncheck: "Automatically split Projects" in the "Aperture Library Brick"
    Regards
    Léonie

  • Imported images and processed in wrong project can I transfer?

    imported images and processed in wrong project can I transfer to the correct project and delete from the incorrect project without loosing my work so far?
    ok I know similar questions have been asked but I could not find an answer using search.....so any ideas... all help is really appreciated.
    (In aperture 2)

    Sorry I er 'cough' have just dragged and dropped from one project to another, and er well you see er that seems to have done it!images removed from first project and now appear in second correct project.
    I am sure I tried that before I posted..

  • I want to import one imovie project into another one.  In other words, I have created a short sequence in iMovie 11 on one computer, and I want to import it into a project that I am working on, on another computer.

    I want to import one imovie project into another one.  In other words, I have created a short sequence in iMovie 11 on one computer, and I want to import it into a project that I am working on, on another computer.  I copied the project files onto a hard drive, and then connected that drive to the Mac that my main project is on, but when I select "import" the files are faint gray -meaning I can't select them.  Help!  I want to transfer a sequence of shots from one iMovie 11 project on one computer, into another iMovie 11 project on another computer.

    Tell me it ain't so!
    I wish I could.  The research you've done is correct.
    Wether you copy and paste or rebuild the Project from the other computer, you're going to need to get your Evnets copied from the other computer.
    The Prjoject files only contain pointer back to the original media.
    Matt

  • Updated to iMovie version 10.0 Opened it. All my clips and projects were there. Then it crashed. Now no clips no projects. If I try and import them they are dimmed. If I try and 'update projects and events' a dialogue box says no files found.

    Have macbook pro 2012, running Maverick. Updated to iMovie version 10.0 Opened it. All my clips and projects were there. Then it crashed. Now no clips no projects. If I try and import them they are dimmed. If I try and 'update projects and events' a dialogue box says no files found.
    Have tried restarting computer, no joy. Help!!

    The reply from Nerval fixed it. It is very simple and it works.
    If you have a lot of Projects and  Events, leave the iMovie running for a long time. I had 160G and it took 4hrs. It is doing it in the background so don't shutdown too quick.
    Thanks Nerval.

  • Importing an iMovie 09' project in AIC codec and reconform in FCP 7?

    So here's the issue I would like advice on...
    I have a shortform project that is partially built in iMovie 09'. The camera footage was AVCHD (from the Panasonic AG-HMC40) and was 1080p at 24 fps. It was imported into iMovie which of course converted it to the Apple Intermediate Codec (AIC)...a good codec but not as good as Apple's Pro Res HQ.
    Let's say I want to continue with this project in FCP 7 but be using the Pro Res HQ codec instead of AIC.
    Here are the steps I think I would take (please correct me if I'm wrong about this)
    1. In iMovie 09' export an XML file to Final Cut.
    2. Open that XML file in Final Cut Pro 7. I assume that edits will carry over and that the timeline will be configured for Apple Intermediate Codec in its sequence settings.
    3. I select everything in the timeline and copy all.
    4. I cut and paste into a new sequence. The sequence is still AIC but I go into the sequence settings and change it to Pro Res HQ. I do not want to render this yet.
    5. I go into the bins window of FCP and I delink the footage which then takes what was my copy of the AIC footage in the timeline offline.
    6. Using FCP's log and transfer, I reimport all my raw camera footage as Pro Res HQ. I import that into my project.
    7. Using FCP's relink footage command (???) I relink my edited footage to the new Pro Res version. No rendering should be necessary and it should play in the timeline preserving my initial edits done in iMovie. I can continue editing and building the project...with everything now in Pro Res.
    Is this the proper way to do it? Or is there a shorter method? I want to preserve the edits from iMovie but I don't want to render AIC footage into Pro Res because of the potential loss. I want to relink to all new Pro Res footage.
    Any comments you can share would be very helpful.
    Thanks,
    John

    What is the eventual output? DVD? If so, I wouldn't bother.
    fwiw - ProResHQ is a waste for AVCHD footage. ProRes HQ is intended as an intermediate for film, 4k and 2k material. ProRes LT was designed for AVCHD and HDV material.
    x

  • HP ALM 11 : Synchronis​e imported libraries and source libraries between 2 projects.

    Hi,
    I created a librarie "LA" in project "PA", i put in this library 3 reqs and covering tests.
    In the project "PB", I import the library "LA" so i now have in project "PB" a librarie "LA_imported" and the 3 reqs and covering tests from A.
    I update a req in "PB".
    I go in "PA" and i compare the librarie "LA" with the librarie "LA_imported" from project "PB".
    I see that i have a difference between "LA" and "LA_imported", but the "Synchronise" button is not clicable.
    What is the problem ?
    thanks

    The duplication is unnecessary. Exporting creates a duplicate of the file. So now you'll have a duplicate of a duplicate. Exporting is not "working on" a file.
    No it's not merging, it's exporting from one to the Finder and into another. No matter what lose something. If you export the Original you leave behind all the work you've done in iPhoto. If you export anything else, you lose the non-destructive editing and the ability to revert to the original. With merging you preserve that work. Yes, you can trash the old Library when you have completed the manoevre but no it's not the same thing as merging.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue. But in brief:
    Current gets you the iPhoto Preview, used for sharing via media browsers. It's a jpg, medium quality missing metadata. Original gets the file you imported, unchanged and then you can export different version of the current version at different qualities. If you choose to export anything except the Original you do not get a Raw. There's no such thing as an "edited Raw", and you lose the connection between the original and the exported version. That means you've taken a non-destructive workflow and turned it into a destructive one.
    The Tiff will certainly be higher qulaity and less likely to suffer generational loss in future editing but the file sizes are vast, often more than 10 times the size of the jpeg.
    Put it this way, it would be cheaper to buy Library Manager than the disk you'll need to contain all the Tiffs. Unless you plan on a lot of editing, I'd go for a high quality jpeg as a reasonable compromise.
    To be clear:
    So, I guess my new question is, how can I edit the Raw image and keep it in a RAW format that IPhoto recognizes so that I can reprocess without any loss at a future time, or is it that once you edit a RAW image, then it is no longer a RAW image?
    Once you edit a Raw it can no longer be a Raw. End of.

  • HDD crash. Need help Importing Events and Projects

    So recently my HDD crashed which had all of my footage/clips/Events/Projects on it. Luckily I had backed everything up (using copy and paste). Only problem is, when I open iMovie, none of my Projects or Events are listed. I realize that somewhere i movie just "points" to the location of the files. How can I re-associate iMovie with the files in the new location?

    So, I think I answered my own question and decided to post it here for those of you that may have a similar question. I went to import a new movie and, though it would not let me choose which subdirectory (folder) I wanted to save into, iMovie would let me choose which drive I wanted to save to. I selected my new Files drive and notice that it created a new iMovie Events folder. I thought....hmm, maybe if I just drag my original iMovie Events folder and iMovie projects folder into the root directory of the drive it will recognize them.... I closed iMovie, dragged the files from a subfolder into the new location, opened iMovie, and whalah! it worked!
    http://www.ShawnSharpPhotography.com

  • When I import audio and move it into my timeline the project will no longer play?

    When I import audio and move it into my timeline the project will no longer play?

    The audio is a .wav file created in Audacity.
    The OS is Windows XP
    The verison is CS4
    I have included images of the Sequence settings and the playback settings because I was not sure what information you would need.
    I am not sure what you mean by waiting for the Audio to conform but I know I have imported the audio and gone back the next day and tried to place it in the timeline and it still did not work.

  • What is deference & Importance "TECO" and "Project closing "

    Dear Friends,
    Friends please explain what is deference & Importance u201CTECOu201D and u201CProject closing u201C
    I have created a project I have assigned the Engineers(personal No) under WBS element u2013 Internal  Activity u2013 and I have book the time sheet against Network No., Activity No, and activity type to the personal no, with reference to time sheet I am doing the Resource Related  Billing.
    Here my doubt is after preparing the RRB request (Debit memo request) if do u201CTECOu201D If I do the invoice is system is allow me to do that, if it is allowing me is this revenues booking against the WBS element.  While doing the post incoming Payments is system accepting to do these postings.
    Regards,
    Hari

    Hi,
    checkout this link:
    http://help.sap.com/saphelp_47x200/helpdata/en/a9/8a853488601e33e10000009b38f83b/frameset.htm
    (Status Management)
    checkout this link:this will help u.
    http://www.sap-img.com/project/project-status-set-to-teco.htm
    When the status is TECO it allows you to post or transfer actual costs(actual posting) but does not allow additional commitments.
    When the status is CLSD it does not allow to post or transfer actual costs and additional commitments.
    Regards,
    Shruti.

  • I imported a COMPLETED book project into Aperture 3, only to discover that  the resolution of all the photos has been reduced to totally unacceptable levels

    I imported a COMPLETED book project into Aperture 3, only to discover that  the resolution of all the photos has been reduced to totally unacceptable levels.  Any easy solution?
    Steps:
    1. I finished an Aperture 2 (Two) book project and tried to submit it to Apple for printing. At that point I learned (belatedly, obviously) that Apple no longer accepts books from Aperture 2. I don't know how I would have known to even ask if Aperture 2 had been sunsetted as far as book projects go.
    2. So I tried to download Aperture 3 ($79.99), only to be told that I couldn't download Aperture 3.5.1 because I was still running OSX 10.8.x. So I read current reviews for OSX 10.9.x, and ...
    3. Downloaded and installed the current operating system (about a 3-hours process for me).  OSX 10.9.2, here we are!
    4. Then I returned to the Apple Store, found, and purchased Aperture 3.  [For safety's sake, it would sure be nice to have a .dmg file I could copy and file away.  I lost a perfectly legal and good copy of Adobe's Photoshop Elements 3 years ago because I wasn't smart enough to make a safety copy, and when my iMac crashed (fried electronic components), I was left with a copy of the software that wouldn't run, and couldn't be verified as legit.]
    5. When Aperture 3 finished installing, I found and imported my COMPLETED Aperture 2 book project, which import seemed to proceed nominally -- the right number of pages, the right content on those pages, that sort of thing -- until I started looking more carefully at the pictures themselves.  All of them, about 300 of them, have been imported into an Aperture 3 book project in such a reduced resolution that they are fuzzy at the size the book will be printed.  Screen-capture of just one example (at 100% viewer setting):
    I don't know what to do at this point to correct the problem, short of going through the entire book project, copy the custom captions (since those go away when you "delete" photo content), delete the photo, re-insert the photo, and paste back the custom caption.  Lather, rinse, repeat - ~300 times!  An estimated 2-3 hours of additional work.
    Or does anyone in this community know either (1) that I did something wrong in the Aperture 2-to-Aperture 3 import (I don't recall being offered any options or choices in the process); or (2) that there is a wholesale one-step solution to my problem?
    BTW, I tried to edit my "Product" info, but OSX 10.9.x is not in the pick list.  I am running OSX 10.9.2
    <Re-Titled By Host>

    Frank, thanks for your note.  I wrote "COMPLETED" because I had gone to a lot of effort to get the content of the book precisely as I wanted it. I would fully expect to see my level of effort and care matched by functional competence in Aperture 3 to render the book the way I created it.  Too much to ask?
    And yes, I upgraded the Aperture 2 Library first.  [Not ALL my tens of 000s of pix, because I use Lightroom selectively for photo editing. But Yes to the Aperture 2 Library.]  That step took a number of minutes, but seemed to work fine (no error messages of any kind).
    Then I opened the existing book project in Aperture 3, which followed some "magic-box" process that took a minute or so.  As I said, when that step was done, by all appearances the book was ready to submit for printing - until I examined the photos a little more closely.  You did see the blurry example I included, didn't you? That is what each and every photo looks like.
    Text-box content appears to have been rendered pertectly, for the record (including captions).
    So, ... is this result something you have heard of before?  Do you know of a one-step solution?  Or am I looking at an extended picture-by-picture fix?

  • PL/SQL 101 : Cursors and SQL Projection

    PL/SQL 101 : Cursors and SQL Projection
    This is not a question, it's a forum article, in reponse to the number of questions we get regarding a "dynamic number of columns" or "rows to columns"
    There are two integral parts to an SQL Select statement that relate to what data is selected. One is Projection and the other is Selection:-
    Selection is the one that we always recognise and use as it forms the WHERE clause of the select statement, and hence selects which rows of data are queried.
    The other, SQL Projection is the one that is less understood, and the one that this article will help to explain.
    In short, SQL Projection is the collective name for the columns that are Selected and returned from a query.
    So what? Big deal eh? Why do we need to know this?
    The reason for knowing this is that many people are not aware of when SQL projection comes into play when you issue a select statement. So let's take a basic query...
    First create some test data...
    create table proj_test as
      select 1 as id, 1 as rn, 'Fred' as nm from dual union all
      select 1,2,'Bloggs' from dual union all
      select 2,1,'Scott' from dual union all
      select 2,2,'Smith' from dual union all
      select 3,1,'Jim' from dual union all
      select 3,2,'Jones' from dual
    ... and now query that data...
    SQL> select * from proj_test;
             ID         RN NM
             1          1 Fred
             1          2 Bloggs
             2          1 Scott
             2          2 Smith
             3          1 Jim
             3          2 Jones
    6 rows selected.
    OK, so what is that query actually doing?
    To know that we need to consider that all queries are cursors and all cursors are processed in a set manner, roughly speaking...
    1. The cursor is opened
    2. The query is parsed
    3. The query is described to know the projection (what columns are going to be returned, names, datatypes etc.)
    4. Bind variables are bound in
    5. The query is executed to apply the selection and identify the data to be retrieved
    6. A row of data is fetched
    7. The data values from the columns within that row are extracted into the known projection
    8. Step 6 and 7 are repeated until there is no more data or another condition ceases the fetching
    9. The cursor is closed
    The purpose of the projection being determined is so that the internal processing of the cursor can allocate memory etc. ready to fetch the data into. We won't get to see that memory allocation happening easily, but we can see the same query being executed in these steps if we do it programatically using the dbms_sql package...
    CREATE OR REPLACE PROCEDURE process_cursor (p_query in varchar2) IS
      v_sql       varchar2(32767) := p_query;
      v_cursor    number;            -- A cursor is a handle (numeric identifier) to the query
      col_cnt     integer;
      v_n_val     number;            -- numeric type to fetch data into
      v_v_val     varchar2(20);      -- varchar type to fetch data into
      v_d_val     date;              -- date type to fetch data into
      rec_tab     dbms_sql.desc_tab; -- table structure to hold sql projection info
      dummy       number;
      v_ret       number;            -- number of rows returned
      v_finaltxt  varchar2(100);
      col_num     number;
    BEGIN
      -- 1. Open the cursor
      dbms_output.put_line('1 - Opening Cursor');
      v_cursor := dbms_sql.open_cursor;
      -- 2. Parse the cursor
      dbms_output.put_line('2 - Parsing the query');
      dbms_sql.parse(v_cursor, v_sql, dbms_sql.NATIVE);
      -- 3. Describe the query
      -- Note: The query has been described internally when it was parsed, but we can look at
      --       that description...
      -- Fetch the description into a structure we can read, returning the count of columns that has been projected
      dbms_output.put_line('3 - Describing the query');
      dbms_sql.describe_columns(v_cursor, col_cnt, rec_tab);
      -- Use that description to define local datatypes into which we want to fetch our values
      -- Note: This only defines the types, it doesn't fetch any data and whilst we can also
      --       determine the size of the columns we'll just use some fixed sizes for this example
      dbms_output.put_line(chr(10)||'3a - SQL Projection:-');
      for j in 1..col_cnt
      loop
        v_finaltxt := 'Column Name: '||rpad(upper(rec_tab(j).col_name),30,' ');
        case rec_tab(j).col_type
          -- if the type of column is varchar2, bind that to our varchar2 variable
          when 1 then
            dbms_sql.define_column(v_cursor,j,v_v_val,20);
            v_finaltxt := v_finaltxt||' Datatype: Varchar2';
          -- if the type of the column is number, bind that to our number variable
          when 2 then
            dbms_sql.define_column(v_cursor,j,v_n_val);
            v_finaltxt := v_finaltxt||' Datatype: Number';
          -- if the type of the column is date, bind that to our date variable
          when 12 then
            dbms_sql.define_column(v_cursor,j,v_d_val);
            v_finaltxt := v_finaltxt||' Datatype: Date';
          -- ...Other types can be added as necessary...
        else
          -- All other types we'll assume are varchar2 compatible (implicitly converted)
          dbms_sql.DEFINE_COLUMN(v_cursor,j,v_v_val,2000);
          v_finaltxt := v_finaltxt||' Datatype: Varchar2 (implicit)';
        end case;
        dbms_output.put_line(v_finaltxt);
      end loop;
      -- 4. Bind variables
      dbms_output.put_line(chr(10)||'4 - Binding in values');
      null; -- we have no values to bind in for our test
      -- 5. Execute the query to make it identify the data on the database (Selection)
      -- Note: This doesn't fetch any data, it just identifies what data is required.
      dbms_output.put_line('5 - Executing the query');
      dummy := dbms_sql.execute(v_cursor);
      -- 6.,7.,8. Fetch the rows of data...
      dbms_output.put_line(chr(10)||'6,7 and 8 Fetching Data:-');
      loop
        -- 6. Fetch next row of data
        v_ret := dbms_sql.fetch_rows(v_cursor);
        -- If the fetch returned no row then exit the loop
        exit when v_ret = 0;
        -- 7. Extract the values from the row
        v_finaltxt := null;
        -- loop through each of the Projected columns
        for j in 1..col_cnt
        loop
          case rec_tab(j).col_type
            -- if it's a varchar2 column
            when 1 then
              -- read the value into our varchar2 variable
              dbms_sql.column_value(v_cursor,j,v_v_val);
              v_finaltxt := ltrim(v_finaltxt||','||rpad(v_v_val,20,' '),',');
            -- if it's a number column
            when 2 then
              -- read the value into our number variable
              dbms_sql.column_value(v_cursor,j,v_n_val);
              v_finaltxt := ltrim(v_finaltxt||','||to_char(v_n_val,'fm999999'),',');
            -- if it's a date column
            when 12 then
              -- read the value into our date variable
              dbms_sql.column_value(v_cursor,j,v_d_val);
              v_finaltxt := ltrim(v_finaltxt||','||to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS'),',');
          else
            -- read the value into our varchar2 variable (assumes it can be implicitly converted)
            dbms_sql.column_value(v_cursor,j,v_v_val);
            v_finaltxt := ltrim(v_finaltxt||',"'||rpad(v_v_val,20,' ')||'"',',');
          end case;
        end loop;
        dbms_output.put_line(v_finaltxt);
        -- 8. Loop to fetch next row
      end loop;
      -- 9. Close the cursor
      dbms_output.put_line(chr(10)||'9 - Closing the cursor');
      dbms_sql.close_cursor(v_cursor);
    END;
    SQL> exec process_cursor('select * from proj_test');
    1 - Opening Cursor
    2 - Parsing the query
    3 - Describing the query
    3a - SQL Projection:-
    Column Name: ID                             Datatype: Number
    Column Name: RN                             Datatype: Number
    Column Name: NM                             Datatype: Varchar2
    4 - Binding in values
    5 - Executing the query
    6,7 and 8 Fetching Data:-
    1     ,1     ,Fred
    1     ,2     ,Bloggs
    2     ,1     ,Scott
    2     ,2     ,Smith
    3     ,1     ,Jim
    3     ,2     ,Jones
    1     ,3     ,Freddy
    1     ,4     ,Fud
    9 - Closing the cursor
    PL/SQL procedure successfully completed.
    So, what's really the point in knowing when SQL Projection occurs in a query?
    Well, we get many questions asking "How do I convert rows to columns?" (otherwise known as a pivot) or questions like "How can I get the data back from a dynamic query with different columns?"
    Let's look at a regular pivot. We would normally do something like...
    SQL> select id
      2        ,max(decode(rn,1,nm)) as nm_1
      3        ,max(decode(rn,2,nm)) as nm_2
      4  from proj_test
      5  group by id
      6  /
            ID NM_1   NM_2
             1 Fred   Bloggs
             2 Scott  Smith
             3 Jim    Jones
    (or, in 11g, use the new PIVOT statement)
    but many of these questioners don't understand it when they say their issue is that, they have an unknown number of rows and don't know how many columns it will have, and they are told that you can't do that in a single SQL statement. e.g.
    SQL> insert into proj_test (id, rn, nm) values (1,3,'Freddy');
    1 row created.
    SQL> select id
      2        ,max(decode(rn,1,nm)) as nm_1
      3        ,max(decode(rn,2,nm)) as nm_2
      4  from proj_test
      5  group by id
      6  /
            ID NM_1   NM_2
             1 Fred   Bloggs
             2 Scott  Smith
             3 Jim    Jones
    ... it's not giving us this 3rd entry as a new column and we can only get that by writing the expected columns into the query, but then what if more columns are added after that etc.
    If we look back at the steps of a cursor we see again that the description and projection of what columns are returned by a query happens before any data is fetched back.
    Because of this, it's not possible to have the query return back a number of columns that are based on the data itself, as no data has been fetched at the point the projection is required.
    So, what is the answer to getting an unknown number of columns in the output?
    1) The most obvious answer is, don't use SQL to try and pivot your data. Pivoting of data is more of a reporting requirement and most reporting tools include the ability to pivot data either as part of the initial report generation or on-the-fly at the users request. The main point about using the reporting tools is that they query the data first and then the pivoting is simply a case of manipulating the display of those results, which can be dynamically determined by the reporting tool based on what data there is.
    2) The other answer is to write dynamic SQL. Because you're not going to know the number of columns, this isn't just a simple case of building up a SQL query as a string and passing it to the EXECUTE IMMEDIATE command within PL/SQL, because you won't have a suitable structure to read the results back into as those structures must have a known number of variables for each of the columns at design time, before the data is know. As such, inside PL/SQL code, you would have to use the DBMS_SQL package, just like in the code above that showed the workings of a cursor, as the columns there are referenced by position rather than name, and you have to deal with each column seperately. What you do with each column is up to you... store them in an array/collection, process them as you get them, or whatever. They key thing though with doing this is that, just like the reporting tools, you would need to process the data first to determine what your SQL projection is, before you execute the query to fetch the data in the format you want e.g.
    create or replace procedure dyn_pivot is
      v_sql varchar2(32767);
      -- cursor to find out the maximum number of projected columns required
      -- by looking at the data
      cursor cur_proj_test is
        select distinct rn
        from   proj_test
        order by rn;
    begin
      v_sql := 'select id';
      for i in cur_proj_test
      loop
        -- dynamically add to the projection for the query
        v_sql := v_sql||',max(decode(rn,'||i.rn||',nm)) as nm_'||i.rn;
      end loop;
      v_sql := v_sql||' from proj_test group by id order by id';
      dbms_output.put_line('Dynamic SQL Statement:-'||chr(10)||v_sql||chr(10)||chr(10));
      -- call our DBMS_SQL procedure to process the query with it's dynamic projection
      process_cursor(v_sql);
    end;
    SQL> exec dyn_pivot;
    Dynamic SQL Statement:-
    select id,max(decode(rn,1,nm)) as nm_1,max(decode(rn,2,nm)) as nm_2,max(decode(rn,3,nm)) as nm_3 from proj_test group by id order by id
    1 - Opening Cursor
    2 - Parsing the query
    3 - Describing the query
    3a - SQL Projection:-
    Column Name: ID                             Datatype: Number
    Column Name: NM_1                           Datatype: Varchar2
    Column Name: NM_2                           Datatype: Varchar2
    Column Name: NM_3                           Datatype: Varchar2
    4 - Binding in values
    5 - Executing the query
    6,7 and 8 Fetching Data:-
    1     ,Fred                ,Bloggs              ,Freddy
    2     ,Scott               ,Smith               ,
    3     ,Jim                 ,Jones               ,
    9 - Closing the cursor
    PL/SQL procedure successfully completed.
    ... and if more data is added ...
    SQL> insert into proj_test (id, rn, nm) values (1,4,'Fud');
    1 row created.
    SQL> exec dyn_pivot;
    Dynamic SQL Statement:-
    select id,max(decode(rn,1,nm)) as nm_1,max(decode(rn,2,nm)) as nm_2,max(decode(rn,3,nm)) as nm_3,max(decode(rn,4,nm)) as nm_4 from proj_test group by id order by id
    1 - Opening Cursor
    2 - Parsing the query
    3 - Describing the query
    3a - SQL Projection:-
    Column Name: ID                             Datatype: Number
    Column Name: NM_1                           Datatype: Varchar2
    Column Name: NM_2                           Datatype: Varchar2
    Column Name: NM_3                           Datatype: Varchar2
    Column Name: NM_4                           Datatype: Varchar2
    4 - Binding in values
    5 - Executing the query
    6,7 and 8 Fetching Data:-
    1     ,Fred                ,Bloggs              ,Freddy              ,Fud
    2     ,Scott               ,Smith               ,                    ,
    3     ,Jim                 ,Jones               ,                    ,
    9 - Closing the cursor
    PL/SQL procedure successfully completed.
    Of course there are other methods, using dynamically generated scripts etc. (see Re: 4. How do I convert rows to columns?), but the above simply demonstrates that:-
    a) having a dynamic projection requires two passes of the data; one to dynamically generate the query and another to actually query the data,
    b) it is not a good idea in most cases as it requires code to handle the results dynamically rather than being able to simply query directly into a known structure or variables, and
    c) a simple SQL statement cannot have a dynamic projection.
    Most importantly, dynamic queries prevent validation of your queries at the time your code is compiled, so the compiler can't check that the column names are correct or the tables names, or that the actual syntax of the generated query is correct. This only happens at run-time, and depending upon the complexity of your dynamic query, some problems may only be experienced under certain conditions. In effect you are writing queries that are harder to validate and could potentially have bugs in them that would are not apparent until they get to a run time environment. Dynamic queries can also introduce the possibility of SQL injection (a potential security risk), especially if a user is supplying a string value into the query from an interface.
    To summarise:-
    The projection of an SQL statement must be known by the SQL engine before any data is fetched, so don't expect SQL to magically create columns on-the-fly based on the data it's retrieving back; and, if you find yourself thinking of using dynamic SQL to get around it, just take a step back and see if what you are trying to achieve may be better done elsewhere, such as in a reporting tool or the user interface.
    Other articles in the PL/SQL 101 series:-
    PL/SQL 101 : Understanding Ref Cursors
    PL/SQL 101 : Exception Handling

    excellent article. However there is one thing which is slightly erroneous. You don't need a type to be declared in the database to fetch the data, but you do need to declare a type;
    here is one of my unit test scripts that does just that.
    DECLARE
    PN_CARDAPPL_ID NUMBER;
    v_Return Cci_Standard.ref_cursor;
    type getcardapplattrval_recordtype
    Is record
    (cardappl_id ci_cardapplattrvalue.cardappl_ID%TYPE,
    tag ci_cardapplattrvalue.tag%TYPE,
    value ci_cardapplattrvalue.value%TYPE
    getcardapplattrvalue_record getcardapplattrval_recordtype;
    BEGIN
    PN_CARDAPPL_ID := 1; --value must be supplied
    v_Return := CCI_GETCUSTCARD.GETCARDAPPLATTRVALUE(
    PN_CARDAPPL_ID => PN_CARDAPPL_ID
    loop
    fetch v_return
    into getcardapplattrvalue_record;
    dbms_output.put_line('Cardappl_id=>'||getcardapplattrvalue_record.cardappl_id);
    dbms_output.put_line('Tag =>'||getcardapplattrvalue_record.tag);
    dbms_output.put_line('Value =>'||getcardapplattrvalue_record.value);
    exit when v_Return%NOTFOUND;
    end loop;
    END;

  • FCPX: How to import, transcode and keep an Event on an external drive

    I was given 300 GB of media files, mostly Quicktime movies, on a read-only NTFS format Lacie drive. I tried importing into FCPX, checked the optimized and proxy transcoding options as well as import folders as Keyword Collections option, and it took hours for less than 1/3 of the media to render, then I got a warning that my startup disc was almost full.
    I assume the best thing to do is start over, and move my files to another read-and-write drive so that I can keep the transcoded files off my Mac.
    But my main question concerns the FCPX Events folder:
    If all media and other project-related info is stored in the Events folder on my Mac, how can I keep the transcoded media on an external drive? Do I just uncheck “Copy files to Final Cut Events folder” in the Import dialog? (If I uncheck it, where are the transcoded files copied to, and how are they organized? What stays in the Events folder on the Mac, and what goes on the external drive?)
    Also, should I not bother transcoding, or just select one of the options (which one, and why?) I’m editing a 12-15 minute narrative film – mostly cuts, probably no effects, but will color correct and add titles and sound fx/music.
    Any insight for this process, as well as practical advice, would be greatly appreciated, as I’m trying to fully understand and start off the right way before I dive into this edit. Thanks in advance! 

    I would create a new Event in FCPX first so that I can choose which drive those files are going to end up on.
    Then, Import your files.  Choose the Event they should be Imported to.  If you want it to copy the files to that Event onto the drive it was created on, then choose Copy Files to Events Folder.  It will only copy, not just move the files.  If you are copying them onto your MBP's hard drive...yeah, that's probably going to fill up unless you've upgraded that drive.  And yes, 300GB of media can take a while to process and copy, especially if you are Optimizing and creating Proxies.
    In my experience, Optimized files can get fairly large I'm not sure of the percentage) and Proxy files have ended up about 1/2 the size of the originals.  If you are creating Optimized files, Proxy files, AND copying the original media...you have three versions of the files and that 300GB may end up being about 1TB that FCPX is creating.
    If you want to work primarily with proxies, I would NOT copy the original file, but I would have FCPX create the proxies in the Event folder on your hard drive.  If you just gotta have Optimized files for your final output...I would wait until you are ready for output to create those.  If you only have the Proxy files on your laptop, with the original files on their original drive, then it should only take up 150-200GB on your laptop hard drive.  At that point, you can leave FCPX in proxy mode (got to FCXP>Preferences>Playback>Use proxy files
    If you detach the external hard drive, the original files will show up as missing, but proxy mode should recognize the Proxy files in the Event folder.
    If you still want to create Optimized files, Proxy files and copy the Original Media, get a separate external drive that will have the room you need and one you can edit from.
    For large projects where I have a lot of footage, I edit and add effects in Proxy mode and then switch to Original/Optimized>Highest Quality for final color grading, rendering and exporting.
    Hope that helps!  al the best!

  • Import package from one project into another

    Hello everyone,
    I have some projects.
    An enterprise and war project created in netbeans.
    I would like to use some files from one project to another. when I import
    the package I get the error-
    'package x does not exist'
    I have added the package to the project but I still get the error.
    I have also added the project to import to my glasspath but still.
    E.g.
    set classpath
    .;c:\enterpriseA;
    My next idea is to create a war project into my enterprise project and copy the files
    from the war project into it in order to use it. But I'm sure there is a better way.
    THanking you in advance.
    eve
    Edited by: evepokua on Nov 22, 2009 1:44 PM

    One mistake I keep making is that I don't add the package to the
    Dependencies of the plugin I'm writing. You have to go to plugin.xml,
    and add the package you depend on to the Dependencies section. Maybe you
    didn't do this?
    Michael
    nasti wrote:
    > Hello everybody!
    > I am new user of osgi and eclipse. I tried to do some of Oscar examples
    > but I had some problems. Namely, the problem in import of package from
    > one project into another in Eclipse.
    > I add first project to the Build Path of the second one.
    > I add to the first project manifest line: Export-Package example2.service.
    > I add to the second project manifest line: Import-Package example2.service.
    > But when I tried to execute these bundles the
    > java.lang.NoClassDefFoundError was occurred. May be you will help me
    > with this problem.
    > Thanks....
    >
    >

Maybe you are looking for

  • Installation from Hard Disk (HD) Partition

    hi has anyone successfully installed this distro from a hard drive partition, or is there a relevent wiki? i am trying to install on a machine with no working USB or CD/DVD.  machine has windows 7 (need to keep), 1 HD, several partitions and grub4dos

  • Lost 30-40 gigs of files and settings

    Today I suddenly lost a lot of files on my MacBook Pro 5,1. Examples of what I have lost: Files: All files on desktop exept one. No folders lost All files in the default images folder. No folders lost Settings lost: Dock is back to default No image a

  • PSE ver 4   Thumbnail size in Editor ?

    When opening a file and changing the file from "List" to "Thumbnails", the thumbnails are very small - perhaps as small as 60 x 60 and very hard to work with. How can I increase the size of the thumbnails? I cannot find a solution in either Help or i

  • Color calibration issue.

    System w7 64bit, hp z3100 24in up to date everything.  Printer is connected via network. Issue- We are having issues getting the printer to match the monitors colors after upgrading the new drivers.  Specifically the hue and brightness are off.  The

  • Need help with a linelist...

    ok here it is. I wanna make a list on java, it can be just text no graphivs needed. the thing is that i wanna make it like a line for example a car line, and that I got like two car lines and first one of them let a car go and then its the other line