Primavera Load Child WBS

Hello,
In Primavera Integration API there are API's available in com.primavera.integration.client.bo.object.WBS and com.primavera.integration.client.bo.object.Project to load Child WBS.
i.e
loadWBSChildren().
But using Helper classes i.e ProjectHelper and WBSHelper is there a way to load Child WBS(i.e. immediate Child) ?
There is load() API in WBSHelper to which if I pass Bussiness Object as Project, then it loads all WBS and not just immediate WBS.
I want some way in Helper classes through which I can load all ChildWBS of Project and Parent WBS.
Please let me know if there is some way
Regards
Priyanka

I would use a filter in load().
For example, I have WBS node W3 with an wbs_id of 1001.  Then to get all the immediate WBS children, the filter is where parent_wbs_id = 1001.
V/r,
Gene

Similar Messages

  • How to add an issue if you are a responsible manager of a child wbs ?

    How to add an issue if you are a responsible manager of a child wbs ? I have some projects with lots of child WBS and these child WBS is managed by others project managers (or others responsible managers), different responsible manager from the project. I'd like the others responsible managers could add/edit/delete issues in their WBS's. How to do that ?

    Hi Yves
    try to type at the end of your query the following
    select cardcode,cardname,balance from ocrd
    for browse
    and execute it again
    Edited by: Fasolis Vasilios on Nov 30, 2011 12:10 PM

  • BAPI for finding child WBS elements under a Parent WBS element

    Hi friends,
    I am working on the transaction ZIOS02 transaction. On releasing the Parent or Main WBS element in ZIOS02 transaction I need to copy some data from ZIOS to PRPS based on WBS element.
    I have a Bapi for retrieving all the WBS elements based on Project Definition (BAPI_PROJECT_GETINFO) but i want to know whether is there any BAPI for finding the child WBS elements when we give a Parent WBS elemnts as Input to BAPI.
    Could any one please help me in the query ASAP.

    Hi friends,
    I have got the answer for finding the child WBS elements.
    In Function module BAPI_Project_get_info.
    Use parameter subtree = 'X' and give the WBS element name in tables section under I_wbs_element. You will get all the child WBS elements which are under Main WBS element.
    Thanks
    Satish Raju

  • Loading child SWFs with TLF content (from Flash CS5.5) generates reference errors in FB4.6

    I am currently producing e-learning content with our custom AS3-Framework.
    We normally create content files in Flash CS5.5 with dynamic text fields, which are set at runtime from our Framework (AS3 framework in FB4.6).
    Now we are in the progress of language versioning, and since one of the languages is Arabic we are changing the dynamic text fields to TLF fields.
    Then all my problems started.
    In Flash I have chosen to include the TLF engine and to export in frame 2.
    (see to: http://helpx.adobe.com/flash/kb/loading-child-swfs-tlf-content.html )
    I get this error:
    VerifyError: Error #1053: Illegal override of getEventMirror in flashx.textLayout.elements.FlowLeafElement.
                at flash.display::MovieClip/gotoAndPlay()
    I guess it is because our framework wants to gotoAndPlay before the TLF engine has been loaded.
    Can this be it?
    Any good suggestions on how to handle loading child SWFs with TLF content.

    Please refere to the following articles .. you may find some help.
    http://www.stevensacks.net/2010/05/28/flash-cs5-tlf-engine-causes-errors-with-loaded-swfs/
    http://www.adobe.com/devnet/flash/articles/preloading-tlf-rsl.html
    I also faced similar problem and posted a question at the following link, but, I still couldn't find the solution.
    http://forums.adobe.com/message/4367968#4367968

  • Validation on child WBS

    Dear All,
    I am using free coding mask and want to validation for child WBS element on account assignment tick.
    Like for child WBS element ,Account assignment should be tick otherwise system sould throw an error .kindly note that we are using free coding mask so that in project hierarchy is not defined .it can be 4,5,9,10 anything .
    How can I create the validation for this condition .
    Regards
    RSS

    If you are planning to have the check at specific child level WBS, then you can set using level as already suggested by Nitin. So you can say that if level > or = 2 always chk the account assignment.
    If you want to set it at specific level then define it for that levels i.e. if level =3 or level =4 or level = 7 or level = 9 then chk account assignment.
    You need to have some logic, for setting validation.
    Sarang

  • ADF Faces showDetailItem seems to "load" child elements twice on tab select

    Problem Summary:
    Child elements of showDetailItem are being loaded/executed twice. The parent of the showDetailItem is a showOneTab, and the child of showDetailItem is an af:objectImage, which calls a servlet I have written that outputs an image.
    The problem I am having is that when I click on a tab (showDetailItem) my servlet is called twice. It is as if the af:objectImage line of my JSP is executed twice.
    I have proven this with breakpoints in the servlet and printing a message to the console. The doGet() method of my servlet is called twice. Using breakpoints in the JSP I see the JSP is executed/read only once.
    Details:
    I am requesting help with this problem as I cannot solve it one my own. I have tried the following, but have had no success.
    1. Searched the web for a similar problem.
    2. Searched this forum for a similar problem.
    3. Consulted the ADF Developer Guide version 10.1.3.0
    4. Upgraded my version of JDeveloper to 10.1.3.2.0, which has ADF Faces (oracle.faces.dt) version 10.1.3.40.66.
    5. Debugging with print statements and stepping through JSP and servlet code.
    6. Created the simplest JSP possible that I could still produce the problem with.
    The Scenario:
    My goal is to use the ADF Faces showOneTab and showDetailItem tags to create two tabbed panels that will contain a blank tab (tab one) and an image (on tab 2).
    I have written a servlet, BrowserImage, which takes and ID as a parameter retrieves a BLOB from view object and then outputs a jpeg image to the browser. This is done by using the af:objectImage tag and specifying my servlet in the source parameter. The image is displayed fine, but I don't want the servlet to be called twice for performance reasons.
    Here is the simplest JSP that contains the problem.
    Note: I tried to simplify even more by calling the servlet in different ways (jsp:include etc..), but was unable to produce the problem. I think it is key that I call the servlet using an ADF Faces tag (af:objectImage).
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ page import="javax.faces.context.FacesContext"%>
    <%@ page import="javax.faces.el.ValueBinding"%>
    <%@ page import="oracle.adf.model.BindingContext"%>
    <%@ page import="oracle.adf.model.binding.DCDataControl"%>
    <%@ page import="oracle.jbo.ApplicationModule"%>
        <%! FacesContext fc = FacesContext.getCurrentInstance(); %>
        <%! ValueBinding vb = fc.getApplication().createValueBinding("#{data}"); %>
        <%! BindingContext bc = (BindingContext)vb.getValue(fc); %>
        <%! DCDataControl dc = bc.findDataControl("AdSearchAppModuleDataControl"); %>
        <%! ApplicationModule am = (ApplicationModule)dc.getDataProvider();%>
        <% session.setAttribute("theAm", am); %>  
    <f:view>
      <afh:html>
        <afh:head title="showOneTest">
          <meta http-equiv="Content-Type"
                content="text/html; charset=windows-1252"/>
        </afh:head>
        <afh:body>
          <af:form>
            <af:showOneTab position="above">
              <af:showDetailItem text="showDetailItem 1">
              </af:showDetailItem>
              <af:showDetailItem text="showDetailItem 2">
                <af:objectImage source="/BrowserImage?imgId=1"/>
              </af:showDetailItem>
            </af:showOneTab>
          </af:form>
        </afh:body>
      </afh:html>
    </f:view>Note: The Java Script code included in the JSP is used to get an application module instance and pass it to my servlet in the session scope, so my servlet can access a view object, which contains the BLOB to output. I thought I should explain this as it may look confusing.
    Any help would be appreciated.
    Thanks,
    Mark

    I don't think adding a flag to my servlet will work. I left out some details in the original posting that will likely make the flag solution unusable.
    It is true that when I click on a tab that my servlet is called twice. My main goal is to ensure that the BrowserImage servlet only called when truly needed. The part I left out of the original posting is that if I click on a tab for the first time I can see my messages in the console indicating it was called twice.
    . BrowserImage severlet called (doGet)
    . BrowserImage servlet called (doGet)
    The key is if I click on the tab again I only see the message appear once.
    . BrowserImage severlet called (doGet)
    At first I thought this was the correct behavior, but I now feel this is wrong as I think the image is being cached locally on the client browser by ADF Faces, so the first call to BrowserImage is not made, but for some reason on the second "load" of the panel the BrowserImage servlet is called.
    To summarize the new details, I still think the showDetailItem is "loading" twice, but BrowserImage is only being called once, because the first loading used a locally cached image. This is my best guess, I did not prove this 100%. I did prove that the image is shown on the page before my servlet outputs it this made me start thinking about the client cache. Also I think it is an ADF Faces specific cache because if I use the "img" tag I don't think caching is used and the image is output by the call to my servlet. I don't want to use img for two reasons, 1 I would d like to use the client cache, 2 the img tag will not stay inside the showDetailItem, showDetail Item needs af: components as children it seems.
    So the reason I feel this problem can't be solved with a flag is because I think the image will be cached on the client side and if the showDetailItem is loaded twice it seems my servlet is called once, but it was not required to be called to render the image. I can't use the concept of checking for the servlet being called by the same session in very quick succession, because the real problem I am trying to solve is the servlet should not be called at all, if the client cache had been used.
    Perhaps there is a way for my servlet to determine if the client cache was used, but I have no idea how.
    I should also point out I am displaying images in a table instead of a showOneTab using the same servlet and technique and the client cache is always used correctly, the BrowserImage is only called if the image is not cached on the client. This is why I think this is a showOneTab problem.
    Sorry for leaving out these details, but I did not want to confuse the original posting with too much info. I figured if the tab was only loaded once, the cached image would be used and all would be good.
    Again if you can provide more help I really appreciate it.

  • Determine the immediate child WBS element of a WBS element

    Hi,
    I would like to know how to determine on how to know all the immediate childs of 1 parent (example: how can i kno all level 3 elements under level 2 b?)  The usage of PRPS-STUFE is not enough since it only indicates levels.  I also noticed we do not have entries in PRHIS table, is it because of we are not using the standard WBS?
    Level 1
         Level 2 a
         Level 2 b
              Level 3 a (of level 2 b)
              Level 3 a (of level 2 b)
         Level 2 c
              Level 3 a (of level 2 c)
    Thanks!
    Regards,
    Vivian

    Hi,
    The project hierarchy is data is available in PRHI table.
    PRHI'S' is for standard structures. S stands for standard.
    PRHI is for operative structure.
    If you want to know the WBSE immediately under a WBSE say A. Then go to PRHI table enter A in POSNR field. The WBSE under it will be available in PRHI-DOWN field.
    If u have more than one WBSEs under A and you are looking to get all of them. Then u may have to rite a Z function module. Logic can be as under.
    Assume WBS structure is as below
    Level 1 = A
    Level 2 = B,C,D.
    When u give A as input u want BCD as output.
    Then
    Take input as 'A'.
    1) Go to PRHI and enter A in POSNR. Collect PRHI-DOWN and Store.
    2) Again go to PRHI and enter PRHI-DOWN (collected above) in POSNR. Collect PRHI-RIGHT and Store.
    3) Again go to PRHI and enter PRHI-RIGHT (Collected above) in POSNR. Colect PRHI-RIGHT and Store.
    4) Repeat step 3. untill PRHI-RIGHT = Initial or Zero.
    This Function module will give u all the WBSEs assigned in immediate one level less than the input WBSE.
    Please post ur findings after u try this.
    Thanks
    Saikishore Ganga.

  • Rendering of SWF Loader child SWFs

    I am using the swf loader with an Xcelsius OpenDoc link (http://<server>:8080/Xcelsius/opendoc/documentDownload?sIDType=CUID&iDocID=<CUID>&sKind=Flash&CELogonToken=<CELogonToken>)  and it works beautifully so long as the parent swf is also opened using and OpenDoc link.  However, if the parent swf is opened via InfoView, the child swf does not render properly (either way too large or too small).  Has anyone else come across this or have any ideas for resolution?
    Regards,
    Alison

    "whomba" <[email protected]> wrote in
    message
    news:glq6j0$b20$[email protected]..
    > Hello all,
    > I have a Flex app that loads in a swf using 'SWFLoader'
    tag. the SWFloader
    > and
    > the swf being loaded in are the same height and width
    (see attached code)
    > Now,
    > the SWF getting loaded in is also 468 X 351 however the
    designers that
    > made it
    > have crazy amount of random Movie Clips EVERYWHERE that
    isn't on the
    > stage. My
    > guess is that the actual height and width of the SWF is
    close to 1000 X
    > 1000.
    > When I load this SWF in to my SWFLoader it scales
    everything down so all
    > of the
    > MovieClips are inside of this SWFLoader rather than just
    the SWF's Stage.
    > Any
    > Suggestions?
    >
    > <mx:SWFLoader id="mainMovieSWF" height="351"
    width="468"
    > source="{mainMovieSrc}" scaleContent="false"/>
    Try wrapping it as a component with the Flex component kit.
    That way you
    get to specify the bounding box.
    HTH;
    Amy

  • Loaded child movie controlling container parent

    hi,
    i'm a designer trying to step up my flash skills and have a scripting problem that's causing me trouble.
    essentially i have a child swf loaded into a container in a parent swf and want the child to be able to instruct the parent.
    to explain in full, the child contains an flv with bespoke video player components. it's container sits in one frame of the parent.
    when the flv finishes playing, i need the parent swf to move onto another frame.
    as it's a controllable flv, it isnt possible to predict the exact length of time the child will need to be present, so it literally needs to tell the parent it's finished playing at that very point.
    it's actionscript 2 for flash 8.
    unfortunately my scripting isnt up to this, and i cant seem to find any info to help me out.
    any help would be greatly appreciated.
    thanks in advance!

    thanks, that's one half of the battle!
    the remaining problem is i have a controllable flv in the child swf, therefore i can't guarantee the length of time the flv will run as it may be paused etc.
    is there some script i can tag on first that recognizes when the flv has ended?
    realistically this is a topic in itself, but if you can help it would be appreciated.
    thanks.

  • How can I use onLeadSelect to load child nodes in a TreeByNestingTableColum

    Hello,
    Right now a have the mastercolumns onLoadChildren action source mapped to load the children.
    Can I use the tables onLeadSelect method to load the children instead? If so, how?
    The reason I'm trying to do this is because, when the application is launched I'm trying to load the first set of nodes immediately under the root node. The if the user clicks the table lead on one of the root nodes child node, then i want it to load its child nodes. If I dont do it this way, then the child element will be null until the user actually triggers the onLoadChildren method in the masterColumn.
    Please suggest or help how I can achieve this.
    Marshall.

    Solved

  • Need help with loading child .swf into parent .swf

    Hello,
    I am having trouble with an external .swf that isbeing loaded
    into the master.swf. All of the files loads perfectly. However the
    .swf that has the contact form movieclip in it will not work. The
    combobox does that display any of the items listed and the form is
    not being sent to the server. Can anyone give me a hand with
    this?

    can you post your code

  • How to find parent wbs element from child wbs element

    Hi ,
            I have a WBS element . How to find its parent WBS element . What should be the logic and table fields should i consider ? Please help me , its urgent.

    You can use the BAPI_PROJECT_GETINFO function module to get this info.
    The function is very well documented, and it looks like the table E_WBS_HIERARCHIE_TABLE should have the WBS heirarchy in it.
    Hope this helps.
    Sudha

  • [VS2013 Update4] HTML Client loading child and grandchild entities in separate OData requests even when not needed?

    Repro steps:
    create new LightSwitch HTML C# app
    Attach to Northwind OData service - http://services.odata.org/V3/Northwind/Northwind.svc/
    include Order_Details, Orders, and Customers
    add screen -> browse data, choose Order_Details
    in the tile list that comes up, add other screen data, Order.Customer.ContactName
    delete the 3 columns it added by default (deleting them isn't necessary to cause the issue, just makes the issue more obvious)
    F5 and F12 in the resulting browser and make sure to check the Network tab
    The resulting tile list shows just the contact names of the customers for the orders, as you'd expect, but they fill in slowly instead of all at once.
    In the Network tab, you'll notice the first data request is what's expected in terms of including the associated child and grandchild entities
    http://localhost:54553/NorthwindEntitiesData.svc/Order_Details?$expand=Order/Customer,Order&$top=45
    Now, I'm a little confused at this point why it's not using $select to only fetch the particular properties needed, instead of it including all the Order and Customer properties as well, but that's secondary to this particular issue.
    If you check the response, you'll see that the JSON returned definitely includes (as you'd expect) the Order and Customer, and the Order.Customer.ContactName in particular is definitely included - here's the first few lines of the response (reformatted to
    be readable)
    "odata.metadata": "http://localhost:54553/NorthwindEntitiesData.svc/$metadata#Order_Details",
    "value": [{
    "Order": {
    "Customer": {
    "CustomerID": "VINET",
    "CompanyName": "Vins et alcools Chevalier",
    "ContactName": "Paul Henriot",
    After that is a bunch of further requests for Customers and Orders based on id, even though the first request already included all the data we need to display them.
    http://localhost:54553/NorthwindEntitiesData.svc/Customers?$filter=CustomerID%20eq%20%27VINET%27
    http://localhost:54553/NorthwindEntitiesData.svc/Customers?$filter=CustomerID%20eq%20%27TOMSP%27
    http://localhost:54553/NorthwindEntitiesData.svc/Customers?$filter=CustomerID%20eq%20%27HUNGO%27
    ...etc...
    As you'd imagine, these requests have a pretty big negative effect on performance, especially if you have multiple columns exhibiting this effect.
    Is this By Design?  Am I doing something wrong?  Is there a workaround for this?
    Thanks!

    After that is a bunch of further requests for Customers and Orders based on id, even though the first request already included all the data we need to display them.
    http://localhost:54553/NorthwindEntitiesData.svc/Customers?$filter=CustomerID%20eq%20%27VINET%27
    http://localhost:54553/NorthwindEntitiesData.svc/Customers?$filter=CustomerID%20eq%20%27TOMSP%27
    http://localhost:54553/NorthwindEntitiesData.svc/Customers?$filter=CustomerID%20eq%20%27HUNGO%27
    ...etc...
    This really has bad impact on lightswitch performance, you can submit it to Visual Studio Connect Site, https://connect.microsoft.com/VisualStudio

  • Flash AIR app cannot load child swfs on publish to device

    I have been struggling with this problem for WEEKS now and can't solve it. I have an flash AIR app (creative cloud, AIR 3.8) which is very simple: all it does is load external SWF movies on the click of a start button. It works FINE in test/PC but when I publish to device, the external swfs do not load.
    Here is the code on the main timeline that calls the external swfs:
    //start button
    start_button_TRI_desmatosuchus.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_02_3,false,0,true);
    import fl.display.ProLoader;
    import flash.events.Event;
    var fl_ProLoader_02:ProLoader;
    var fl_ToLoad_02:Boolean = true;
    function fl_ClickToLoadUnloadSWF_02_3(event:MouseEvent):void
              if(fl_ToLoad_02)
                        fl_ProLoader_02 = new ProLoader();
                        fl_ProLoader_02.load(new URLRequest("dinofilms/triassic_desmatosuchus.swf"));
                        fl_ProLoader_02.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete_02 )
                        addChild(fl_ProLoader_02);
                        fl_ProLoader_02.x = 0;
                        fl_ProLoader_02.y = 144;
              else
                        if (fl_ProLoader_02!=null) {
                                  removeChild(fl_ProLoader_02);
                                  fl_ProLoader_02.unloadAndStop();
                                  fl_ProLoader_02 = null;
              fl_ToLoad_02 = !fl_ToLoad_02;
    function onComplete_02(e:Event):void {
              e.currentTarget.content.addEventListener(Event.ENTER_FRAME,OEF_02);
    function OEF_02(e:Event):void {
              if (e.currentTarget.currentFrame==e.currentTarget.totalFrames) {
                        e.currentTarget.stop();
                        e.currentTarget.removeEventListener(Event.ENTER_FRAME,OEF_02);
                        removeChild(fl_ProLoader_02);
                        fl_ProLoader_02.unloadAndStop();
                        fl_ProLoader_02 = null;
    I am calling about 30 different movies on 30 different frames, so that's why I am using tags like "proLoader_01" so I don't duplicate them. All the external swfs are of course listed in the included files too.
    I would really appreciate the assistance, I am a reluctant coder!
    Message was edited by: Fiona Passantino

    OK, I replaced all the "ProLoader" instances with "Loader" and I am getting an error, below (see***)
        //start button
        start_button_TRI_coelophysis.addEventListener(MouseEvent.CLICK,
        fl_ClickToLoadUnloadSWF_01_3,false,0,true);
        import fl.display.Loader; **HERE, ERROR IS: 1172 fl.display:Loader could not be found**
        import flash.events.Event;
        var fl_Loader_01:Loader;
        //This variable keeps track of whether you want to load or unload the SWF
        var fl_ToLoad_01:Boolean = true;
        function fl_ClickToLoadUnloadSWF_01_3(event:MouseEvent):void
         if(fl_ToLoad_01)
              fl_Loader_01 = new Loader();
              fl_Loader_01.load(new URLRequest("dinofilms/triassic_coelophysis.swf"));
              fl_Loader_01.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete_01)
              addChild(fl_Loader_01);
              fl_Loader_01.x = 0;
              fl_Loader_01.y = 144;
         else
              if(fl_Loader_01!=null) {
                   removeChild(fl_Loader_01);
                   fl_Loader_01.unloadAndStop();
                   fl_Loader_01 = null;
         fl_ToLoad_01 = !fl_ToLoad_01;
        function onComplete_01(e:Event):void {
         e.currentTarget.content.addEventListener(Event.ENTER_FRAME,OEF_01);
        function OEF_01(e:Event):void {
         if(e.currentTarget.currentFrame==e.currentTarget.totalFrames) {
              e.currentTarget.stop();
              e.currentTarget.removeEventListener(Event.ENTER_FRAME,OEF_01);
              removeChild(fl_Loader_01);
              fl_Loader_01.unloadAndStop();
              fl_Loader_01 = null;

  • Function module to find the child of WBS elements

    Hi,
    i need to find the KSTAR (Cost Element) for the corresponding WBS element . If the particular WBS element does not contain the COST Element, then to find all the children WBS element .
    I need to find all the child WBS elements and its level for the parent WBS element. I am using the table COSB and PRPS table . kindly solve to find a FUNCTIONAL MODULE which uniquely  the child WBS element. Kindly help to solve.

    Hit the PRPS table where STUFE(Level in Project Hierarchy) > Current level and project Id = Current project ID.
    Hope it helps.
    Reward if it is useful.
    Thanks,
    Srinivas

Maybe you are looking for

  • HELP-Songs can no longer be dragged into playlists on my Itunes

    I have noticed recently that I can no longer click and 'drag' my songs from my library play list, to other playlists on itunes. Is there another way I can transfer specific songs from the library to my playlists? Or is there a way I can fix it so I c

  • Query for CM

    Hi all, I m the new apps dba. actually I need to have a query through witch I can have a list of the Concurrent request run in a specific day. Info req like. req ID, porgram name, start_date, end_date etc. Please suggest !

  • Application not displayed in st03

    Hello, Recently we have restarted our production, while restarting one of our application server (Dialog Instance) did not came up due to some problem at OS level. Now the problem is solved and the app server is up now. But when I see in st03 I could

  • System time in Write TO Measuremen​t File

    Hi, everyone. I'm Sorin. I use a DAQ 6210 in Labview 8.2 to aquire some analog data at 1 sec,and i have 2 questions, please: 1. I need to record the data into a file .lvm, so i use "Write TO Measurement File" module with one column of time (X axe). B

  • Dvd drive not working after upgrade to osx10.9

    Since my Macbook upgraded to 10.9 the DVD drive no longer works. Putting in either a pre-recorded disc or a blank to burn results in the disc being ejected after spinning for a few seconds. The SD card reader also stopped working but I was able to co