How to restricting comepetncy based on grade

Hi,
We have a requirement to restrict the comepetncy displayed after seraching by employees to those valid for its grade.
Navigation -
Employee Self-Service -> Competency Profile -> Add Comnpetency -> Find Competencies -> Search
Is there anyway to restrict this based on the grade of the employee.
If so, what kind of setup is required in the Competency KFF?
I tried defining a DFF segment for competency and attaching a grade to the segment. So each cometency will hold the grade for which it is valid ( assuming a 1-1 mapping between each grade and competency )
And then I tried to restrict the result of the query by using OA framework and adding a where clause to the View Object dynamically. But it doesn't work.
i will post the OA Framework part of my post in OA Framework forum, but in general is there a way to achieve this requirement.
Thanks,
-Deb

You've pretty much done what I would have tried first (except I am no good at OAF so would have asked a technical buddy).
There is no way to link Competences to grade.
Depending on how many grades you have, you might like to define one Competence Type, each type mapping onto each grade, and then associate the competencies to the type. I believe Types can then share some common competencies if there is crossover. Types will be easier to write SQL off of but you'd still have to customise your VO. It also makes it really easy for employees to search for the correct one.
By the way, storing the grade on the competence keyflex effectively makes it part of the competence name which may start to look clunky in self service. I'd consider sticking the grade on the Competence flexfield which will also make your SQL easier to write as well as streamlining your competence name (I find querying on keyflex segments a bit of a chore).
Last resort is you could simply code some PL/SQL in a user hook to error if the employee tries to add a competence that is not appropriate for their grade.

