Splitting Long Table Into Shorter Ones

I have a very long table in Pages and now I need to add a little text in between some of the rows.  Is there any way to split the table into a bunch of smaller ones where I need to?  Or am I going to have to recreate each new table individually somehow...?!
Thanks so much for any help!

You could insert a row and put your text where you want it,
or
Duplicate the table and delete the parts you don't want.
Peter

Similar Messages

  • Ask split long text into two line into same cell for ALV

    Dear All,
    Is it possible split long text into two line into same cell for ALV display data?
    Regards,
    Luke
    Moderator message: please search for information before asking.
    Edited by: Thomas Zloch on Feb 24, 2011 10:12 AM

    Keep options: Select the paragraph, then CtrlAltK (Mac: CmdOptK, I
    think).
    If you want the paragraphs in pairs, create two paragraph styles. Style
    A has keep options set to start on a new page, and also, its Next Style
    is style B.
    Style B has no keep options, but it's Next Style is Style A.
    Select all the text.
    From the flyout menu of the paragraph styles palette, apply Style A
    "then next style."
    Now all paragraphs will be alternating -- style A, style B, style A, etc.
    Now do what I wrote initially, and you'll have pairs of paragraph in
    separate text frames.

  • Oracle rownum usage for splitting a Table into two equal parts.

    Hi All,
    I have a table which has like 1.2 billion records and i would have to split the table in two parts for my Archiving needs.Unfortunately that table does not have any unique key or primary key or data stamp which i can rely for.
    I would have to use the rownum concept to divide the table.
    I am using the below
    SELECT * FROM (SELECT ENAME, SAL FROM EMP ORDER BY SAL DESC) WHERE ROWNUM < 5000000;
    But the problem is that the table is taking forever to retrieve as it has to do a order by and then retrieve the data as per the where clause.
    The question i have is that instead of using a orderby clause to get the same rownum for the row every time, can i directly rely on the fact that the database is read only and the Rownum would remain same even without oder by clause....
    Thanks....

    WARNING! There is a bug in the code, see EDIT: at bottom of post for details
    Justin,
    It makes sense that Oracle could order over rowid without sorting, but I see a sort in the explain plan:
    SQL> create table t as select 1 as data
      2  from all_objects
      3  where rownum <= 100000;
    Table created.
    SQL> explain plan for select *
      2  from (select t.*, row_number() over (order by rowid) rn from t)
      3  where rn < 50000;
    Explained.
    SQL> select * from table(DBMS_XPLAN.DISPLAY);
    PLAN_TABLE_OUTPUT
    Plan hash value: 327232321
    | Id  | Operation                | Name | Rows  | Bytes |TempSpc| Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT         |      | 99651 |  2530K|       |   489   (3)| 00:00:07 |
    |*  1 |  VIEW                    |      | 99651 |  2530K|       |   489   (3)| 00:00:07 |
    |*  2 |   WINDOW SORT PUSHED RANK|      | 99651 |  2432K|  7056K|   489   (3)| 00:00:07 |
    |   3 |    TABLE ACCESS FULL     | T    | 99651 |  2432K|       |    31   (7)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("RN"<50000)
       2 - filter(ROW_NUMBER() OVER ( ORDER BY ROWID)<50000)875820,
    What are you doing with the results of the select to archive the table in two pieces? If the archive is in the DB in two seperate tables, multi table insert would be an option:
    SQL> create table archive_1 (data number);
    Table created.
    SQL> create table archive_2 (data number);
    Table created.
    SQL> explain plan for insert when mod(rn, 2) = 0 then into archive_2 (data) values (data)
      2  else into archive_1 (data) values(data)
      3  select rownum as rn, data
      4  from t;
    Explained.
    SQL> select * from table(DBMS_XPLAN.DISPLAY);
    PLAN_TABLE_OUTPUT
    Plan hash value: 828723766
    | Id  | Operation             | Name      | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | INSERT STATEMENT      |           | 99651 |  2530K|    31   (7)| 00:00:01 |
    |   1 |  MULTI-TABLE INSERT   |           |       |       |            |          |
    |   2 |   INTO                | ARCHIVE_2 |       |       |            |          |
    |   3 |   INTO                | ARCHIVE_1 |       |       |            |          |
    |   4 |    VIEW               |           | 99651 |  2530K|    31   (7)| 00:00:01 |
    |   5 |     COUNT             |           |       |       |            |          |
    |   6 |      TABLE ACCESS FULL| T         | 99651 |  1265K|    31   (7)| 00:00:01 |
    SQL> insert when mod(rn, 2) = 0 then into archive_2 (data) values (data)
      2  else into archive_1 (data) values(data)
      3  select rownum as rn, data
      4  from t;
    100000 rows created.Another option would be to use the last digit of rowid to split the table into two groups, but they will not be equal sized.
    SQL> explain plan for select *
      2  from t
      3  where substr(rowid, length(rowid), 1) = upper(substr(rowid, length(rowid), 1))
      4  or substr(rowid, length(rowid), 1) in ('0', '1', '2', '3', '4');
    Explained.
    SQL> select * from table(DBMS_XPLAN.DISPLAY);
    PLAN_TABLE_OUTPUT
    Plan hash value: 2153619298
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      | 59025 |  1441K|    98  (71)| 00:00:02 |
    |*  1 |  TABLE ACCESS FULL| T    | 59025 |  1441K|    98  (71)| 00:00:02 |
    Predicate Information (identified by operation id):
       1 - filter(SUBSTR(ROWIDTOCHAR(ROWID),LENGTH(ROWIDTOCHAR(ROWID)),1)='0
                  ' OR SUBSTR(ROWIDTOCHAR(ROWID),LENGTH(ROWIDTOCHAR(ROWID)),1)='1' OR
                  SUBSTR(ROWIDTOCHAR(ROWID),LENGTH(ROWIDTOCHAR(ROWID)),1)='2' OR
                  SUBSTR(ROWIDTOCHAR(ROWID),LENGTH(ROWIDTOCHAR(ROWID)),1)='3' OR
                  SUBSTR(ROWIDTOCHAR(ROWID),LENGTH(ROWIDTOCHAR(ROWID)),1)='4' OR
                  SUBSTR(ROWIDTOCHAR(ROWID),LENGTH(ROWIDTOCHAR(ROWID)),1)=UPPER(SUBSTR(ROW
                  IDTOCHAR(ROWID),LENGTH(ROWIDTOCHAR(ROWID)),1)))
    Note
       - dynamic sampling used for this statement
    23 rows selected.
    SQL> explain plan for select *
      2  from t
      3  where substr(rowid, length(rowid), 1) <> upper(substr(rowid, length(rowid), 1))
      4  and substr(rowid, length(rowid), 1) not in ('0', '1', '2', '3', '4');
    Explained.
    SQL> select * from table(DBMS_XPLAN.DISPLAY);
    PLAN_TABLE_OUTPUT
    Plan hash value: 2153619298
    | Id  | Operation         | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |      | 40627 |   991K|    41  (30)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| T    | 40627 |   991K|    41  (30)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter(SUBSTR(ROWIDTOCHAR(ROWID),LENGTH(ROWIDTOCHAR(ROWID)),1)<>'
                  0' AND SUBSTR(ROWIDTOCHAR(ROWID),LENGTH(ROWIDTOCHAR(ROWID)),1)<>'1' AND
                  SUBSTR(ROWIDTOCHAR(ROWID),LENGTH(ROWIDTOCHAR(ROWID)),1)<>'2' AND
                  SUBSTR(ROWIDTOCHAR(ROWID),LENGTH(ROWIDTOCHAR(ROWID)),1)<>'3' AND
                  SUBSTR(ROWIDTOCHAR(ROWID),LENGTH(ROWIDTOCHAR(ROWID)),1)<>'4' AND
                  SUBSTR(ROWIDTOCHAR(ROWID),LENGTH(ROWIDTOCHAR(ROWID)),1)<>UPPER(SUBSTR(RO
                  WIDTOCHAR(ROWID),LENGTH(ROWIDTOCHAR(ROWID)),1)))
    Note
       - dynamic sampling used for this statement
    23 rows selected.
    SQL> select count(*)
      2  from t
      3  where substr(rowid, length(rowid), 1) = upper(substr(rowid, length(rowid), 1))
      4  or substr(rowid, length(rowid), 1) in ('0', '1', '2', '3', '4');
      COUNT(*)
         59242
    SQL> select count(*)
      2  from t
      3  where substr(rowid, length(rowid), 1) <> upper(substr(rowid, length(rowid), 1))
      4  and substr(rowid, length(rowid), 1) not in ('0', '1', '2', '3', '4');
      COUNT(*)
         40758
    EDIT:
    I realized that I screwed up above. In hind sight I don't know what I was thinking. I was attempting to use X = upper(X) to find the upper case characters A-Z. So the two queries to split rows based on the last character of rowid are not right. I don't have time to fix now, but wanted to leave a note of warning.
    Edited by: Shannon Severance on Jul 29, 2011 1:34 AM

  • Need to split long movie into many clips to edit video

    I upgraded to iMovie 11 from iMovie HD 6...it was a long wait to get audio and video editing that was at least as good as HD 6. We had some 40 year old Super 8 movies digitized and used HD 6 to split them into clips so I could edit parts that were almost black, or some almost totally blown out. I realized that this could probably be done better with 11, so purchased it, but couldn't import the HD 6 clips. Was told I had to export the whole movie as a single clip, then import into 11 and break them apart again to edit.
    While I was proficient in HD 6 enough to produce some good stuff, iMovie 11 is befuddling to me, which is a surprise since I do fine with the latest iPhoto, which uses similar terms and processes. I have ordered David Pogue's book; while waiting for it to arrive, my main question is: how do I split this 75 minute movie into multiple clips for editing purposes? Apparently splitting can only be done in the project library, and apparently 11 will only let you split into 2 or 3 clips???
    Thanks for any help.

    First, you may not need to spit the event clips at all. You can select short bits of the long event clip and drag it into your project as you wish.
    Having said that, there are good reasons to split event clips. For example, the 75 minute movie may contain many logical events that you wish to split out by date. In this case, iMovie 11 can do it, but I would not recommend it. It is a slow process and is prone to error.
    I would recomment that you use a free app called MPEG Streamclip from Squared Five (google it).
    To use MPEG Streamclip, drag your long clip into MPEG Streamclip.
    Then, move the cursor to the "in" point of the clip, and press i. Move the cursor to the "Out" point of the clip, and press o. Then, FILE/EXPORT TO QUICKTIME (or FILE/EXPORT TO DV if it is DV). Then repeat until you have done this for all clips you want.
    If you know the date and or time of the footage, name your file
    clip-yyyy-mm-dd hh;mm;ss
    (let mpeg streamclip provide the extension). This will provide metadata that iMovie will use to put the event in the right year and month.
    When finished splitting your long clip, import into iMovie by using FILE/IMPORT...MOVIE

  • Split long video into small 15 second clips

    Hi, I have a long video (7 minutes) I would like to upload to Instagram. Since they only takes 15 second clip, I would like to split my video into small clips. How can do it easily with iMovie?
    Thanks,
    fireman

    First, you may not need to spit the event clips at all. You can select short bits of the long event clip and drag it into your project as you wish.
    Having said that, there are good reasons to split event clips. For example, the 75 minute movie may contain many logical events that you wish to split out by date. In this case, iMovie 11 can do it, but I would not recommend it. It is a slow process and is prone to error.
    I would recomment that you use a free app called MPEG Streamclip from Squared Five (google it).
    To use MPEG Streamclip, drag your long clip into MPEG Streamclip.
    Then, move the cursor to the "in" point of the clip, and press i. Move the cursor to the "Out" point of the clip, and press o. Then, FILE/EXPORT TO QUICKTIME (or FILE/EXPORT TO DV if it is DV). Then repeat until you have done this for all clips you want.
    If you know the date and or time of the footage, name your file
    clip-yyyy-mm-dd hh;mm;ss
    (let mpeg streamclip provide the extension). This will provide metadata that iMovie will use to put the event in the right year and month.
    When finished splitting your long clip, import into iMovie by using FILE/IMPORT...MOVIE

  • How do I make a long table fit on one page?

    I do a community newsletter, one page of which is a directory of residents. On this page, I have a table with 3 columns: name, address, and phone. There are 61 rows, which is too big to fit on an 8 ½ x 11 page. As people move in and out, I need to be able to change the name for the particular address and re-sort by name. Retaining this ability, how can I make this fit on one page? Ideally, I would be able to "break" the table into two parts of 30/31 rows each, with each part side by side on the 8 ½ x 11 page. I can't find a way to do this. Any help would be appreciated. I am working in Yosemite 10.10.1, and Pages 5.5.1. I have also created a Numbers 3.5 version of this table, but still cannot find a way to do what I want to do.

    Hi Saundra,
    Do you have to print it, or are you sending this out via E-mail/PDF?
    The fix below, should work, either way:
    If you are actually not printing it, and are E-mailing/posting online, Export as PDF, and E-mail address will still be active...
    If it must fit on a smaller page, for printing or for whatever reason, drag the aforementioned PDF into a 8.5 x 11 document, open Inspecter to Metrics, click to not constrain proportions, resize to fit then Export again as a PDF. The E-mail addresses will remain active. Here's screenshot of one with 61 rows, I made in less that 2 minutes as a mock-up. Links/E-mail still works.
    Luck!
    Lena

  • Editing long clips into short clips and naming them differently

    I've got a long clip that I'm trying to break up into lots of shorter clips and give different names to. So I loaded the clip into the timeline, press Control-V where I want to cut, and then drag that clip back into the Browser. But every time I drag a new one to the Browser and rename it, the names of the other clips change to be the same as the just-named clip.
    What am I doing wrong? What's the easiest way to do what I'm trying to do?
    TIA
    G5 Quad @ 2.5gHz - 4.5g RAM   Mac OS X (10.3.7)  

    RE: timecode when capturing.
    Timecode is always captured (DV in this case) as long as you do not use 'non-controllable device' as the capture protocol. When you use 'non-controllable device' no timecode is delivered even if it did exist on the tape.
    Put another way, if there is TC on the tape, Capture Now will bring it in as long as you have 'Firewire' or 'Firewire Basic' (whichever is appropriate for your capture device) selected.
    There is one other way to capture full tapes and still get individual editable clips (and I HATE subclips ...). Squarebox makes a simple app called Live Capture Plus that will capture a complete tape in one pass then break the resulting large file into individual clips based on start/stop detection. It works quite handily and will allow you save your drive mechanism if you are using your camera as a deck (and Canons are not known for robust tape subsystems). If you combine LCP with CatDV you have a robust cataloging system as well.
    Good luck.
    x

  • Error when splitting a Table into two columns - Please help!

    Hi!
    I have created a table in which I have created a header which has been split into 3 parts conisting of 2 columns. These all work fine. However, when I try to split the row below the header row into 2 columns, it does so but, in a way, connects the line inbetween the two columns with the line inbetween the two columns above and will not allow me to move it left or right by manually changing specs or dragging the line. Please help! (I'm using CS5 by the way!) Thank you!

    I suggest you begin with a pre-built CSS Layout.  DW has several to help jump start your projects.  Go to File > New Blank Page > HTML.  Select a layout from the 3rd panel and hit CREATE.  See screenshot.
    Save this layout as test.html and begin building your prototype page saving and validating code often during your work sessions.
    Code Validation Tools
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    Good luck with your project!
    Nancy O.

  • Automatic copying row from one table into another one

    Hi,
    I am looking for some help on how to do the following:
    I use Number to track my finances. I have two tables - one for my checking account and the other one for my cash account. When I withdraw cash from my checking account I record a transfer or debit transaction in my checking account table (in the type column of this table I enter "transfer" and in the category column of this table I enter "cash account"); Obviously I have to record a matching transaction in my cash account where the category column shall read "checking account". Both records represent one and the same transaction. In order not to enter this transaction twice I would like to "automate" this process so that once I enter the transaction in either of the two table (checking or cash) the matching entry automatically appears in the other table. Is there any way to do this.
    Thank you,
    Evgeny

    You can use Connection#getMetaData() to retrieve information about the tables and the columns of the table.
    After all, it is better to gain information about the table first and then issue a query in the form of "INSERT INTO table1 SELECT * FROM table2", including the eventual column selections and/or data conversions at SQL level.

  • Split Excel tables into individual tables in Numbers

    Is there a way, having opened a file with multiple tables from excel, to make them into separate tables in Numbers. The tables have links between them and if I copy paste into a new sheet I lose the link. I no longer have access to Excel to put them all on separate Tabs. Thanks
    Reg

    Select a range of cells, press shift-command-X (mark for move), go to a cell in the new table and press shift-command-V (move).

  • Dividing long files into smaller ones

    I am using Adobe Premiere Elements 12 on a windows 8 PC. I've been trying to transfer old VHS tapes to several DVDs. My real problem is separating the large contiguous video files into several smaller files to be arranged on several dvds. How do I do that? I know how to cut the videos into several clips, but not files. The original VHS tapes have 3-4 hours on each tape so that doesn't directly translate to available DVD space.

    MacGyver82dan
    Just in case note, you cannot import one Premiere Elements project file (.prel) into another.
    So if you already have several project files, each with its own group of files and want to combine them into one grand project for a DVD (DVD-VIDEO or AVCHD), then you are going to have to export the contents of each project prel and import the exports into one grand project.
    The export from a given project.prel can be for the entire Timeline or for selected portions of it. But the only way out of the project is via export. In this situation the export settings for the individual project files should be consistent with the settings for the grand project which will generate the end product.
    To export a segment of a Timeline content within one of these project files, two essentials
    a. the gray tabs of the Work Area Bar must be set to span the segment for export
    and
    b. the option "Share Work Area Bar Only" in the export settings must have a check mark next to it.
    When your Premiere Elements is running on a Windows computer, there is an opportunity for a copy/paste insert between projects.
    Please review the details of that if that sounds of interest.
    ATR Premiere Elements Troubleshooting: PE: ClipMate Copy/Paste Between Projects
    Please let me know if I am targeting your questions. If not, please give more details, and I will modify my reply accordingly.
    Thank you.
    ATR

  • I propose enhanced way to split the table into multiple chunks by ROWID

    There is a good methodology, called as ROWID Parallelism, introduced by Thomas Kyte ([http://asktom.oracle.com/pls/asktom/f?p=100:11:0::NO::P11_QUESTION_ID:10498431232211]) and explained in his book "Effective Oracle by Design". But there is a one problem with base query &ndash; max number of chunks is constrained by number of extents, allocated for table. So max number of parallel processes is constrained too. To overcome this problem I propose new query based on blocks rather than extents. In this query max number of chunks is constrained only by number of blocks, allocated for table, rather than allocated extents:
    define TNAME=&lt;write table name here&gt;
    define CHUNKS=&lt;write desired number of chunks here&gt;
    with extent_blocks as
    ( select relative_fno,
    block_id,
    blocks,
    ( sum( blocks ) over( order by relative_fno,
    block_id rows unbounded preceding )) - blocks + 1 as block_1,
    sum( blocks ) over( order by relative_fno,
    block_id rows unbounded preceding ) as block_2
    from dba_extents
    where segment_name = UPPER( '&TNAME' )
    and owner = user ),
    range_blocks as
    ( select row_num,
    b1,
    b2
    from ( select ROWNUM as row_num,
    ( part_n *( ROWNUM - 1 )) + 1 as b1,
    case
    when part_n * ROWNUM &gt; s.last_n
    then s.last_n
    else part_n * ROWNUM
    end as b2
    from ( select ROWNUM
    from DUAL
    start with dummy = dummy
    connect by dummy = dummy ),
    ( select sum( de.blocks ) as last_n,
    CEIL( sum( de.blocks ) / &CHUNKS ) as part_n
    from extent_blocks de ) s
    where ROWNUM &lt;( &CHUNKS + 1 ))
    where b1 &lt;= b2 )
    select r1.row_num n,
    DBMS_ROWID.rowid_create( 1,
    obj.data_object_id,
    r1.relative_fno,
    r1.block_id +( r1.b1 - r1.block_1 ),
    0
    ) min_rowid,
    DBMS_ROWID.rowid_create( 1,
    obj.data_object_id,
    r2.relative_fno,
    r2.block_id +( r2.b2 - r2.block_1 ),
    32767
    ) max_rowid
    from ( select rb.row_num,
    rb.b1,
    eb.relative_fno,
    eb.block_id,
    eb.block_1
    from range_blocks rb,
    extent_blocks eb
    where rb.b1 between eb.block_1 and eb.block_2 ) r1,
    ( select rb.row_num,
    rb.b2,
    eb.relative_fno,
    eb.block_id,
    eb.block_1
    from range_blocks rb,
    extent_blocks eb
    where rb.b2 between eb.block_1 and eb.block_2 ) r2,
    ( select data_object_id
    from user_objects
    where object_name = UPPER( '&TNAME' )) obj
    where r1.row_num = r2.row_num
    Denis Komarov

    All well and good, but a couple of questions for you.
    1) any specific reason why you'd post that here as opposed to the site you've linked to?
    2) "So max number of parallel processes is constrained too."
    This is true of your method as well, seeing as how you can only have so many parallel processes before you stress the machine to the point of having the parallel processes fight each other for resources. I wouldn't imagine you can actually make use of the number of parallel processes you propose (you seem to want a very high number of them).
    In practicality, i think the method demonstrated by Tom would be more than sufficient, but please do feel free to put together a test case and prove me wrong......

  • How do I split long movies into 10 minute segments to upload to photo bucket?

    I have a 33 minute movie in imovie that I want to upload in 10 minute segments to photobucket.com.  Can someone tell me the easiest way to do this?  Thanks.

    yunabesaid
    The Scene Detect in the media area is gone by Premiere Elements 9.0/9.0.1. But, you can right click the video's thumbnail in Organize/Media, select Run AutoAnalyzer which claims to be "detecting scenes". The latter is worth a try to see what it will do with your 3.5 min clip and its scenes.
    Regarding the quality of your videos in Premiere Elements 9.0/9.0.1 editing and export, we would need lots more information on that
    a. properties of the source media (video and audio compression, frame size, frame rate, interlaced or progressive, file extension, pixel aspect ratio).
    b. what project preset you are setting for the project so that the project preset matches the properties of the source media
    c. types of edits
    d. choice of export and export settings, customized or default settings used
    e. computer or TV DVD or Blu-ray player.
    Please review, supply the requested information, and then we will plan troubleshooting strategy. Also, we would need some idea of your computer environment - Windows or Mac 32 or 64 bit version...
    Lots ot put together.
    Looking forward to your follow up.
    Thank you.
    ATR

  • How to cast RECORD of nested tables into OBJECT of nested tables

    Right, we have an existing massive pl/sql package where some of the processing is taking too long so they want to try multithreading it.
    The data in this package is stored in an array of records which contains nested tables, which themselves contain nested tables.
    So, we want to split this table into 10, and submit them to 10 dbms_jobs to run concurrently, write the modified arrays to the database so they can be picked up again by the original process.
    I'm stuck on converting the associative array of data (containing tables of records) into objects which can be stored in the DB.
    My database objects:
    CREATE OR REPLACE
    TYPE ktest_claims_rt IS OBJECT
         col1 varchar2(10)
        ,col2 varchar2(10));
    CREATE OR REPLACE
      TYPE ktest_claims_tt IS TABLE OF ktest_claims_rt;
    CREATE OR REPLACE
    TYPE ktest_driver_rt IS OBJECT
         col1      varchar2(10)
        ,col2      varchar2(10)
        ,claims_nt ktest_claims_tt);
    CREATE OR REPLACE
      TYPE ktest_driver_tt IS TABLE OF ktest_driver_rt;
    CREATE OR REPLACE
    TYPE ktest_policy_rt IS OBJECT
         col1       varchar2(10)
        ,col2       varchar2(10)
        ,driver_nt  ktest_driver_tt);
    CREATE OR REPLACE
      TYPE ktest_policy_tt IS TABLE OF ktest_policy_rt;
    CREATE TABLE ktest_job_table
      (job_no        NUMBER
      ,tab_type      VARCHAR2(3)
      ,policy_nt     ktest_policy_tt
      NESTED TABLE policy_nt STORE AS policy_nested_tab
        (NESTED TABLE driver_nt STORE AS driver_nested_tab
           (NESTED TABLE claims_nt STORE AS claims_nested_tab))
    / And my local package versions:
       TYPE claims_rt IS RECORD
         col1 varchar2(10)
        ,col2 varchar2(10));
       TYPE claims_tt IS TABLE OF claims_rt INDEX BY PLS_INTEGER;
       TYPE driver_rt IS RECORD
         col1       varchar2(10)
        ,col2       varchar2(10)
        ,claims_nt  claims_tt);
       TYPE driver_tt IS TABLE OF driver_rt INDEX BY VARCHAR2(20);
       TYPE policy_rt IS RECORD
            policy_no   policy.policy_no%TYPE
           ,driver_tab  driver_tt
           ,other_col   VARCHAR2(20));
       TYPE policy_tt IS TABLE OF policy_rt
            INDEX BY pls_integer;
       main_table  policy_tt;What I can't get through my pea sized brain is how to turn "main_table" into an array based on ktest_policy_tt.
    I got as far as:
       FUNCTION convert (p_table IN policy_tt) RETURN ktest_policy_tt
       IS
          db_vers  ktest_policy_tt := ktest_policy_tt();
          db_rec   ktest_policy_rt;
       BEGIN
          FOR i IN p_table.FIRST..p_table.LAST
          LOOP
             db_rec := ktest_policy_rt(p_table(i).policy_no
                                      ,p_table(i).other_col
                                      ,ktest_driver_tt(p_table(i).driver_tab(i).col1
                                                      ,p_table(i).driver_tab(i).col2
                                                      ,ktest_claims_tt(p_table(i).driver_tab(i).claims_nt(i).col1
                                                                      ,p_table(i).driver_tab(i).claims_nt(i).col1
             db_vers(i) := db_rec;
          END LOOP;
       END;but, apart from the fact that it only coverts the first row of each table, it doesn't compile:
    LINE/COL ERROR
    139/10   PL/SQL: Statement ignored
    143/52   PLS-00306: wrong number or types of arguments in call to
             'KTEST_CLAIMS_TT'
    143/52   PLS-00306: wrong number or types of arguments in call to
             'KTEST_CLAIMS_TT'I'd appreciate any help as this is getting urgent.
    Thanks!

    I would recommend writing your function in a more stepwise, explicit fashion rather than trying to write the conversion as basically one big constructor.
    Firstly, you will require nested loops in your pl/sql code for the different levels of nested tables. This is not a choice, you need to do this.
    Within each level of looping, explicitly create the object of the desired type before adding it to the table / record as need be.
    cheers,
    Anthony

  • Long Text to Short Text connversion in IW31/IW32

    Hi Experts,
    I am working on a requirement where I need to overwrite the short text for material description with the long text while creating the maintenance order in IW31/IW32.
    Initially I thought of handling this in a implementation of BADI IWO1_PREQ_BADI in method DECISION_COLL_PREQ.
    But this this method is gettign triggered when the paurchasing data is being entered and even before the long text is entered.
    Once the order is ready to be saved, and once the user clicks on save I want to write this conversion where I can copy the long text into short text overwriting the material description in component tab of IW31/IW32.
    Please check and suggest the BADI/userexits for thsi purpose.
    Regards
    Kishore

    Hi Kishore,
    Go to transaction SE24, class name CL_EXITHANDLER, go to methods, double click on method GET_INSTANCE.
    Set a break point at
    CALL METHOD cl_exithandler=>get_class_name_by_interface
    EXPORTING
    instance = instance
    IMPORTING
    class_name = class_name
    CHANGING
    exit_name = exit_name
    EXCEPTIONS
    no_reference = 1
    no_interface_reference = 2
    no_exit_interface = 3
    data_incons_in_exit_managem = 4
    class_not_implement_interface = 5
    OTHERS = 6.
    CASE sy-subrc.
    Now run trasaction IW31, press f8 till you reach bfore save button, enter the long text and all, now press the save buttton, control will break if in case any BADi is there(I think there is), exit name and instance will give you the BADI details.
    I think this is one of the simplest way.
    Thanks and Regards,
    Antony Thomas
    Edited by: Antony Thomas on Aug 10, 2010 12:13 PM

Maybe you are looking for

  • Help regarding regular expression

    HI All , Please see the following string String s = "IF ((NOT NUM4 IS ALPHABETIC ) AND NUM3 IS ALPHABETIC-UPPER AND (NUM5 IS GREATER OR EQUAL TO 3) AND (NUM5 IS NOT GREATER THAN 3) AND (NUM3 GREATER THAN 46) AND (NUM5 GREATER THAN NUM3) OR NUM3 LESS

  • Java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet

    I use Jdev 11.1.1.5 to create a BPM process application which contains a process with 3 interactive activities. Each interacitive acitivity has a form project. I can deply these projects to a domain. Then, I delete them. However, after that, I cannot

  • What sets the 'Kind' column in Finder windows?

    Since installing Snow leopard, I have been finding that just inserting a flash card containing Olympus raw image files into a USB card reader and displaying the contents, shows a strange phrase in the Kind column: "Lightzone transform format". Lightz

  • Can anyone help with "Error opening URL to submit this form"?

    I am running Adobe Reader 11 and I am on Windows 8. I cannot get a form completed for a client in their portal.  Thanks.

  • Mavericks no longer opens mutiple tabs

    I used to be able to reopen a finder window with the tabs I closed it with. Now it always reopens with one tab. How do I default to two or theree tabs on starting up or reopening Finder?