Want to get the where-used hitlist to an internal table

hi everyone,
        while using where-used list we will get a hit list result. I want to take that hit list data to an internal table with out using any local file.
Is anybody there to help me.
regards,
vijaya.

Hi Lakshmikona,
I had wrongly interpreted your question, as suggested by Thomas you can use RS_EU_CROSSREF to get the Where used list data in the internal table.
Refer this SAP standard report RSHDCF00 for you detailed perusal.
Regards
Abhii
Edited by: Abhii on Sep 3, 2010 12:08 PM

Similar Messages

  • How to get the "where used" of a portal object.

    Hi folks!
    I'm coding a program to get the list of the portal objects where a specific portal object (an iView  for example) is used. I found the method getWhereUsedList from IPcdContext but I'm getting some errors.
    Is this the best/correct way to get a "where used list"?
    Does anyone have an example of how to use this method correctly?
    Thanks in advance.
    Geraldo.

    Hi Tanja, thank you very much for your attention.
    Following your tips I figured out that the error was occurring during the casting and not during the getWhereUsedList method call. Now, I'm casting to Object. I'd like to cast to a more proper class. During my tests I got an error that showed me that the cast should be to a PcdGlSearchResult class. I couldn't find any javadoc for this class and when I changed the cast to this class I started to get a execution class load  error. Please let me know if you have any advice regarding the casting.
    private void getWhereUsed1(IPortalComponentRequest request, String id, StringBuffer sb) {
    InitialContext iCtx = null;
    Object objectId = null;
    String tString = null;
    Hashtable env = null;
    IPcdContext result = null;
                         env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, request.getUser());
    env.put(Constants.REQUESTED_ASPECT, IPcdAttribute.PERSISTENCY_ASPECT);
    try {
    iCtx = new InitialContext(env);
    result = (IPcdContext) iCtx.lookup(id);
    for (NamingEnumeration ne = result.getWhereUsedList(""); ne.hasMoreElements();) {
    objectId = (Object) ne.nextElement();
    tString = objectId.toString();
    sb.append(tString + CR);
    } catch (Exception e) {
    StackTraceElement[] elements = e.getStackTrace();
    for (int i = 0; i < elements.length; i++)
    sb.append(elements<i> + CR);

  • How to get the NameTab Structure(X031L) for Dynamic internal table?

    when we pass standard table to the FM 'DD_GET_NAMETAB' we will get the
    nametab structure(x031l), like this i want to get the same structure for
    dynamic internal  table . how can I achieve this
    please help me...

    Hi,
    try this method
    REPORT zmaschl_create_data_dynamic .
    TYPE-POOLS: slis.
    DATA: it_fcat TYPE slis_t_fieldcat_alv,
          is_fcat LIKE LINE OF it_fcat.
    DATA: it_fieldcat TYPE lvc_t_fcat,
          is_fieldcat LIKE LINE OF it_fieldcat.
    DATA: new_table TYPE REF TO data.
    DATA: new_line  TYPE REF TO data.
    FIELD-SYMBOLS: <l_table> TYPE ANY TABLE,
                   <l_line>  TYPE ANY,
                   <l_field> TYPE ANY.
    Build fieldcat
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'       EXPORTING           i_structure_name = 'SYST'       CHANGING           ct_fieldcat      = it_fcat[].   LOOP AT it_fcat INTO is_fcat WHERE NOT reptext_ddic IS initial.        MOVE-CORRESPONDING is_fcat TO is_fieldcat.        is_fieldcat-fieldname = is_fcat-fieldname.        is_fieldcat-ref_field = is_fcat-fieldname.        is_fieldcat-ref_table = is_fcat-ref_tabname.        APPEND is_fieldcat TO it_fieldcat.   ENDLOOP.
    Create a new Table
    CALL METHOD cl_alv_table_create=>create_dynamic_table       EXPORTING        it_fieldcatalog = it_fieldcat       IMPORTING        ep_table        = new_table.
    Create a new Line with the same structure of the table.
    ASSIGN new_table->* TO <l_table>.CREATE DATA new_line LIKE LINE OF <l_table>.ASSIGN new_line->* TO <l_line>.
    Test it...
       DO 30 TIMES.
          ASSIGN COMPONENT 'SUBRC' OF STRUCTURE <l_line> TO <l_field>.
          <l_field> = sy-index.
          INSERT <l_line> INTO TABLE <l_table>.
       ENDDO.
       LOOP AT <l_table> ASSIGNING <l_line>.
          ASSIGN COMPONENT 'SUBRC' OF STRUCTURE <l_line> TO <l_field>.
          WRITE <l_field>.
       ENDLOOP.

  • How to get the Database Type quan in my internal table?

    Hi, I have the following problem, I have a Database Table with a column foo (QUAN with length 15 and 3 dec). Now I want to read this field into a Internal Table and the corrospoding field is:
    foo(19) TYPE C,
    But this is not working I'm getting the dump:
    DBIF_RSQL_INVALID_RSQL
    CX_SY_OPEN_SQL_DB
    What is the correct abap type in my structure to put this QUAN in my internal table?

    Hi Michael,
         when you know your data base field name then u can define your variable f00 of your db field type like
         foo type <dbtabname>-<fieldname)  -----ex -- j_1iexcdtl-menge
         or define foo as packed no
         data : foo(19) type p decimals 3.
    Regards

  • My old phone doesn't turn and I want to get the serial number for it to see if it's eligible for the battery replacement with Apple. Can I use the IMEI number to find the serial number?

    My old phone doesn't turn and I want to get the serial number for it to see if it's eligible for the battery replacement with Apple. Can I use the IMEI number to find the serial number?

    Call applecare.  They can look up the IMEI number in their system to see if the device is eligible.
    AppleCare US phone number: (800)-694-7466
    Contact Apple for support and service
    http://support.apple.com/kb/HE57

  • I found an old Itouch that I have not used for 2 years and I want to get the soungs off of it and match it up with my new AppleID/Itunes account - How do I get to it?

    I found an old Itouch that I have not used in 2 years and I want to get the music into my new ituns account.  I do not know the applie Id

    The music sync is one way - computer to ipod.
    You can transfer itunes purchases only - File>Transfer Purchases

  • Why is it that i paid for photoshop for £8.57 a month but then i can only use photoshop as a trail and when i want to get the full version it charges me more money??

    why is it that i paid for photoshop for £8.57 a month but then i can only use photoshop as a trail and when i want to get the full version it charges me more money??

    Does your Cloud subscription properly show on your account page?
    If you have more than one email, are you sure you are using the correct Adobe ID?
    https://www.adobe.com/account.html for subscriptions on your Adobe page
    If yes
    Some general information for a Cloud subscription
    Cloud programs do not use serial numbers... you log in to your paid Cloud account to download & install & activate... you MAY need to log out of the Cloud and restart your computer and log back in to the Cloud for things to work
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp
    If no
    This is an open forum, not Adobe support... you need Adobe staff to help
    Adobe contact information - http://helpx.adobe.com/contact.html
    -Select your product and what you need help with
    -Click on the blue box "Still need help? Contact us"

  • I already own iWork, and do not want to have to pay for it again,  How do I get the installer using my existing licence

    I already own iWork, and do not want to have to pay for it again,  How do I get the installer using my existing licence.  It will not migrate from one computer to another, perhaps because of the recent system upgrade.

    How did you pay for it?
    Through the Mac App Store or as alicence for a DL?
    Peter

  • I have a mid-2009 MBP and I've been using my BOSE Companion 20 with it for about half a year now. It was fine until recently, when i want to adjust the volume using the pod on the BOSE Companion 20, it will cause like a surge in volume, spiking it up

    I have a mid-2009 MBP and I've been using my BOSE Companion 20 with it for about half a year now. It was fine until recently, when i want to adjust the volume using the pod on the BOSE Companion 20, it will cause like a surge in volume, spiking it up and down. It will not stablise itself! It's very fustrating. Anybody with the same issue?

    I have the BOSE Companion 5 speakers and have had the same problem. I've searched everywhere and gotten nowhere. My speakers are way past their warranty, so calling Bose would probably get me no where either. Only thing I can think of is that the speakers overheat which causes the spikes in the volume. I've tried unplugging them for a few minutes and then plug them back on. The problem does go away, but after about 5 minutes, same problem.

  • How to mass get material where-used list

    Dear Experts,
    Prsently, we can get material where-used list  one by one by CS15, and then we want to mass get them for many  of  materirlas once.
    Could you give me a good idea?
    Thanks and best Regards,
    Colin.

    Hi,
    You would need to use the FM - CS_WHERE_USED_MAT or CSEP_MAT_BOM_SELECT_WHERE_USED in a Z program & you will be able meet your need.
    However a word of caution, the run time will be long if you run for several materials a time. Good luck.
    Regards,
    Vivek

  • I want to get the mail received time..

    Hi,
    For my application, i want to get the email received date and time. I tried to use getReceivedDate, since i am using POP3 protocol, it is not working. Then i tried to use getSentDate, it is giving me the date which is not matching with actual sent date. For any date, it is giving me one standard date, 03/09/09 3.25..
    Could any one tell me, why sentDate is giving me wrong date? Thanks.

    bshannon,
    thanks. I am able to realizee now that sentDate is retrieved from Date header. Actually i am reading first email from inbox folder using Message[] message..
    message[0]. In that mail server, inbox has only one email, so i expected that to give that sent date.
    But the problem is, it is reading some other email.. it is giving the sent date of that email.
    I am not able find out from where it is reading. message[0] has to give me the details of the first email right? Do you have any idea on this

  • I want to get the values from the second hiphen only

    Hey Guys,
    I have one column and the data like this
    col1 = 'AI463-901-001'
    Now,
    I want to get the values from the second hiphen only(any no. of values).
    Please can any one help me on this .
    Thanks in advance!
    Regards,
    -LK

    you have a mistake
    you result is -001
    this is right
      select substr('AI463-901-001',instr('AI463-901-001','-',1,2)+1) from dual;
      -- @user11928732 -  if you are using Oracle Database 11g, ttry this please
    with data as
      (select  'AI463-901-001'from dual)
      select substr(str,instr(str,'-',1,2)+1) from data;
      select substr(<YOUR COLUMN>,instr(<YOUR COLUMN>,'-',1,2)+1) from <YOUR TABLE>;result is : 001
    Edited by: Mahir M. Quluzade on May 3, 2011 5:37 PM

  • I did a backup from my 3G and want to get the backup now on my iPhone 4, but the backup from the old 3G is not shown as an option to configurate. How do I get the information on my new phone?

    I did a backup from my 3G and want to get the backup now on my iPhone 4, but the backup from the old 3G is not shown as an option to configurate. How do I get the information on my new phone?

    First, back up your old iphone manually:
    Disable autosync in iTunes, connect your phone to your new computer and right click on it in the device list and choose backup. iTunes will backup your phone without syncing.
    Transfer your purchases the same way, choosing "transfer purchases" this time.
    When you connect your old phone for the first time, all media content will be erased. But you can restore your settings and app data from your manual backup afterwards.
    Don't forget to set up at least one contact and event on your new computer to be able to merge calendars and contacts when you sync the phone for the first time.
    About backups and what's saved: http://support.apple.com/kb/HT1766
    How to back up and restore: http://support.apple.com/kb/HT1414
    How to download apps for free again:http://support.apple.com/kb/HT2519
    After that, connect your new phone and let iTunes set it up. iTunes will detect the old 3G backup and ask you, if you want to use it to restore the info on your new iphone. If you agree, all settings and data will be present after the process is finished.
    This is also explained in this article: http://support.apple.com/kb/HT4137

  • I want to get the information of the attachment without get the whole body

    POP3 server:
    MimeMultipart mp=(MimeMultipart) message[0].getContent();
    int count=mp.getCount();
    //the server deliver the whole attachment when I use mp.getCount
    Part part=mp.getBodyPart(0);
    //when I use getBodyPart the server deliver the whole body too
    I just want to get the information of the BodyPart,just like filename.
    Some say FetchProfile can do it.But I try it failed.
    How could I do this? Thank you!

    Using POP3, you can't. It's a limitation of the protocol.

  • Is there any way to get the query used in discoverer from backend??

    Hi All,
    I am new to dicoverer.
    Is there any way to get the query used in discoverer from backend??
    Thanks,
    Sachin

    Hi,
    you can view the SQL from within the discoverer menu:
    in desktop: View-> SQL Inspector
    in Plus: Tools-> Show SQL
    The SQL in the DB tables is encrypted so it's a problem getting it from there.
    You can export the workbook into SQL but it is not working for every worksheet (subquery, inline pivot tables...)
    you can create a batch file to export them all using the output of this script:
    select null,null,'echo off'
    from dual
    union all
    select distinct
    qs.qs_doc_name Workbook_name,
    qs.qs_doc_details Worksheet_Name,
    'start /wait <path>\dis51usr.exe /connect '||'&p_user_name'||'/'||'&p_password'||'@'||'&p_env'||' /apps_user /apps_responsibility "&responsibility" /opendb '||
    chr(34)||qs.qs_doc_name||chr(34)||' /sheet "'||qs.qs_doc_details||'"'||' /export SQL "C:\Export Discoverer SQL\'||qs.qs_doc_name||'-'||qs.qs_doc_details||'.sql" /batch'
    from eul_us.eul5_qpp_stats qs
    where qs.qs_doc_name is not null
    --order by 1,2
    union all
    select null,null,'echo off'
    from dual
    union all
    select null,null,'exit'
    from dual

Maybe you are looking for

  • Can Apple TV start up playing from My Music??

    I really like how the latest 3.0 update to Apple TV finally lets me scroll around and look through the movies while still playing my music... that is after I've gone into My Music and told it to play it. Is there a setting that will allow the ATV to

  • Count new records from Oracle function.

    Is it possible to count all the new records inserted? I have a script with a couple of insert statements, before I do commit all the actions done in the script I like to read the numbers of new records. I do not have a key that I can use to select th

  • Playbook 2.0

    fyi.... the OS update has been available for a few hours now.  Download took 10 minutes and installation took another 10 minutes for me.

  • Need p4198954_21_LINUX.zip for installing Oracle9i (9.2.0.4) on EL4 Upate 5

    I need Patch 4198954 for the installation of Oracle9i (9.2.0.4) on EL4 Update 5 but I do not have a metalink registration. Therefore, I can't download. Does anybody has a copy? Please help. Thanks in advance

  • Sony handycam SR150E

    Just bought a brand new sony HDD camcorder (SR150E) my imac doesnt do anything when I connect via the usb cable. How do I get my video onto my imac from this device?? I am new to this HDD video. many thanks