Similar Messages

  • How to restrict authorization based on profit center in ke80 report

    hi friends
    we have a situation where we need to maintain the authorization based on profit center in ke80 report. The authorzation object K_PCA is not working. whenever we assign a particular profit center and then generate the profile, we still get the message no autjorization and when we check su53 it shows it needs '' asterisk. but we cant assign the asterisk as we have 5 subsidaries and there are using 5 different set of profit centers so assigning asterisk () would be comprimising on our security.
    does anybody came across this situation and if yes how did they resolve this?
    I need your suggestions on how to maintain this restriction.
    Regards,
    Imran

    Hi Friends
    The problem has beend solved. It turns out that this is a report writer issue. We raised the issue with SAP and they informed that 'For Report Painter/Writer every item is checked if you have the authori-zation or not. Only the items with authorization fullfilled will be displayed afterwards'.
    Based on SAP answer we created different reports for each profit center/company code.
    I would like to thank you all for your time and inputs.
    Regards,

  • How to Restrict Search based on the Roles for External crawled sites

    I have a situation where the search results have to be restricted based on role
    When External sites are crawled, how can we restrict the search results based on roles,
    I know that we can restrict the search to a group or set of groups that can contain many users but if the group have different roles and if that group has given access to a web repository search, how can we restrict the document/search access based on roles for the same group?
    For Example an Index that has external site as data source and the permissions were set for a group and that group has 2 roles, lets say <b>"Admin" and "user"</b> and the external site have some documents when searched the documents should come up only for the "Admin" role during search, but should not come up for the "user" role
    Is it possible to achieve this? Is there a solution?
    Any advices are greatly appreciated and awarded
    Thanks,
    kk

    Is it possible to restrict on role based?
    Any suggestions are appreciated
    Thanks
    KK

  • R12 SLA drilldown security:How to restrict drilldown based on source/AppI

    Hi All,
    We are on R12 and SLA is configured and working fine.
    However we have a special requirement while performing drilldown from GL- SLA
    Navigation GL Super user -->Inquiry--> Journal -->Review Journal--> Line Drilldown
    Currently we can drilldown fo all sources AR/AP/PAYROLL etc
    We want to restrict drilldown functionality for certain responsibility/s only to AR/AP sources
    We want to restrict drilldown functionality for certain responsibility/s to only Payroll Sources
    Please let me know the approach to meet the requirement.
    Cheers
    Sam

    Hi Anil,
    Thanks for the Reply.
    Following actions happens on Review Journal form
    Currently in our r12 instance the following actiosn and details are shown, Click Line drilldown button
    1) Opens SLA html page,
    showing GL journal like infirmation
    Showing Journal Line information
    2) On this page we have two buttons
    2.1 View Transactions
    Will take to subledger Transaction, You are right it would take to AR/AP etc but not payroll
    2.2 View Journal Entry
    will take to subledger journal entry details, it would show details for all source ap/ar etc inclusing payroll.
    This is fine for one set of responsibility
    We require for another reposnsibility when we click line drilldown when source is AR/AP it should show sla page
    but when the source is PAYROLL, when we click lines drilldown
    1)it should either not launch sla page or
    2)launch sla page but no details are shown or
    Can we acheive this identifying right functions in xla_sl_drilldown, create a new abc_xla_sl_drilldown menu with only functions for AR AP.
    Any ideas about the approach.
    Appreciate your feedback.
    Cheers
    sam

  • How to restrict Service PO type to enter GR based account assignment

    Hi,
    How to restrict Service Based PO document type to enter GR based Account assignment.
    Thanks in advance.
    Regards
    JACK

    Dear Jack,
    Purchase Order Account Assignment For Service Items:
    http://www.sap-img.com/materials/account-assignment.htm
    The concept of account assignment remains same whether for materials with Mat. No. Or only text. 
    If you are purchasing a particular service for a cost center. then you can assign the PO item to Cost Center & so on..... 
    Material Management 
    -> Purchasing 
    -> Material Master 
    -> Entry Aids For Items Without a Material Master.
    Also, visit:
    http://sap.ittoolbox.com/groups/technical-functional/sap-acct/maintance-order-not-reading-valuation-area-in-okb9-1018737
    Regards,
    Naveen.

  • How to restrict the duplicate values in lov column of VO based Adv Table

    Hi Gurus,
    I want to restrict the duplicate values at lov which is a colunm in an Adv Table.
    If user enters duplicate values then first it should show an error msg that Duplicate values have been entered.
    After the duplicate values have been removed, then the user can save all the values in the table.
    My Adv Table is based on a VO.
    The link how to restrict the duplicate values at form level
    talks about Adv Table based on a EoVO, which doesnot work in my case.
    My Approach,
    I am iterating through RowSetIterator and committing through PROCEDURE.
    I am able to avoid duplicate entry through a function checkRespId. (given below)
    Below code is for iterating and committing.
    public void saveline(String reqid,String userid)
    System.out.println("RequestId/saveline"+reqid);
    System.out.println("UserId/saveline"+userid);
    OAViewObject vo = (OAViewObject)getRespLineVO1();
    RespLineVORowImpl row = null;
    int fetchedRowCount = vo.getFetchedRowCount();
    RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
    if (fetchedRowCount > 0)
    deleteIter.setRangeStart(0);
    deleteIter.setRangeSize(fetchedRowCount);
    for (int i = 0; i < fetchedRowCount; i++)
    System.out.println("Inside the for LOOP");
    row = (RespLineVORowImpl)deleteIter.getRowAtRangeIndex(i);
    String respoidid = row.getAttribute("ResponsibilityId")+"";
    String respname = row.getAttribute("ResponsibilityName")+"";
    String stdate = row.getAttribute("StartDate")+"";
    String enddate = row.getAttribute("EndDate")+"";
    String linestatus ="A";
    if(userid!=null)
    if(!(respoidid.equals("null")) && respoidid!=null)
    String checkingrespid=null;
    checkingrespid = checkRespId(userid,respoidid);+contains no if not duplicate and yes if its duplicate+
    System.out.println("checkingrespid for Resp with ID :"+respoidid+"exists or not "+checkingrespid);
    if(checkingrespid.equals("No"))
         String message, result = null;
    Connection txn = getOADBTransaction().getJdbcConnection();
    try
    calling PROC ...
    catch(Exception e)
    message = "Error in Inserting into line" + e;
    throw new OAException(message, OAException.ERROR);
    else
    throw new OAException("You have entered duplicate no. of values", OAException.ERROR);
    else
    System.out.println("respoidid is null");
    break;
    deleteIter.closeRowSetIterator();
    public String checkRespId(String userid,String respoidid)
    String createRow="No";
    OAViewObject vo = (OAViewObject)findViewObject("CheckRespVO1");
    if (vo != null)
    vo.setWhereClauseParams(null);
    vo.setWhereClauseParam(0, userid);
    vo.setWhereClauseParam(1, respoidid);
    vo.executeQuery();
    System.out.println("ROW COUNT IS "+vo.getRowCount());
    if(vo.getRowCount()>0)
    createRow="Yes";
    else
    createRow="No";
    return createRow;
    Problem:
    I remove the duplicate entries and click on save and get this error.
    Unable to perform transaction on the record. \nCause: The record contains stale data. The record has been modified by another user.
    \nAction: Cancel the transaction and re-query the record to get the new data.
    Thanks,
    Sombit

    Hi Anil,
    I am trying out your code but stuck in inserting the rows
    using your code in URL: http://oracleanil.blogspot.com/2010/09/oaf-passing-table-type-object-to-oracle.html
    I am always getting the same exception i.e COde blast in when I run.
    My modified code is:
    String[] as = null;
    Number[] vNumber = null;
    Number[] vNumberrespid = null;
    Number reqidnumber = null;
    reqidnumber = new Number(Integer.parseInt(reqid));
    Connection txn = getOADBTransaction().getJdbcConnection();
    String mCreateSearchRequestStatement = null;
    OAViewObject vo = (OAViewObject)findViewObject("RespLineVO1");
    int j = vo.getFetchedRowCount();
    try
    System.out.println("abouce try");
    vo.reset();
    if (vo.getFetchedRowCount() > 0)
    System.out.println(String.valueOf("Fetched row count ").concat(String.valueOf(vo.getFetchedRowCount())));
    int i = 0;
    as = new String[j];
    vNumber = new Number[j];
    vNumberrespid = new Number[j];
    while (vo.hasNext())
    vo.next();
    System.out.println(String.valueOf("Inisde the do while loop").concat(String.valueOf(i)));
    vNumber[i] = (reqidnumber);
    vNumberrespid = ((Number)vo.getCurrentRow().getAttribute("ResponsibilityId"));
    as[i] = String.valueOf(vo.getCurrentRow().getAttribute("ResponsibilityName")).concat(String.valueOf(""));
    System.out.println("Request ID "+reqidnumber[i]);//getting null even there is some value selected
    System.out.println("ResponsibilityId "+vNumberrespid[i]);//getting null even there is some value selected
    System.out.println("Resp Name "+as[i] );//getting null even there is some value selected
    i++;
    CallableStatement cs = txn.prepareCall("{call XX_PassTableType.XX_PassTableType_prc(:1, :2,:3)}");
    ARRAY array = new ARRAY(new ArrayDescriptor("APPS.JTF_NUMBER_TABLE", txn), txn, vNumber);
    ARRAY arraynew = new ARRAY(new ArrayDescriptor("APPS.JTF_NUMBER_TABLE", txn), txn, vNumberrespid);
    ARRAY array1 = new ARRAY(new ArrayDescriptor("APPS.JTF_VARCHAR2_TABLE_100", txn), txn, as);
    cs.setArray(1, array);
    cs.setArray(2, arraynew);
    cs.setArray(3, array1);
    cs.registerOutParameter(3, 2003, "JTF_VARCHAR2_TABLE_100");
    cs.execute();
    ARRAY error = null;
    error = (ARRAY)cs.getArray(2);
    if ((error != null) && (error.length() > 0))
    System.out.println(String.valueOf("Error is ").concat(String.valueOf(error.getArray())));
    String[] retError = new String[j];
    retError = (String[])error.getArray();
    System.out.println(String.valueOf("Error in saving data").concat(String.valueOf(retError[0])));
    cs.close();
    catch (Exception exception)
    throw new OAException("code blast", OAException.ERROR);
    Thanks,
    Sombit

  • How to restrict a table with its set of data based on a column value in it?

    Hi,
    I have a scenario in which I have to show a set of data of a pivot table by restricting data based on a column value. I am creating BIP report whose source is from BIA ie.RPD. Based on a column value I want to restrict the data being displayed in the table. Since I also want the hidden data in the first table to be displayed in another table in the same report I cannot restrict the data at the query level i.e at RPD or at BIA. For this reason I used
    <?xdofx:if saw3_ = 1?>
    the pivot table
    <?end if?>
    But it does not restrict any data.
    Also I tried using the if condition inside the table before the row level looping happens. But no good show even then.
    How can I forgo this problem?
    Regards,
    The MM

    Hi,
    See : http://download.oracle.com/docs/cd/E12096_01/books/PubUser/T421739T481157.htm#4535373 regarding column and row.
    Regards,
    Colectionaru

  • How to restrict Material Class in Sales Contract Doc

    Hi,
    I need to restrict Material Class in Sales order based on Item catagory, Material group4 and Sales contract Document type.
    If the above 3 fields having a particular value then the system should restrict all the other classes of that material and display only a particular class and it's related characteristics.
    If any one come across such a senario then pklease let me know.
    Regards
    Ajay

    Hi,
    You have to make few configuration settings before you actually restrict at the object level. The solution is clearly discussed in the below thread:
    how to restrict material master by material type  t-code MM01
    Hope this helps!!
    Regards,
    Raghu

  • How to restrict the delivery quantity not more than target quantity?

    Dear Gurus,
    How to restrict the delivery quantity not more than target quantity in a scheduling agreement? I think there are 2 methods.
    1. I found that setting 0 in Overdelivery Tolerance Limit in Info Record is not effective. Why?
    2. I want to set E for the message but can't find the place. The message is generated when entering and saving quantity as delivery quantity that is larger than target quantity. How can I set E to a message (067, as I remember)
    Any other effective method? Please advice. Thanks.
    Regards,
    David

    Dear all,
    It is not OK after checking everywhere you mentioned. I tested in 2 clients. In the development enviroment client, it works whatever E or W. In test enviroment, it does not work (meassge is W).
    I think there must be somewhere besides of those you menetioned.
    I notes that SAP help for the overdelivery tollerance setting of scheduling agreement: 
    Overdelivery Tolerance Limit
    Percentage (based on the order quantity) up to which an overdelivery of this item will be accepted.
    Dependencies
    If you have set the indicator in the Partial delivery/Item field to 'D' (partial delivery allowed), this takes priority. It makes no sense to define a tolerance limit for overdelivery in such case.
    Where can I see: 'the indicator in the Partial delivery/Item field to 'D' (partial delivery allowed)'? I want to check it.
    Pls help! Thanks.
    Regards,
    David

  • How to restrict the quantity & rate of MIRO with MIGO and PO

    Hi friends,
    Can any body tell me how to restrict the quantity & rate of MIRO with MIGO and PO.
    e.g. if we have done MIGO for quantity 10 and the rate maintained in the PO is Rs.100.Then at the time of MIRO system should not allow to change the quantity and rate.
    How we can do this?
    Regards  
    Purnesh Sharma

    Hi,
    You are misunderstanding the use of MIRO.
    If you change the details in MIRO you are NOT changing anything. You are just entering the price and quantity from the Invoice.
    If this price and or qty is different from the GR aqty and PO price then the system will block the invoice for payment (and it can issue messages toinform the buyer if configured correctly).
    The whole design of MIRO is based on the principle that you enter EXACTLY what the vendor has put on the invoice. By preventing the users from changing anything you will get NO mismatched invoices, but you will not be paying the vendor the amount specified on their invoice. This will surely cause problems.
    If you do want to ensure that ONLY the GR qty and the PO price are used and cannot be changed then why not consider using ERS (Eveluated Receipt Settlement. this is basically self billing.
    Effectively you will be paying the vendor based on what you have received in MIGO multiplied by the price from the PO. (which is what you would be doing if you stop any changes in MIRO)
    Steve B

  • How to restrict the decimal entry on dynamic table in adf 11 .6

    Hi All,
      JDev version 11.6
      I have a usecase based on dynamic VO. How to restrict the decimal numbers on table columns . When user enter the decimal number .I have to show error message.
      In order to achieve above requirement .I have added value change listener on table column .its not working as expected
    <af:table rows="#{bindings.EmployeeDynamicVO.rangeSize}"
                      fetchSize="#{bindings.EmployeeDynamicVO.rangeSize}"
                      emptyText="#{bindings.EmployeeDynamicVO.viewable ? 'No data to display.' : 'Access Denied.'}"
                      var="row" rowBandingInterval="0"
                      value="#{bindings.EmployeeDynamicVO.collectionModel}"
                      selectedRowKeys="#{bindings.EmployeeDynamicVO.collectionModel.selectedRow}"
                      selectionListener="#{bindings.EmployeeDynamicVO.collectionModel.makeCurrent}"
                      rowSelection="single" id="t1"
                      styleClass="AFStretchWidth" autoHeightRows="-1"
                      columnStretching="last" contentDelivery="immediate" >
              <af:forEach items="#{bindings.EmployeeDynamicVO.attributeDefs}"
                          var="def">
                <af:column headerText="#{bindings.EmployeeDynamicVO.labels[def.name]}"
                           sortProperty="#{def.name}" id="c1">
                  <af:inputText value="#{row[def.name]}" id="ot1"
                                valueChangeListener="#{backingBeanScope.EmployeeBean.validateINputs}"
                                autoSubmit="true">
                    </af:inputText>
                  <af:outputText value="#{row[def.name]}" id="ot6"
                                 visible="#{def.name eq 'Dummy'}"/>
                </af:column>
              </af:forEach>
            </af:table>
    So appriciate if any alternatives on above usecase. Thanks in advance

    HI
    Expected :as soon as user enter the decimal values in table column , it should throw the error message in new small new window
    Getting the value change listener and validating , but its working only tab out (Because VO is dynamic )
    please suggest us any reg expression and Validators to achieve the above scenario ?

  • How to restrict saving of a sales order without a material.

    Hi Gurus
    Please advice How to restrict saving of a sales order without a material. That is the system saves the order even if no item is assigned to it.

    Hi Raghu,
                 In standard SAP we can not do that. Even for some requirements of the customer this feature is required, specially in case of milestone billings, custom materials etc. client after saving the empty sales order they may create materials based on that sales order number.
                 If it is mandatary for u to save sales order only after the entry of the materials, u can try user exits or go for a code with the help of an ABAPer.
    Regards,
    Ravi Duggirala
    Edited by: ravi duggirala on Jun 20, 2008 11:11 AM

  • HOW TO Restrict Absence Type LOV Self Service in 12.1.3

    Hi All,
    Will someone please inform of whar is the package to use for this new feature restriction as stated below. Thanks.
    From new feature PDF 12.1.3:
    3.26.4.6. Restrict Absence Type LOV
    Prior to this release, all absence types created using Oracle HRMS are displayed to users in Self-Service HR. With this release, implementers can update ""a package"" to restrict the absence types that are displayed to users based on the business requirements. This feature ensures that employees enter only those absences for which they are eligible, and managers do not have to verify the validity of the absence type of employee requests.

    Apologies for the delay here.
    The package in question is hr_absence_restricted. You replace the Package Body of this package so that the function absences_restricted returns a comma-separated array of Absence Type ids that SHOULD NOT be displayed.
    For example,
    RETURN '123, 456, 789'
    Would prevent Absence Type Ids 123, 456 and 789 from appearing in the user's List of Values. This is supposed to be described in the following Oracle Article but it's not published:
    Oracle Article How To Restrict Absence Type LOV in Oracle Self-Service Human Resources (Doc ID 1122674.1)

  • How to restrict authorization for OBC4

    Dear all
    How to restrict authorization for obc4( field status) for user id wise
    Regards
    nasa

    Hi Nasa
    You try to use the S_TABU_LIN object. With this object you can control access to tables (called from maintenance views, SM30 etc) based on the database key for the table.
    And as far as I cant see, the OBC4 transaction is just a couple of maintenance views for V_T004V andf V_T004F.
    You can find a small how-to [here|http://www.mhn-consulting.com/s_tabu_lin.html]
    Regards
    Morten Nielsen

  • Settlement to Material Based on Grade

    Hi guys,
    Our client has the following requirement:
    Suppose that they have 2 material code: X and Y, both are the same material, but are separated based on grade (quality).
    Both use the same BOM and routing. Initially, when creating production order, material X will be created.
    Now, their requirement is that they want the FOH to be allocated only for material X (first grade material), and the material Y will not get any FOH.
    How can we achieve this in controlling?
    I am thinking of utilizing source structure for this, but to my knowledge it is only available in CRM.
    Please kindly suggest
    Thank you very much in advance
    BR, Erwin

    Hi,
    That is interesting, but that means that we have to create a material number for Y.
    Actually, when we approach the by product concept, i am thinking of using the fixed by-product cost feature.
    Variance and cost wise, i think this fixed by product cost feature is good enough, but i think that it will still need further testing.
    However, i still am not sure about the impact of by product to material ledger since material ledger with price determination 3 is active in our client.
    Thank you for your response
    Best Regards,
    Erwin

Maybe you are looking for

  • Restricting for creating the Billing Document without PGI in STO Process

    We want to restrict creating the Billing Document  without PGI in STO Process Delivery Type:NL Item cataogory:NLN Billing Type: JEX Profroma Invoice I have check in VTFL At Header Level, Routine - 003.  for normal sales process LF-F2 At Item Level ,

  • Only some of my photo's are syncing from iPhoto to my iPad, iPhone and Apple TV.

    Only some of my photo's are syncing from iPhoto to my iPad, iPhone and Apple TV. It may be my own fault due to learning Aperture and playing around with the locations of the Master Files. The thing I don't understand is that when in iPhoto all thumbn

  • UIInput will not refresh with new value

    I have the following JSF component <h:inputText id="entryfee" binding="#{entryform.evententryfee}" value=""/> in a onchangeevent in another component I have the following double entryfee = 100.0; FacesContext mycontext = FacesContext.getCurrentInstan

  • How do i get adobe flash to work?

    i downloaded adone flash and i still cannot open anything on the web that requires it. How do i start using it?

  • SQLPLUS screen showing junk characters

    on a arabic windows machine i installed oracle 10g, its showing all the feedbacks, error messages in arabic. i went to windows control panel and change the regional settings from local arabic language to english us. even at the command prompt when i