How to make a control table with the same number of rows of its itab

I'm creating a control table, but it always have the maximum number of lines possible.
How can I make it so that it has only the same number of rows of it's internal table?

solved partialy with this:
MODULE locka_lin OUTPUT.
  DATA: lin TYPE i.
  DESCRIBE TABLE t_obj LINES lin.
  table_con-lines = lin.
ENDMODULE.                 "  OUTPUT
but it still doent work when lin = 0
any simple way to solve it on that case?
Edited by: RagnaRock on May 5, 2010 6:00 PM

Similar Messages

  • Help on how to make an infinite loop with the same space on all images

    HI:
    I made a movie clip with infinite  loop in which there are images that move from right to left something simple like a marquee, and each image has a blank space between  them, but between last and first image there is a more space, how I can do to  make all images have an equal space between each one and that the motion never stops.

    Thanks for your time and answers my friend, but I'm still not be able to achieve what I want, I forgot to tell that I'm doing this by layers, let's say, I have 5 images, (in fact I have like 50 images converted to movie clip symbols) each image has it's own layer, layer 1, layer 2, layer 3, layer 4, layer 5, then I put a 200 frame motion tween on all layers at 30 fps, then I arranged layer 1 on the first frame to the frame 200, the second layer from frame 50 to frame 250, third layer from frame 100 to frame 300, fourth layer from frame 150 to frame 350, and fifth layer from frame 200 to frame 400, by this I mean I put a 50 frame of space on each image but if you can see, the last image has a duration from frame 200 to frame 400, and there's nothing on frame 250 where it is supposed to be another image to match the same blank space of all the others, the movie clip restarts on the frame 400, and there's a 150 frames of blank space between the last image and the first image, I put the gotoandplay on the frame 250, but it abruptly restarts the movie.
    Is there another way to do this ?
    Am I doing something wrong ?
    Please I really really need help on this.
    Thanks

  • My i phone got stolen and i got a new one with the same number but how do i synch it up with my old contacts?  i thought i could do from ituned but it hasnt worked!!

    hello,
    my i phone got stolen and i got a new one with the same number, but i cant get it to synch up with my itunes to make it like my old phone! can you please tell me how i do this. i need all my contacts and content etc etc.

    Plug it into iTunes and tell iTunes what to sync to the device.

  • Can you delete an iCloud account but then make a new account with the same password?

    Me and my mum share the same iCloud account with her email address, but I can't make my own unless I delete my mum's account that I share with her. If I delete the account, will my mum be able to make a new account with the same password?
    Thank you!

    Yes.  You can use the same password for all your accounts (although it's less secure to do so).  You just have to use a different Apple ID to set up a new account.

  • Is it possible to have 2 tables with the same name in an Orable database?

    Hello,
    I'm a complete Oracle newbie so please excuse my question if it's stupid.
    I was trying to create 2 tables with the same name using different tablespaces but it does not seem to work. Like this (second time just change the name of the tablespace):
    CREATE TABLE test_tbl (
      id INTEGER,
      status VARCHAR2(10),
      last_modified DATE DEFAULT SYSDATE
    TABLESPACE tblspc1Is it in general in Oracle possible to acquire this goal?
    Thanks a lot!
    P.S. I have already created the needed tablespaces
    CREATE TABLESPACE tblspc1 DATAFILE 'tblspc1.dbf' SIZE 10MEdited by: 808239 on 02-Mar-2011 02:18

    It is not possible to create two tables with same name in same schema.
    A user can own one schema with his own name and another with the schema name SYS.
    For this you have to grant sysdba privilage to the user and then have to connect using sys password or with the password specified in password file.
    But this still you have to access to the table in sys schema using sys.table_name.
    Hope Answered tthe Question.

  • SMQ2 Error :Several modes with the same number  at activity 2N

    Hi,
    We have some Ques stuck in APO inbound "Several modes with the same number  at activity 2N". Can anybody help me to fix this.?
    Sameer.

    Hi Sameer, indeed your issue seems to be linked to PDS creation. Your PDS CIF jobs must be failing if I am not wrong.
    You would need to identify which PDS in APO (or which version in R/3) has issues.
    Go to CQ transaction mentioned earlier, select teh row containing the issue, and then click on the display icon on the right side top. This will show you the entries in the internal tables taht were being passed on in the CIF.
    From here, you need to identify the production version from R/3 that is having issue. I don't have a stuck queue at hand, so can't tell you which table would contain information. Somewhere you would find out the name of the product/location that is having issue, and then you need to check what is the issue with the version. Seems the same mode is being used multiple times in some activity, or in R/3 side, the same resource is being used multiple times in a single activity.
    Thansk - Pawan

  • Why, with the same number of photos in both places, do I still have 25 GB of storage on my iPad and have to BUY more space in iCloud?

    Why, with the same number of photos on my iPad and supposedly in iCloud, do I still have over 25 GB of space on my iPad but now need to buy even more storage space in iCloud? My iPad is 64 GB and I am now paying for 20 GB of iCloud storage with 864 MB left!

    As I said: 
    Even if the Photos are less than 20GB,  There's other stuff on the iPhone that is likely getting backed up to iCloud and using space. Basically your Phone has more space to spare than iCloud.
    You can check in Settings->iCloud->Storage->Manage Storage to see what is using up the space in iCloud.
    Anyway, turning off Photo stream will remove all photos from iCloud, it will not remove them from the iPad if they were taken with it, or copied to it.
    Again I suggest you check in:Settings->iCloud->Storage->Manage Storage to see what else is using your iCloud space.

  • I currently have aT-Mobile sim, and therefore, a UK telephone number. Can I get a sim from EE with the same number to use in my iphone 5?

    I currently have aT-Mobile sim, and therefore, a UK telephone number. Can I get a sim from EE with the same number to use in my iphone 5?

    The easiest way to find out what carrier it's locked to would be to call the store where you purchased the phone.
    The phone can be unlocked from any location.  However, most carrier have restrictions about unlocking and you have to contact them for details.

  • Can I have 2 iPhones with the same number??

    Can I have 2 iPhones with the same number??
    I have a fairly new 5S iPhone. I would like to add a "iPhone 6" when available. Can I get it WITH THE SAME PHONE # ?

    Dual NAM is a different animal - that means having tow phone numbers on the same phone.  That's not allowed any longer, true.
    The OP is asking about having the same number on two devices - and Elector gave a solution.  Just move the SIM from phone to phone, depending on which one you want to use at any given time.  You cannot use the same number on two devices simultaneously.

  • How can I have two fields with the same name if it makes sense?

    Hello, folks :)
    I have a pretty hard time figuring out how I can have two text fields with the same binding name.
    The whole problem is that when I need two fields with the same binding name they are still differnent coz they have the same name but differnt indices.
    I should make a form filled at runtime by merging a pdf form file and an fdf file data file. And I have no choice to do it differently. And my form file needs some data like customerName, companyName twice in one form. But there's only one possible buinding name indexed zero.
    How can I create a field with absolutely the same name or is it just impossible due to possible name conflicts? And is there a workaround to this problem? I just need one piece of data repeated in different places.
    Thanks for your replies :)
    P.S. if u think that the problem is not clear enough let me know. I'll supply you with more details. But the general process can not be changed.
    One pdf should be mergred with an fdf with as the result of their merge a new filled and flattened form. I have no control over fdfs their are generated by Oracle and I can not fill the form using XML files coz this process should be integrated in a working application.

    I just thought about a really ugly workaround with a server-side script adding values to fdf files but it's a bit of work and tests and personally i think it's a bad idea :-(

  • How can I build a table with the time values of a timer from a while loop

    Hi:
    I have a question concerning building a table:
    Every 100ms I read a value from a sensor (while loop with a timer). I would like to build a table with the actual time and the concerning value. For example:
    0msec         1V
    100msec     2V
    200msec     3V
    300msec     4V
    etc.
    If I use the Express VI for building a table, I always get the date and time, but I don't need the date and the time is in the following format: HH:MMS, which is nonsensical for me as I can't differentiate within msec. Can I change the format anywhere?
    Can I also save the table to a file or even to an Excelsheet? How can I do that?
    Thanks for your help!

    Hi Craig:
    thank you very much. To solve the mystery : ) :
    I want to drive a stepper motor with a specific frequency. To get the current degree value of the motor I would like to measure the current time (from the beginning of the move on). (With a formula I get the degree value out of the time)
    Concurrently I would like to get data from a torque sensor and from a pressure sensor. That's why I asked you about the time and the table. The measurement should start with the movement of the motor. How can I do that? Right now I have different block diagrams (different while loops) (see attachment) and I would like to put them in one.
    I haven't done the block diagram for the pressure sensor yet, so there is only the one for the torque sensor and the one for the motor.
    I also would like to set a mark in the table when the voltage value of an analog input gets under a specific threshold value. Is that possible?
    I'm sorry, I'm a novice in LabVIEW. But maybe you can help me.
    Thank you very much!
    Steffi
    Attachments:
    motor.vi ‏238 KB
    sensor.vi ‏59 KB

  • How do I create a target table with the same PK as the source table?

    I am trying to create a target table in a mapping that will end up with the same primary key as the source table.
    It is a simple map that simply uses a subset of the columns of the source table in the target table. I was wanting to create and bind a new table by dragging the columns I want from the source to the initially blank target table operator, change the column names and create a primary key to match the source table.
    I can't seem to be able to create a constraint on the table in the mapping. I can create the constraint after the table is created and boound to the database object but the PK doesn't carry back into the mapping.
    I need it in the mapping so I can use the UPDATE/INSERT operation and use the 'All Constraints' implementation. The mapping won't let me validate the object without the PK on it in the map.
    Believe it or not folks, I am getting better at this.
    Thanks very much for the guidance.
    Gary

    Hi Gary
    You are close, you are really close... :-))
    You need to do exactly as you propose plus one extra step. Build the map as you describe, binding the new table to the target. Then you edit the table definition to add the primary key and any other constraints you need. After this is the step that you are missing.
    You need to do the following:
    1. Go back and re-edit the map
    2. Right click on the table
    3. From the pop up menu, select Reconcile Inbound
    4. Set any operators that you need for the UPDATE/INSERT
    5. Save the map
    6. Commit your changes
    The first three steps above make the map read in the indexes and constraints that you set on the table. Finally, you need to deploy the table and then deploy the map.
    Hope this helps
    Regards
    Michael

  • How to make a control to let the user to select a type of line?

    Dear All,
    I want to make a control to let the user can select a type of line from some types. Just like selecting the line type of plot in the graph.
    Is there any good way to do it, or is there any examples?
    Thank you.

    Hello,
    I think you can use a pict ring as selector and the detect value changes of that indicator to apply the new plot style on the graph using property nodes.
    Let me know if you need more help on this
    Message Edité par TiTou le 08-30-2006 01:50 PM
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    palette.jpg ‏19 KB

  • How to make audio of many clips the same level?

    I have a sequence containing many interview clips which all seem to be at different sound levels. Is there any easy way to make all of these the same level? The only way I know how to adjust the level is using the volume level control under audio effects for a particular clip.
    Also i'm wondering whether there is a way to filter out background noise?
    Many Thanks

    If the mic was a different distance etc then you'll never be able to make them all sound exactly the same tone.  But For the background noise I'd really recommend the effects inside premiere I've already mentioned I have found that 90 percent of the time I don't ever need to use audition for interview type edits. I'm able to get by using a denioser and highpass to remove "most background" noises. However I don't film outside very often most of my background noise problems are usaully from too much gain or AC noise. So your scenario might be different than mine for this reason.
    The benifit of the compressor is that it can make your audio stay exactly within whatever range you want without having to keyframe stuff. With the clips you have desribed you'll want to use a different dynamics filter for each group. So put each group on it's own audio track. So group one that you have desribed would go on track 1 since all those clips have similar range etc. Basically with group 1 I wouldn't compress it at all. I'd leave it alone except for lowering it's audio by -2 on the audio track 1. That way all the clips in the first group will be lowered by 2db if you put them all on track 1. You won't have to worry about it's slightly too high peaks as long as you set a dynamics effect with nothing enabled on it besides the limiter on the master track and have the limiter set to -6 since you said that's what you need your max peak to be. If you do this then everything in group one will be handled as far as levels go. (as far as db goes anyways) However if you want to have other things in the project to be higher than -6 then just simply put the -6 limiter turned on track 1 then instead of the master track.
    Then for the second group I wouldn't touch them at all I'd put them on track 2 and just let the limter on the master track keep it's peaks from going to high since it's basically already where you want it. Then if the clips have a hissing noise or something you can add a denoiser and set the reduction to -10 and adjust from there.
    Then for your final set you are desribing -22 to -12 for these I'd put them on track 3 and use a dynamics filter and keep everything disabled except for the compressor itself. For this I'd start with my ratio at 2 and put my threshold at -20 and set my makeup gain at 9 or so. Then from there if it looks like it's way to loud then try lowering the gain and if it looks like its lows are too quite then add the gain back but if it appears to be to loud then simply raise your ratio or lower the threeshold a bit. But I think the settings I have listed will get your to your desired range.
    For the clips that are hitting -0 a lot if they are distorting then you really can't fix distortion but if they are hitting 0 and aren't distorting then you can just simply lower the volume for these you don't need to add any gain since they are already too loud anyways so if you just lower them by like -6 it should get them right within the range you mentioned.
    As far as background noise such as hissing you'll really want to just use Premiere's denoiser effect. Start off by setting the reduction to like -10 and adjust from there. Then for cars passing etc try out a highpass filter and set it to 120 to start and move up there if needed. It will take the bass out of the peoples voices but it won't sound bad unless you start going over 160-170 range it also depends on if the person has a deep voice to begin with or not too though.

  • How to open a new tab with the same current directory in a terminal?

    I use the following script to open a new terminal with the same pwd.
    I'm wondering how to modify it to open a new tab with the same pwd.
    #!/bin/sh
    # Open a new terminal in the cwd
    CWD=`pwd`
    osascript<<END
    set thePath to "$CWD"
    set myPath to (POSIX file thePath as alias)
    try
    tell application "Terminal"
    activate
    do script with command "cd \"" & thePath & "\""
    end tell
    end try
    END

    bit of a hack, but the make command doesn't seem to work for tabs in terminal. replace what's currently in the 'try' block with this code:
    tell application "Terminal" to activate
    tell application "System Events"
    tell process "Terminal"
    keystroke "t" using command down
    end tell
    end tell
    tell application "Terminal"
    do script "cd " & (quoted form of thePath) in last tab of window 1
    end tell

