Grouping by absolute path

Hello everyone, I have this small problem:
My xml is as follows:
<XXKSAPAYANALYSIS>
<P_ASSIGNMENT_SET_ID></P_ASSIGNMENT_SET_ID><P_PAYROLL_ID>145</P_PAYROLL_ID><P_CONSOLIDATION_SET_ID>82</P_CONSOLIDATION_SET_ID><P_DATE_EARNED>31-MAR-14</P_DATE_EARNED><P_DEPARTMENT></P_DEPARTMENT><P_REPORT_TYPE>Detailed</P_REPORT_TYPE>
<LIST_G_PERSON_ID>
<G_PERSON_ID>
<PERSON_ID>30053</PERSON_ID>
<ASSIGNMENT_ACTION_ID>8910070</ASSIGNMENT_ACTION_ID>
<ASSIGNMENT_SET_ID>208292</ASSIGNMENT_SET_ID>
<ASSIGNMENT_SET_NAME/>
<ASSIGNMENT_ID>30019</ASSIGNMENT_ID>
<CF_PAYROLL_NAME>KSA Company Payroll</CF_PAYROLL_NAME>
<CF_SORT_ORDER>99</CF_SORT_ORDER>
<EMPLOYEE_NAME>Alqahtani, Saeed</EMPLOYEE_NAME>
<EMPLOYEE_NUMBER>0009</EMPLOYEE_NUMBER>
<EMPLOYEE_JOIN_DATE>2011-07-12T00:00:00.000+04:00</EMPLOYEE_JOIN_DATE>
<EMPLOYEE_END_DATE/>
<INPUT_VALUE_NAME>Pay Value</INPUT_VALUE_NAME>
<EMPLOYER>KSA Company Riyadh</EMPLOYER>
<EMPLOYEE_GOSI_NUMBER>374119974</EMPLOYEE_GOSI_NUMBER>
<GOSI_ANNUITIES>Yes</GOSI_ANNUITIES>
<GOSI_ANNUITIES_JOIN_DATE/>
<GOSI_HAZARDS>Yes</GOSI_HAZARDS>
<GOSI_HAZARDS_JOIN_DATE>11-OCT-01</GOSI_HAZARDS_JOIN_DATE>
<USER_STATUS>Active Assignment</USER_STATUS>
<GOSI_REFERENCE_SALARY>5600</GOSI_REFERENCE_SALARY>
<POSITION_NAME>HUMAN RESOURCES MANAGER-RIYADH</POSITION_NAME>
<JOB_NAME>Manager</JOB_NAME>
<LOCATION_NAME>KSA-Riyadh</LOCATION_NAME>
<NATIONALITY_NAME>Saudi Arabian</NATIONALITY_NAME>
<EMP_SERVICE_PERIOD_CURRENT>1 Year(s), 6 Month(s), 29 Day(s)</EMP_SERVICE_PERIOD_CURRENT>
<EMP_SERVICE_PERIOD_PAYROLL>2 Year(s), 8 Month(s), 19 Day(s)</EMP_SERVICE_PERIOD_PAYROLL>
<TICKET_VALUE>0</TICKET_VALUE>
<TICKET_CLASS/>
<TICKET_DESTINATION/>
<TICKET_TYPE>Not Eligible</TICKET_TYPE>
<DATE_EARNED>2014-03-31T00:00:00.000+04:00</DATE_EARNED>
<STANDARD_FLAG>N</STANDARD_FLAG>
<DEPARTMENT>KSA-Riyadh-Human Resources</DEPARTMENT>
<EFFECTIVE_DATE>2014-03-31T00:00:00.000+04:00</EFFECTIVE_DATE>
<PREV_MONTH_RESULT>0</PREV_MONTH_RESULT>
<ELEMENT_NAME>Employer GOSI Hazards</ELEMENT_NAME>
<REPORTING_NAME>Employer GOSI Hazards</REPORTING_NAME>
<CLASSIFICATION_NAME>Employer Charges</CLASSIFICATION_NAME>
<RESULT_VALUE>112</RESULT_VALUE>
<EMPLOYEE_JOIN_DATE>2011-07-12T00:00:00.000+04:00</EMPLOYEE_JOIN_DATE>
<EMPLOYEE_END_DATE/>
<UNPAID_LEAVE_DAYS>0</UNPAID_LEAVE_DAYS>
<ANNUAL_LEAVE_DAYS>0</ANNUAL_LEAVE_DAYS>
<SICK_LEAVE_DAYS>0</SICK_LEAVE_DAYS>
<EXAM_LEAVE_DAYS>0</EXAM_LEAVE_DAYS>
<HAJ_LEAVE_DAYS>0</HAJ_LEAVE_DAYS>
<UMRAH_LEAVE_DAYS>0</UMRAH_LEAVE_DAYS>
<UNPAID_LEAVE_HOURS>0</UNPAID_LEAVE_HOURS>
</G_PERSON_ID>
</LIST_G_PERSON_ID>
</XXKSAPAYANALYSIS>
Now in BI Publisher, I am trying to do something like:
<?for-each-group:/XXKSAPAYANALYSIS/LIST_G_PERSON_ID/G_PERSON_ID[../CLASSIFICATION_NAME='Earnings'];./REPORTING_NAME?>
So basically group person_id by reporting name, where classification name is earnings
I could use //G_PERSON_ID[CLASSIFICATION_NAME='Earnings'], but I have a matrix report. This portion of code is supposed to go into a repeating group and my report is running really slowly. I am trying to speed it up by using an absolute path. Can anyone help with this?

