Issue with Evaluation Path

Hi All,
I had created one Evaluation Path P-P.
I want to retrieve all employees who are reporting to a particulat employee...
ex: A is the manager
B , C, D are team leads.
Again B is having 2 more employees.. B1,B2...
So when we execute for employee A all the B,C,D,B1,B2 need to be displayed. and I created the ZTEST ev path..
code of EV:
P B 008 S -> Geeting 'a' position
S B 005 S  -> getting A' sub-ordinates positions
S A008 P ->  sub-ordinate positions
and it is succesfully executed in PPSS..
i HAVE WRITEN A SAMPLE PROGRAM to test that...
eX:
GET OBJEC.
WRITE: OBJEC-OTYPE , OBJEC-OBJID.
but system is going infinite loop and giving the following error...
"\FUNCTION-POOL=RHAS\DATA=STRU_VERK[]"
Let me know whats wrong here.. and more over issue is person to person retrieve is not possible?
Regards
Sas

Hi.
What's wrong is this:
P B 008 S -> Geeting 'a' position
S A008 P -> sub-ordinate positions
You are using two opposite links in the same WEGID, so this is what leads to the infinite loop. You should get rid of the first one and always start to evaluate with the current position of the manager.
S B 005 S -> getting A' sub-ordinates positions
S A008 P -> sub-ordinate positions

