FM to find whether employee was on outdoor duty on a day

Dear experts, is there any FM that could return whether for a given day the employee was on an outdoor duty? Also can the number of days for the same be obtained?
Regards and New year wishes!
Sumit Nene.

Solved.
Maintained in inotype 2002-Attendences

Similar Messages

  • Finding whether int or String

    I have a string variable and I have to find whether the value of the variable is
    number or characters.
    How can I do it in java?
    I was thinking of casting the variable to integer and if true then the value
    is integer, if false then string. I think this is not a good way of doing it?
    any idea. thanks.

    This is what i did, and its not showing any error at the moment.
    Is the following right way to do it
    > if(somevariable.getClass().toString()).equals("java.lang.String")){
    }else{
    That's not the way to do it because your 'somevariable' is a String.
    Either check every character in that string for being a digit or not, or
    let the Integer class do the dirty work:try {
       int theValue= Integer.parseInt(somevariable);
       // yes, it succeeded, so it was an int ...
    catch (NumberFormatException nfe) {
       // nope, the string didn't represent an integer number
    }kind regards,
    Jos

  • How to find given employee number is manager or not

    Dear ABAPers,
    Could you please tell me the logic for finding
    whether given employee is manager or not
    regards,
    kishore.

    Hi Gautham,
                       your logic is not working here.I tried but no data
    avialble if i given EE Group = 1 EE Subgroup = 4.
    Any way thanks for given information
    Regards,
    kishore.

  • Finding the employees whose have the max salary

    i am working with a table called employee with the following fields (empno,ename,sal....), i want to find the employee/s which have the max salary i wrote the followinng sql statment
    select * from employee where sal = ( select max(sal) from employee)
    it works well but i am wondering if there is a more effient way to do this
    please note that the table have about i million row, and there is an index on empno field

    if there is a more effient way to do this
    You can see execution plan using different queries:
    SQL> set autotrace trace explain statistics
    SQL> select * from
      2  (select e.*, dense_rank() over(order by sal desc) x
      3  from emp e)  where x=1;
    Execution Plan
       0      SELECT STATEMENT Optimizer=CHOOSE (Cost=5 Card=14 Bytes=1400          )
       1    0   VIEW (Cost=5 Card=14 Bytes=1400)
       2    1     WINDOW (SORT PUSHED RANK) (Cost=5 Card=14 Bytes=448)
       3    2       TABLE ACCESS (FULL) OF 'EMP' (Cost=1 Card=14 Bytes=448          )
    Statistics
              0  recursive calls
              2  db block gets
              1  consistent gets
              0  physical reads
              0  redo size
            864  bytes sent via SQL*Net to client
            503  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              1  sorts (memory)
              0  sorts (disk)
              1  rows processedMessage was edited by:
    Jameel

  • How to find whether Oracle is installed on any server or not.

    Hi,
    I am trying to use the following command to check if Oracle is installed on any Unix server or not. I am not sure whether it is right way or not. If not, is there any other way to find installation of Oracle or not?
    find . -name oraInst.loc >>/tmp/`uname -n`-swinv.txt
    Thanks
    Vipin Gupta

    Every installation of Oracle RDBMS in *nix will contain a bin directory in which you find the oracle executable which must be setuid to the 'oracle' owner.
    The inventory doesn't need to exist.
    The oraInst.log doesn;t need to exist
    The above are created when the Oracle Universal Installer has been used.
    The oratab doesn't need to exist.
    The above exists when the dbca has been used or the DBA was smart enough to plan for oraenv.
    However, every Oracle database needs the oracle executable, named oracle, in the ORACLE_HOME/bin directory, and that must be owned by a userid in the 'OS_DBA' group - usually dba. So
    find / -name oracle
    to find that, and then check whether it is in a ?/bin directory, and finally verify that it is setuid to the owner and setgid to the group.
    Of course that is the tip of the oracle iceberg - Oracle has a whale of a lot more products and the question to find whether 'Oracle' is installed might include Oracle App Server (look for opmnctl in ?/opmn/bin for the full install of Oracle App Server, or ?/bin/oc4j for just the J2EE engine) or Oracle JDeveloper (look for ?/bin/jdev) and so on.
    In Windows, append .exe to the search target.

  • I have an IPhone 4, and I wanted to reset it, but couldn't do it via computer because the "find my IPhone" was turned on. So I went to ICloud Find My IPhone and just erased my phone from there. The was acting weird but I finally got to a black scre

    I have an IPhone 4, and I wanted to reset it, but couldn't do it via computer because the "find my IPhone" was turned on. So I went to ICloud > Find My IPhone and just erased my phone from there. The was acting weird but I finally got to a black screen with the spinning circle. And it won't advance. I can't just hold the sleep button and home button down because my sleep button is broken! Any help? I have reset my phone before.

    Hello cwypyski,
    The link below provides information on and can also assist with setting up service for your iPhone to have your Sleep/Wake button repaired.
    Service Answer Center - iPhone
    http://support.apple.com/kb/index?page=servicefaq&product=iphone
    All my best,
    Allen

  • How to find whether an Invoice is been posted for a particular PO

    Hi,
    How to find whether an Invoice is been posted for a particular PO.
    I have a scenario where I fetch data into an internal table T_CDHDR(It has PO and other details). For each and every entry(PO) in that internal table I have to see whether an Invoice is been posted or not. They told to use <b>EKBE(Purchasing document history)</b> table. But, I don't know which field to check for and based on what conditions.
    Can someone help me with sample code or some valuable inputs.
    Thanks in advance.
    Regards,
    Paddu.

    HI,
    TABLE IS RIGHT.
    IN THAT TABLE FOR THE FIELD BEWTP CHECK WHETHER ENTRY IS "Q".
    Q STANDS FOR IR-L THAT MEANS INVOICE IS DONE.
    ON THE SELECTION SCREEN OF EKBE TABLE ENTER THE PO NUMBER.
    THEN CHECK WHETHER IT HAS ENTRY FOR BEWTP 'Q'.
    YOU CAN CROSS-CHECK THIS DATA FROM TABLE WITH THAT IN ACTUAL PO IN T.CODE - ME23N.
    ENTER PO NUMBER ,THEN IN ITEM DETAILS , IN HISTORY TAB SEE FOR THAT INVOICE NO.

  • How to find out what was imported from a dump file

    Hi.
    I got the dump file from a group and they told me to import it. Import job went successfully without errors as following:
    Import: Release 9.2.0.6.0 - Production on Mon Oct 16 20:53:12 2006
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    Export file created by EXPORT:V09.02.00 via conventional path
    Warning: the objects were exported by OPS$ORACLETS, not by you
    import done in US7ASCII character set and UTF8 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    export server uses AL16UTF16 NCHAR character set (possible ncharset conversion)
    . importing OPS$ORACLETS's objects into SYS
    . importing BDS_APP's objects into BDS_APP
    Import terminated successfully without warnings.
    How do i find out what was imported from a dump file?

    another way would be to just list the contents of the dump file
    imp user/pass file=dumpfile show=Y

  • I am a new Mac user.  How do I easily move files to new locations and folders in Finder, like I was used to doing with Windows Explorer?

    I am a new Mac user, converting from the Windows world.  How do I easily transfer files from one folder location to another in Finder, like I was used to doing in Windows Explorer?

    You can expand Finder into multi-panes, I am not at my Mac right now to get the exact key strokes so don't want to mislead you.  Do so many things on auto-pilot that when someone asks I need the machine so I can get the exact things to click on.
    But you can get the multi-pane view and drag and drop from pane to pane.

  • How to find out which was the last Function Fired in a given schema ..?

    Hi All ,
    Suppose there is a function called track_account (Accnt_id, bank_name ...)
    I have a requirement wherein I need to find out when was the last date when this function was called , by which user and what was the parameter list that was passed .For example i this case - what accountid and bank_name combinations were passed .
    I know the information is stored in one of the V$ tables but am not able to locate the exact table and column that would give me this information .
    Please suggest .
    Edited by: user3481493 on Mar 8, 2010 10:58 PM

    amol_dev wrote:
    Thank you for your reply Brynjar.
    However, I was trying to figure out a way to do this without having to change the calling command line, because due to legacy reasons, it is not possible to change the command line calling the parent applications of this common code.You cannot change the command line, but you can change the applications?
    In main() do this:
    System.setProperty("whoami",(new Throwable().getStackTrace()[0].getClassName()));Elsewhere:
    String whoami = System.getProperty("whoami");

  • Hi guys,Explain how to find whether the user request is dialog or bc ...

    how to find whether the user request is dialog or bc or some other wp and where we can see that ?

    Hello Damodar,
    You can find out that in SM50.
    However one piece of advice. I have noticed that you are raising lots of questions about very basic questions. Either you new to SAP or dont know anything about SAP Basis and want to get in this area. Or else you are preparing for some interview. In either of these cases expecting solutions given at SDN are not going to be of much help. Better read yorself in SAP Help as most people do. SDN should not be overly used for such purposes. Basic questions are welcome but you want to learn SAP through SDN !!!
    Regards.
    Ruchit.

  • From a table how do u find whether a material is used in another material B

    hi,
    From a table how do u find whether a material is used in another material BOM
    thanks in advance

    Yes as Velu mentioned you can get the details from STPO.
    Note that you have to use field IDNRK in table STPO to check if the material is used as a BOM Component.
    Regards
    Eswar

  • How to find whether the Oracle Apps Instance is ShredAppltop or not

    How shhould we find whether 11i/R12 is shared appltop/shared appstier enabled?
    Is there any table to find this info.
    How many ways we can find this?

    Hi,
    Please see this thread.
    In R12 shared appltop/distributed appltop
    In R12 shared appltop/distributed appltop
    Thanks,
    Hussein

  • Writing a function to find whether a value is present in a sql query output

    Hi gurus,
    I would like to write a function to which i will pass a value and a sql query as parameters.
    Now the function needs to execute that sql query and find whether the given value is present in the output list
    when the query is executed. If it is present it should return 'T' otherwise 'F'
    My function will look like
    CREATE FUNCTION CHECK_VALUE(VALUE VARCHAR2,V_SQL VARCHAR2) RETURN VARCHAR2
    SELECT CHECK_VALUE('Dallas','SELECT LOCATION_CODE FROM HR_LOCATIONS')
    It should check whether the value 'Dallas' is present in the output list returned by the sql query.
    Any help will be appreciated.
    Thank you.

    CREATE OR REPLACE
      FUNCTION CHECK_VALUE(
                           VALUE VARCHAR2,
                           V_SQL VARCHAR2
        RETURN VARCHAR2
        IS
            RETVAL VARCHAR2(4000);
            REFCUR SYS_REFCURSOR;
        BEGIN
            OPEN REFCUR FOR V_SQL;
            LOOP
              FETCH REFCUR INTO RETVAL;
              EXIT WHEN REFCUR%NOTFOUND;
              IF RETVAL = VALUE
                THEN
                  CLOSE REFCUR;
                  RETURN 'T';
              END IF;
            END LOOP;
            CLOSE REFCUR;
            RETURN 'F';
    END;
    Function created.
    SQL> SET SERVEROUTPUT ON
    SQL> EXEC DBMS_OUTPUT.PUT_LINE(CHECK_VALUE('DALLAS','select loc from dept'));
    T
    PL/SQL procedure successfully completed.
    SQL> EXEC DBMS_OUTPUT.PUT_LINE(CHECK_VALUE('PARIS','select loc from dept'));
    F
    PL/SQL procedure successfully completed.
    SQL> SY.

  • Is there any way to find whether the private key is capable of 40 bits encr

    Is there any way to find whether the private key is capable of 40 bits encrypted or 128 bits encrypted.

    kanth_kanth wrote:
    Is there any way to find whether the private key is capable of 40 bits encrypted or 128 bits encrypted.Assuming an RSA private key, to get the number of bits extract the length of the 'modulus' in bytes and multiply by 8. How you extract the modulus depends on what format the private key has been stored in.

Maybe you are looking for

  • Will I be able to open a Captivate 8 file in Captivate 7 without any problems?

    I should say the project is not a responsive one, so it really shouldn't be that different. Just wondering if this is a good idea before attempting, thanks! -Inna

  • Installing windows xp pro on a separate internal hard drive in ntfs

    Does anyone here know how to install windows xp professional on a separate internal hard drive in NTFS with bootcamp. In the bootcamp manual it says I can ,but when I reach the list of partitions in xp setup, C: Partition3<BOOTCAMP> {FAT32} Is not on

  • I cant activate new iphone 4

    my problems started with issues I described here - https://discussions.apple.com/message/17248744#17248744 but It came further  - after reseting all content and settings I can't activate it - I see message "your iphone could not be activated because

  • How to check BO Log an Bo configuration

    Post Author: Srividya CA Forum: Deployment How to check whether the BO log is enabled? As we are very new to BO, can you please tell us the steps to check the same. Can you tell us the steps to get BO Configuration details from server.

  • Hard drive crash!  Recovery?

    Can I rebuild some of my iTunes library from the songs still resident on my iPOD?