Is it possible to generate a report without supplying the Hierarchy Id and Entity Ids?

Hi,
I'm new to this Chargeback JAVA API.
What I wanted was to create/generate a report without having to provide a hierarchy id or entity id.
It's like more of a dump report for all the hierarchies and entities managed by the Chargeback server.
Thanks.

Thanks Diwakar.
I would be doing something like this then...
HierarchyManagerImpl hm = HierarchyManagerImpl.getInstance();
List hierarchiesList = hm.getAllHierarchies(cbClient);
//loop hierarchiesList
    // HierarchyEntitiesType entityType = hierarchiesList [n].getEntities()
   // entityType.getEntities()
How do I determine if this "entity" is a "vCenter Server entity" and not "vCenter Chargeback Manager entity"?
Im quite confused on the following classes and please confirm if getting the steps for getting the attribute value is correct:
HierarchyType
HierarchyEntitiesTypethis has a getEntity() which returns a list of:
HierarchyEntityTypethis has a getAttributes() which returns
EntityAttributesTypethis has has a getAttribute() which returns
EntityAttributeType
does invoking getValue() return 101 for Chargeback Manager entity or 0 for vCenter Server entity? (based on cbm_users_guide_2_0_0.pdf, Table 4-1. p57)
Thanks heaps for any help.