Hope you have installed EBS specific desktop client (for R12.1.3, patch - 12395372) and have developed RTF using that.
Whats the exact error in CP log file?

Similar Messages

  • How can I get the server absolute path of virtual directory?

    Problem context:
    absolute path of my application at JRUN server is
    c:\testing
    nd url is
    http://kaspak/test
    ( kaspak is a machine local to server i-e client nd server r at same machine )
    I m uploading a file nd saving it at server.
    PROBLEM:
    server save my uploaded file at
    C:\Program Files\Allaire\JRun\servers\default
    [ a path where server is installed ]
    while I want to save it at directory
    c:\testing\uploadfiles
    How can I achieve this???
    waiting for quick reply..
    KasPak

    here is a function for which u said,
    protected void readAndSaveFile(MultipartInputStreamHandler in,
    String boundary,
    String filename,
    String contentType) throws IOException
    A utility method that reads a single part of the multipart request that represents a file, and saves the file to the given directory. A subclass can override this method for a better optimized or differently behaved implementation.
    again saving a file, or uploading a file is no problem,
    but saving a file at our desired location,
    nd this can only be done if we know reall/absolute path of our application at server,
    i-e we need an API which can tells the absolute path of our application.
    e.g
    our application url is http://kaspak/testcode
    we need its absolute mapping to directory on server
    e.g it it is at c:\testcode
    if we get the absolute path then we can pass it in above function or in File class constructor.
    isn't it??
    I think in this way i can save file at other location.
    But how i can get absolute path?????
    thanks for ur reply,
    nd waiting for ur reply again.
    wbw
    kaspak

  • How can you determine the absolute path to a dynamically created NetStream object?

    We are trying to implement video captioning with a freeware component, ccforflash. This requires us to provide an absolute or relative path  to our NetStream object. How can we determine this path in Flash CS5 AS3?
    From the CCforFlashCS5 documentation:
    "2. Object name and path
    Type the name and path.  This is the instance name of the object with which CCforFlashAS3 will synchronize. It must be spelled correctly, since CCforFlashAS3 will query the object with this name for timing information in order to synchronize the captions. The path must also be included; either relative to the CCforFlashAS3 component (i.e. this.parent) or the absolute path from the main level of the movie (root)."

    It would be easier if the NetStream object was created on an easily identifiable place on the timeline. This player has an MVC architecture. The NetStream object is created in a subclass to Model class, which is itself a subclass of the EventDispatcher object. The View class access it via an interface.
    As you can guess, it's not that straightforward to determine where the NetStream object is located on the timeline. This is compounded by the fact that the NetStream object does not have a name property.
    I've tried methods like these, but they only work for the DisplayObject class:
    public static function displayObjectPath( avDisplayObject : DisplayObject ) :String
    var lvPath:String = "";
    do
    if( avDisplayObject.name ) {
    // var obj_name:String = (avDisplayObject.name == 'root1') ? 'root' : avDisplayObject.name;
    if (avDisplayObject.name != 'root1') {
    lvPath = avDisplayObject.name
       + ( lvPath == "" ? "" : "." + lvPath );
    } else {
    trace("displayObjectPath() NO NAME avDisplayObject="+avDisplayObject);
    } while( avDisplayObject = avDisplayObject.parent );
    return lvPath;
    } // displayObjectPath
    private  function showChildren(d:DisplayObjectContainer):void {
    trace("showChildren()");
    if (d.numChildren>0) {
    for (var c:Number = 0; c < d.numChildren; c++) {
    trace("showChildren c=",c," name=",d.getChildAt(c).name);

  • What are the reasons for using absolute paths to embedded objects in word?

    Hello,
    hopefully someone can answer me the question why word always stores the absolute paths to linked objects? We use Word for documentation and these documents are stored in a version control system and sometimes several persons are working on a document. Because
    of the absolute paths stored in the document all users would need to have the same directory structure so that the links would work for every person.
    For linked objects it's not even possible to change the absolute paths to relative paths.
    Additionally I would like to know what the difference between a "Graphic" and "Picture" object is. A graphic can be inserted by selecting "INSERT" -> "Pictures" and a "Graphic" doesn't seem to have a field
    function and always uses absolute paths. "Graphics" can be inserted by selecting "INSERT" -> "Quick Parts" -> "Field..." -> "IncludePicture" and it's possible to use relative paths for "IncludePicture"
    objects and it's possible to show the field function of a "Picture" object.
    Regards
    Martin

    This seems to be by design, not too much information about this. The thread below should be helpful for you to understand it:
    https://social.technet.microsoft.com/Forums/office/en-US/6d4445e1-cdc5-4b3b-9355-9081c963fdd9/unable-to-use-relative-object-links-in-word-office-2010-sp1
    Also, from the thread below, you will find some workarounds for this issue:
    http://windowssecrets.com/forums/showthread.php/102080-Relative-Paths-in-Word-Fields-(All)?p=584769&viewfull=1#post584769
    Aravindhan Battepati

  • How to get the absolute path of logicalhost server domain on Windows Sun

    i am reading a file from Xsql Folder, that is located in the logicalhost Sun\AppServer\domains\domain1\applications\j2ee-apps.(IN Sun Application Server)
    I am pretty sure that using the absolute path will solve this issue, so my first question is: How to get the absolute path of logicalhost server domain on Windows?
    i tried with System.getProperty("com.sun.aas.instanceRoot").
    but i am able to retrive Sun\AppServer\domains\domain1 upto this .i am unable to retrive Sun\AppServer\domains\domain1\applications\j2ee-apps.
    please suggest me how u can get absolute path in sun application server

    Take a look here

  • How to get the absolute path of logicalhost server domain on Windows?

    My logicalhost server domain behaves strangely. I am reading a file from collaboration definiton, that is located in the logicalhost/is/domains/domain1/config folder. I thought, that this folder is used as an application root folder so I can read files like ./file from there. And it worked.
    But then I've installed the domain as a Windows service, restarted the PC. When the domain1 gets started, I get exceptions saying that the file can't be found. Then I restart the domain (in domainmgr.bat) and it works again.
    I am pretty sure that using the absolute path will solve this issue, so my first question is: How to get the absolute path of logicalhost server domain on Windows?
    And my second question is: Why does this happen?

    The default folder for a Windows Service is the system32 folder contrary to the instance root folder when starting it as a normal process.
    That's the why, haven't tried the how, but you should be able to get the value by calling System.getProperty("com.sun.aas.instanceRoot").
    Hope this helps
    Paul

  • How to get the absolute path of a DTD referenced in an XML?

    Hello!
    My OS is Windows.
    I use "org.apache.xerces.parsers.SAXParser" which implements LexicalHandler to parse XML files. When method "startDTD" starts and "systemId" is got, how can I get the absolute path? Is there any simple way?
    Regards!

    Hi,
    http://forum.java.sun.com/thread.jsp?forum=34&thread=36
    612The methods in the above topic seem to be available when use a DOM parser..

  • How to find the absolute path of file  which store in KM foler ?

    Hello everyone:
         We want to develop an ABAP program which can write files into KM folder directly.
         So I need to find the absolute path of file which store in KM folder first, then we can consider the develop solution.
         Is this issue possbile that an ABAP  program write files into KM folder  directly ?
         Is there anybody had done this job ?
    Best Regards,
    Jianguo Chen

    Hi,
    http://forum.java.sun.com/thread.jsp?forum=34&thread=36
    612The methods in the above topic seem to be available when use a DOM parser..

  • Read BMP File Requires Absolute Path

    I noticed something today regarding the Graphics Formats, Read JPG File, Read PNG File and Read BMP File vi's. It seems that when reading a JPG or PNG file, a relative path is OK, but when reading a BMP file, an absolute path is required. When the path only contains the filename, it returns:
        Error 1430
        "Open/Create/Replace File in Read BMP File Data.vi->Read BMP File.vi->ReadImageFileTest.vi"
    I tried a simple test that uses either the relative or absolute path, trying to read 3 different files in the same directory as the VI. Only the Read BMP File errors. Of course, the simple work around is to always use the full pathname to a file. Is this only on my system? Is this a known bug or feature or expected behavior?
    I'm using LabVIEW 8.2 on Windows XP.
    Thanks!
    B-)
    Message Edited by LabViewGuruWannabe on 11-05-2007 11:06 PM
    Attachments:
    ReadImageFileTest-FPgood.PNG ‏30 KB
    ReadImageFileTest-FPbad.PNG ‏26 KB
    ReadImageFileTest-BD1.PNG ‏48 KB

    Missed this on the first post:
    Message Edited by LabViewGuruWannabe on 11-05-2007 11:10 PM
    Attachments:
    ReadImageFileTest-BD.PNG ‏48 KB

  • Get the absolute path and filename of the file from the command line

    Hi,
    when we run the class we give the command
    java <filename>
    How can I capture the filename given above and get its absolute path inside the
    public static void main(String [] args){}
    args[0] gives me the command line argument after the filename. How do I capture the filename itself from the command line argument and also get that files absolute path
    Thanks

    I don't know of any way to capture the java command input, but there are ways to find out where the application is being run from. (the "absolute path")
    http://forum.java.sun.com/thread.jsp?forum=31&thread=335394

  • How to get the absolute path of a file from the local disk given the file n

    how to get the absolute path of a file from the local disk given the file name

    // will look for the file at the current working directory
    // this is wherever you start the Java application (cound be C: and your
    // application is located in C:/myapp, but the working dir is C:/
    File file = new File("README.txt"); 
    if (file != null && file.exists())
        String absolutePath = file.getAbsolutePath();

  • Frame 12 converting relative paths to absolute paths

    Hi all,
    We recently upgraded to Frame 12 and now have a persistent issue with relative paths to referenced images becoming absolute.  These paths do not traverse a drive and so I believe Frame should be maintaining a relative path for these. In most cases -- perhaps in all, although I have not done exhaustive testing --  the problem paths are for images on a master page.
    Any idea why this might be occurring and what we can do to fix it?  Our docs team shares files checked out from a server, and each time one of us opens a document, it has an absolute path to a location on another writer's computer.  We each maintain the exact same directory structure for all Frame/image files, and again, the path to the problem images is local and does not traverse the C drive.
    Thanks in advance,
    Shelley

    May or may not be relevant, but do the affected relative paths need to traverse the root directory of the logical drive?
    I seem to recall, in experiments some years ago on FM7.1, that the final /../ needed to be at least one level down.

  • How to get absolute path of current directory?

    Hi, everyone!
    I want to get the absolute path of current directory.
    Are there some APIs that I can use?
    Thanks in advance,
    George

    Hi, dheeraj_tak buddie!
    What do you mean in your reply?
    "in File class u have all this methods for getting absolute path "regards,
    George

  • Robohelp HTML command-line utility overwrites merged files in .hhp file with absolute paths. Any way to prevent this?

    I have a Robohelp 11 HTML project which uses merged CHM files. I have a help build script which compiles this project using the RH command-line utility. Whenever this runs, RH overwrites the names of the merged CHM files in the .hhp file to use absolute paths (even if the .hhp file is read-only!). I've searched Adobe forums and this appears to be a RH bug. In my case, it doesn't stop the project performing the merge, but it looks like it causes problems when searching the resultant parent CHM (topics matching the search simply don't show up in child projects), as the search cannot necessarily find the merged files referenced in the .hhp when someone performs the search on a different machine. I notice that if I compile via the RH UI, the .hhp entries are not overwritten. So, a workaround is to do the build manually. However, we'd like to automate our help build. Is there any way to prevent the command-line compiler overwriting the merge file entries in the .hhp?

    This was a problem with Rh9, see Item 13 at Using RoboHelp 9
    I haven't seen it reported since but maybe something at that link will help.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Probelm in getting absolute path of the application folder?

    I have problem in getting the absolute path of the application folder.
    I wriiten the following line in my action class:
    String absPath = getServlet().getServletContext().getRealPath("/");
    when i run my application 'DTH' in Tomcat server, I am getting correct path :
    C:\Tomcat\jakarta-tomcat-5.0.25\webapps\DTH
    But when i run this application in weblogic server, I am getting null value for the above line.
    Can any one help me in this?

    public java.lang.String getRealPath(java.lang.String path)
    This method returns null if the servlet container cannot translate the virtual path to a real path for any reason (such as when the content is being made available from a .war archive).
    so, getRealPath() might not be a very good approach because of its different behavior when used from a war or exploded application.
    What you could do is:
    1. pass the path as a parameter inside web.xml (config files, log files etc)
    2. For dynamic lookup of files you could make use of ClassLoader.getResource().
    Hope it helps.

Maybe you are looking for

  • Multiple apple Id app transfer

    Currently we have one ios device, and planning to have another with a different apple id. we want to use the apps we already purchased on the first ios device, and bring them over them to the second, without having to repurchase them. I have prepaire

  • Database Link Error

    Here is the scenario, 1. Three databases, say DB_1, DB_2 and DB_3 are available in the system. 2. Two database links are created , say LINK_A and LINK_B where LINK_A is to connect to DB_2 from DB_1 and LINK_B is to connect to DB_3 from DB_2. 3. There

  • Questions About Database Recovery (-30975)

    Hello, In Berkeley 4.5.20, we are seeing the following error sporadically, but more frequently than we'd like (which is, to say, not at all): "BerkeleyDbErrno=-30975 - DbEnv::open: DB_RUNRECOVERY: Fatal error, run database recovery" This exception is

  • What is the recommended way to back up HD movies downloaded from iTunes?

    They don't fit on a standard data DVD and when I try to back it up to my 500GB external hard drive it says its not formatted to files that size.

  • Design question - new to ISW

    Sun-AD Identity synch working great in testing mode (bidirectional password and attributes), but some questions for a production implementation. Ad Forest has multiple domains, but our Sun Dir only has one - o=company.com. There's no real relation be