How to exclude list of employess in the parameter?

Hi I have one report that shows no on employeess,
I want to do a parameter that help users to exclude some emp_no for the list , i wrote the parameter as
emp_no no in :empno
However i can wirte only one emp no in this case
how can i let user to exclude group on emp no at on times?
i wish that i explain my problem well
Thank you

Hi,
You can use :from_empno & :to_empno with the sql operator 'between <from> and <to>'
You can even achive using the lexical parameters. check out this link for more information
http://oracleapps4u.blogspot.com/2011/03/creating-parameters-for-report.html
Regards,
KK

Similar Messages

  • Urgent: How to exclude a particular value from the selection in the infopac

    How to exclude a particular value from the selection in the infopackage.
    Ex: not load for cost center 10000
    Thank you,
    sam

    Hi Sam,
    You cannot do this directly as exclusion, but you can include all other values, even as ranges and thus exclude the particular value, else you can also try to do this by writing a routine.
    Hope this helps...

  • SQL Query: How to pass list of values to the IN operator

    Hi,
    I'm trying to pass a list of values to the WHERE <a> IN <list>
    I dont want to use dynamic cursors (REF CURSOR). Is this possible using Oracle SQL?
    Please let me know.
    My program:
    DECLARE
    list_of_ids := '10, 20, 30';
    SELECT MAX(sal) INTO max_sal FROM employee WHERE emp_id IN (list_of_ids);
    END;
    Thanks in Advance,
    Niko

    You do not want to pass a comma separated list. You want to pass a collection. So
    CREATE TYPE num_tbl
    AS
    TABLE OF NUMBER;
    DECLARE
      l_list_of_ids num_tbl := num_tbl( 10, 20, 30 );
    BEGIN
      SELECT max(sal)
        INTO max_sal
        FROM employee
       WHERE emp_id IN (SELECT * FROM TABLE( l_list_of_ids ));
    END;
    /Justin

  • How to get list of users assinged the same product catagory

    Hi  All ,
      we have a requirement in which we need to get the list of users who are assigned   the same  product category.
    ie if we give the  prod category 14000000 then  we need the list of users assigned the  14000000 prod category.
      is  any FM available.
      please  help.
    Regards
    Channappa Sajjanar

    Hi Chinnappa,
    1) You can create a table query for tables HRT1222 and HRP1222 to get the org Id or Position Id assigned for the product category.
    Then use FM BBP_OM_STRUC_GET_USER_FROM_POS to get the list of users for that org ID.
    2) or if you want to check list of prod categories linked to user ID, then use FM BBP_READ_ATTRIBUTES
    rgds,
    Ravi

  • How to pass wild card '%'  value from the parameter to the query

    Hello everyone,
    I have following 2 problems
    1) I was trying to do some thing like below
    select * from emp
    where ename like 'J%'
    for this i have used the following code
    select * from emp
    where ename like :P_ENAME
    and before running the query in the parameter box i entered J%. But my report returns an error which says INVALID PARAMETERS REQUESTED.
    2) I have a req of passing both comma separated and wild card for the same parameter. If we take the same example as above,
    user should be able to enter
    a) JASON, SMITH, JOHN OR b) J%
    I have used comma separated value option of the parameter for the csv values and its working fine, but i need to add the wild card feature also to the same parameter.
    Can anyone please help me with these things?????
    Thanks in advance!!
    Raghu

    Hi Raghu,
    I guess you are in older version, You have to get into latest version to use %, it should work well
    you should use where ( ename like :P_ENAME ) or ( ename in (:P_ENAME)) for both the condition to satisfy.

  • How can I list open files from the same application

    I often have several different files open in Word, Excel or Adobe.  However only one is visible.  How do I get a quick list of the other open files from an application?

    Many applications have a Window menu at the top of the screen. Clicking on it will list all the open windows, as well as providing other options depending on the application.
    (113485)

  • How to show list of items when the user pressed tab key in an empty field

    Hi all
    i would like to know if there is a way to open a form with items list which will be shown to the user when he pressed the tab key within a field for instance "item code" field will present a search form with a table filled with item codes and their description.
    i'm currently working in 2004 version. i know how to catch the event.
    i'm creating a form with a matrix object binded to a datasource which is connected to the data base table which contains all the items.
    what would like to know if there is a better way to this. maybe using buisness partner objects. and if so how
    appriciate the help
    Yoav

    You Should use Formatted Search in this case.
    You must create and associate a query for your field.
    click on the field you want items to be listed and press Shift + F2
    catch the keydown event of this field  and check pval.charpressed = 9 (tab key press)
    then execute
    SBO_Application.SendKeys("+")

  • How To Insert List of Record To the Database Using Linq

    Good day every one, Please i need little help, I have a list of record like this
    lblID.Text = string.Join("<br/>", numbers);
    gives the Numbers below...
    6131
    5241
    3978
    6824
    3842//To Save to the database
    int pin = int.parse(lblID.Text);
    Now i want to insert those Numbers to the database
    Persons ps = new Persons();
    ps.Number = pin;
    cdc.Persons.AddObject(ps);
    cdc.SaveChanges();
    it throws up error...
    what i want to achieve on button insert
    all Numbers will be inserted but before inserting the number it will check if those numbers exist first on the database
    it should be like this on the database
    ID Number
    1 6131
    2 5241
    3 3978
    4 6824
    5 3842
    thanks.. I do appreciate your time and effort

    Hello,
    >>Now i want to insert those Numbers to the database
    For inserting a list of items to database, a loop statement is needed. I do not how you get these numbers, I assume they are stored in a collection and you could check below demo sample to insert these numbers and I assume your person table is identified:
    using (DFDBEntities db = new DFDBEntities())
    List<int> numbers = new List<int>() { 6131, 5241, 3978, 6824, 3842 };
    for (int i = 0; i < numbers.Count; i++)
    int number = numbers[i];
    //Check if the local and database already contains this number
    bool isRecordExist = db.Tables.Any(t => t.Number == number) || db.Tables.Local.Any(t => t.Number == number);
    if (!isRecordExist)
    Table t = new Table();
    t.Number = number;
    db.Tables.Add(t);
    db.SaveChanges();
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to Exclude a directory when doing the JAR

    Suppose I have directory x, x/y, ....
    I want to jar only x and not the subdirectory y.
    By default it will be jar all the subdirectories, how
    to over-ride that or exclude some of the sub-directories.

    You can use the -C option to temporarily change directories, but otherwise there is no option for exclusion. You could use a utility like WinZip to prune excess files/directories if need be.
    -Ron

  • How to get list of permissions for the PCD location

    Hello Team,
    I have group called "ABC". We have lots of roles created in PCD, and some of the roles are assigned to "ABC" group. I want to list out all the roles which is added to the group "ABC".
    Can you please help me?
    Thanks
    Manoj K

    Hi,
    Thanks for the reply.
    Yes, i would like to know what are all the PCD roles which are assigned to group "ABC".
    Yes, you are right, that we can select the group in user Management and if we click on the "Assigned roles" and if we use the string * then we will get a list.
    But if i do that, it is giving below information.
    Last search returned 134 elements. This exceeded the defined max hits of 50. Narrow your search criteria and search again.
    So,this information i got when i select the Search Recursive button, So, i want to know how to get these 134 list from User Management.
    Thanks
    Manoj K

  • How to get list of groups and the users from OID

    Hi,
    Can someone please tell me how to get the list of GROUPS and all the USERS in each group in OID using Java. Need to recursively get all the Groups and Users in each group using Java any samples.
    Thanks

    use examples from OTN like
    http://www.oracle.com/technology/sample_code/products/jdev/readmes/samples/ldapdatacontrol/ldapapplication/src/dc/ldap/model/LDAPSearch.java
    and modify it to your needs
    Bernhard

  • How to exclude some valuation type in the MRP calculation ?

    Dear Experts ,
    We have C1,C2,C3 as valuation types each valuation type has quantities , The problem is the reorder point will put the quantities of C3 and C2 in consideration of the reorder point
    HOW TO DISABLE THIS ?????
    Please Advice

    Just like DB said, you must create a storage location where the MRP indicator is set as not relevant.
    To do this, you can make a permanent setting in OMIR.
    But for materials already extended to that location, you will have to do it manually for each material master. Do this setting in MRP 4 View against the storage that you would like to exclude from MRP.
    Hope this helps..

  • How to exclude non-released items in the COLLECTION_COPY_ALL service call?

    I am using IdcCommand to copy all content items from one folder to another folder (archives folder) on every day.
    # Copy the latest version of the file from source location to target location
    @Properties LocalData
    IdcService=COLLECTION_COPY_ALL
    fromhasCollectionPath=true
    fromdCollectionPath=/Contribution Folders/folderA/
    tohasCollectionPath=true
    todCollectionPath=/Contribution Folders/folderB/
    @end
    <<EOD>>
    But this service also copies the unreleased/unpublished work-items from the workflow with dCollectionPath=/Contribution Folders/folderA/. How can I exclude the non-released items in the COLLECTION_COPY_ALL service call?

    Vipin Pillai wrote:I changes the source and target folders in the hda file dynamically as part of the requirement; these dynamic changes are not possible with Archiver. The archiver option is a complicated way of doing it. Actually that's not correct. It's actually much easier to use Archiver, but it requires some reading.
    You can certainly use dynamic values in Archiver, as the import map value fields are Idoc scriptable - it's just not openly obvious to do this. To illustrate, suppose I have a a custom field called "xSaleDate". I can export items out, and reimport them, applying today's date to the xSaleDate field using <$dateCurrent()$> in the import map field. Historically I tend to create custom components and put very complex logic in a resource include ("myExternalLogic"), and then in Archiver, in the import map just put <$include myExternalLogic$>.
    You can also do the same logic in a profile rule, which is even easier than an import map. Then the auto archiver suggestion becomes very powerful, and way simpler. I've done very many variations of this over the years, and it works well. Again it just requires some reading.

  • How to exclude a single database from the transaction log backup

    How do I exclude a specific backup from Backup TLOG job?
    C:\Progra~1\Tivoli\TSM\TDPSql\tdpsqlc"  backup * log  /tsmoptfile="C:\program files\tivoli\tsm\tdpsql\dsm.opt" /sqlserver=
    Please advise what do I need to write instated of backup * to exclude one database from this backup job
    Best regards,
    Vishal

    You have to skt the maker of the backup tool. It isn't SQL Server or its tool that initiates the backup commands. It is apparently your Tivoli application (judging by the file path you posted).
    Tibor Karaszi, SQL Server MVP |
    web | blog

  • How to find list of queries that the Cost Center infoobject is used in.

    Hi
    Is there any easy way of finding the list of queries that has cost center (0COSTCENTER) used in them? Please let me know.
    Thanks for your help.

    or try to create and run this program (SE38)
    Where-used list of an attribute (either display or navigational)
    REPORT ZZZ_IO_QUERY.
    tables : RSZRANGE, "table
    RSZELTXREF,
    RSZELTTXT,
    RSRREPDIR,
    RSZSELECT,
    RSZCOMPDIR.
    data : begin of IT_RSZSELECT occurs 0,
    iobjnm like RSZSELECT-iobjnm,
    eltuid like RSZSELECT-eltuid,
    end of IT_RSZSELECT,
    begin of IT_RESULT occurs 0,
    iobj like RSZSELECT-iobjnm,
    iobjnm like RSZSELECT-iobjnm,
    infocube like rszeltxref-infocube,
    compid like rszcompdir-compid,
    txtlg like rszelttxt-txtlg,
    laytp like rszeltxref-laytp,
    end of IT_RESULT.
    data : iobj2 like RSZSELECT-iobjnm,
    l_count type I.
    select-options : IOBJ for RSZSELECT-IOBJNM.
    write :/ 'Infoobject : ', IOBJ+3.
    write at /20(30) 'Name'.
    write at 50(15) 'Infocube'.
    write at 65(30) 'Query Tech Name'.
    write at 95(50) 'Description'.
    loop at IOBJ.
    l_count = 0.
    concatenate '%' iobj-low into iobj2.
    select iobjnm eltuid
    from rszselect
    into table it_RSZSELECT
    where ( iobjnm in IOBJ or
    iobjnm like IOBJ2 )
    and objvers = 'A'.
    loop at it_RSZSELECT.
    it_result-iobj = iobj.
    it_result-iobjnm = it_RSZSELECT-iobjnm.
    select *
    from rszeltxref
    where teltuid = it_RSZSELECT-eltuid
    and objvers = 'A'.
    Query description
    field txtlg
    select *
    from rszelttxt
    where eltuid = rszeltxref-seltuid
    and objvers = 'A'.
    endselect.
    Query technical name
    field compid
    select *
    from rsrrepdir
    where compuid = rszeltxref-seltuid
    and objvers = 'A'.
    endselect.
    endselect.
    it_result-infocube = rszeltxref-infocube.
    if it_result-infocube = ''.
    it_result-infocube = rsrrepdir-infocube.
    endif.
    it_result-compid = rsrrepdir-compid.
    it_result-txtlg = rszelttxt-txtlg.
    it_result-laytp = rszeltxref-laytp.
    append it_result.
    endloop.
    sort it_result by infocube.
    loop at it_result.
    l_count = l_count + 1.
    write at / l_count.
    write at 20(30) it_result-iobjnm.
    write at 50(15) it_result-infocube.
    write at 65(30) it_result-compid.
    write at 95(50) it_result-txtlg.
    endloop.
    endloop.