Similar Messages

  • Create a tablespace without specifying the datafile path and name

    HI,
    Is it possible to create a tablespace without specifying the datafile path and name.
    For eg : if we just specify the tablespace name and the size of the datafile, the datafile should be created in a default location with default name? Is it possible?

    user13364377 wrote:
    HI,
    Is it possible to create a tablespace without specifying the datafile path and name.
    For eg : if we just specify the tablespace name and the size of the datafile, the datafile should be created in a default location with default name? Is it possible?Using Oracle-Managed Files
    Oracle internally uses standard file system interfaces to create and delete files as needed for the following database structures:
    * Tablespaces
    * Online redo log files
    * Control files
    Through initialization parameters, you specify the file system directory to be used for a particular type of file.
    EXAMPLE:
    The following parameter settings are included in the initialization parameter file:
    DB_CREATE_FILE_DEST = '/u01/oradata/sample'
    DB_CREATE_ONLINE_LOG_DEST_1 = '/u02/oradata/sample'
    DB_CREATE_ONLINE_LOG_DEST_2 = '/u03/oradata/sample'
    The following statement is issued at the SQL prompt:
    SQL> CREATE DATABASE sample;
    SQL> CREATE TABLESPACE tbs_2 DATAFILE SIZE 400M ;
    SQL> CREATE UNDO TABLESPACE undotbs_1;
    refer the link for more information:
    http://download.oracle.com/docs/cd/B10500_01/server.920/a96521/omf.htm

  • Linking to an OBIEE report without showing the user and password

    Hi!
    we are trying to access to an obiee report from an external portal (coded with php).
    The idea is that the user clicks on a link an gets the report in pdf format. For that purpose we are using this url:
    http://ttivobiee01:7001/analytics/saw.dll?Go&Path=/shared/Prueba/ogp_obi&Action=Print&P0=1&P1=eq&P2="Criteria"."Key"&P3=1402&NQuser=user&NQPassword=pass&format=pdf
    But this url is expossing OBIEE's user and password.
    In order to avoid this security issue we tried to do an wget of the url but it doesn't return the report. Instead we get an html, which seams to download the report chunk by chunk (using javaScript).
    The question is, is there any way that we could let our portal ussers access to an obbie report without expossing the user and password?
    I have been looking into oracle forums and have found this: OBIEE Go URL with password protected
    but we couldn't use this aproach due to security issues.
    Thanks!
    Nuria

    Hi!
    We have finally done this (and it works!)
    <?php
    $urlInforme='http://obi:7001/analytics/saw.dll?Go&Path=/shared/Prueba/ogp_obi&Action=Print&P0=1&P1=eq&P2="Criterios"."Clave oficial"&P3=1402&NQuser=user&NQPassword=pass&format=pdf';
    $ch = curl_init($urlInforme);
    $ckfile = tempnam ("./", "CURLCOOKIE");
    $ch = curl_init ($urlInforme);
    curl_setopt ($ch, CURLOPT_COOKIEJAR, $ckfile);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    $output = curl_exec ($ch);
    $ch = curl_init ($urlInforme);
    curl_setopt ($ch, CURLOPT_COOKIEFILE, $ckfile);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    $fp = fopen("salida.pdf", "w");
    curl_setopt($ch, CURLOPT_FILE, $fp);
    $output = curl_exec ($ch);
    curl_close($ch);
    fclose($fp);

  • In i-tunes, is it possible to change/delete artwork without deleting the track?

    In i-tunes, is it possible to change/delete artwork without deleting the track? If so, How?

    Highlight a track. File > Get Info, then click the artwork tab.

  • Is it possible to Install Oracle Apps without having the user in a group db

    Can we Install oracle 11i with the user oracle:dba for db tier and user aapl:aapl for application tier.
    Is it possible to Install Oracle Apps without having the user in a group dba

    Can we Install oracle 11i with the user oracle:dba for db tier and user aapl:aapl for application tier.
    Is it possible to Install Oracle Apps without having the user in a group dbaI would say no, as the dba group is required to do the database administration tasks.
    What is the point of not using the dba group? Any specific reason?
    Thanks,
    Hussein

  • Is it possible to search for multiple folders with the same name and...

    Is it possible to search for multiple folders with the same name and then select them all and change the permissions on just those folders .i.e. Search for the budget folders in all client folders and lock them down to just the project managers. Without having to go to each folder and apply the permissions.

    user11919409 wrote:
    Is it possible to create a Clone database with the same name of source db using RMAN ...
    yes
    >
    DB version is 11.2.0.2
    Is it possible to clone a 11.2.0.2 database to 11.2.0.3 home location directly on a new server . If it starts in a upgrade mode , it is ok ....yes
    Handle:     user11919409
    Status Level:     Newbie (10)
    Registered:     Dec 7, 2009
    Total Posts:     102
    Total Questions:     28 (22 unresolved)
    why do you waste time here when you rarely get any answers to your questions?

  • I have 2 ipod touches. I backed up the new one with old's info. The old one will not unlock with the password I had wrote down and I tried my new ones password.  How can I reset the old ipod without affecting the new one and how can I unlock the old one?

    I have 2 ipod touches. I backed up the new one with old's info. The old one will not unlock with the password I had wrote down and I tried my new ones password.  How can I reset the old ipod without affecting the new one and how can I unlock the old one?

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software

  • My iPad is disabled, but I know the passcode.. When i connect it to iTunes it says it can't access it because it has a passcode. How can i get rid of the passcode without resetting the iPad? And if there is no way to do so, how do I completely reset it?

    My iPad is disabled, but I know the passcode.. When i connect it to iTunes it says it can't access it because it has a passcode. How can i get rid of the passcode without resetting the iPad? And if there is no way to do so, how do I completely reset it?

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.htmlhttp://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tbhttp://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Devicehttp://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htmhttp://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • My ipad was stolen. I reported it to the Toronto Police and put it as lost mode. Now what?

    I reported it to the Toronto Police and put it as lost mode. Now what?

    If the iPad was running iOS 7, the thief will not ever be able to use it.
    iCloud: Find My iPhone Activation Lock in iOS 7
    http://support.apple.com/kb/HT5818
    Apple (and no one else) can not assist (with serial number or iCloud) in finding a lost or stolen iPad.
    Report to police along with serial number. Change all your passwords.
    These links may be helpful.
    How to Track and Report Stolen iPad
    http://www.ipadastic.com/tutorials/how-to-track-and-report-stolen-ipad
    Reporting a lost or stolen Apple product
    http://support.apple.com/kb/ht2526
    What to do if your iOS device is lost or stolen
    http://support.apple.com/kb/HT5668
    iCloud: Locate your device on a map
    http://support.apple.com/kb/PH2698
    iCloud: Lost Mode - Lock and Trace
    http://support.apple.com/kb/PH2700
    iCloud: Remotely Erase your device
    http://support.apple.com/kb/PH2701
    Report Stolen iPad Tips and iPad Theft Prevention
    http://www.stolen-property.com/report-stolen-ipad.php
    How to recover a lost or stolen iPad
    http://ipadhelp.com/ipad-help/how-to-recover-a-lost-or-stolen-ipad/
    How to Find a Stolen iPad
    http://www.ehow.com/how_7586429_stolen-ipad.html
    What NOT to do if your iPhone or iPad is lost or stolen
    http://www.tomahaiku.com/what-not-to-do-if-your-iphone-or-ipad-lost-or-stolen/
    Apple Product Lost or Stolen
    http://sites.google.com/site/appleclubfhs/support/advice-and-articles/lost-or-st olen
    Oops! iForgot My New iPad On the Plane; Now What?
    http://online.wsj.com/article/SB10001424052702303459004577362194012634000.html
    If you don't know your lost/stolen iPad's serial number, use the instructions below. The S/N is also on the iPad's box.
    How to Find Your iPad Serial Number
    http://www.ipadastic.com/tutorials/how-to-find-your-ipad-serial-number
    iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number
    http://support.apple.com/kb/HT4061
     Cheers, Tom

  • Extracting Time without using the System Date and Time

    Hi, can I know how to process a task at this particular time eg. 6PM everyday without using the System Date and Time..
    Do I need to use a Timer to get this done or is there any other solution to do this? Can give me a few hints? Thanks in advance =D

    You could use a timer...assuming you had some good reference point when you started so you would know that from your starting point it's now 6pm.
    I thought I saw you asked this question once already...and you were given a similar answer....I think by Sylviae?

  • How to report print to the printer immediately and display the popup?

    Dear friends,
    I am running my report in background and displaying the confirm results on popup window and sending the results to printer,
    but now i want to send the results page to printer then  want to display the popup.
    i have writen my popup perform after printer perform only but its not working...when i am clossing the popup or came back from that popup then only the results sending to printer...
    How to report print to the printer immediately and display the popup?
    Thanks in advance
    Sridhar

    Hi Sudheer,
    I am using my print parameters like this :
        NEW-PAGE PRINT ON DESTINATION ws_printer
                             IMMEDIATELY 'X'
                             KEEP IN SPOOL 'X'
                             NEW LIST IDENTIFICATION 'X'
                             SAP COVER PAGE 'X'
                             ARCHIVE MODE '1'
                             LINE-COUNT 64
                             LINE-SIZE 170
                             NEW-SECTION
                             NO DIALOG.
    Then also its not printing immediatly.
    here one thing for displaying the popup i am using submit report(calling another report for popup purpose)
    before trigering the submit programe i need to print this.
    Thanks
    Sridhar.

  • Is it possible to generate a report in CSV/text format ?

    Hello , I received a request from a client to generate a report in CSV/text format ? Is it possible ?
    How should I do it ? Thanks.

    Hi!
    If i understood right, you want to generate a .csv-file from all item-values and records in your / customers form:
    So try this procedure:
    procedure write_csv_file( p_csv_file in varchar2,
                              p_block    in varchar2 ) is
    l_file      client_text_io.file_type;
    l_item      varchar2(61) := p_block || '.' || get_block_property ( p_block, first_item );
    l_tmp_str   varchar2(32000);
    l_delimeter varchar2(1) := ';';  --> change as you need (',' or char(9) for tab)
    l_cnt       pls_integer := 1;
    l_too_big   exception;
    begin
    l_file := client_text_io.fopen ( p_csv_file, 'W' );  --> existing file will be deleted!
    if
      NOT client_text_io.is_open ( l_file )
    then
      message ( 'File ' || p_csv_file || ' could not be opened for writing. Please check filename and path.' );
      message ( ' ' );
      return;
    end if;
    for l_rec in ( select :system.cursor_block cur_block from dual ) loop --> this one-count-loop is just for Steve C.
                                                                         --> spare one variable and plenty of ram ;-)
      if
        :system.cursor_block != upper ( p_block )
      then
        go_block ( p_block );
      end if;
      first_record;
      loop
        loop
          if
            get_item_property ( l_item, item_type ) in ( 'TEXT ITEM', 'LIST', 'RADIO GROUP', 'CHECKBOX', 'DISPLAY ITEM' )
          then
            if
              length ( l_tmp_str || name_in ( l_item ) || l_delimeter ) > 32000
            then
              raise l_too_big;
               end if;
            l_tmp_str := l_tmp_str || name_in ( l_item ) || l_delimeter;
          end if;
          exit when     l_item = p_block || '.' || get_block_property ( p_block, last_item );
          l_item := p_block || '.' || get_item_property ( l_item, nextitem );
        end loop;
        client_text_io.put_line ( l_file, l_tmp_str );
        l_tmp_str := null;
        exit when :system.last_record = 'TRUE';
        next_record;
        l_item := p_block || '.' || get_block_property ( p_block, first_item );
        l_cnt := l_cnt + 1;
      end loop;
      go_block ( l_rec.cur_block );
    end loop;
    client_text_io.fclose ( l_file );
    message ( l_cnt || ' record/s written to ' || p_csv_file );
    message ( ' ' );
    --> if you don't use webutil, comment out or delete the following line
    --> in forms 6i use host instead of webutil_host.nonblocking.
    --> it starts the csv_file-mimetype attached application
    webutil_host.nonblocking ( 'cmd /c start ' || p_csv_file );
    exception when
      l_too_big
    then
      client_text_io.fclose ( l_file );
      message ( 'Error: The amount of data in record ' || l_cnt || ' exceeds the max. length of 32000 characters. Your file is not complete.' );
      message ( ' ' );
    when
      others
    then
      client_text_io.fclose ( l_file );
      message ( 'Error ' || sqlerrm || ' in write_csv_file Procedure.' );
      message ( ' ' );
    end;You can call this procedure in your when-button-pressed-trigger like:
    begin
    write_csv_file( 'c:\temp\test.csv', :system.cursor_block );
    end;Hope this is what you are looking for.
    Regards

  • Is it possible to generate multiple reports output in single click

    Hi All,
              I am using OBIP 10.1.3.4.1
              I am having 5 reports in a folder. I want to generate all the 5 reports output in a single.
              Is there any possibilities to do it.
    Regards
    Balaji

    Hello Balaji,
    You can schedule the reports at the same time and send the output on the e-mail.
    You cannot use Interactive View for viewing 5 outputs on the same time.
    Regards,
    Liviu

  • Report without saving the records

    Hello all of you,
    i have a master detail block,, and i want to take a print from oracle report 6i without saving the record,, i just enter the record in the text boxes and then press the report button to generate the report
    i am using oracle forms and report 6i with oracle 9i database
    thanks in advance

    Hi i put the code for testing for one block and its not inserting the records and mainly its a non database block and i want to insert only the selected check box' record.I tried following code but its not inserting
    DECLARE
    Num_Tot NUMBER;
    Num_Loop NUMBER;
    BEGIN
    GO_BLOCK('FLX');
    LAST_RECORD;
    Num_Tot := TO_NUMBER(NAME_IN('SYSTEM.CURSOR_RECORD'));
    FIRST_RECORD;
    FOR Num_Loop IN 1..Num_Tot LOOP
    IF :TR.CHK = 1 THEN -- 1 is the value when checked.
    INSERT INTO REC_HIST
    values(:TR.RN_DT,:TR.AC,:TR.Amt,sysdate);
    commit;
    IF :SYSTEM.LAST_RECORD = 'TRUE' THEN
    EXIT;
    END IF;
    end if;
    NEXT_RECORD;
    END LOOP;
    end;
    rgds
    sandya
    Edited by: user10642220 on May 25, 2009 11:56 PM

  • Is there a way to have autogenerated columns in SSRS Report without declaring the column defination at design time.

    I just have a procedure in which i do have a dynamic query.It has certain parameter on the basis of which different set of columns will be returned in the result set. Now I want a SSRS report which can automatically pick up the columns from the Procedure
    result.without declaring column Names at Design Time(As i don't know which columns will come in the result set)
    PS:- I can't make separate matrix/table with their respective column names and show/hide them as I don't know which columns will come from procedure.
    Thanks
    Kanwar

    Can you please give a reference.I want a matrix or table to display the result set as is returned from the procedure.(Lets just say you keep the columns fixed).How without writing the column Names in table/matrix it automatically generates
    the columns similar to resultset.
    A bit of background for Understanding scenario:
    We want to give users the column names, arithmetic operators,etc.(From UI) and then send the query to SSRS. This query will be sent to SQL procedure(which is being used in RDL).What after that ??? . SSRS is not changing the result set dynamically.So as the
    result set is not definite i want table/matrix to populate the data returned from procedure automatically (without defining columns at design - time).
    Thanks
    Kanwar

Maybe you are looking for