Maybe you are looking for

  • XML Publisher Patch 9501440 EBS 11i

    Hello Is there any body faced any problem when apply XML Publisher Patch 9501440? Bursting Program does not find File... Oracle XML Publisher Template Builder for Word Version 5.6 Build 45 Oracle RDBMS : 10.2.0.4.0 Oracle Applications : 11.5.10.2 Con

  • How to turn a doc designed for spread  into a page ordered pdf?

    I am a relative InDesign newbie, so please excuse my ignorance. I have document of installation instructions that is printed on a single double-sided piece of paper, which is then folded. So in InDesign, there are two layout spreads. The first one in

  • External HDD keeps dropping out (without ejecting itself) ~ due to 1 bad partition

    Hi, As stated above, my faithful WD 1TB MyPassport HDD keeps dropping out by itself, ie. icon disappears from my desktop and I get left with a 'eject before disconnect...' message. At first it would appear to be a cable/USB/corrupt disk issue, BUT...

  • Queue name not appearing in SMW01

    Hi, we have a below mentined filter setting for material replication. MAKT     SPRAS     BT Between low and high value (Low <= x <= High)     AA     ZZ     I Inclusive defined set/array MARA     MATKL     BT Between low and high value (Low <= x <= Hi

  • How do I set up the wi fi with my Verizon hotspot?

    I have a 13 inch Macbook Air and a Verizon MiFi 4G LTE hotspot device.  How do I hook up the mac to the hotspot so I can use my mac anywhere.  Thank you