List objects in tablespace

How do I list all the objects in a specific tablespace ?

sql > select segment_name , segment_type from dba_segments
where tablespace_name = <name> ;
hare krishna
Alok

Similar Messages

  • Call Transaction from Excel VBA macro and download ALV list object results

    I have a situation that must be very common u2013 but I canu2019t find any clear information on how to get it done! 
    We frequently run SAP transactions, download the results (orders or inventory) into Excel, do some calculations and create a spreadsheet report. 
    I would like to automate this process using Excel VBA so that a macro will perform these steps:
    1. Run our custom SAP report "YSD033" that summarizes orders using the previous day as the [From Date] parameter.  (The user already has an active ECC 6 R3 session running.)   If possible, can the TC be run using a specific variant "G111BIZ" ?
    2. Download the list object that appears in an ALV grid as a table to an empty spreadsheet in the active workbook (export XXL list object)
    3. Save the resulting workbook and close Excel.
    Should the solution use u201Ccall transactionu201D or a GuiXT script?
    Any help would be much appreciated, and some sample VBA code would be great!
    Thanks.
    Glenn

    Good suggestion, but
    I get "permission denied" for   SapGuiAuto.GetScriptingEngine
    I also tried the method below, but received this RFC error message:
    User PPPPPPP  has no RFC authorization for function group SYST.
    Sub LoginCheck()
    If login = False Then
        ' Setting the necessary variables for R/3 connection
        Set objBAPICortrol = CreateObject("SAP.Functions")
        Set objConnection = objBAPICortrol.Connection
        ' Establish a connection
    If objConnection.Logon(0, False) Then
        login = True
        MsgBox "Connection Established"
        CommandButton1.Caption = "Disconnect"
    End If
    Else
        CommandButton1.Caption = "Connect 2 SAP"
        login = False
        objConnection.Logoff
        Set objConnection = Nothing
        Set objBAPICortrol = Nothing
    End If
    End Sub
    I was told that these kinds of authority open up too big of a window that can't be monitored adequately...
    I'm considering an approach like what is below if I can't convince security to grant me permissions...
        Application.Wait Now + TimeValue("00:00:01")
        SendKeys EnterKey, False
    Since blocked RFC security settings are preventing the solution from being installed, I am markgin this question as answered. 
    I will post different questions about 1. how to convince the security team that it will be safe to allow the use of RFC calls, and /or 2. how use some windows-level scripting code to run the SAP jobs.
    Thanks.
    Edited by: GlennWebster on Mar 1, 2010 4:34 PM

  • Concatination of 2 linked list objects of characters

    Pleas help me to solve the following problem by using Java.
    Problem: Write a program that concatenates two linked list objects of characters. The program should include method concatenate, which takes references to both list objects as arguments and concatenates the second list to the first list.
    Thanking u,
    Ripon

    This assumes that your class is 'ListConcatenate' and that you have set up your two link-lists.
         public void concatenate( ListConcatenate l1, ListConcatenate l2)
              if ( l1.isEmpty1() || l2.isEmpty2() )
                   System.out.printf( "Empty %s or Empty %s\n", name1,name2 );
                   return;
              System.out.printf( "%s concatenated with %s is: ", name1,name2 );
              NodeOne current1 = l1.firstNode1;
              NodeTwo current2 = l2.firstNode2;
              while (current1 != null )
                   System.out.printf( "%s ", current1.data1.toString() + current2.data2.toString() );
                   current1 = current1.nextNode1;
                   current2 = current2.nextNode2;
              }

  • LINQ sorting on List Object - Various Object Type

    I try to sort a List<Object> where the Object are different classes but all share the same Property Name for instance.
    I got a Base Class where Class A and Class B inherit from the Base Class.
    So during the Linq query I cannot specify with object type this is.
    Problem here "from ?????Entry_Global?????? list in Entries"
    Thanks for helping.
    ////Entries is a List<Object> which consist of class object as following\\\\\
    public abstract class EntryBase<T>
    private string _Name;
    public string Name
    get { return this._Name; }
    set { this.SetProperty(ref this._Name, value); }
    public class Entry_Global : EntryBase<Entry_Global>
    public class Entry_CC : EntryBase<Entry_CC>
    private string _url; //Web url
    public string Url
    get { return this._url; }
    set { this.SetProperty(ref this._url, value.Contains("http") ? value : "http://" + value); }
    public List<Object> SortBy()
    IEnumerable<KeyedList<string, object>> groupedEntryList = null;
    //The proble reside in the fact that list is not only one type
    //so when comes in the orderby "Name" it doesn't know Name
    //or any other properties which are all common to all those class
    //It does not want to convert Entry_CC or Entry_Global to EntryBase
    groupedEntryList =
    from ?????Entry_Global?????? list in Entries
    orderby list.Name
    orderby list.CategoryRef.Name
    group list by list.CategoryRef.Name into listByGroup
    select new KeyedList<string, object>(listByGroup);
    return groupedEntryList.ToList<object>();

    Entry_Global and Entry_CC don't share the same base class since EntryBase<Entry_Global> and EntryBase<Entry_CC> are two totally different types so you cannot cast the objects in the List<object> to a common base class in this case.
    You could cast from object to dynamic though:
    public List<Object> SortBy()
    List<object> objects = new List<object>();
    objects.Add(new Entry_Global { Name = "K" });
    objects.Add(new Entry_CC { Name = "A" });
    objects.Add(new Entry_Global { Name = "I" });
    objects.Add(new Entry_CC { Name = "C" });
    var sortedObjectsByName = (from o in objects
    let t = (dynamic)o
    orderby t.Name
    select o).ToList();
    return sortedObjectsByName;
    The dynamic keyword makes a type bypass static type checking at compile-time:
    https://msdn.microsoft.com/en-us/library/dd264736.aspx. This basically means that a dynamic type is considered to have any property of any name at compile time. Of course you will get an exception at runtime if the type doesn't have a Name property but
    providied that all objects in the List<T> to be sorted are of type EntryBase<T> you will be safe as long as the EntryBase<T> type defines the Name property that you sort by.
    Please remember to close your threads by marking helpful posts as answer and please start a new thread if you have a new question.

  • Drag and drop List Object[] collection

    is it possible? If we combine JPA entities which are returned then we have to return List<Object[]> collection, e.g. some combination of the fields from Employees and Projects entities is returned by a service

    Not sure what this question is pertaining to. Are you referring to the use of drag and drop in the context of ADF Faces RC with JPA? Or are you describing a design time issue with JPA? Please clarify.
    Thanks,
    RiC

  • List Object or Just List which is better ?

    Hi Guys,
    List<Object> list1 = new ArrayList<Object>();
    List list2 = new ArrayList();Logically speaking, both looks similiar. But which one is better to use ?
    I can do something like
    list1 = list2; OR
    list2 = list1; but if List<String> list3 = new ArrayList<String>();Why I can not do this list1 = list3; // throws compilation error Thanks,
    javaCrazy

    javaCrazy wrote:
    List<Object> list1 = new ArrayList<Object>(); This is senseless. Inside the braces an appropriate Interface should be used.
    but if List<String> list3 = new ArrayList<String>(); Why I can not do this list1 = list3; // throws compilation error
    If you declare <tt>List<String> list3 = new ArrayList<String>();</tt> you explicity state that the List will only contain Strings (or types that inherit from the declared type, but String cannot be subclassed), list1 is declared to contain objects of a different kind. Usually the interface of the type list1 is declare will not match with the interface declared for the elements in list3. Since Object is the root of all classes this is a weird exception... Thats why the compiler prohibits this assignment. If you really need such assignment look for the use of wildcards.
    bye
    TPD

  • Sorting a List object

    Hi!
    I have a List object or component (java.awt.List) in my app.
    I try to order it using Collections.sort(my_list) but I recieve this message which I dont understand:
    The method sort(List<T>) in the type Collections is not applicable for the arguments (List)
    By the way, I would like to order it using a numeric order, not an ascii order, so I guess I have to use "implements Comparable", but how can I use that if my List contains Strings?
    I mean, my List has:
    20 bla bla
    9 bla bla
    and I want this:
    9 bla bla
    20 bla bla bla
    Any advice?
    Thanks a lot for your time.
    Edited by: Ricardo_Ruiz_Lopez on Dec 26, 2007 9:27 AM

    You are mixing up two different kinds of Lists. One is the AWT List (java.awt.List) which is what you are using and can be thought of more as a visual component.
    http://java.sun.com/javase/6/docs/api/java/awt/List.html
    The other is the utility Collections List (java.util.List) which is purely a data construct.
    http://java.sun.com/javase/6/docs/api/java/util/List.html
    So, bottom line is, the Collections.sort( ) won't work with the AWT list. You'll have to extract your data model which I think may be a String[] and sort that, then possibly re-insert with add(String item, int index) (I'm not sure on this part).
    Edited by: Encephalopathic on Dec 26, 2007 9:44 AM

  • Remove duplicates for list object

    Hi,
    I have retrieved all the xml node values in List<object>. Now, I want to remove all the duplicates objects from that list.
    Example:
    If the object has n properties, I should remove only duplicate objects that have same values in all the n properties not just one property as ID or name. Please let me know how to achieve this. Preferably using LINQ. 
    Thank you.
    Regards,
    Kiran

    You can use a GroupBy.  I took the code from last posting
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Xml;
    using System.Xml.Linq;
    using System.IO;
    namespace ConsoleApplication1
    class Program
    static void Main(string[] args)
    string file1 = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>" +
    "<Methods>" +
    "<Method>" +
    "<ID>1234</ID>" +
    "<Name>manager</Name>" +
    "<Path>path1</Path>" +
    "</Method>" +
    "<Method>" +
    "<ID>5678</ID>" +
    "<Name>manager</Name>" +
    "<Path>path2</Path>" +
    "</Method>" +
    "<Method>" +
    "<ID>5678</ID>" +
    "<Name>manager</Name>" +
    "<Path>path2</Path>" +
    "</Method>" +
    "</Methods>";
    string file2 = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>" +
    "<Methods>" +
    "<Method>" +
    "<Path>path1</Path>" +
    "<Description>text</Description>" +
    "</Method>" +
    "<Method>" +
    "<Path>path2</Path>" +
    "<Description>text</Description>" +
    "</Method>" +
    "</Methods>";
    string file3 = "<?xml version=\"1.0\" encoding=\"utf-8\" ?>" +
    "<Methods>" +
    "</Methods>";
    StringReader reader = new StringReader(file1);
    XDocument doc1 = XDocument.Load(reader);
    reader = new StringReader(file2);
    XDocument doc2 = XDocument.Load(reader);
    reader = new StringReader(file3);
    XDocument newXDoc = XDocument.Load(reader);
    var results = from e1 in doc1.Descendants().Elements("Method")
    join e2 in doc2.Descendants().Elements("Method")
    on e1.Element("Path").Value equals e2.Element("Path").Value
    select new XElement("Method", new object[] { e1.Element("ID"), e1.Element("Name"), e2.Element("Description") });
    var results2 = results.AsEnumerable()
    .GroupBy(x => x.Element("ID").Value);
    var results3 = results2.AsEnumerable()
    .Select(x => x.Take(1));
    newXDoc.Descendants("Methods").Last().Add(results3);
    jdweng

  • Java List interface - retrieve contents of List Object?

    I'm calling a method that retrieves a List object. The contents of that list are something like:
    countryCode=US,countryCodeDescription=United States Of America. I want to create a key-value pair from the returned List so that my class can return a key-value map object.
    The Key-Value pair I need to create should look like this:
    key="countryCode=US",value="US - United States Of America"
    How do I do accomplish that using Java? Any guidance is greatly appreciated.
    Thanks in advance!

    If you use a LinkedHashMap, the order will be preserved. However, you cannot have the same key more than once. If you are using an LDAP style address, the same key might occur more than once.

  • Program To List Object in Change Request

    Hi:
    is there a standard program available which will list Object Technical Name and Description in Change Request?
    Please let me know.
    If you have custom code please send it to me.
    Thanks

    Hi,
    There is no std program, but you can take the query element (assuming you are looking to decipher these elements) from the request and place it in SE16 > V_ELTDIR_TXT.
    Hope this helps...

  • How to bind bar chart(columns) to array list object in c# win form

    how to bind bar chart(columns) to array list  object in c#win form

    Hi Ramesh,
    Did you want to bind list object to bar chart? I made a simple code to achieve binding list to bar chart.
    public partial class Form0210 : Form
    public Form0210()
    InitializeComponent();
    private void Form0210_Load(object sender, EventArgs e)
    BindData();
    public void BindData()
    List<int> yValues = new List<int>(new int[] { 20, 30, 10, 90, 50 });
    List<string> xValues = new List<string>(new string[] { "1:00", "2:00", "3:00", "4:00", "5:00" });
    chart1.Series[0].Points.DataBindXY(xValues, yValues);
    The links below might be useful to you:
    # Data Binding Microsoft Chart Control
    http://blogs.msdn.com/b/alexgor/archive/2009/02/21/data-binding-ms-chart-control.aspx
    # Series and Data Points (Chart Controls)
    https://msdn.microsoft.com/en-us/library/vstudio/dd456769(v=vs.100).aspx
    In addition, if I misunderstood you, please share us more information about your issue.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Query builder how to list objects, description for universe

    need query to list objects, object type, object description, object hidden property for selected universe

    All information about Universes available using Query Builder can be queried like this:
    SELECT * FROM CI_APPOBJECTS WHERE SI_KIND = 'Universe'
    Information such as objects used, etc, needs to be retrieved through the SDK:
    A sample for this exists in the developer library:
    [Direct Link to Sample|http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/en/BO_SDK/unv_info_vb/data/dessdk_com_unvInfo_sample_115_en.zip]
    "This is a Visual Basic 6.0 application which traverses the Universe Designer SDK object model and outputs the universe details to a HTML file."
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm

  • Export list object to XXL

    All,
    I have a user that we gave a new laptop to and the spreadsheet button in t-code KSB1 will no longer let him export list object to XXL.  He is on GUI 7.10 and Office 2003.  I have checked the settings for Marcos in Excel and set them to allow all macros along with Visual Basic.  What setting am I missing?
    Thanks,
    Sean

    Hi Sean,
    You could also try the following:
    1. run TCode SA38
    2. run ABAP-Programm SALV_BS_ADMIN_MAINTAIN
    3. mark Detail-Selektion
    4. put a client and user
    5. run
    6. mark a row for the user
    7. delete with F7-key (or button)
    Then again the choice would have to appear for the XXL Format when exporting to Excel.
    Regards,
    ScriptMan

  • Export list object to xxl in sap

    Dear Team
    when downloading to spread sheet , i unknowingly pressed the "Always use selected format". Now i am getting the pop up for export list object to xxl. i want it to deactivated and and want the "option of select format"
    please help me.
    Regards
    Hamsa Jananee

    Hi Hamsa Jananee
    You do following:
    Re: "Always Use Selected Format" check box in line items report
    and
    Re: Export to excel popup after SP upgrade
    Hope it helps.
    Thanks and Regards,

  • Save XXL list object in SAPoffice issue

    Hello,
    One of my user recently got a new laptop and after that, whenever she used KSB1 to do the export to excel as pivot, she is getting the below option "Save XXL list object in SAPoffice". She is not getting the pivot table option. I tried to find her entry in report "SALV_BS_ADMIN_MAINTAIN" to delete, but, I could not find her entry. Also, she tried to test the same on another laptop too, there also she is getting the same error. I am not sure if it a Profile issue or GUI issue. Please suggest. Also, she maintained her profile with parameter "SALV_BS_ADMIN_XXL". I am not sure if it is a problem.
    Thanks.

    It's not an authority issue that SAP_ALL/SAP_NEW would fix either.  That 'error' happens when the XXL code can't find the correct version of Excel that it expects from the registry.  It behaves as if Excel is not installed and pops the SAPOffice document prompt.  Debug the XXL code from the laptop and you'll see what I mean  (or just from your PC to view the logic).

Maybe you are looking for

  • Why are my videos showing up in "Recently Added" but not in TV Shows or Movies?

    I didn't have a problem adding videos to iTunes for several months, but now videos are not appearing in the right places. For some reason, they appear in the Recently Added playlist, but they are not showing up in the Movies section (which is where t

  • Where can I find a tutorial about...

    I'm new to Flash CS3 and need some help...please. Where can I find a tutorial on how to customize a scroll box? I made one, but the pictures that are going inside, they are not center, I can only see, the bottom part of them. Thanks

  • Safe sites are being blocked and mozilla asks me to make an execption every time.

    i'm at the point of ending it all...IRL each time i try to enter a safe site, Mozilla asks if i trust the site, i get three options (it looks like this) <pre><nowiki> ***This Connection is Untrusted*** >What should i do? (gives me option to leave) >t

  • IPod Trouble

    Alright, I have several problems I'm concerned about that's making me lose interest in updating my iPod anymore. My computer's Hard Drive recently crashed, and obviously, I lost everything that was on it. I had it fixed not too long ago. I've asked i

  • What merits of NCHAR as well as NVARCHAR for national language?

    dear all, while i set a field's datatype in NCHAR or NVARCHAR2, so as to record simple chinese, however, i found it can not work and prompt on "characterset do not match", althought both c/s charachterset has been set in simplified chinese. yet once