Maybe you are looking for

  • RFC system error: Screen output without connection to user

    After running transaction SMWP, we nagivate to the "Parameters for object load management" node using the following path: Runtime Information -> Adapter Status Information -> Parameters in R/3 Backend(s) -> ECC -> Parameters for object load managemen

  • IMAC 27 - attached a second monitor - mouse tracking problem

    After attaching a 19 inch lcd via the mini display port and a dvi adapter my mouse tracking has gone bad, not just from one screen to the other even just on the main screen if you move the mouse around it jumps several inches and is very inaccurate.

  • Add New Characteristic to Info Cube

    Matez,    Relating to Standard <b>Info Cube </b><i>0PCA_C01 - PCA: Transaction Data</i>    I added 2 Info Object[0COSTELMNT,0COSTGRP] to this Info Cube    I modified the <b>Info Source</b> 0EC_PCA_1, to include this 2 Info Object[0COSTELMNT,0COSTGRP]

  • How do I remove a bookmark separator?

    I want to sort my bookmarks alpahbetically. When I do this it is successfull except for the items that are below bookmark separators. How do I remove these so that all of my bookmarks can be sorted alpahabetically in one group? Many thanks David

  • Blackberry I'd unable to reset

    Hi, I have this problem to reset my blackberry I'd. I have click many times to reset and send the reset password to my email but I don't receive the email at all. My email address is [email protected] Kindly advise. I do not want to wipe up my bb to