Filter on Leave Type based on ESG

Hi All,
I have one PSG and within that I have 2 ESG. One Type of leave is applicable to only 1st ESG. So for other ESG, that leave type should not come at all.
How can we achieve this since leave type can only be mapped to PSG.
I have seen many threads on this but none was answered.
Thanks,
Bhaskar

Hi Sikinder,
My requirement is this:
I have one PSG and within that two ESG (Lets say ESG1 and ESG2).
For ESG2, leave type 'SICK LEAVE: 9005' should not be allowed.
When the user selects this leave type in PA30, he should get message "Sick leave not allowed".
When user goes to portal, he should not be able to see this leave type.
Can we do this?
Thanks,
Bhaskar

Similar Messages

  • Filter Document Type based on Authorization Object

    Hello Everyone,
    I have a requirement where i was asked to filter the document type based on authorization object M_BEST_BSA in transaction /KCP/2,ME21N, ME22N and ME23N.
    When I create or modify a purchase order, I dont want  to be lost in choosing the PO type. I want the field EKKO-BSART displays only the values authorized for the user(me).
    Thanks a lot

    RE is standard for MIRO .This is SAp standard .
    Please clarify what u require .
    Did you need other RE  for example LE for miro doc type in your co code 1130 and miro doc type EE for your co code 1145.
    like wise
    Edited by: manu m on Jul 13, 2009 7:53 AM

  • Trip Expense Types based upon Trip Activity Type

    Hi
    I have a requirement. I know that Travel Expense Types do have the permissibility based upon "Employee Grouping for Travel Expense Types". This is being done in V_T706B1 in the field 'ExpTy.Permissibility'. Based upon the group the employee belongs to, he/she can have the visibility to the expense type in 'Travel Expense Report'
    Now my requirement is can I have the same type of permissibility to travel expense types based upon the Trip Activity type. For example if I choose a trip activity type 'Billable to Customer' in Trvael Request Form I should be able to see expense types AIR, TRAIN while if I choose 'Internal Training' I should be able to see only TRAIN in Travel Expense Report.
    Is this possible?

    Dear,
    Open data element:SPKZL from SE11.
    Check the search help name:SH_EXPENSE_TYPES.
    Double click on the search help SH_EXPENSE_TYPES.
    You can find the search help exit name:PTRV_F4_EXP_TYPE_SH_EXIT
    Copy that PTRV_F4_EXP_TYPE_SH_EXIT into a 'Z' function module.
    Filter the expense type, in the loop,
    loop at spkzls where spkzl in t_spkzl_selopt and sptxt in t_sptxt_selopt.
      ****write ur logic here to filter the expense types based on the activity
    append spkzls to spkzls_help.
    endloop.
    After activating the above z function module, replace the standard function module with 'z' function module in search help exit filed.
    Thanks and Regards

  • Assigning Leave types to ESS workflow

    Hi All,
    Actually I would like to know how to assign leave types to standard WF NO.WS04200009 for Leave in ESS.
    In this WF in my first screen I m not getting the F4 help for leave types in ESS. I believe it has to be done thru Rule groups, but I also dont know how to create one.
    Can anyone please guide?
    Thanks and Regards,
    Sudipto.

    For achieving your functionality you have to use a filter, or have a check in BADI where you disallow
    employees from taking a certain type of absence by giving an error message based on their ESG
    as you indicated

  • Restrict SR Type based on responsibility

    Hi all,
    I am trying to restrict SR Type based on responsibility. Oracle 11.5.9 document has the following statement. has anyone got this going ? or is there a bug??
    Thanks,
    Gana
    3.10.1.29. Map Service Request Types by Responsibility
    To be consistent with iSupport, Service Request Types can be mapped to responsibilities.
    This allows a customer to filter out the unnecessary or unrelated Service Request Types
    and display the relevant ones to specific responsibilities in the Create, Update and View
    Service Request forms. A Street Service’s agent will only see Service Request types of
    Abandoned Vehicles and Street Cleaning and not Animal Retrieval.

    Thank you.
    But this is a Bug for version earlier then 11.5.9 and it is declared by Oracle.
    It is a enhancement request number 2445606 and is incorporated into the released 11.5.9 version of the product, but it does not function in any earlier release.
    The Profile option is
    'Service: Use SR Type - Responsibility Mapping'
    This profile can be set at Site and / or Responsibility Level.
    If set to 'Y' at only the Site level, this indicates that the Type will always be filtered by Responsibility, no matter what the responsibility is. In this case, the Service Request Types should be mapped to the required responsbilities.
    If set to 'Y' at Site level, and 'N' for Responsibility say 'R1', then responsibility 'R1' will have access to all SR types, but for all other responsibilities, SR types will be filtered to the list of what is mapped to the Responsibility.
    Thank you

  • In BI how to filter the selection options based on inputs on top field

    Hi Friends,
    In BI, How to filter the selection options based on inputs on top field.
    The system should automatically filter the lower level drop downs based on the selection of a higher level.
    For e.g. :
    If a user selects a Country then the States drop down should only display the State's belongs to the Country. Similarly when a State is selected, the District drop down should display only those District's belongs to the State.
    Thanks in Advance.
    Regards
    Jayaram M

    Hi Anil,
    Thanks for reply but I couldn't use Compounding Characteristic here. Need some other solution.
    Regards
    Jayaram M

  • I need to set up an expense form so that our consultant can "filter" by customer type, program type, and finally the purpose of the trip. For instance: the customer types are churches, schools, organizations. The program type would be fund raising, gift p

    I need to set up an expense form so that our consultant can "filter" by customer type, program type, and finally the purpose of the trip. For instance: the customer types are churches, schools, organizations. The program type would be dependent on the customer type selection from the first list. Some examples would be: fund raising, gift planning, surveys, and others. The purpose of the trip would be dependent on the program type selected from the second list. Some examples of trip purposes would be: presentation, design, prospecting. Further, the purpose of trip selection from the third drop-down box would then have to determine the values of other fields by expense type: such as commission, airfare, hotel. etc. I've tried pop-up menu but can't figure out how to "select" from the final popup list and have it populate a field for the purpose of the trip. I've tried to look at the JavaScript examples for dependent drop-down boxes, but can't find any that quite fit what I'm trying to accomplish. I am very new to all of this. No training in writing Javascripts - just trying to wing it. The form has to be very simple for our consultants to use, but also give our office the detail we need to process through the correct account numbers. I would appreciate any detailed step-by-step instructions - kind of a javascript for dummies type of info. HELP!

    An AcroForm is the name given to the type of PDF form that you create in Acrobat. An XFA form is the type of form that you create in LiveCycle Designer. Although they are both PDF files, they are very different structurally and have significant;y different scripting models. So pay attention to the information on AcroForms and ignore anything about XFA. Be sure to get the sample PDF forms so you can look at how it works and where the scripts are placed.
    What you want to do will require scripting, and if you don't have the experience and are unable to use the information in the tutorials to create what you want, you might consider getting someone who has experience do this for you. I'll often suggest code if I can do so quickly, but what you want requires more than a few minutes.

  • Create "Object" Type based on columns of a table

    Hi Experts
    is it possible to create an Object Type based on columns of a table?
    for example the syntax for creation of type is
    CREATE OR REPLACE TYPE temp_t
    AS OBJECT (ID number, code number)
    can we create a type that is based on columns of an existing table? so that we donot have to write down all the column names in each type as i have to create types based on 100 and above tables :-s
    Please help me out here!
    Best Regards

    You cannot do that Zia, check below code:
    SQL> create or replace type temp_t as object(object_name all_objects.object_name%TYPE);
      2  /
    Warning: Type created with compilation errors.
    SQL> sho err
    Errors for TYPE TEMP_T:
    LINE/COL ERROR
    0/0      PL/SQL: Compilation unit analysis terminated
    1/35     PLS-00201: identifier 'ALL_OBJECTS.OBJECT_NAME' must be declared

  • Created column not showing in the Document Library View for a Custom Content Type based on Document

    We have a custom content type based of Document Content Type. The OOTB "Created" column does not show up in the view as well as in the Site Settings -> Columns.
    But it shows up in the Display Form and Edit Form of the Item at the bottom "Created at " by " " and "Modified by" at by ""
    Would anyone know how to make this column appear as part of the view ?
    thanks,
    Harsh

    Hi,
    They should by default be possible to add to a view. The only reason they would disappear from the UI if someone has changed the attribute of the Field to hidden = true. You can verify that with PowerShell and if so you can use PowerShell to revert the setting
    to false.
    $w = Get-SPWeb http://dev13$f = $w.Fields.GetFieldByInternalName("Created")$f.Hidden$f.Hidden = $false$f.Update()

  • Custom Content type based on "Link to a Document" does not open new folder in a dialog

    Hi,
       We have created a custom Content Type  based on "Link to a Document" (0x01010A) into a document library. When I use the New Document button on the ribbon, the "Link to a document" form appears on the same window, not as a dialog. If we
    use the "link to a document" content type it works fine.
      This issue occurs when creating the content type from the SharePoint UI as well as via XML (provisioning the content type).
       Is it a SharePoint bug or are we missing something?
    Thanks!
    Sergio

    Hi S3rgiones,
    I can reproduce your issue, when create a custom content type based on “Link to a Document” content type, create item using the content type, it will open the NewLink.aspx page in the same window not the modal dialog.
    In this situation, you can try to custom the content type and customize the form page for it, specify it in the content type customization, if this doesn’t work, you may need to custom the content type not inherit from the default link to
    a document, but customize it yourself.
    Thanks,
    Qiao Wei
    TechNet Community Support

  • Auto selection of  PO type based on  PR type

    Dear Gurus,
    I am placing question for the first time,  please guide.
    While using  ME21N   PO type should be automatically selected based on  PR type when PR number is refered while creating PO.
    I have configured  "Link purchase requisition - document type"  through  Define Document type .
    Above conf. has triggerd an error msg. in ME21N (useful to some extent).
    But we want system to automatically select PO type based on PR type  ( when PR No. refered in PO ).
    Thanks in advance 
    Rammohan

    Dear sir,
    Auto creation of  PO will not workout,  since manual creation only allowed. Only auto PO type selection is required.
    Even PO type select in in SU3 & personal setting are made blank.
    Thanks
    Rammohan

  • Add column to user defined type based on existing table

    Hello guys,
    I am trying to compile my function which returns a user defined type based on existing table. Throughout the initializing process though my query returns one additional column - SCORE(1). Here is my package:
    create or replace
    PACKAGE STAFF_AGENCY_PKG AS
    TYPE TYPE_SEEKER_TABLE IS TABLE OF TOSS.SEEKER%ROWTYPE;
    FUNCTION GET_SEEKERS(IN_KEYWORD IN VARCHAR2)
    RETURN TYPE_SEEKER_TABLE PIPELINED;
    END STAFF_AGENCY_PKG;
    create or replace
    PACKAGE BODY STAFF_AGENCY_PKG
    AS
    FUNCTION GET_SEEKERS(IN_KEYWORD IN VARCHAR2)
    RETURN TYPE_SEEKER_TABLE PIPELINED
    IS
    R_TBL TYPE_SEEKER_TABLE; -- to be returned
    BEGIN
    FOR R IN(
    SELECT Seeker.SEEKER_ID,
    Seeker.FIRSTNAME,
    Seeker.LASTNAME,
    Seeker.NATIONALITY,
    Seeker.ISELIGIBLE,
    Seeker.BIRTHDATE,
    Seeker.ISRECIEVEEMAILS,
    Seeker.HIGHESTDEGREE,
    Seeker.ETHNICITY,
    Seeker.GENDER,
    Seeker.ISDISABILITY,
    Seeker.DISABILITY,
    Seeker.CV,
    Seeker.PASSWORD,
    Seeker.PREFFERED_CITY,
    SEEKER.EMAIL,
    SEEKER.JOB_PREFERENCES_ID,
    SCORE(1)
    FROM SEEKER Seeker
    WHERE CONTAINS(CV, '<query>
    <textquery lang="ENGLISH" grammar="context">' ||
    GET_RELATED_CATEGORIES(IN_KEYWORD) ||
    '</textquery>
    <score datatype="INTEGER"/>
    </query>', 1) > 0
    LOOP
    PIPE ROW(R); --Error(38,10): PLS-00382: expression is of wrong type
    END LOOP;
    RETURN;
    END GET_SEEKERS;
    END STAFF_AGENCY_PKG;
    How do I need to amend my user type in order to suffice?
    Oracle Release 11.2.0.1.0
    Many thanks in advance!

    >
    How do I need to amend my user type in order to suffice?
    >
    You will need to create two new TYPEs. One that has all of the columns of the TOSS.SEEKER table and the new SCORE column and then a TYPE that is a table of the first type.
    See the Example 12-22 Using a Pipelined Table Function For a Transformation in the PL/SQl language reference
    http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/tuning.htm#i53120
    Here is the first part
    -- Define the ref cursor types and function
    CREATE OR REPLACE PACKAGE refcur_pkg IS
      TYPE refcur_t IS REF CURSOR RETURN employees%ROWTYPE;
      TYPE outrec_typ IS RECORD (
        var_num    NUMBER(6),
        var_char1  VARCHAR2(30),
        var_char2  VARCHAR2(30));
      TYPE outrecset IS TABLE OF outrec_typ;
    FUNCTION f_trans(p refcur_t)
          RETURN outrecset PIPELINED;
    END refcur_pkg;
    CREATE OR REPLACE PACKAGE BODY refcur_pkg IS
      FUNCTION f_trans(p refcur_t)
       RETURN outrecset PIPELINED IS
        out_rec outrec_typ;
        in_rec  p%ROWTYPE;
      BEGINModify
      TYPE outrec_typ IS RECORD (
        var_num    NUMBER(6),
        var_char1  VARCHAR2(30),
        var_char2  VARCHAR2(30));
      TYPE outrecset IS TABLE OF outrec_typ;to include all of the columns you need. Unfortunately you will have to manually list all of the columns of the TOSS.SEEKER table. If you expect to need this same structure in other places you should create them as SQL types instead of PL/SQL types.
    This example should be enough to show you how to change your code to do something similar.

  • External content type based on OData is not crawlable

    Hi all,
    I followed instructions from this msdn article
    How to: Create an external content type from an OData source in SharePoint 2013. I've created an external content type based on OData. I imported created bdcm file to BCS store in central administration. So the ECT is scoped to the farm. I could create
    an External List and the data from OData service was displayed. But I couldn't get the ECT crawlable. When I try to add a new content source in Search Service Application and select Line of Business Data it isn't possible to select External Data Source. I
    tried to add IDEnumerator method and RootFinder property to the ECT in order to get it crawlable without any luck.
    External Content Types based on MS SQL are crawlable fine.
    Dmitry
    Lightning Tools Check
    out our SharePoint tools and web parts |
    Lightning Tools Blog | Мой Блог

    Hi,
    In order to use the ECT for search you have to manually edit it as it's not complete for use with search. The two most important ones to add are:
    ShowInSearchUI
    RootFinder
    I experienced the same issue when creating an OData BCS model for my session at the SPC2012 conference and I think those were the two properties I was missing (in addition to cleaning up some other stuff).
    Take a look at
    MSDN for more information on BDC model properties, and take a look at Search Connector Framework Troubleshooting for SP2010 which shows some samples.
    Let me know if you need more help and I can provide a copy of my OData model (which is against an SP2010 site)
    Thanks,
    Mikael Svenson
    Search Enthusiast - SharePoint MVP/MCT/MCPD - If you find an answer useful, please up-vote it.
    http://techmikael.blogspot.com/
    Author of Working with FAST Search Server 2010 for SharePoint

  • How do I filter by file type in Applescript?

    Hi
    I have put together this AppleScript which opens the folder of the currently playing track in iTunes in icon view. The one thing I'd like to do which I can't work out is to filter by file type. I'd like to just have images/jpgs show in the resulting finder window. Could someone help me out with this?
    Thanks
    Nick
    tell application "iTunes"
    if player state is not stopped and class of current track is file track then
    set loc to location of current track
    tell application "Finder"
    reveal loc
    activate
    set curFolder to (Finder window 1)
    set bounds of Finder window 1 to {50, 30, 1870, 1140}
    tell curFolder
    set current view to icon view
    set arrangement of its icon view options to arranged by name
    set icon size of its icon view options to 290
    end tell
    end tell
    end if
    end tell

    OK. Thanks. I can live with finding the JPGs myself. Because they are usually the first files listed when sorted by filename, is there a way of getting the finder window to scroll to the top with Applescript. With the current script it is scrolling to where the currently playing file is.

  • Item Type Based on PL/SQL stored proc causing errors

    I am getting the following error when I add this item type based on a pl/sql stored proc that generates html based on the stored proc... the stored proc returns find but the other porlets get Error Message in there headers and in the porlet content I get:
    Error: The listener returned the following Message: 503 Service Unavailable....
    I also get the same error if I click on a link that is generated from my stored proc for the entire page I get the error:
    Error: The listener returned the following Message: 503 Service Unavailable
    and get nothing else returned...

    Greetings
    I suggest you take a look at the following page and have a look on how to create portlets. Since the PL/SQL PDK allows you to create your own portlets inside the Oracle Database there should be no problem for creating the content inside a portlet the way you want it.
    http://www.oracle.com/technology/products/ias/portal/pdk.html
    Best regards
    Johan

Maybe you are looking for