Customer validation on all levels of WBS

Dear All,
I have done validation on 1st level of WBS that customer field is must to fill in or it gives error message.
How do i do this for all levels of WBS?
Regards,
Smile

In prerequisiste of validation at WBS level maintain the logic such as
PROJ-PROFL = 'XYZ''  AND PRPS-STUFE >= '2' i.e you are doing a prerequisite for project profile XYZ and WBS level > 2. This validation will be applicable for all conditions matching.
If you just want level then maintain PRPS-STUFE >= '1' , so that validation will be carried out for all levels of WBS greater then 1.
Thnaks
Sarang

Similar Messages

  • Cj20n  all levels of WBS wrt PR by relate NETWORK , ACTIVITY  No

    Dear SDN Team,
    1. Is there any PS table to find out WBS Element levels for individual Purchase Requisition?
    2.In our orz all PR is maintained by Network activity No. in EBKN table, where i have already got details of Network for respective PR. But how can i get WBS Elements of all levels  for particular PR with this Network?? Also i want to know Table for activity No for individual PR?
    rgds
    sp
    kolkata

    Hi ,
    Use this BBP_WBS_GETLIST

  • Date and Salary validation at EO level.

    Hi All,
    I have two fields Salary and Date both are present at EO level
    I need to write a validation that if the date of birth entered on UI is more than 50 years as of today then salary should not be less than 5000
    Ex: if date entered is 02-02-1961 and salary entered is 4500 then it should throw an error message on click of the button.
    There are many custom validations at eo level but exactly where should this be done.
    Thanks,
    Arun

    Thanks All ... Actually i have binded the UI fields and in the bean i have written the following code and calling it on click of a button and its working... Anyhow i will try the other options also such as using groovy and writing the code in eoimpl provided in this thread .... The code which i have written is as follows but is it the right approach please let me know
    public void comm() {
    oracle.jbo.domain.Number s = (oracle.jbo.domain.Number)sal.getValue();
    oracle.jbo.domain.Date ds = (oracle.jbo.domain.Date)dob.getValue();
    java.util.Date sa = convertDomainDateToUtilDate(ds);
    System.out.println("The dob is "+sa);
    Calendar cl = Calendar.getInstance();
    cl.setTime(new java.util.Date());
    cl.add(Calendar.YEAR, -50);
    java.util.Date toDate = cl.getTime();
    System.out.println("The 50 years before date is "+toDate);
    if ( sa.before(toDate) && s.intValue() < 5000) {
    FacesMessage msg =
    new FacesMessage(FacesMessage.FACES_MESSAGES,
    "sal should be more than 5000");
    FacesContext context = FacesContext.getCurrentInstance();
    context.addMessage(null, msg);
    } else {
    invokeEL("#{bindings.Commit.execute}");
    public static java.util.Date convertDomainDateToUtilDate(oracle.jbo.domain.Date domainDate) {
    java.util.Date date = null;
    if (domainDate != null) {
    java.sql.Date sqldate = domainDate.dateValue();
    date = new Date(sqldate.getTime());
    return date;
    Thanks,
    Arun

  • CJB1/CJB2 will Create Settlement Rule only on Last level of WBS

    In Investment projects the client want to settle last level WBS to top level WBS and from top level WBS to AUC and capitalise it. Since we have so many WBS in structure hence we want to use CJB1/CJB2 for settlement rule creation. But CJB1 and CJB2 is createing WBS on all level of WBS. Can any body tell me, what configuration/settings i need to do so that CJB1/CJB2 will create Settlement Rule only on Last level of WBS.
    Edited by: Vipul Mehta on Aug 28, 2011 3:19 PM

    Hi Sreekant,
    I checked in SPRO; PS > Costs > Automatic & Periodic Allocations > Settlement > Sett Rule for WBS > BADI for CJB1 / CJB2, there is so many BADI is available. Please let me know BADI name, which is help me to create settlement rule create at WBS last level through CJB1 / CJB2.
    Regards
    Vipul Mehta

  • Display Bex Report in Hierarchy manner (all levels in one column)

    Hi experts,
    Pls. help me in providing any possible solution to get the Bex report in a customized manner as all levels in the report should come under one column as tabbed format with out going for creating hierarchy externally.
    i anm providing 3 example levels below to get some idea as i am not able explain in detail,
                        1.  corporate  (1st level)
                         2. company (2nd level)
                         3. Line of Business (3rd level)
    normal output would be,
    column1        
    corporate
      column2 
    company
    company2
    company3
    column3
    line of business
    line of business2
    line of business3
    required report
    column1
    corporate
    company.
    company2
    company3
    line of business
    line of business2
    line of business3
    need the above manner  in column ( all levels should come in one column in tabbed manner)
    please help in any possible solution to get the required report display.
    Thanks,
    Anil.

    Hi Joao,
    Technically, Description ID column in rpd works with prompt selection because where you will have to select "Enable user to select code by column" which brings sql with id rather than text as shown below
    OBIEE, Endeca and ODI: Description ID column - OBIEE 11g
    In your case you should go with new column with concatenation let me know if you have any difficulty in doing it !
    Thanks,
    Saichand

  • Budget at all level WBS element

    Dear All
    In my project secrino i had created  4 level WBS elements i.e under 2ed level 3 rd level and under 3rd level  4th level i had created. when i am going for budget the system is taking only 4 th level WBS element total to all the Level of wbs.Please guide  me to how to solve this  issue.  i want to have level by level budget.
    Regards
    Raj

    Hi Raj,
    Amol is right, you don´t need total up the budget. But keep in mind If you have level 1 and level 2 for example and you want 1000 USD for level 1 and 5000 for level 2 it is needed budgeting 6000 for level 1 and 5000 for level 2 ( level 1 only have available 1000 USD)
    Regards,
    Sara

  • Substitution - Pass all postings from level 1 WBS to lower WBS

    Dear All,
    I have defined project type X.
    For this particular project type, i want to pass on all the postings from 1st level WBS element to following level WBS elements.
    I think this is possible with Substitution. Can you please guide me how do i do this?
    Thanks
    Regards,
    Smile

    Hi Sarang, Hi Abhishek,
    Thanks for reply!
    I am sorry that i was not very clear with the question.
    In my organisation, projects are defined like this, 1st level WBS is billing element and all revenues are posted to this WBS.
    There are further levels 2,3 to each projects and i would like to distribute the revnues per WBS.
    Example: project A is defined as  - level1 WBS
    Level 2 - each of the depts working on the project.
    The man hours are booked per dept to level 2 WBS elements.
    I would like to distribute the revenues also to each of the depts from level 1 WBS by using substitutions.
    Is this possible? How?
    Regards,
    Smile

  • Textfield custom validation called on all events

    Hi,
    I'm trying to use the Textfield custom validation function to
    match passwords in a "confirm password" setup. The confirm password
    field is set up with a validator like this:
    var vConfirmPassword = new
    Spry.Widget.ValidationTextField("vConfirmPassword", "none",
    {isRequired:true, validateOn:["submit"], validation:
    matchPasswords})
    Even though I've said validateOn:submit, matchPasswords is
    being called onBlur, onChange and onSubmit.
    What am I missing?
    Thanks,
    Jason

    Do you realize Spry has a custom password validation widget?
    If you prefer using your custom one, you could do an
    onSubmit="matchPasswords();" on your button rather than in the spry
    code.

  • Check on level of WBS element for capital purchase PO

    Hi Experts,
    We are facing a problem. While creating Capital purchase PO, all WBS elements are allowed. Although, system is configured in such a way that GRN can not be done for Level 1 WBS( Parent project). We want to introduce a check at PO creation level only, so that it should not take Level 1 WBS element. How can it be done( validation check can do here or not) .

    How did you set up the derivation rule???
    I think  that is where you specify a level of expenditue or  procurement.
    Thanks

  • Show validation X besign fields if validation at entity level failed

    Hi,
    We are doing all validation at the entity level by throwing sth like the following
    when a condition mandatory field is not filled in (i.e we override the validateEntity method).
    <pre>
    return new AttrSetValException(MetaObjectBase.TYP_ATTRIBUTE, OurMessageBundle.class, "27014", fieldName, fieldName, fieldValue);
    </pre>
    Everything is cool, as the validation message is showing up at the top. However, we need to put a X besides the field too when this failed, much like what you see when you use <af:convertDateTime tag...> .
    How to do this? Is it possible? We have defined our own error handle class and faces life cycle as doc by Oracle.
    I though by throwing AttrSetValException with fieldname="name" and my input text on jspx has id="name" will do the trick but it doesn't.
    Help is much appreciated.
    Mel

    See an example of custom-validation rule that can be applied to an entity/attribute.
    It's oracle.jbo.server.rules.JboGenericValidator and the source is in BC4J/src/bc4jaddinsrc.zip
    Also I've verified on JDev 903 Preview release that creating a new 'validationrule' in the project editor and applying it to 'entity' at entity level does work. validateValue() is called with 'entity' as the input Object.

  • Usage of ADF's validation and custom validation together ??

    Hello all..
    My apologize if this query already in place...
    Well, I've a situation where which I need a way to combine/club my application specific validation error messages with the ADF component's messages.
    For example:
    1) ADF's component validator:
    <af:selectInputDate label="#{msg.dob}" value="#{bean.DOB}" showRequired="true" >
    <f:convertDateTime type="date" pattern="yyyy-MM-dd"/>
    <af:validateDateTimeRange minimum="#{action.minDate}" maximum="#{action.todayDate}" notInRangeMessageDetail="#{msg.dateRange}" />
    </af:selectInputDate>
    2) Also, I've my business specific custom validations perfomed on click of action button on my form. Where I use ..
    public void addFacesMessage(Severity msgSeverityType, String message)
    FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(msgSeverityType, message, message));
    for adding the error messages to context -
    As part of the life cycle, the validators in the form level is fired first and I don't have scope for the request processing/action in order to run thru my buisness method. So always my component's error messages are fired alone - This way my custom validations are not invoked. Is there a way that we can combine both set of error messages together and render them as a common error msg list using <af:messages> tag ?
    If so, please provide me the link to the article!!!
    Your help on this context will be very helpful....Thanks in advance!!!

    Hello all..
    My apologize if this query already in place...
    Well, I've a situation where which I need a way to combine/club my application specific validation error messages with the ADF component's messages.
    For example:
    1) ADF's component validator:
    <af:selectInputDate label="#{msg.dob}" value="#{bean.DOB}" showRequired="true" >
    <f:convertDateTime type="date" pattern="yyyy-MM-dd"/>
    <af:validateDateTimeRange minimum="#{action.minDate}" maximum="#{action.todayDate}" notInRangeMessageDetail="#{msg.dateRange}" />
    </af:selectInputDate>
    2) Also, I've my business specific custom validations perfomed on click of action button on my form. Where I use ..
    public void addFacesMessage(Severity msgSeverityType, String message)
    FacesContext.getCurrentInstance().addMessage(null, new FacesMessage(msgSeverityType, message, message));
    for adding the error messages to context -
    As part of the life cycle, the validators in the form level is fired first and I don't have scope for the request processing/action in order to run thru my buisness method. So always my component's error messages are fired alone - This way my custom validations are not invoked. Is there a way that we can combine both set of error messages together and render them as a common error msg list using <af:messages> tag ?
    If so, please provide me the link to the article!!!
    Your help on this context will be very helpful....Thanks in advance!!!

  • How to make mandatory(usr01) field for level 1 wbs elements only from CJ20N

    Dear All,
    I have made mandatory for "PRPS-USR01" field from CJ20N transaction
    by using field exit. But mandatory field (usr01) is working for all wbs elements. I want to make this usr01 field mandatory for  LEVEL 1(prps-stufe), WBS ELEMENTS(prps-posid) only. Not for level 2 and level 3 wbs elements. Please let me know how to fix it.
    urgent.
    Regards,
    Karthik.

    You could envisage the use of validation rules in PS.
    Transaction OPSI or SPRO
    Create a validation with a message ID (Z)
    Create a step
    - prerequisite : PRPS-STUFE = '001'
    - Check : PRPS-USR01 <> ' '
    affect a message number
    Regards.

  • Issue in creation of level 2 WBS for level 1  WBS which is released

    Hello All,
    I am trying to create a level 2 WBS for a alrealy created level 1 WBS using BAPI_BUS2054_CHANGE_MULTI .If the level 1 WBS is not released then level 2 WBS gets created .However if the level 1 is released then level 2 WBS doesnt gets created and i get error ' User status INIT is active (WBS #1) '
    Using T-code CJ20n i am able to create level 2 WBS for released level 1 WBS .

    Hi;
    Do you fill WBS_LEFT, WBS_UP fields for IT_WBS_ELEMENT / IT_UPDATE_WBS_ELEMENT tables.
    Hierarchy is very important for between WBS.
    May help below similar link:
    Re: Create Whole Project with BAPI_PROJECT_MAINTAIN
    Best regards.

  • How to create a custom measure for each level of a dimension

    Hi all!
    Can Anyone please explain me with an example, how to create a custom measure for each level for a dimension? I dont mine if you use
    one or more measures.
    thanks in advance
    hope someone helps me.

    For example:I create a dimension for product_dim witch has 4 levels:total, class, family and item:
    d_aben18
    n1_aben18
    n2_aben18
    n3_aben18
    n4_aben18
    herarchy:h_aben18
    cube:cubo_aben18
    measure:med_aben18
    I create this code to fetch the data to the dimension:
    TRAP ON CLEANUP
    SQL DECLARE c1 CURSOR FOR SELECT-
    total_product_id,1,'N1_ABEN18',total_product_dsc,-
    class_id,1,'N2_ABEN18',total_product_id,class_dsc,-
    family_id,1,'N3_ABEN18', class_id, family_dsc,-
    item_id,1,'N4_ABEN18',family_id,item_dsc-
    FROM PRODUCT_DIM
    "OPEN THE CURSOR
    SQL OPEN c1
    "FETCH THE DATA
    SQL FETCH c1 LOOP INTO-
    :APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N1_aben18_LEVELDEF,:D_ABEN18_long_description,-
    :APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N2_aben18_LEVELDEF,:D_ABEN18_parentrel,-
    :D_ABEN18_long_description,-
    :APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N3_aben18_LEVELDEF,:D_ABEN18_parentrel,-
    :D_ABEN18_long_description,-
    :APPEND D_ABEN18, :D_ABEN18_H_aben18_HIERDEF,:D_ABEN18_N4_aben18_LEVELDEF,:D_ABEN18_parentrel,-
    :D_ABEN18_long_description,-
    "SAVE THE CHANGES
    UPDATE
    COMMIT
    CLEANUP:
    SQL CLOSE c1
    SHOW 'KK2'
    Then I create a cube with use compression off, and in rules sum for example.
    After, I create a measure and I select Override the aggregation specification for the cube, in rules I put nonadditive and I would like to create aprogram to assign distinct values to each level of the dimension. For example, I put 1, 2 3, and 4 values, but at the end I would like to put count(distinct(values)).
    for that I create another program:
    VRB D_RETURN DECIMAL
    if D_ABEN18_N1_ABEN18_LEVELDEF eq 'N1_ABEN18'
    then D_RETURN = 1
    if D_ABEN18_N2_ABEN18_LEVELDEF eq 'N2_ABEN18'
    then D_RETURN = 2
    if D_ABEN18_N3_ABEN18_LEVELDEF eq 'N3_ABEN18'
    then D_RETURN = 3
    if D_ABEN18_N4_ABEN18_LEVELDEF eq 'N4_ABEN18'
    then D_RETURN = 4
    else d_return=26
    return d_return
    "SHOW D_RETURN
    cubo_aben18_med_aben18_stored=d_return
    but it doesnt work.I dont know how to put to assign or to see what I want.
    I report the measure, or I report the program, but then how can I see the values of the measure?
    thanks in advance

  • ADF Tree Table Repeats Elements at All Levels in nodeStamp Facet

    Fusion Middleware Version: 11.1.1.5
    WebLogic: 10.3.5.0
    JDeveloper Build: Build JDEVADF_11.1.1.5.0_GENERIC_110409.0025.6013
    Project: Custom WebCenter Portal Application integrated with custom ADF task flows.
    Hi
    I have an issue with ADF Tree Table (af:treeTable) whereby if I add a component to a group under the 'nodeStamp' facet it repeats for all levels in the tree even those outside the group.
    Overview:
    - 3-level master-detail structure created using ADF Business Components (3 view objects connected by 2 view links)
    - ADF Tree Table based on master-detail
    - Requirement to show 3 levels of data in the first column as a tree
    - Tree table is rendering correctly showing values for 'node.FullName', 'node.DisplayValue' and 'node.HoursType' respectively in a 3 level tree.
    - When another component is added to the top node in the tree ('node.FullName') for example some output text ('node.TimeBuildingBlockId'), it is displayed along side components 'node.DisplayValue' and 'node.HoursType' as well.
    Code snippet:
          <af:treeTable value="#{bindings.PerPeopleFVO1.treeModel}" var="node"
                        selectionListener="#{bindings.PerPeopleFVO1.treeModel.makeCurrent}"
                        rowSelection="single" id="tt1" styleClass="AFStretchWidth"
                        horizontalGridVisible="true" verticalGridVisible="true"
                        disableColumnReordering="true" summary="Timecard Entry"
                        displayRow="selected" expandAllEnabled="false"
                        contentDelivery="immediate" autoHeightRows="24"
                        columnStretching="column:column1"
                        binding="#{pageFlowScope.TimecardMB.tree_binding}">
            <f:facet name="nodeStamp">
              <af:column id="c1" headerText="Partner Details" width="500">
                <af:group id="g4">
                  <af:outputText value="#{node.FullName}" id="ot3"/>
                  <af:outputText value="#{node.TimeBuildingBlockId}" id="ot1"/>
                </af:group>
                <af:outputText value="#{node.DisplayValue}" id="ot4"
                                inlineStyle="color:Green; font-weight:bolder;"/>
               <af:outputText value="#{node.HoursType}" id="ot5"/>
                <f:facet name="filter"/>
              </af:column>
            </f:facet>
            <f:facet name="pathStamp">
              <af:outputText value="#{node}" id="ot2"/>
            </f:facet>
       <af:column FROM HERE.........>
    Any ideas greatly appreciated.

    Hi,
    Try using a switcher to distinguish all three levels of a tree. You can have three different facets, three different af:group 's.
    When you add in one level, it will not repeat in the other level.
    Please see the below snippet.
    <af:tree value="#{bindings.RefBusinessUnitView1.treeModel}" var="node"
    selectionListener="#{bindings.RefBusinessUnitView1.treeModel.makeCurrent}"
    rowSelection="single" id="t1">
    <f:facet name="nodeStamp">
    <af:group id="g1">
    <af:switcher id="s1"
    facetName="#{node.hierTypeBinding.viewDefName}">
    <f:facet name="model.RefBusinessUnitView">
    <af:group id="g2">       
    <af:outputText value="#{node.Code}" id="ot1"/>
    </af:group>
    </f:facet>
    <f:facet name="model.RefProductFamilyView">
    <af:group id="g3">
    <af:outputText value="#{node.ProductFamilyName}" id="outputText1"/>
    <af:outputText value="#{node.PName}" id="outputText2"/>
    </af:group>
    </f:facet>
    </af:switcher>
    </af:group>
    </f:facet>
    </af:tree>
    Nitish

Maybe you are looking for