Delete the content of a UDT through DI

Hi all,
is there a way to delete the content of UDT (delete) with DI (not to drop the table)?
Thanks in Advance,
Vangelis

Hi ,
Try this.
Dim rsd As SAPbobsCOM.Recordset
        rsd = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
        rsd.DoQuery("SELECT T0.[Code],T0.[Name] FROM [dbo].[@USERTABLE] T0")
        Dim sCode As String
        Do Until rsd.EoF
            sCode = rsd.Fields.Item("Code").Value.ToString.Trim
            Dim oTables As SAPbobsCOM.UserTable
            oTables = oCompany.UserTables.Item("USERTABLE")
            If oTables.GetByKey(sCode) = True Then
                oTables.Remove()
            End If
            oTables = Nothing
            rsd.MoveNext()
        Loop
andy.
Edited by: Andy Quipit Sayus on Aug 1, 2010 5:27 PM

Similar Messages

  • Can I safely delete the contents of Content.IE5?

    I'm running MacOS 10.6.8 (Snow Leopard) and using Bootcamp 3 (I think) so run Windows XP SP3. My Bootcamp drive is formatted in FAT32, There is a hidden folder in Windows called Content.IE5 where, as I understand it, Internet Explorer stores all of its temporary files. My folder has grown to over 700 MB, and it doesn't get any smaller when I click on the delete temporary files button in IE.
    The folder itself is invisible in Windows, but I can see it when I navigate through the Bootcamp drive in Mac OS.
    I found two links regarding this problem, one from Microsoft
    http://support.microsoft.com/?scid=kb;en-us;301057
    http://www.paessler.com/blog/2009/04/17/prtg-7/how-to-get-rid-of-huge-default-us erlocal-settingstemporary-internet-filescontentie5-folders
    As the second link explains, there are severral issues that make it quite difficult to clear the contents of this directory, such as the fact that it belonds to the "default user" and the fact that it is always in use. But as a Mac user running Bootcamp, I have the ability to navigate directly to the directory while running Mac OS and delete the contents manually which otherwise is not possible when running in Windows! My question to the community is should I do it? Or rather, has anyone else attempted this, and if so, did you brake anything in Windows or did it all turn out honky dorey?
    Many thanks.

    Thanks. The clip in the events folder is in Apple Intermediate Codec.
    A clip from the same video in the Original Movies folder is also in Apple Intermediate Codec but with larger pixel dimensions. I'm assuming this isn't H.264 as you mentioned should be there? See attached images.
    The original movie is shot in 1080p AVCHD. But when I imported it into iMovie I did so at the iMovie optimised 920 x 540px as most movies I edit will only ever appear online for the moment (I do archive original HD footage from important footage to the iMovie Camera Archives for future use).

  • Ok to Delete the Contents of the Render Files Folder?

    Hello Hello
    I remember from using various PC Video Editing programs that each program established for itself a 'Render Folder', or sometimes called an 'Auxiliary Folder'.
    This folder contained the contents of the previously rendered files as they related to a particular DVD burned project. Once rendered, the files were there to sort of help reduce the process time, (render time), required to burn another DVD disc.
    In FCE HD, there is also a folder called 'Render Files', and also another folder called 'Audio Render Files'. Naturally the contents of these folders could easily amount to 2 gigs or more depending upon the project size.
    Well - (aside from increasing Re-Rendering Time in regard to a new DVD burn), is it safe to delete the contents of the 'Render Folder' in an effort to free up hard drive space?
    Thanx
    Mike

    Hi Mike,
    You may have a couple of things mixed up.
    In FCE the Render Files and Audio Render Files folders hold the render files produced by FCE. FCE uses those render files when you play the timeline, print to video or export a movie. You can delete them at any time because you can always re-render in FCE. However, you do need to be careful at the point when you export a movie from FCE (for example, to use in iDVD)
    If you export to a QT Self-Contained movie, all the media for the movie you export (including rendered video & audio) is incorporated into the resulting QT movie file. Assuming a successful export, you no longer need the FCE render files.
    However, if you export to a QT Reference movie, you need to keep the FCE render files available when you import your project into iDVD and build your DVD structure. When iDVD encodes & multiplexes to burn your DVD, it will use the QT Reference movie, which in turn uses the FCE render files (and your original media).
    In iDVD, after you burn your DVD, you have the option of keeping the 'rendered assets'; these are iDVD render files and are inside your iDVD project file; they are not the FCE render files.
    If you really want to save time burning subsequent DVDs, in iDVD you should Save As Disk Image (instead of Burn DVD), which gives you a completely finished, fully encoded & formatted DVD disk image. You can then use the Finder, Disk Utility or Toast to burn additional DVDs for only the burn time, you won't have to go through iDVD's menus & re-rendering just to burn an additional DVD.

  • I accidentally deleted the contents folder  of BootCamp

    Ok so I was trying to install windows 7 through Bootcamp using an USB and iso file. But somewhy in my Bootcamp there wasn't the option for it so I downloaded an alternative contents folder which allowed me to do so. After I got to the part of partitioning my drive it was taking a very long time, and hour or so. So I decided to shut down my mac and repair the drive so it was as before.
    Afterwards I thought of a reason why it did not succeed and came to the conclusion that because I downloaded the Bootcamp of somewhere. So I deleted the contents folder I downloaded from the internet and tried to find the old one but then realised that I deleted that too. So now Bootcamp does not work at all. So I am wondering where could I download Bootcamp or is there some sort of update that would restore it?
    Thanks.

    Reinstall OS X. That is the only way to fix what you messed up.
    Simple fact is you Can NOT install Windows on a Mac that came with a DVD drive any other way then using the Built in DVD drive. Apple has limited all Mac that come with internal DVD drive to only install Windows from that internal drive.

  • How to delete the Contents in a transaction?

    Hi all.
    I had a definite transaction that will be run by a pgm having 5 columns in a table.Now the users dont need 2 columns .
    How can we delete the contents of that table?
    Reply soon.
    Regards,
    SSR.

    I am not 100% sure what you mean.
    Do you only want to remove the two columns from the report (assumed it is a Z-report)
    In that case if it is an ALV list, just remove the fields from the field catalog and the user won't be able to see them any more.
    If it is just a standard list, you would have to remove the write statements for those two columns.
    For standard reports there is not much you can do without doing a mod or in case of an ALV list create a variant for that user which hides the fields he doesn't want to see. The variant is an option for the Z-reports as well.
    If you are talking about fields in a database table you would like to remove (assumed that it is a Z-table, you can just remove the fields in transaction SE11. After deleting the fields you will have to use the Database Utility (SE11-Utilities-Database Object- Database Utilities - Activate and Adjust Database). This will remove the columns including the data in it from that table.
    Never remove any fields from a standard table - even deleting values out of certain columns for standard tables is a very bad idea unless you really exactly know what you are doing.
    Hope that helps,
    Michael

  • How to Delete the content of an existing site and start from scratch

    I choose the wrong template when i initially setup my bc hosting for a customer how do i change the template i choose in site options and select a different one . I need to delete everything and stat over. I tried deleting everything under the develop area but lost my module style sheets for the eCommerce package. please help. Im on the business catalyst platform

    Hi Joey,
    Good to see that we are not the only ones running into this problem.
    Seems as there is no standard solution available.
    We have developed our own process type which deletes the content of the Open Hub table.
    Thanks,
    Klaus

  • Hi, I have a new cell phone, I wanted to give my iphone to my father, instead of deleting the content on the iphone I have deleted the entire iphone. It starts up no more. iTunes will not recognize the iphone. How do I get my old data back onto the phone?

    Hi, I have a new cell phone, I wanted to give my iphone to my father, instead of deleting the content on the iphone I have deleted the entire iphone. It starts up no more. iTunes will not recognize the iphone. How do I get my old data back onto the phone?

    Place the device in DFU mode (google it) and restore as new.

  • I deleted contents from pages school report by accident. is there any way to get it back. I reopened the file and it is blank, I deleted the contents from a school report by accident. is there any way to get it back. I reopened the file and it is blank

    I opened a file to print and by accident highlighted and deleted the content. Then in a panic I closed the file and now when I open it is blank. Is there any way to get it back.  I have looked and can not see anyway. I dont have anything in my backup?

    I'm not sure about older versions, but in Pages 3.x (OS X 10.9.x) select File > Revert To > Browse All Versions.  Hopefully there will be an earlier version that you can "revert to".

  • How to find the user who deleted the contents of DSO.

    Dear friends,
    Can u please tell me ,how to find the user who deleted the contents of the DSO.
    The user has deleted the complete contents of the DSO. We need to find the user ,date and time.
    regards,
    Vijai

    Hi,
    If the user has used the manage option to delete the contents of the DSO then the changed by field will be updated by the users name. In case a program is used for the deletion then it wont be the case.
    Regards
    Govind.

  • I had to upgrade from ios7 to ios8 but it needed more storage than i had so i backed up my phone to my computer then deleted the content on my phone and upgraded to ios8.  i have not connect my phone and computer since.  how do i get my content back?

    i had to upgrade from ios7 to ios8 but it needed more storage  i had so i backed up my phone to my computer then deleted the content on my phone and upgraded to ios8.  i have not connect my phone and computer since.  how do i get my content back? 

    Restore the backup from your computer

  • If I restore my iPhone, will it delete the content of my photo stream?

    If I restore my iPhone, will it delete the content of my photo stream?

    Nope. I have restored my iPod many times (4+) and it didn't ask me to purchase it again. But... if you try this using iTunes 8, you will experience less problems.

  • In Numbers, I copied a worksheet and deleted the contents. The sheet I copied from has a header, I can't see it or bring it up when I'm working but it appears when I print the sheet. How do I delete it?

    In Numbers, I copied a worksheet and deleted the contents. The sheet I copied has a header.  I can't see it or bring it up when I'm working but it appears when I print the sheet. How do I delete the header?

    Hi Cristina,
    Headers are not shown in normal view.
    Menu > File > Print to open Print View.
    Hover the cursor over the Header to see the outline. Click and delete.
    Regards,
    Ian.

  • Can you delete the contents of the Updates folder?

    Hi,
    Trying to free up some space on my hard drive. Using OmniDiskDweeper app. Just wondering if it's safe to delete the contents of the Updates folder; the one located in the hard drive/library. There is about 5 GB of stuff in there.
    thanks,
    J

    Jaymo, I deleted the contents of my "Updates" folder on my MBPro2.2 without any ill-effects.

  • What does it mean by deleting the Content of the setup table when LO cockpi

    Hi all:
        what does it mean by deleting the Content of the setup table when LO cockpit ? why should we do it?  why set up tables ?
    Thank you very much!!!
    Edited by: jingying Sony on Jun 7, 2009 4:46 AM

    Hi Jingying Soni,
    Data sources in LO cockpit have a seperate exctraction source during full update mode and delta update mode.
    During delta update mode(when an transaction is posted in any particular application - like SD - sales orderm delivery) data is posted in application tables and updated alongside to the update table/extraction queue.
    From the extraction queue this data is further transfered to the delta queue using periodic background jobs.The data is then upladed in BW. The delta lad always reads data from this delta queue.
    However, when a full load is requested from the BW, the data is sourced by the set up table of the corresponding application.
    The setup table is loaded/initalized first. In this initialization process , it reads data frm the corresponding application tables and stores it within this table. Later BW reads from this set up table whenever full/initial load is requested.
    The process of filling set up able before full load request frrom BW is called set up run.
    Before you run a set up to fill the set up tables you need to check that the set up table is empty.
    If it is still containing data that was previously loaded in some other set up run. This data will als get loaded in BW unitinetionally/accidentally.
    So, you need to ensure that you only get the intended data in BW. This can be done by proper selections to transfer data from application tale to set up table and from setup table to BW.
    Along with this you hae to ensure that the set up table is either empty or you are using a disparate selection in the set up run and BW load which does not overlap with the previous set up runs data.
    Hope it helps,
    Best regards,
    Sunmit.

  • Recently my iPhone 4 has started to delete the content of messages as soon as I open them and also is changing the names of some of my contacts from the name that I give them to their email addresses and all of this is without any input from me help!

    My iPhone 4 has started to delete the content of messages automatically as soon as I open them and is also changing some of my contact names from their names to their email addresses. Help!

    I've had the same problem with the names being changed to email addresses.Did you ever find out how to stop this ?

Maybe you are looking for

  • ONE STEP HELP

    I started to do a One Step From my DV Cam to DVD. I thought i had enough space on my HD but evidently that was not the case. I got a disk full message so i hit the stop button on iDVD. It did not stop so I had to Force Quit. iDVD seemed to have used

  • Limit of External contacts stored in GAL

    Hello is there any limit regarding maximum external contacts that could be stored in AD and be used through GAL in Outlook? I am trying searching the internet for some documentation and would be grateful if someone could point me to that. Thanks in a

  • Firewire Drive Detected But Not Showing Up...

    I have a Lacie Fireiwire drive that is detected by XP, it's recognized in the bottom right menu under the "Remove Hardware Safely" thing. But I can't access the files through Explorer, the drive just doesn't show up under my computer. I've tried with

  • Profit Center authorization - New GL

    My client is using the new GL for Profit Center reporting and the Profit Center Accounting module is inactive. There is a requirement to restrict profit center manager's reporting access - summary reports (GR55) and line items - to their own profit c

  • DAQ Assistant doesn't start under normal user previlege

    I just installed LabVIEW 7.1 and DAQmx 7.3. I found that the DAQ assistant did not start (the wizard window did not show up) under normal user previlege. However, if I change the user previlege to administrator, it works fine. Any idea what is happen