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

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

  • Validating department in WBS element code with dept in Investment program

    Hello Guru's,
    While assigning Investment program, in WBS  in CJ20N or CJ11, in our current business process we need to to validate the Department code in both WBS code and Investment program code.
    At present we have planned to used same department code in WBS Code and Investment program code.
    Need to to do this enhancement for our current project.
    Please suggest the way to do it.
    Regards,
    Amlan

    Hi,
    I assume this "Department Code" is one of your customer specific field that is made available both in WBS as well as the iM program. If that is the case then either you can use any of the user exits for the WBS Elements to write your code or create a validation for the WBS and put your code in one of those exits invalidation.
    Regards
    Sreekanth

  • 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

  • Custom xsd document validation referencing child xsd via import/include

    Hi,
    I need to build an ebXML 2.0 agreement which will use multiple xsd's. I have a root xsd document(Company.xsd) which imports two child xsd document(Product.xsd and Person.xsd).
    I've validated the xsd's and it seems to work. I even built a composite process and it works.
    The problem is when I use it in B2B Gateway 11g. I get an error saying it cannot validate against the xsd.
    I followed a thread Re: ebMS with custom xsd document which import other xsd's that tells me that
    I should ZIP it(all top level) and use the zipfile as the document definition and specify the root xsd(Company.xsd). Zipping it with just basic one level
    xsd seems to work but not multi level.
    Are multiple level xsd supported in B2B 11g?
    Regards,
    Robert
    P.S.
    I've attached the xsd and sample xml data.
    --- Company.xsd----
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.company.org" xmlns:per="http://www.person.org" xmlns:pro="http://www.product.org" targetNamespace="http://www.company.org" elementFormDefault="unqualified">
         <xsd:import namespace="http://www.person.org" schemaLocation="Person.xsd"/>
         <xsd:import namespace="http://www.product.org" schemaLocation="Product.xsd"/>
         <xsd:element name="Company">
              <xsd:complexType>
                   <xsd:sequence>
                        <xsd:element name="Person" type="per:PersonType" maxOccurs="unbounded"/>
                        <xsd:element name="Product" type="pro:ProductType" maxOccurs="unbounded"/>
                   </xsd:sequence>
              </xsd:complexType>
         </xsd:element>
    </xsd:schema>
    --- Person.xsd----
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.person.org"
    xmlns="http://www.person.org"
    elementFormDefault="unqualified">
    <xsd:complexType name="PersonType">
    <xsd:sequence>
    <xsd:element name="Name" type="xsd:string"/>
    <xsd:element name="SSN" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    ---- Product.xsd----
    <?xml version="1.0"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.product.org"
    xmlns="http://www.product.org"
    elementFormDefault="unqualified">
    <xsd:complexType name="ProductType">
    <xsd:sequence>
    <xsd:element name="Type" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>
    ----Sample XML Data----
    <?xml version="1.0" encoding="UTF-8"?>
    <n1:Company xsi:schemaLocation="http://www.company.org Company.xsd" xmlns:n1="http://www.company.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <Person>
              <Name>MyName</Name>
              <SSN>12345</SSN>
         </Person>
         <Product>
              <Type>TheProduct</Type>
         </Product>
    </n1:Company>
    Edited by: RSamaniego on 30/08/2010 14:14

    This is the error I'm getting. I got this from the soa-server1-diagnostic file.
    [2010-08-31T08:46:54.209+12:00] [soa_server1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@1e84d54] [userId: <anonymous>] [ecid: 0000If4kAAfECSIMyqqYMG1CV1Rh000033,0] [APP: soa-infra] [dcid: e89d49f26b5a6f2c:11cf61b2:12ac4ba60b9:-7ffd-000000000000002b] oracle.xml.parser.v2.XMLParseException: Element 'Name' not expected.[[
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:342)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:319)
         at oracle.tip.b2b.document.custom.CustomDocumentPlugin.processDocument(CustomDocumentPlugin.java:896)
         at oracle.tip.b2b.document.custom.CustomDocumentPlugin.processOutgoingDocument(CustomDocumentPlugin.java:438)
         at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1326)
         at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    oracle.xml.parser.v2.XMLParseException: Element 'Name' not expected.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:342)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:319)
         at oracle.tip.b2b.document.custom.CustomDocumentPlugin.processDocument(CustomDocumentPlugin.java:896)
         at oracle.tip.b2b.document.custom.CustomDocumentPlugin.processOutgoingDocument(CustomDocumentPlugin.java:438)
         at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1326)
         at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:837)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1411)
         at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:781)
         at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3319)
         at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:2948)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:575)
         at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:214)
         at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:105)
         at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
         at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Edited by: RSamaniego on 30/08/2010 13:57

  • 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.

  • Adding the unique validation on child vo attribute

    Hi, I'm using Jdev 11.1.2.0 I have two tables, master child relationship. In master EO1, I have column Master_Id and in child EO2, I have columns Master_Id, child_id, child_name. i have created the assosiations in beteween EO1 and EO2 with the column Master_Id. and creatd vo's and viewlinks also. and when i drag and drop the master vo and child vo on to the page, if i select master vo first row, the correspodning child records are displayed perfectly. Now I want to apply the unique validation on the child vo columns  child_id and child_name. like Child vo data;
    Master_Id 
    Child_Id 
    Child_name
    1
    1
    A
    1
    2
    B
    1
    3
    C
    2
    1
    A
    2
    2
    B
    2
    3
    C
    if I select 1 in master table, then in child table if i create a row and inserting the data, it should check for the duplicate data is there or not under that master_id. I did adding the Custom attribute validation on EO level, like checking the value is existed in the given rowset or not. Instead of adding this custom attibute validation, is there any other way to do it on the EO attribtue level, like  selecting the generate unique key constraint. Any suggestion would be appreciated. Thanks.

    In this car you only can validate using have methods or groovy.  Read http://docs.oracle.com/middleware/1212/adf/ADFFD/bcrules.htm#CIHBBDDB for more info about this.
    However, if you have the relationship you should have the pk fk too.
    Timo

  • 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

  • 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

  • How to find Childs of a perticular WBS Element

    Hi All,
    Is there any FM/ Class method which gives me all Child WBS element for a perticular WBS element for same project.
    EX:
    POSNR                    PSPHI                    UP                       DOWN                     LEFT                     RIGHT                                                                               
    J-M-000376-1             J-M-000376                                        J-M-000376-2                                                    
    J-M-000376-2             J-M-000376               J-M-000376-1                                                               J-M-000376-3  
    J-M-000376-3             J-M-000376               J-M-000376-1                                      J-M-000376-2             J-M-000376-4  
    J-M-000376-4             J-M-000376               J-M-000376-1                                      J-M-000376-3             J-M-000376-5  
    J-M-000376-5             J-M-000376               J-M-000376-1                                      J-M-000376-4             J-M-000376-6  
    J-M-000376-6             J-M-000376               J-M-000376-1                                      J-M-000376-5             J-M-000376-7  
    J-M-000376-7             J-M-000376               J-M-000376-1                                      J-M-000376-6             J-M-000376-8  
    J-M-000376-8             J-M-000376               J-M-000376-1                                      J-M-000376-7                           
    If i enter J-M-000376-1 it has 7 childs so it should give me 7 Child WBS.
    If i enter J-M-000376-4 it does'nt have any child it so no child WBS element.
    Any one have idea about this.
    Regards
    Amar

    Hi,
    Refer table PRHI to see WBSE Hierachy.
    Also you can try using function module: BAPI_PROJECT_GETINFO. which may be helpful to you.
    Regards,
    Sandeep

  • How to find Childs of a perticular WBS Element(PRPS-PSPNR)

    Hi All,
    Is there any FM/ Class method which gives me all Child WBS element for a perticular WBS element for same project.
    EX:
    POSNR PSPHI UP DOWN LEFT RIGHT
    J-M-000376-1 J-M-000376 J-M-000376-2
    J-M-000376-2 J-M-000376 J-M-000376-1 J-M-000376-3
    J-M-000376-3 J-M-000376 J-M-000376-1 J-M-000376-2 J-M-000376-4
    J-M-000376-4 J-M-000376 J-M-000376-1 J-M-000376-3 J-M-000376-5
    J-M-000376-5 J-M-000376 J-M-000376-1 J-M-000376-4 J-M-000376-6
    J-M-000376-6 J-M-000376 J-M-000376-1 J-M-000376-5 J-M-000376-7
    J-M-000376-7 J-M-000376 J-M-000376-1 J-M-000376-6 J-M-000376-8
    J-M-000376-8 J-M-000376 J-M-000376-1 J-M-000376-7
    If i enter J-M-000376-1 it has 7 childs so it should give me 7 Child WBS.
    If i enter J-M-000376-4 it does'nt have any child it so no child WBS element.
    Any one have idea about this.
    Regards
    Amar

    Hi,
    The Perfect FM for your Requirement is BBP_PS_PROJECT_GET_LIST
    Use this FM..Give the Name of the Project Only to this FM and it would bring you back the complete hierarchy of the Project as you see in CJ20N.
    CALL FUNCTION 'BBP_PS_PROJECT_GET_LIST'
        EXPORTING
          i_ps_sel   = i_ps_sel
          i_username = sy-uname
        TABLES
          et_rsthie  = i_rsthie
          et_proj    = i_proj
          et_prps    = i_prps
          et_aufk    = i_aufk
          et_afvc    = i_afvc
          et_comp    = i_comp
          et_ctxt    = i_ctxt
          return     = return
        EXCEPTIONS
          not_found  = 1
          OTHERS     = 2.

  • Exit in the Validation rule is not working in Project system

    Hi Team,
    I have created a validation rule for wbs and inserted a exit under check condition. But when i trying to test the validation rule, exit is not called. Is there any other step to activate the exit??
    Best regards,
    Dileep

    Hi,
    The code you have written in the exit must be activated. Please check the same.
    Regards,
    Harsh.

  • How to create a validation for the project coding mask

    Hi,
    Would just like to ask how to create a validation for the project coding mask wherein the WBS elements hierarchy will be checked against the template saved. For example,
    project coding mask is XXXX-XXXXX-XX-X-X-X-00-X
    mother WBS should be XXXX-XXXXX-X and lower level WBS would be XXXX-XXXXX-XX.
    The validation should not allow a mother WBS to be XXXX-XXXXX-XX.
    How can we go about this?

    Hi Jacquiline Bersamin,
    You can use validation with the combination of the level and the coding mask.
    In the validation:
    Pre requisite: WBS level = 1
    Validation: Prps-posid = prps-posid :1-12:
    Message : Error
    If required you can give the parameters for your detail error message.
    Please let me know if this does not work.
    Thanks
    Regards
    Srinivasan Desingh

  • 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

Maybe you are looking for

  • Slow web page loads on Mac, but not for PC

    I use a D-Link wireless router (DI-524) for my PowerBook G4 15" and my roommate's Dell PC. Very recently I seem to get very slow web page loads with some pages not even loading at all. Airport is consistently connected with no drops at all and when I

  • The Right-click context menu on bookmarks on my mac is not working

    Hi. After recently upgrading to FF 3.6.12 on my Macbook Pro running OSX 10.6.4, I can no longer right-click on my individual bookmark names, and get the context menu to come up. It will simply not appear in some areas, and in other areas it works wro

  • Bluetooth headphones

    I am looking into getting some bluetooth stereo headphones for my Mac Mini. My wife does audio editing on it, and it would be great to not have the headphone cord running across the room (we have it hooked up to our LCD tv for a monitor). I have 2 qu

  • Ipad space storage missing

    I am using an iPad retina 16gb. I tried to update from iOS 8.0.2 from 7 earlier thru wifi then during the update (where you see an apple) it hang there and I waited for 3 hours, so I tried a hard reset. So what happened is that it got corrupted and I

  • About Dependency Injection in EJB3.0

    Hi, I'm a fresh man in EJB3.0. Except @EJB and @Resource,is there any other anotation can be used to Dependency Injection?