View or function to return the full path hierarchy of an organization

Hi,
The customer is asking to provide a report showing for each assignment of each employees the corresponding organization where it is assigned and the full path of the organization hierarchy.
The organization hierarchy is at most 6 level deep, so they want to produce the report with the columns:
root_organization | org_level1 | org_level2 | org_level3 | org_level4 | org_level5 | org_level6 | person_name | assignment_date
if the person is assigned in an organization lower than the 6th level, the remainin columns should be empty.
I see that the view HRFG_ORGANIZATION_HIERARCHIES returns only one step in the organizations hierarchy: Parent_organization_name, Child_organization_name.
Is there any view or function as well which returns the full path of an organization in the hierarchy? At least a function which returns the full path parents of the organization delimited by commas.
Thank you

Hi,
Yes, I wrote a custom code but is running a bit slowly for around 1000 organizations and more than 15 version of hierarcy (so 15000 rows of this view). I wanted to know if there is any optimized code provided by Oracle.
Thank you.

Similar Messages

  • How to get the full path of the fmx's directory.

    Hi all,
    I will ship my project to a customer. So I must install forms runtime at the customer's machine.
    I put all of the fmx files of my project into a certain directory at the customer's machine, and I create a desktop shortcut of the forms runtime. In the "start in" field of the shortcut property I put the full path of the directory where I put the fmx files. And in the target field of the shortcut property I put after the ifrun60.exe the name of the fmx file which to call first.
    Now , in one of my forms file I want to get the full path of this directory because I must call Ora_Ffi.Load_Library. And the library which I want to load resides on that directory.
    So how to get programatically the directory where the fmx files reside.
    I know that there is the registry entry FORMS60_PATH, but we plan to ship many projects to that customer; so if I use the FORMS60_PATH variable then there will be an error because there will be many directories. And the customer can launch many of the projects at the same time.
    So how to get it.
    Thank you very much indeed.

    If you are using the d2kwutil library, then you can use the win_api_environment.Get_Working_Directory() function.
    If not, I doubt that there is anyway to get it since the get_application_property(current_form) does not return the full path of the form as it used to in prior versions of Oracle forms such as 4.5.

  • How to get the full path of a specific programe(flash media live encoder in my case) in air?

    I need to call it in air,but first of all how can I figure out where it's installed programatically?

    If you are using the d2kwutil library, then you can use the win_api_environment.Get_Working_Directory() function.
    If not, I doubt that there is anyway to get it since the get_application_property(current_form) does not return the full path of the form as it used to in prior versions of Oracle forms such as 4.5.

  • Function or method which returns the full PDC path of webdynpro iview

    Hi All,
    I have created a webdynpro application and created a webdynpro Iview in portal and attached this view to a role.  I am looking for any standard function module or method which returns the full PCD path of the webdynpro iview, when it executed from portal.
    Regards,
    H.K.Hayath Basha.

    Well in ABAP, we don't have portal APIs to access potal catalog info.
    The only available Portal Interface is IF_WD_PORTAL_INTEGRATION
    Abhi

  • How do I get the full path and filename of the current document?

    I'm writing a format plug-in. How do I obtain the full path and filename of the current image (document) from within my plug-in? Any help would be greatly appreciated!

    I actually just figured this out. For anyone else who would like to know, check out the propetizer sample code in the photoshop sdk. It makes a "filter" plug-in that just spits out all the properties of the document you could ever want to know about. The function I used to get the full path and filename of the current document is PIGetDocumentName(). I hope this helps someone eventually...

  • How to get the full path instead of just the file name, in �FileChooser� ?

    In the FileChooserDemo example :
    In the statement : log.append("Saving: " + file.getName() + "." + newline);
    �file.getName()� returns the �file name�.
    My question is : How to get the full path instead of just the file name,
    e.g. C:/xdirectory/ydirectory/abc.gif instead of just abc.gif
    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.filechooser.*;
    public class FileChooserDemo extends JFrame {
    static private final String newline = "\n";
    public FileChooserDemo() {
    super("FileChooserDemo");
    //Create the log first, because the action listeners
    //need to refer to it.
    final JTextArea log = new JTextArea(5,20);
    log.setMargin(new Insets(5,5,5,5));
    log.setEditable(false);
    JScrollPane logScrollPane = new JScrollPane(log);
    //Create a file chooser
    final JFileChooser fc = new JFileChooser();
    //Create the open button
    ImageIcon openIcon = new ImageIcon("images/open.gif");
    JButton openButton = new JButton("Open a File...", openIcon);
    openButton.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    int returnVal = fc.showOpenDialog(FileChooserDemo.this);
    if (returnVal == JFileChooser.APPROVE_OPTION) {
    File file = fc.getSelectedFile();
    //this is where a real application would open the file.
    log.append("Opening: " + file.getName() + "." + newline);
    } else {
    log.append("Open command cancelled by user." + newline);
    //Create the save button
    ImageIcon saveIcon = new ImageIcon("images/save.gif");
    JButton saveButton = new JButton("Save a File...", saveIcon);
    saveButton.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    int returnVal = fc.showSaveDialog(FileChooserDemo.this);
    if (returnVal == JFileChooser.APPROVE_OPTION) {
    File file = fc.getSelectedFile();
    //this is where a real application would save the file.
    log.append("Saving: " + file.getName() + "." + newline);
    } else {
    log.append("Save command cancelled by user." + newline);
    //For layout purposes, put the buttons in a separate panel
    JPanel buttonPanel = new JPanel();
    buttonPanel.add(openButton);
    buttonPanel.add(saveButton);
    //Explicitly set the focus sequence.
    openButton.setNextFocusableComponent(saveButton);
    saveButton.setNextFocusableComponent(openButton);
    //Add the buttons and the log to the frame
    Container contentPane = getContentPane();
    contentPane.add(buttonPanel, BorderLayout.NORTH);
    contentPane.add(logScrollPane, BorderLayout.CENTER);
    public static void main(String[] args) {
    JFrame frame = new FileChooserDemo();
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    frame.pack();
    frame.setVisible(true);

    simply use file.getPath()
    That should do it!Thank you !
    It takes care of the problem !!

  • How to get the full path or name of the Layer to which Filter is applied?

    Hi All,
              I have created a layer using some background image as source. How to get the name or ful path of the background image?
    I checked the documentation and found GetPathNameProc(SPPlatformFileSpecification*) function, but I couldn't get the parameter SPPlatformFileSpecification*.
    Is there any other way to get the file path of background layer in my custom filter?
    Thanks,
    Dheeraj

    If this is a client side application then I'd say look into drag-n-drop tutorials.
    i.e. drag file to your application, action listener fires, create File object giving you full name and path of users action.
    If this is a web application then look into the "multipart/form-data" content type specifications on how to upload files.
    i.e. user specifies file from <input type='file' ... /> type, submits, servlet receives data and recreates file locally on application server side.
    If you are thinking that all you need to send a file to a program is the full path and name in a textbox its a little bit more complicated then that.
    Good luck, hope that helps!

  • Get only the filename not the full path of the file.

    hi to all..
    how can i get only the filename of the file not the full path and to be placed on a textinput.?
    example:
    when i'browse the file and select sample.txt
    "C:\Users\user\Desktop\folders\sample.txt" this will be inputted on the textinput.
    however, what i want to have is when i'browse and select a file..
    textinput should only contain "sample".
    does anyone knows how to do it?

    Hi cyrus@adobe,
    How are you getting the full path of the file when you browse, I dont think for security reasons the Flash Player will aloow to do so. You can only get the file name not the full path of the file when you browse.
    Are you using Flex4..?? I am not sure whether this is possible in Flex4..However if you are getting full path and if you wanted to show only the filename then you can just use theString class split function to acehive this..
    var fullPath:String = "C:\Users\user\Desktop\folders\sample.txt";
        var splitPath:Array = fullPath.split("\");
        textInput.text = splitPath[splitPath.length-1];
    Thanks,
    Bhasker

  • Managed Metadata Refiner and Displaying the Full Path

    Does anyone know how best to work with the metadata refiner for a column that is set to show the full path of the tag?  We need to display the full path for this column when used in various views; however, when the full path is shown is the search refiner
    it is too long and run out into the search results.  (see picture)
    Is there a way to only show the tag name and not the full path to the tag within the refiner but still have it show the full path within libraries?  Thank you

    Daniel,
    Thank you for this article.  It looks like it would help, but when I replace the xslt with what's suggested in the article my refinement panel disappears.  Perhaps I'm not implementing it correctly.  I have a couple of managed metadata refiners
    listed as the first two refiners in the panel in addition to the usual ones such as author, date, site.
    What I did is that I replaced the xslt inside the <a> tags with the xlst mentioned in the article.
    <a class="ms-searchref-filterlink" href="{$SecureUrl}" title="{$RefineByHeading}: {$UrlTooltip}">
    <xsl:value-of select="Value"/></a>
    with
    <a class="ms-searchref-filterlink" href="{$SecureUrl}" title="{$RefineByHeading}: {$UrlTooltip}">
    <xsl:variable name="PartOfValue">
    <xsl:call-template name="substring-after-last">
    <xsl:with-param name="string" select="Value" />
    <xsl:with-param name="delimiter" select="':'" />
    </xsl:call-template>
    </xsl:variable>
    <xsl:variable name="PartOfTooltip">
    <xsl:call-template name="substring-after-last">
    <xsl:with-param name="string" select="$UrlTooltip" />
    <xsl:with-param name="delimiter" select="':'" />
    </xsl:call-template>
    </xsl:variable>
    <xsl:choose>
    <xsl:when test="($FilterCategoryType = 'Microsoft.Office.Server.Search.WebControls.TaxonomyFilterGenerator') and ($PartOfValue != '')">
    <xsl:if test="not(contains($PartOfValue, '…'))">
    <xsl:value-of select="$PartOfValue"/>
    </xsl:if>
    <xsl:if test="contains($PartOfValue, '…')">
    <xsl:value-of select="$PartOfTooltip"/>
    </xsl:if>
    </xsl:when>
    <xsl:otherwise>
    <xsl:value-of select="Value"/>
    </xsl:otherwise>
    </xsl:choose>
    </a>
    Is this correct? Thanks for the help.
    Matthew

  • How to get the full path of the plug-in on Mac

    I use SDK function "GetPluginFileSpecification" to get the full path of the plug-in .On Windows,I success(for example I get "C:\Adobe\plugin.aip"), On Mac , I only get the plug-in's name(for example"plugin.aip").If I want to get the full path of the plug-in on Mac,is there other function I can use ?

    Thank you for the answer.
    Unfortunately i'm working on Photoshop plugin, not illustrator.
    i was looking for solution on google and i found this post.
    I hope you can help me becouse this plug-in is very simple, it must execute a file in the same directory where the plugin is installed.
    If i execute system("./Appname.app/Contents/MacOS/AppName"); the plugin search in my home directory (on windows and on MacOS).
    i try to write:
         SPPluginsSuite* sSPPlugins;
        SPPluginRef fPluginRef = message->d.self;
        SPPlatformFileSpecification filespec;
        sSPPlugins->GetPluginFileSpecification(message->d.self, &fileSpec);
        filespec.mReference
        ai::FilePath path(platformFileSpec);
        std::cout << path.GetFullPath().as_Platform() << std::endl;
    but i have several errors.
    Thank you

  • Server.MapPath(virtualPath) Returns root directory of controller, it is nor returns the physical path mentioned in the virtual directory in IIS

    I have created a virtual directory "myVirtualFile" virtual path is "\myVirtualFile" and I have given physical path as "D:\Home\myProject\Files"
    Below is my code
    var virtualpath="/myVirtualFile\UserManual";
    var resultPath=Server.MapPath(virtualpath);
    out put is resultPath contains "D:\Home\myProject\Web\client\myVirtualFile\UserManual" Expected out put is "D:\Home\myProject\Files".
    It returns the folder structure of my project. I didn't return the physical path which I mentioned in virtual directory.

    Hi,
    I am not expert on Asp.Net. But I will try my best.
    The following sample is what are
    Virtual paths and Physical paths
    ASP.NET the "~" tilde indicates the root of a virtual path.
    Virtual paths
    ~/App_Data/Sample.xml
    ~/
    ~/Map.txt
    Physical paths
    C:\Website\Files\Sample.xml
    C:\Website\Default.aspx
    C:\Website\Map.txt
    Server.MapPath doesn't find automatically where a file is. It allows to get the physical path
    corresponding to a virtual path (relative to the current request if you don't give an absolute path)
    If above still cannot resolve your issue, please repost in Asp.Net forum, The link as above posted.
    Have a nice day!
    Kristin
    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.

  • Not the Full Path?

    In CS3, when I'm in code view, why can't I see the full path
    for my sources?
    I'm coming from Go Live 5 (old, I know), wherein the
    Inspector would show the full source path, which I could copy and
    paste into other apps.
    Please help!

    You cannot. You would have to enter the full path manually.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "lidiariott" <[email protected]> wrote in
    message
    news:g2bnpr$jlt$[email protected]..
    > This is from Dreamweaver's code view:
    >
    > <p><a href="1285_Sutter_eFlyer_CA.pdf"
    target="_blank"><img
    > src="1285_Sutter.jpg" alt="Investment Opportunity"
    width="800"
    > height="1045"
    > /></a>
    >
    > This is from Go Live's Inspector:
    >
    > <p><a
    > href="
    http://www.colliers-international.com/sanfrancisco/1285_sutter/1285_Sutter
    > _eFlyer_CA.pdf" target="_blank"><img
    > src="
    http://www.colliers-international.com/sanfrancisco/1285_sutter/1285_Sutter.
    > jpg" alt="Investment Opportunity" width="800"
    height="1045" /></a>
    >
    > For my purpose I'll copy the code into 3rd party
    software that generates
    > e-mail blasts.
    >
    > How do I make DW show me full source paths?
    >

  • How do I obtain the full path string for my file?

    Many Mac applications are particularly bad at guessing what folder I want to grab a file from.  As a result, I waste a great deal of time fishing all through my directory tree in order to put and take my files in and from the right location.  It does seem to be better is some applications but still the nuisance is an issue.  Of course in Windows this can happen too except there I have a workaround to help out the foolish applications.  I can copy the full literal path to the clipboard from Explorer.  Then when the file access dialog comes up I can paste the full literal path ahead of the filename and snap to the correct folder.  On my mac, I have had mixed success approximating this strategy.  Sometimes, if the target folder isn't empty, I can use the Finder to browse to the target folder and open the Get Info dialog for a file and copy the full path from within that dialog.  This does not work though when the folder is empty and Mac does not support the create new text file on the fly feature.  Furthermore, I have noticed some strange behavior even when I do have the full path copied.  One such example is using TextEdit, pasting this full path has resulted in the application using the full path as a really long filename for the new file which still resides in the folder the application incorrectly assumed.
    There is a list box in most Mac file access dialogs with _some_ of the recent folders I accessed listed for quick selection but nine times out for ten the folder I just came from isn't among them.  That detail really surprises me.  Do regular Mac users have habits that prevent problems like this, or is there a better way to _bank_ a literal folder location I know I'll need to use soon and often, or do I just need to get used to fishing for folders during file access?

    Welcome to Apple Support Communities. Most of us are users here.
    Create folders and drag those 'frequently used' folders to the left-hand FAVORITES column/sidebar in Finder.
    Then just drag your files to the destination folders, or click on them to select them as destinations from your applications.
    When you no longer need these folders, right-click to remove them from the FAVORITES sidebar.
    They'll still be in the original location where they were created, just no longer visible in the sidebar.
    Another thing to note is that the full path of your current destination is shown at the bottom of the screen in Finder. In this case Macintosh HD, Users, (Home folder name), Desktop.

  • How can I show the full path in terminal?

    By default I only see the current folder
    How can I toggle it so that I see the full path instead?
    I say toggle - I'd like to switch on and off
    Thanks
    Omar

    @arthur, awesome! thats better than what i was trying to do!
    i only wanted to get the path so that i could cd to it
    but then i have to add quotes around because of spaces
    the method u suggested escapes all required chars and means i can just type cd and then drag the folder and then press enter
    @barney: super helpful - i need to re-remember my unix commands. lol

  • How to get the full path of a file

        If the user selects a file through a browse button, Is there a way, I can get the full path of the file. The file can be from his local hard drive as well.. Can someone advise    

    To upload multiple files (example is for 3), try something like this.
    == Form section ==
    There would be three(3) file form fields for the selection of a file/document to upload, which
    each being uniquely named.
    <div style="clear: both;">
    <cfinput type="file" name="upload_01" dir="ltr" lang="en" size="70" xml:lang="en">
    </div>
    <div style="clear: both;">
    <cfinput type="file" name="upload_02" dir="ltr" lang="en" size="70" xml:lang="en">
    </div>
    <div style="clear: both;">
    <cfinput type="file" name="upload_03" dir="ltr" lang="en" size="70" xml:lang="en">
    </div>
    == Processing section ==
    Checks to see if any files / documents were selected for upload. If none were, then
    displays an alert indicating as such. If at least one file/document was selected, then
    the process would process the upload.
    <cfif isdefined('form.upload_01') and trim(form.upload_01) eq "" and
    isdefined('form.upload_02') and trim(form.upload_02) eq "" and
    isdefined('form.upload_03') and trim(form.upload_03) eq ""
    >
        <p>Did not select any files to upload</p>
    <cfelse>
        <cfif isdefined('form.upload_01') and trim(form.upload_01) neq "">
            <cffile
                action="upload"
                destination="C:\path\to\upload\files\to"
                filefield="upload_01"
                nameconflict="overwrite"
                accept="
                  application/msword
                , application/vnd.openxmlformats-officedocument.wordprocessingml.document
                , application/vnd.ms-excel
                , application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
                , application/pdf">
                <cfcookie name="upload_01_doc" value="#cffile.serverfile#">
                <cfcookie name="upload_01_doc_ext" value="#cffile.serverfileext#">
        </cfif>
        <cfif isdefined('form.upload_02') and trim(form.upload_02) neq "">
            <cffile
                action="upload"
                destination="C:\path\to\upload\files\to"
                filefield="upload_02"
                nameconflict="overwrite"
                accept="
                  application/msword
                , application/vnd.openxmlformats-officedocument.wordprocessingml.document
                , application/vnd.ms-excel
                , application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
                , application/pdf">
                <cfcookie name="upload_02_doc" value="#cffile.serverfile#">
                <cfcookie name="upload_02_doc_ext" value="#cffile.serverfileext#">
        </cfif>
        <cfif isdefined('form.upload_03') and trim(form.upload_03) neq "">
        <cffile
            action="upload"
            destination="C:\path\to\upload\files\to"
            filefield="upload_03"
            nameconflict="overwrite"
            accept="
                  application/msword
                , application/vnd.openxmlformats-officedocument.wordprocessingml.document
                , application/vnd.ms-excel
                , application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
                , application/pdf">
            <cfcookie name="upload_03_doc" value="#cffile.serverfile#">
            <cfcookie name="upload_03_doc_ext" value="#cffile.serverfileext#">
        </cfif>
        <cflocation url="completed.cfm" addtoken="no">
    </cfif>
    == Completed section ==
    Can confirm to the person what files were actually uploaded, by displaying file name and file extension.
    You can you use the file extension information to display a respective icon for the file type.
    <cfoutput>
    <cfif isdefined('cookie.upload_01_doc')>
    01. #cookie.upload_01_doc# - #cookie.upload_01_doc_ext#<br /></cfif>
    <cfif isdefined('cookie.upload_02_doc')>
    02. #cookie.upload_02_doc# - #cookie.upload_02_doc_ext#<br /></cfif>
    <cfif isdefined('cookie.upload_03_doc')>
    03. #cookie.upload_03_doc# - #cookie.upload_03_doc_ext#<br /></cfif>
    </cfoutput>
    Leonard B

Maybe you are looking for

  • URGENT: Importing deployed-composites.xml File into MDS

    Gurus, I am running into a problem whereby soa-infra application crashes upon server restart. This doesn't allow soa_server (managed server) to come up properly. I see the following error during server start up: <Sep 20, 2011 3:02:18 AM PDT> <Error>

  • Is it possible to load a non-standard image using some Java API?

    Hi, My "problem" is: 1. I have an image called "mediterranean_sea.IMG" (non-standard image format) 2. I need to process it (histogram, palette, etc). 3. I'm wondering if it is possible to load this image an process it using some Java API. 4. I've tri

  • Help required in OIM-OID LDap Synch and GTC flat file connector

    Hi Experts, I am using OIM 11.1.1.5 with OID LDap Synch enabled. I have OIM protected with OAM 11.1.1.5.0 and almost all normal things are working. Once I am doing TRUSTED FLAT FILE GTC recon to OIM, the users are getting created in OIM without any p

  • Why doesn't apple tv appear when playing video in safari?

    Hi Guys:      I just bought an apple tv. I am able to use the mirroring function with no problem, and I can see the apple tv in the "Airplay" menu.      But When i play a video in safari(mirroring turned off), I can not see my apple TV in the "AirPla

  • Time display incorrect using Output (generatePDFOutput) module

    I needed to manipulate the date & time to display the day, date time with am/pm and timezone. So using formcalc with renderPDFForm as the module i am using this formCalc code: $.rawValue = Concat(Num2Date(Date(), "EEEE MMM DD YYYY")," ", Num2Time(Tim