Parent WBS - find children

Hi
I need to find children for a parent WBS, is there any FM/BAPI or is there any table I can check?

Hello,
Check the table PRPS.
Also use the BAPI
BAPI_PROJECT_GETINFO           Read detailed information for work breakdown structures
Cheers,
Vasanth

Similar Messages

  • 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

  • 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

  • How can I casting from parent class to children class

    Dear,
    Could someone help me to casting from parent class to children class.
    I have class like this
    class parent{
    String name;
    String id;
    public String getId() {
    return id;
    public void setId(String id) {
    this.id = id;
    public String getName() {
    return name;
    public void setName(String name) {
    this.name = name;
    class children extends parent{
    String address;
    public String getAddress() {
    return address;
    public void setAddress(String address) {
    this.address = address;
    public children() {
    public children(parent p) {
    //Do init super class here
    In the constructor
    public children(parent p) {
    //Do init super class here
    I like to init super class by object p (this is instance of parent class). The way to do is using:
    public children(parent p) {
    super.setId(p.getId());
    super.setName(p.getName());
    But I don't like this, because, for example I have parent class with over 30 proberties, it take time to do like that.
    There are any way to use super operation to init parent class, for example super = p;
    Could you show me the way.
    Thanks alot

    If I understand your question correctly, you are in need of a copy constructor for you class Parent. A copy constructor behaves like this:
       Parent one = new Parent();
       one.setName("...");
       //... and all other properties of interest
       Parent two = new Parent(one);
       //Now two != one, but one.getName().equals(two.getName) for property name and all othersThe copy constructor is programmed in the Parent class, more later. Then for your child class you can use it as follows
       public class Children extends Parent {
           public Children(Parent p) {
              super(p);
       }There are at least 3 ways of programming a copy constructor:
    1. Just bite the bullet: type the assignment for each field this.name = p.getName()
    2. Use reflection to find all common setters/getters dynamically and assign using them
    3. Use a code generator that uses 2 to give you the code for solution 1 for you to paste in.
    If you find doing this a lot, there are frameworks that can do these mappings, like Dozer
    (PS be carefull with Date fields, don't copy the reference but create a new and equals instance, the dirty way would be this.birthdate = new Date(p.getBirthdate.getTime()); )

  • How to know if a parent has no children in JTree?

    How to know if a parent has no children in JTree?

    Be careful about depending on isLeaf. Common practice states that isLeaf() returns true ONLY if the node in question is not capable of having children (for example, a file in Windows Explorer). A directory with no items in it would not be a leaf node, but would have a child count of 0.

  • Sharing resources between parent FDO and children PDO

    Hello,
    I 'm developping a WDM driver for a FPGA that embeds several uarts and a CAN controler in one PCI slot.
    I use the DDK Toaster sample as a basis.
    Has someone already shared resources between  parent FDO and children PDO ?
    One way will be to export a direct-call interface between tha parent and the children. Is there something better to get the interrupt trigger in the child and the memory as a direct access ?
    Thanks
    Marco

    Hi Doron,
    here is the full debug output................
    ADDITIONAL_DEBUG_TEXT:  
    You can run '.symfix; .reload' to try to fix the symbol path and load symbols.
    MODULE_NAME: Nitin
    FAULTING_MODULE: fffff8000324a000 nt
    DEBUG_FLR_IMAGE_TIMESTAMP:  549ced55
    EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
    FAULTING_IP:
    +501cfc0
    00000000`00000000 ??              ???
    EXCEPTION_RECORD:  fffff88003b9a9c8 -- (.exr 0xfffff88003b9a9c8)
    ExceptionAddress: 0000000000000000
       ExceptionCode: c0000005 (Access violation)
      ExceptionFlags: 00000000
    NumberParameters: 2
       Parameter[0]: 0000000000000008
       Parameter[1]: 0000000000000000
    Attempt to execute non-executable address 0000000000000000
    CONTEXT:  fffff88003b9a220 -- (.cxr 0xfffff88003b9a220;r)
    rax=fffffa8022124c40 rbx=0000000000000000 rcx=0000000000000000
    rdx=fffff88003b9ac58 rsi=fffff88000fc60c0 rdi=fffff88003b9acf8
    rip=0000000000000000 rsp=fffff88003b9ac08 rbp=000000000000000c
     r8=0000000000000065  r9=0000000000000003 r10=4679726575516f64
    r11=000000000000000c r12=fffff88000fc92c0 r13=0000000000000312
    r14=0000000000000000 r15=0000000000000000
    iopl=0         nv up ei ng nz na pe nc
    cs=0010  ss=0018  ds=002b  es=002b  fs=0053  gs=002b             efl=00010282
    00000000`00000000 ??              ???
    Last set context:
    rax=fffffa8022124c40 rbx=0000000000000000 rcx=0000000000000000
    rdx=fffff88003b9ac58 rsi=fffff88000fc60c0 rdi=fffff88003b9acf8
    rip=0000000000000000 rsp=fffff88003b9ac08 rbp=000000000000000c
     r8=0000000000000065  r9=0000000000000003 r10=4679726575516f64
    r11=000000000000000c r12=fffff88000fc92c0 r13=0000000000000312
    r14=0000000000000000 r15=0000000000000000
    iopl=0         nv up ei ng nz na pe nc
    cs=0010  ss=0018  ds=002b  es=002b  fs=0053  gs=002b             efl=00010282
    00000000`00000000 ??              ???
    Resetting default scope
    CUSTOMER_CRASH_COUNT:  1
    DEFAULT_BUCKET_ID:  WIN7_DRIVER_FAULT
    BUGCHECK_STR:  0x7E
    CURRENT_IRQL:  0
    ANALYSIS_VERSION: 6.3.9600.17029 (debuggers(dbg).140219-1702) amd64fre
    LAST_CONTROL_TRANSFER:  from fffff8800b9eb091 to 0000000000000000
    STACK_TEXT:  
    fffff880`03b9ac08 fffff880`0b9eb091 : fffff880`0b9ec9a0 00000000`00000001 00000000`00000000 fffff880`009cf180 : 0x0
    fffff880`03b9ac10 fffff880`0b9ec9a0 : 00000000`00000001 00000000`00000000 fffff880`009cf180 00000000`00000001 : Nitin+0x4091
    fffff880`03b9ac18 00000000`00000001 : 00000000`00000000 fffff880`009cf180 00000000`00000001 00000000`00000000 : Nitin+0x59a0
    fffff880`03b9ac20 00000000`00000000 : fffff880`009cf180 00000000`00000001 00000000`00000000 00000000`03060001 : 0x1
    FOLLOWUP_IP:
    Nitin+4091
    fffff880`0b9eb091 ??              ???
    SYMBOL_STACK_INDEX:  1
    SYMBOL_NAME:  Nitin+4091
    FOLLOWUP_NAME:  MachineOwner
    IMAGE_NAME:  Nitin.sys
    STACK_COMMAND:  .cxr 0xfffff88003b9a220 ; kb
    BUCKET_ID:  WRONG_SYMBOLS
    FAILURE_BUCKET_ID:  WRONG_SYMBOLS
    ANALYSIS_SOURCE:  KM
    FAILURE_ID_HASH_STRING:  km:wrong_symbols
    FAILURE_ID_HASH:  {70b057e8-2462-896f-28e7-ac72d4d365f8}
    Followup: MachineOwner

  • XML having many parents and many children but all unrelated!***URGENT***

    This is very urgent..Please HELP!!!
    Iam in a project which is planning to store the entire XML file in the database in a XML datatype column. The XML has multiple parents AND multiple children for each of those parents. My problem is how to read/store the data for each of the parent and associate the parent to the child elements. The child elements does not have a parentID in its column. Here is an example- Parent table - SHIPMENT. Child Table - SHIPMENTUNITS. ShipmentNBr is the business key in both these tables. This column comes in the SHIPMENT node but does not come in the SHIPMENTUNITS node. When I try the OPENXML, all the data just gets stored..how do I link the child to the parent?
    <SHIPMENT xmlns="">
    <SHIPMENTNBR>US1011<SHIPMENTNBR />
    <SHIPMENTTYPE_CD>BK</SHIPMENTTYPE_CD>
    <LINESCAC>ACLH</LINESCAC>
    <TERMINAL_CD>USJAX</TERMINAL_CD>
    <ISSUE_DT>2006-08-17T14:23:09</ISSUE_DT>
    <VESSEL_CD>VES</VESSEL_CD>
    <VOYAGE_CD>VOYA</VOYAGE_CD>
    <POL />
    <POD>POD_0</POD>
    <SHIPMENTUNITS>
    <UNITNBR>1234</UNITNBR>
    <UNITTYPE_CD>CAR</UNITTYPE_CD>
    <MAKE>HON</MAKE>
    <MODEL>ACCO</MODEL>
    <COLOR>RED</COLOR>
    <FULLEMPTY_CD>F</FULLEMPTY_CD>
    <LENGTH>0011</LENGTH>
    <WIDTH>0022</WIDTH>
    <HEIGHT>0033</HEIGHT>
    <DIMENSIONUOM>C</DIMENSIONUOM>
    <WEIGHT>000010</WEIGHT>
    <WGTUOM>K</WGTUOM>
    </SHIPMENTUNITS>
    </SHIPMENT>
    <SHIPMENT xmlns="">
    <SHIPMENTNBR>IN2052<SHIPMENTNBR />
    <SHIPMENTTYPE_CD>BK</SHIPMENTTYPE_CD>
    <LINESCAC>ACLH</LINESCAC>
    <TERMINAL_CD>USJAX</TERMINAL_CD>
    <ISSUE_DT>2006-08-17T14:23:09</ISSUE_DT>
    <VESSEL_CD>VES</VESSEL_CD>
    <VOYAGE_CD>VOYA</VOYAGE_CD>
    <POL />
    <POD>POD_0</POD>
    <SHIPMENTUNITS>
    <UNITNBR>1234</UNITNBR>
    <UNITTYPE_CD>CAR</UNITTYPE_CD>
    <MAKE>HON</MAKE>
    <MODEL>ACCO</MODEL>
    <COLOR>RED</COLOR>
    <FULLEMPTY_CD>F</FULLEMPTY_CD>
    <LENGTH>0011</LENGTH>
    <WIDTH>0022</WIDTH>
    <HEIGHT>0033</HEIGHT>
    <DIMENSIONUOM>C</DIMENSIONUOM>
    <WEIGHT>000010</WEIGHT>
    <WGTUOM>K</WGTUOM>
    </SHIPMENTUNITS>
    </SHIPMENT>

    I don't quite understand what you want to achieve.
    If you store the data in an XML data type then you get the XML as is and all the children are associated with their parents.
    If you want to decompose them into relational tables using OpenXML, then you either use the id values provided in the data and use the parent axis, or if no such id values are present look at the so called meta properties @mp:id and @mp:parentid. In your case you have the shipment number and unit number that you could use. The first approach you can do with the nodes() method too (but the meta properties are OpenXML only).
    In the following example I show you both. In your case you don't need the @mp: parts. Also, since OpenXML needs a complete document I added a single root node.
    declare @i int;
    exec sp_xml_preparedocument @i output,
    N'<doc><SHIPMENT xmlns="">
      <SHIPMENTNBR>US1011</SHIPMENTNBR>
      <SHIPMENTTYPE_CD>BK</SHIPMENTTYPE_CD>
      <LINESCAC>ACLH</LINESCAC>
      <TERMINAL_CD>USJAX</TERMINAL_CD>
      <ISSUE_DT>2006-08-17T14:23:09</ISSUE_DT>
      <VESSEL_CD>VES</VESSEL_CD>
      <VOYAGE_CD>VOYA</VOYAGE_CD>
      <POL />
      <POD>POD_0</POD>
      <SHIPMENTUNITS>
        <UNITNBR>1234</UNITNBR>
        <UNITTYPE_CD>CAR</UNITTYPE_CD>
        <MAKE>HON</MAKE>
        <MODEL>ACCO</MODEL>
        <COLOR>RED</COLOR>
        <FULLEMPTY_CD>F</FULLEMPTY_CD>
        <LENGTH>0011</LENGTH>
        <WIDTH>0022</WIDTH>
        <HEIGHT>0033</HEIGHT>
        <DIMENSIONUOM>C</DIMENSIONUOM>
        <WEIGHT>000010</WEIGHT>
        <WGTUOM>K</WGTUOM>
      </SHIPMENTUNITS>
    </SHIPMENT>
    <SHIPMENT xmlns="">
      <SHIPMENTNBR>IN2052</SHIPMENTNBR>
      <SHIPMENTTYPE_CD>BK</SHIPMENTTYPE_CD>
      <LINESCAC>ACLH</LINESCAC>
      <TERMINAL_CD>USJAX</TERMINAL_CD>
      <ISSUE_DT>2006-08-17T14:23:09</ISSUE_DT>
      <VESSEL_CD>VES</VESSEL_CD>
      <VOYAGE_CD>VOYA</VOYAGE_CD>
      <POL />
      <POD>POD_0</POD>
      <SHIPMENTUNITS>
        <UNITNBR>1234</UNITNBR>
        <UNITTYPE_CD>CAR</UNITTYPE_CD>
        <MAKE>HON</MAKE>
        <MODEL>ACCO</MODEL>
        <COLOR>RED</COLOR>
        <FULLEMPTY_CD>F</FULLEMPTY_CD>
        <LENGTH>0011</LENGTH>
        <WIDTH>0022</WIDTH>
        <HEIGHT>0033</HEIGHT>
        <DIMENSIONUOM>C</DIMENSIONUOM>
        <WEIGHT>000010</WEIGHT>
        <WGTUOM>K</WGTUOM>
      </SHIPMENTUNITS>
    </SHIPMENT></doc>'
    select *
    from OpenXML(@i, '/doc/SHIPMENT')
            with (
                     id int '@mp:id'
                   , nbr varchar(40) 'SHIPMENTNBR'
    select *
    from OpenXML(@i, '/doc/SHIPMENT/SHIPMENTUNITS')
            with (
                     id int '@mp:id'
                   , ship_id int '@mp:parentid'
                   , ship_nbr varchar(40) '../SHIPMENTNBR'
                   , nbr varchar(40) 'UNITNBR'
    exec sp_xml_removedocument @i
    Best regards
    Michael

  • BOM: Finding Children Nodes For a Given Parent Node

    Hi,
    I am trying to find the longest path for a particular BOM material. I am using the FM CS_BOM_EXPL_MAT_V2 to explode the BOM to get the materials (including children nodes etc.). I think, in this scenario, a recursive function would be the best way to go. The problem is to find the children nodes for a node in a particular level. Looking at the structure STPOX and the fields STUFE (Level), WGEXX (path) , TTIDX (index) and VWGEX (path, multi-level), I cannot find a logical way to link the children nodes to a parent node although visually I can see how things are connected when the FM returns the STB table..
    For example: TBL_STB returns from FM:
    STUFE     WEGXX     BMTYP     TTIDX     VWEGX     OJTXB
    1     1     M     1     0     MATXX1
    2     1     M     2     1     MATXX2
    3(a)     1     M     3     1              MATXX3     
    4(c)     1     M     4     1              MATXX4               
    4(d)     2     M     4     1              MATXX5     
    3(b)     2     M     3     1              MATXX6     
    4(e)     3     M     5     2              MATXX7     
    4(f)     4     M     5     2              MATXX8     
    Visually, we can tell that  Level 2 has one item 2, level 3 has 2 items, 3(a) and 3(b), Level 4 has 4 items where 4c and 4d are connected to 3a and 4e and 4f are connected to 3b.
    Going through STPOX structure itself, how can we find out that 4c and 4d belongs to assembly 3a but 4e and 4f belong to 3b??  If someone can explain the uses of the differnet indicators in STPOX (or other) where I can find out the children from the parent, it would be greatly helpful to write the recursive function..
    Thanks in advance..
    P.S. I will give points out immediately for any useful answers..
    Edited by: Shuvo Datta on Sep 10, 2008 6:17 PM

    Figured it out myself

  • Changing scaleX/scaleY on parent scales the children but doesn't update  height/width property ?

    have created a custom component - MyImage - that has two children including a Bitmap as well as a Sprite.
    My display object hierarchy is as follows -
    mx:Canvas
      view:MyImage
         mx:Bitmap
         my:Sprite
    If I change the MyImage.scaleX, scaleY property, the children scale as I would expect them to.
    However when I try to place the children in the center using placeAgain() on getting a resize event:
        public function placeAgain():void
            if (image==null) return;
            var pCanvas:Canvas = this.parent as Canvas;
            if (image.width <= pCanvas.width)
                pCanvas.horizontalScrollPolicy="off";
                image.x = (pCanvas.width -image.width)/2;
            else
                pCanvas.horizontalScrollPolicy="on";
                image.x=0;
            if (image.height <= pCanvas.height)
                pCanvas.verticalScrollPolicy="off";
                image.y = (pCanvas.height -image.height)/2;
            else
                pCanvas.verticalScrollPolicy="on";
                image.y=0;
            alignKids();
    I find the image.height & width have not changed despite the image getting scaled!
    Isn't the child supposed to have its bounds changed after scaling its
    parent ? Especially after the child has actually been scaled correctly ?
    Why are bounds of the child stuck at the same value as before scaling? I
    am not caching the Bitmap, have not turned on caching of bitmaps.

    If I'm not mistaken, the bounds are updated with the scale. You rare not referencing the bounds, your referencing the width and height properties, which is a bit different. What happens if you use the getBounds function to get your dimensions?

  • JTree - Trying to make selection a parent select all children

    I have a jtree with checkboxes and titles. This is my first semester working with java, I started out in cpp so I'm pretty new to GUIs. I found an example of a Jtree with checkboxes on the leaf nodes online and was able to modify it to have checkboxes on all nodes.
    I have been reading through example code of JTrees but have not been able to figure out how to modify children when a parent is modified. If I clicked on an expandable node with sub nodes, I'd want all checkboxes under it to become checked. I've been trying to figure this out for a few days now.
    I tried adding a System.out to the getTreeCellEditorComponent class of the cell editor, to see if that's where I'm supposed to put the code (when i figure out what it is) but it gave unexpected output. Clicking a checkbox the first time called the println once, but after that, each click called println multiple times per click. I'm worried that having the extra calls to the code could mess things up. Where would I want to put code for it to be called only once per time the checkbox is clicked?
    Oh, I also tried adding a listener to the checkbox in the renderer but it gave really weird results too.
    How does the TreePath class work? I tried some stuff with getClosestPathForLocation but couldn't get anything to work.
    Thank you very much for your time and help.

    Thanks for pointing that out. I had tried a few others but yes his was very close to what I want. I just removed the node icons.
    Thanks

  • Parent not clipping children in certain cases

    I've run into 2 different cases where clipping doesn't work.
    One I can produce a test case that reproduces the problem where
    another I have a program that is demostrating the problem, but I
    don't know why. I've found a hack that causes clipping to get
    turned back on, but I wanted to know if anyone else has encountered
    these problems. I'm surprised because clipping is such a basic
    neccessity, and easy to implement I'm confused as to why Flex is so
    buggy. Here is one way of reproducing my first clipping problem.
    Create two canvases one as a child of the other, and set a bottom
    constraint on the child.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Canvas backgroundColor="black" x="10" y="10"
    width="313" height="218" horizontalScrollPolicy="off"
    verticalScrollPolicy="off">
    <mx:Canvas id="c1" backgroundColor="blue" right="0"
    height="166" left="0" y="149"/>
    </mx:Canvas>
    <mx:Canvas backgroundColor="black" x="367" y="10"
    width="313" height="218" horizontalScrollPolicy="off"
    verticalScrollPolicy="off">
    <mx:Canvas id="c2" backgroundColor="red" height="166"
    bottom="-97" width="313" x="0"/>
    </mx:Canvas>
    </mx:Application>
    The above mxml will show clipping work (in blue), and
    clipping failing (in red). Turn off the use of bottom constraints
    and it will start working. I've filled a bug on the above code. I'd
    like to file another bug on the second one I've found, but I can't
    seem to boil it to down to a simple test cases.
    The next one I'm not sure why it's not clipping. I have a
    series of images being displayed on a Canvas in CD Coverflow in
    iTunes/iPhone like UI. The images will spill outside the container
    when they get larger than the parent. However, if I put another
    child whose bounds also spill outside the parent, and set
    visible="false" then clipping will start working and all children
    will be clipped properly.
    Any ideas why clipping is so flaky? Are there cases where
    this is by design?
    Charlie

    d9tech,
    It's definitely a bug. We need simplified test case that
    exhibits the bug so we can submit it to JIRA. There are several
    works arounds that you can do to get it to work. Including the one
    Peter provided in the form. You can see others here:
    http://bugs.adobe.com/jira/browse/SDK-13584
    I don't think this problem is related to this bug though as
    I'm not using bottom or right constraints in doing my layout. What
    you describe sounds very similar to what I was doing as well. If
    you post your some of your code it might help in working out a test
    case that we can provide to JIRA so the Flex engineers can fix it.
    My program is not that trivial so I wasn't going to post it, but if
    you have one that's simpler then I'd be up for helping you work out
    a test case.
    Thanks
    Charlie

  • Parent child find

    I have just started using SQL. What I am trying to do is find a specific user that is in the parent and in 37 child. So I have a script that tells me each child for the parent, but now I want to find a specific user inside each child. Here is my first script, any ideas on how to do this? so i have user 1334 in the parent table, how can I script it to show me which child has user 1334.
    Thanks
    select
    child.owner || '.' ||
    child.table_name "Child table",
    'is child of' " ",
    parent.owner || '.' ||
    parent.table_name "Parent table"
    from
    dba_constraints child join dba_constraints parent on
    child.r_constraint_name = parent.constraint_name and
    child.r_owner = parent.owner
    where parent.owner = 'MDL_BETA'
    and parent.table_name = 'SI_USERS';

    Hi, Dave,
    Unfortunately, that still doesn't clarify what you want (at least for me).
    It looks like you have a query that shows you the tables that have foreign-key relationships with the parent table, such as a constraint on the child_01 table which says that the only valid entries in child_01.parent_id are numbers that are already in parent.id. In other words, this shows you tables that are potentially linked (that is, your query finds table child_01, though there may not be any rows in child_01.)
    Are you saying that you want to find tables that are actually linked, and linked by a certain value? (That is, do you want to include table child_01 only if it has at least one row where child_01.parent_id = 1334?)

  • JTree - Parent Icon for children

    Hello,
    I have a JTree that displays Categories (=Parent) and it's content (=Child):
    Cat 1
    Cat 2
    Content 1
    Cat 3
      Cat 3.1
        Content
    ...There are some categories that do not have children, and so their icon is the same as the leaves's icon.
    How can I change the icon of categories who do not have children to a "parent-icon"?
    thanks,

    Inherit DefaultTreeCellrenderer and override getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus). Now you can set the icons individually.
    Tutorial:
    http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html

  • Settling the costs of a parent WBS elements

    Dear experts,
    i have a cost project consist of 3 levels work break down structure:
    level 1: a root WBS element
    level 2: splited into 2 WBS elements (Production - Maintenance)
    level 3: spliting each WBS element of the above level into 3 WBS elements (Service - Materials - Labour)
    actual postings ONLY is against level 3 WBS elements and the costs is acomulated to level 2 and then to level 1
    but my customer wants to settle ONLY level 2 WBS elements (Production - Maintenance).
    so...
    i maintained settlement rules only for level 2 WBS elements (Production - Maintenance)
    level 3 WBS elements  (Service - Materials - Labour) are assigned settlement profile
    90, which has the setting "Not for settlement".
    when i tried to run settlement for level 2 WBS elements (Production - Maintenance) i failed coz i got 3 "Nor relevant" and 1 "No change"
    so, my question is: is it possible to settle aparent WBS element in which there's no actual costs has incurred "has no actual costs of its own", however, it only has childs WBS elements that have actual costs

    If you read your post carefully you will understand what mistake you are doing. Read SAP Help and search forum regarding settlement you will find the answer for this
    so, my question is: is it possible to settle aparent WBS element in which there's no actual costs has incurred "has no actual costs of its own", however, it only has childs WBS elements that have actual costs
    Edited by: Mohamed Rafi on Jul 4, 2011 7:06 PM

  • Find children in a webBean

    I'd needed to find a child in a webBean.  I'd used:
    OASubTabLayoutBean subTabLayout = (OASubTabLayoutBean)webBean.findChildRecursive("subTabRN");
    and gotten null results.  So either that wasn't the name I thought it was, or I was in the wrong bean.
    So, how to find the names of the children that were there?
    Reading several posts, each with snippets of information, I pieced together the following code:
      public void printWebBeanChildNames(OAPageContext pageContext, OAWebBean webBean) {
        OARenderingContext rc = (OARenderingContext) pageContext.getRenderingContext();
        int cnt = webBean.getIndexedChildCount(rc);
        for (int i = 0; i < cnt; i++) {
          UINode uiN = webBean.getIndexedChild(rc,i);
          System.out.println("getID:" + uiN.getID());
      } // printWebBeanChildNames
    The resulting list told me I was in the wrong bean (I recognized the names as belonging to a sibling), which gave me what I needed to fix the problem.
    I wanted to post my code snippet, so that those who follow would be able to use it without having hunt down the specific clues.  But the discussion was locked.  So I created a new one.
    I hope the code is useful.
    Thanks

    Perhaps I should add that it was in my CO.  I'd made it a procedure, so I could easily comment out the call, when I no longer needed it.  And, I presume that it would work anywhere you had access to the OAPageContext and OAWebBean.

Maybe you are looking for

  • Getting parameter values from ITS to back end Modulepool program

    Hi, I worked on external ITS developments for SRM project I  was passing values from and to between ITS front end template and corresponding back end module pool program. I was using filed-set and field-get macro for passing values. It was working pe

  • To avoid duplicate rows in oracle 8i

    Can you suggest how to prevent duplicate rows while in situations where multiple refreshes from a single export file using Oracle 8.1.7? Do i need to specify Commit=Y, Constraints= N and IGNORE=N while importing data? Your suggestion would be appreci

  • How to create Mobile User Account

    Hi all, I have a dumb question but it makes me crazy !!! I'm new in CRM 5.2 and in mobile as weel. My question is : How to create a user acount into my mobile infrastructure ? I've followed the following explanation but I don't find the solution : [h

  • Replication failed only on one database.

    Hi , We are using transactional replication between 2012 and 2088 R2 servers.Replication is configured on several databases but it is failing  with below error only on one Database. Replication-Replication Distribution Subsystem: agent I'job name' fa

  • Third Party WCM tools integrated into SAP EP7

    Hi All, I am wondering if anybody has experiences with integrating a third party WCM tool with EP7 for intranet-style content in the portal, and whether an assessment versus Web Page Composer has been made?  I have looked at Web Page Composer but am