Similar Messages

  • Report RHSTRU00 with Evaluation Path BOSSORG is not working

    Hello Friends,
    I am trying to run the Report RHSTRU00 with Evaluation Path BOSSORG  and it never produces output. If I run the report with any  other Evaluation path,it works......
    Can anybody help me in this issue,
    Thanks
    Kisu

    solved on own.

  • Issues with evaluation of EL expressions

    Hey everyone
    I am having issues with EL expressions being printed instead of evaluated when they are between tags. They work fine when they are in the tag itself. I will show you my code:
    This is a snippet from the parent file that includes the other file:
    <jsp:include page="./includes/test.jsp" >
      <jsp:param name="color" value="blue" />
    </jsp:include>This is the test.jsp file. It all works as expected except for that second line which only prints ${param.color} instead of the actual parameter text:
    REGULAR OUTPUT WORKS
    <br><font color="red"> COLOR OUTPUT WORKS</font>
    <br>${param.color}
    <br>Param inside color tag: <font color='${param.color}'>HERE</font>
    <% String test = request.getParameter("color"); %>
    <br>OUT.PRINT input: <% out.print(test); %>This is the output:
    REGULAR OUTPUT WORKS
    COLOR OUTPUT WORKS (this is in red)
    ${param.color}
    Param inside color tag: HERE (the word 'here' is in blue)
    OUT.PRINT input: blue
    In my book (Head First Servlets and JSP) it uses this exact syntax and says it should work. I am running tomcat 5.5. Any ideas? Thanks!
    John
    EDIT: I got it working with <c:out> but is there a way to do it without <c:out>?? Like I said before my book does it without <c:out> and it seems to work for them and is much cleaner looking that way.
    John
    Edited by: jrock on Nov 14, 2007 3:45 AM

    is there a difference between the JAR files for 1.0 and 1.1? Or is it the same JAR and only URI changes? Yes there is a difference between the 1.0 and 1.1 JSTL jar files.
    The JSTL1.1 jar files includes the JSTL1.0 tlds for backwards compatibility.
    Check what version you've got by looking at the Manifest.mf in the META-INF directory of one of the jars.
    You can get JSTL1.1 from here: http://jakarta.apache.org/site/downloads/downloads_taglibs-standard.cgi
    Also with JSP 2.0 / JSTL 1.1 is it possible to still use web.xml entries if I want? Its possible to retain those web.xml entries, but not really recommended. The container should find it without your spelling it out.
    If you do go down that path, just make sure you match the right URI to the right tld. Nothing would be more confusing than using the JSTL1.1 uri and mapping it to the JSTL1.0 tld file :-)
    Also, the <taglib> tags are no longer a top level element of a webapp, but need to be nested inside a <jsp-config> in the new schema.
    ie previously it was
    <web-app>
      <taglib>
        <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
        <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
      </taglib>
    ...The web.xml from from version 2.3 to 2.4 is not entirely compatible.
    You now need to make it
    <web-app>
    <jsp-config>
      <taglib>
        <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
        <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
      </taglib>
    </jsp-config>
    ...

  • PCH LDB issue using Evaluation path

    Hello,
    I have a custom program which uses PCH LDB and runs for positions. The program works fine when I input Position IDs.
    When I run with org.unit + evaluation path (O-O-S), the program runs forever. When I checked in debug the program is creating duplicate entries in the output internal table.
    As per my analysis, this issue is happening only for org.units having positions more than 600. After processing 599 positions, the standard program sets the INDEX  to 0 and resume the processing from 1st position resulting in infinite loop.
    Can anyone please help me out in this?
    Thank you.
    Praveen.

    thanks for the reply.
    I can see the evaluation path in table t778a. In tcode ppss i do not know what the object id and object type for the evaluation path are?
    Any idea if there is any other way to check details?

  • FM or BAPI - get objects with evaluation path

    Hi guys
    In my last course HR350 we used a function module to get all object with an evaluation path  in OM..
    I just dont know this FM anymore and cant find it.
    Which FM do i need for to get all objects for the evaluation path "L-D-E"
    thanks!

    Hi Thomas,
    Pls try function modules
    HRWPC_EVAL_PATH
    HRHAP_SEL_OBJECTS_OF_EVAL_PATH
    Regards,
    Dilek

  • Issue with Replacement path  variable

    Hi all,
    I had created a formula variable with replacement path for this i had created a variable with replacement path and i had used it in the formula but i am unable to get the value of the replaced objects can any one thru some light on this.
    Regards

    yes the ref char having value. another thing do i need to include the char in the row r columns which has been replaced in the formula variable.
    regards

  • While Accessing UWL iviews - Issues with PCD Paths.

    Hello All,
    We Are using EP 7.0 SP 18.
    I am trying to access the UWL  iview with two different paths.
    Path1 :--> http://xxxx:50xxx/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2feu_core_role!2fcom.sap.uwl.home_core_ws!2fcom.sap.netweaver.bc.uwl.overview!2fcom.sap.netweaver.bc.uwl.uwl_page!2fcom.sap.netweaver.bc.uwl.uwl_iview
    For Path1 UWL iview is opening in a new Window with out Portal Frame Work page(i.e with out TLN and DTN).But if click on any task , the respective task information popup is opening with Portal Frame work page , TLN,DTN. The Task information is Showing in Content Area Part.
    Path2 : --> http://xxx:50xxx/irj/portal?NavigationTarget=pcd:portal_content/every_user/general/eu_core_role/com.sap.uwl.home_core_ws/com.sap.netweaver.bc.uwl.overview/com.sap.netweaver.bc.uwl.uwl_page/com.sap.netweaver.bc.uwl.uwl_iview
    For Path2 UWL is opening in a new Window With Portal Frame Work Page(With TLN ,DTN), but if i click on any task , the respective task infomation popup is opening in Simple Task infomation Window With out any Portal FrameWork Page(No DTN,TLN)
    I wanted to know what is the Difference between these two portal paths? Which Property is Controlling the Portal Frame work page for these Popup's.
    And also How to give the path in the Portal-app.xml [ property name ="xxx" , value = "pcd:portal_content/----
    While we retrive with profile.getProperty(" xxx ").
    Please Specify any prefixes we need to mention in the Portal-app.xml Value attribute ????
    My Requirement is to task Information Popup Not to open with Portal FrameWork Pages (i.e wtih Masthead, TLN, DTN)
    Thanks in Advance
    Ganesh

    Hi GLM ,
    Thanks for your response, but still i didn't get the answer for my query??
    If i open the UWL iview with path1 --> http://xxxxxx:50xxx/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2feu_core_role!2fcom.sap.uwl.home_core_ws!2fcom.sap.netweaver.bc.uwl.overview!2fcom.sap.netweaver.bc.uwl.uwl_page!2fcom.sap.netweaver.bc.uwl.uwl_iview
    In the UWL iview , if i click on any task , task information popup with portal framework page  is having the below path
    http://xxxx:50xxx/webdynpro/dispatcher/sap.com/ess~lea/LeaveRequestApprover;jsessionid=(J2EE18708900)ID0119451551DB00027146301853284939End?sap-ext-sid=c4SpjkIxw3oBtgYJAM21A--DLq8JAHogHUEDoyoN1_KA--&sap-wd-cltwndid=WID1252057673082&sap-wd-tstamp=1252057673240&sap-locale=en&sap-accessibility=&sap-rtl=&sap-ep-version=7.00.200902051510&sap-cssurl=http%3A%2F%2Fxxxxl%3A50100%2Firj%2Fportalapps%2Fcom.sap.portal.design.urdesigndata%2Fthemes%2Fportal%2FBekaertBranding%2Fur%2Fur_ie6.css%3F7.0.18.0.2&sap-cssversion=7.0.18.1.0&sap-tray-type=PLAIN&sap-tray-padding=X&wi_id=000008952152
    If i open the UWL iview with path2 ---> http://xxxx:50xxx/irj/portal? NavigationTarget=pcd:portal_content/every_user/general/eu_core_role/com.sap.uwl.home_core_ws/com.sap.netweaver.bc.uwl.overview/com.sap.netweaver.bc.uwl.uwl_page/com.sap.netweaver.bc.uwl.uwl_iview
    UWL Iview is Opening in Portal Framework page window, if  click on any task , task information popup(without framework page)
    is having the below path.
    http://xxx:50xxx/webdynpro/dispatcher/sap.com/ess~lea/LeaveRequestApprover;jsessionid=(J2EE18708900)ID0863376650DB00007048691018306318End
    If u clearly  observe both the paths, its different.
    Please Suggest me how both pcd paths are giving different views. I need to display my task information popup window with out any portal framework page.
    Thanks in Advance
    Ganesh

  • Issues with file path in java.io.File

    I am getting file path in eclipse plugin using org.eclipse.swt.widgets.FileDialog and saving the path in XML files.
    In web.xml , path is stored as below (I can't change backsladh to forwardslash or escape backslash since the value is coming from SWT FileDialog)
    <init-param>
    <param-name>filePath</param-name>
    <param-value>c:\new\demo\next\version.txt</param-value>
    </init-param>
    In my filter , i have below code in init() method but am not able to get File reference due to special characters
    String filePath = filterConfig.getInitParameter("filePath");
    // Tried filePath.replace('\\','/') --> Didnot work since \n is a single character
    File f = new File(path)

    No it does not. You need to escape file paths properly. You can check this with simple code and that the problem i am facing now
         public static void main(String[] args) {
              String path = Messages.getString("filePath"); //in messages.properties put filePath=c:\new\next\verison.txt
              System.out.println(path);
              File f = new File(path);
              System.out.println(f.exists());
         }

  • Installing JRE on RHE 3 - Issues with JRE Path

    Hello,
    First of all, I am very new to linux (I normally have server admins but since it's weekend it looks very bad)
    I have installed j2sdk1.4.2 today but it seems like something went really wrong as we cannot locate jre.
    I have installed a chat server which has a startup file containing:
    #!/bin/sh
    jre -ms8m -mx128m -classpath $CLASSPATH:NetDiveServer.jar NetDiveServer port=2112 httpPort=2113 config=.
    After running it I simply get the message
    jre: command not found
    Maybe somebody could point me to some site where oath setups are explained very well since I am very new to this. I believe it is all about setting up paths so maybe somebody could help out there.
    Thanks

    Thanks for your qucik reply. If I can get JRE and Jedit working on my jumpdrive, it will be great and save me a lot of time. I am a new user so I might be asking some obvious questions here.
    My question is : What is the difference between integrating JRE with IE and JRE with Jedit? If I run JRE as a stand alone program then will Jedit link to the JRE properly? Anyone care to comment on what the standard installation program does to provide the integration? I guess it is more than just copying files.
    What happens if there is another JRE running already? maybe the same or different version of JRE as the one on my jump drive.
    Thanks for your help.
    Ken.

  • Issue with Drill path report

    Problem Description: For the Adjustment period (October) the following flag W_CURRENT_MCAL_PERIOD_CODE not setting the values properly in the w_mcal_day_d table.
    Ideally when we are in NOVEMBER it should set flag value as 'PREVIOUS' and IF we are in OCTOBER then it should set flag value as 'Current'.
    But this is not happening for October month. This is outof the mapping bug.
    We build aggregate table load based on this flag due to the above problem the record for October is not populated.
    Could you please check ?

    Hello,
    Please, open a message for SAP on the OSS Marketplace. There are some notes for this type of issue, but they are currently in pilot release.
    So, open a message describing the issue and providing a reproducible example in your system.
    REgards,
    REnan

  • Evaluation path to get personnel number all the org unit and subordinates

    Dear all,
    I have OM issue to ask.This is the scenario:
    Staff A  belong to  org 1. Under Org  1, I  have org unit 1-A, 1-B and org unit 1-C.
    Issue 1 :
    I want to run report(RHSTRU00) to  to generate all the staff number in org 1 (Include 1-A, 1-B, and 1-C).
    Issue 2 :
    I  want to run report for 1-A, only staff belongs in org 1-A appear.The others not appear.
    I was understanding I have to play around with evaluation path. Until now I can't find the suitable evaluation_path. I need your help.tq

    Hi,
    Not sure why you want to reinvent the wheel.  The standard report RHXSTRU02 will give you people by Org Unit.  Just enter the Org Unit ID number and you will get the employees as output.
    If you still want to use RHSTRU00, you can use O-P or O-S-P to get the employees and the positions.
    Paul

  • Image Gallery issues with Lightbox2 - please help!

    Hello there,
    I am using Lightbox2 image gallery.  The loading.gif and close.gif aren't showing up and I think there's an issue with the path in the lightbox.js file.  The loading and close gifs are located in the Images gallery so I changed the path in the lightbox.js file accordingly - I've gone through this many many times but they are still not showing up.
    Can anyone please help me?
    My website is: www.labellepetraie.com
    Here's where I downloaded the script from: http://www.huddletogether.com/projects/lightbox2/#how
    I have tried all the path combinations mentioned in their forum but to no avail.  What am I doing wrong?
    Thank you for any help you can offer to me.
    Regards!

    Interesting.  I've just looked at your scripts, and it would appear that you have blended two versions of lightbox2 on your page,.  Is that possible?  The lightbox.js file has no function called initLightbox() in it, whereas older versions do.  So, try changing this:
    window.onload = function(){ // use this instead of <body onload …>
         MM_preloadImages('../3websites/home4.jpg','../3web sites/amenities1.jpg','../3websites/inquiry1.jpg','../3websites/rates1.jpg','../ 3websites/photos1.jpg');
            initLightbox();
    to this:
    window.onload = function(){ // use this instead of <body onload …>
         MM_preloadImages('../3websites/home4.jpg','../3web sites/amenities1.jpg','../3websites/inquiry1.jpg','../3websites/rates1.jpg','../ 3websites/photos1.jpg');
            //initLightbox();
    to see if that works.  I think so.  Turns out the initLightbox() function call that we activated by fixing the code before is no longer needed by the lightbox2 script as of v2.04!  I see that it still tells you to put that function call in the body tag, but i think that is wrong (which is very weird to say, can I really be right???).  If you look at the example page online you'll see that he uses this body tag:
    <body>
    and there are no onload's anywhere. 
    Let me know.
    E. Michael Brandt
    www.divahtml.com
    www.divahtml.com/products/scripts_dreamweaver_extensions.php
    Standards-compliant scripts and Dreamweaver Extensions
    www.valleywebdesigns.com/vwd_Vdw.asp
    JustSo PictureWindow
    JustSo PhotoAlbum, et alia

  • BW 3.5 - Issue with formula variable with replacement path

    Dear experts,
    I'm facing an issue with formula variable with replacement path.
    Just to clarify, I know replacement paths is raising a lot of questions but I've been using this functionnality extensively in the past, both in 7.0 and 3.5, so I'm not looking for basic information about how to use it.
    I'm trying to setup a simple report that would show total values per plant of Purchase Order < 100 €
    To do so I've setup a calculated key figure as follow:
    VAR1 * ("PO value" < 100 ) * "PO value"
    VAR1 is a formula variable with replacement path on 'purchase order' and value attribute 'constant =1'.
    (The report has to show values summarized by plant but should not show the detail PO by PO, so I'm not looking at a solution based on condition)
    The report as characteristic "plant" in rows and my CKF in columns.
    Now let's take an example. I have 3 POs in Plant 1:
    PO1 -> 150€
    PO2 -> 90€
    PO3 -> 80€
    Because of the variable with replacement path, the result in my query should be:
    plant1 = 170 (even though characteristic "purchase order" is not in my rows, system should evaluate PO one by one and return values only for those two that are below 100).
    But the result coming is 320, which is wrong.
    I've done the same report on many other 3.5 systems and it worked perfectly, and I am not able to get proper support from SAP OSS who keep saying that this functionnality is not ready in 3.5 (although I've provided screenshot of this working on another 3.5 system!!! how frustrating...)
    They have also pointed to problems of Before and After aggregation but that has absolutely no impact. Once again, the scenario is working perfectly on other 3.5 systems with the same query design, so i'm sure it has nothing to do with Query Designer options.
    Would anyone have ever come to an equivalenet problem? I'm wondering whether the DB itself could not play a role in the variable with ref  characteristic 'constant =1' ...
    Any though is welcome!
    thanks

    Hi,
    The text variable is replaced when the exact date is clear for this key figure column according to the restriction.
    To achive this, please make sure that either the variable is directly restricted in the key figure selection, or that the date characteristic is in drilldown.
    Regards,
    Patricia

  • Issue with length of file paths - Windows & C++ plugin

    Hello,
    I've got an issue that just popped up on my OCR plugin I've been working on that I suspect is related to the length of the filepath.
    I'm getting the following error that is being caught and logged when trying to open a file (filename changed for security purposes):
    Error Opening File: D:\aVeryLongFilePath.pdf
    Exception info: This file cannot be found.
    The entire string, including the D:\ part, is 266 characters long. I cut down the length of part of the path one by one and it was able to open and OCR the document when the length was 259 characters.
    I know there's a MAX_PATH variable in Windows and/or there's some kind of limitation for file length. Note that I can open the file in Acrobat using File->Open and run OCR on it individually using the built-in Recognize Text function, but if I try to Recognize Text for Multiple files and choose "Add Folders", the file in question doesn't show up in the list of files to be batch OCR'd (even though it is there). Interestingly, choosing "Add Files" from the Recognize Text->In Multiple Files does work. So Acrobat itself has at least some issues opening the file using some of it's features.
    Here's how I'm opening the document:
         string pn;               // assume this is initialized, I'm just putting this here to demonstrate what type it is
         pathName = pn;
         ASAtom pathType = ASAtomFromString("Cstring");
         asPathName = ASFileSysCreatePathName(ASGetDefaultFileSys(), pathType, pn.c_str(), NULL);    
         pdDoc = PDDocOpen(asPathName, ASGetDefaultFileSys(), NULL, true);
    Is there a way around this problem?
    Thanks.

    Yes, you are hitting the MAX_PATH on certain versions of Windows.   The only workaround would be to see that the file is "a very long path" and then break up the pathname construction into multiple pieces (perhaps the containing directory and then the file itself).  The other option is don't use Cstring to construct, use the Unicode variant.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Mon, 7 Nov 2011 15:43:33 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Issue with length of file paths - Windows &amp; C++ plugin
    Issue with length of file paths - Windows & C++ plugin
    created by zephed56<http://forums.adobe.com/people/zephed56> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4012710#4012710

  • Issue with Repousse with Paths in CS5 Extended

    Hi,
    Really hoping someone can help, I'm hoping I'm doing something stupid
    1) I drawn out a path using the pen tool
    2) I select the path with the path selection tool !!!
    3) I go to 3d/repousse/selected path...
    I do not see the 3d shape in the repousee dialog. it seem invisible.  If I use the rotate tool it rotates the whole screen as a 3d block
    It seems not to detect my selected path
    I have a brand new iMac 27 i7 8 gb
    PS
    If I do the same procedure with a selection its works ok
    Am I doing something stupid?

    yep I'm stupid!!
    I found my issue and I mention it i just in case someone else comes across  it
    When defining my shape with the pen tool I was not using the  "Add to Path" option

Maybe you are looking for

  • Please help Update me after a 2 year COMA - Crash Course from the experts!

    I basically have been in a COMA for the past 2+ years and in 2006 was part of an Elite group of Tech Support - Research and Review team that also served as "Crash Test Dummies" for Mac and various related software, Quark, Adobe, InDesign. Then I went

  • HT4759 how do i install ios 7 on my ipad?

    I purchased a first generation Ipad and have IOS 5.1 and am trying to install IOS 7.0.1 but it keeps saying my Ipad is updated with the IOS 5.1, how do I install the IOS 7.0.1

  • Latest on how to convert my FCP timeline to play on iPod

    I've been doing some searching, and I've found info on how to convert my movie in FCP to play on an iPod, but everything seems to be dated to 2006. What is the latest way to convert my final movies to be able to play on an iPod? What size does it nee

  • Windows 2000 server and j2sdkee1.3.1_01

    Hi, Hope this isn't redundant. I couldn't find any reference to this error. I just did a fresh install of J2EE 1.3.1_01 on Win2K server. When I try to start the J2EE server for the first time after a reboot (and all subsequent attempts) I get the fol

  • Background image covers everything else

    I have an existing website built with a fixed layout. Now I'm trying one with a liquid layout. I want the background image to stretch to fit all screens. I found a scrap of code that accomplishes it but now the images covers everything else. Is there