Get Count of the number of Leave Request .

Hi All,
Can u suggest any FM or a particaular way which will return a number of leave request pending for approval on a particular name.
See the scenario is i need to show a overview screen in which it will show number of Leave request or Time Regularization left in a persons name.
i cant go in abap code of that program and get the count form the internal table cause delay in loading the application on the portal.
Any Help ??
Thanks n Regards
SJ.

hi it seems you are trying to implement mass leave approval??? anyways...
check ptarq_reqlist_tab_flat (i dnt have r/3 connection check it is table or structure)
a class defention where you can get help cl_pt_cor_reqs_list (open with tranx SE24)
method -> sel_reqs_tevents_for_next_proc
digging more into this you may get the more hints.

Similar Messages

  • How could increase the number of waiting request queue?

    how could increase the number of waiting request queue?
    thanks,

    I assume you're asking because you're getting connection refused exceptions? Set the AcceptBacklog parameter in the config.xml/via the console. Here's a description of the parameter:
    http://e-docs.bea.com/wls/docs81/config_xml/Server.html#AcceptBacklog

  • How to determine count for the number of rows

    Appreciate if any of you could think of a way of determining the count for the number of rows in the subquery without having to run another query.
    SELECT *FROM
    (SELECT rownum, rn, rlp_id, rlp_notes, cad_pid, status, jurisdiction_id, s.state_abbr, rlp_address, rlp_route_id, rlp_route_section, psma_version FROM ipod.relevant_land_parcels r, state s WHERE s.state_pid = r.state_pid(+) AND rlp_route_id = 'SM1' AND status = 'CURRENT')WHERE rn > 200 AND rn < 216
    And I want to import this into.net and C# environment.

    Something like this,.....????
    SQL> select * from emp;
    EMPNO ENAME      JOB         MGR HIREDATE          SAL      COMM DEPTNO
    7369 SMITH      CLERK      7902 17/12/1980     800,00               20
    7499 ALLEN      SALESMAN   7698 20/02/1981    1600,00    300,00     30
    7521 WARD       SALESMAN   7698 22/02/1981    1250,00    500,00     30
    7566 JONES      MANAGER    7839 02/04/1981    2975,00               20
    7654 MARTIN     SALESMAN   7698 28/09/1981    1250,00   1400,00     30
    7698 BLAKE      MANAGER    7839 01/05/1981    2850,00               30
    7782 CLARK      MANAGER    7839 09/06/1981    2450,00               10
    7788 SCOTT      ANALYST    7566 19/04/1987    3000,00               20
    7839 KING       PRESIDENT       17/11/1981    5000,00               10
    7844 TURNER     SALESMAN   7698 08/09/1981    1500,00      0,00     30
    7876 ADAMS      CLERK      7788 23/05/1987    1100,00               20
    7900 JAMES      CLERK      7698 03/12/1981     950,00               30
    7902 FORD       ANALYST    7566 03/12/1981    3000,00               20
    7934 MILLER     CLERK      7782 23/01/1982    1300,00               10
    14 rows selected
    SQL>
    SQL> select max(rw) from
    2 (
    3 select empno , row_number () over (order by empno) rw from emp
    4 where job='CLERK'
    5 )
    6 /
       MAX(RW)
             4Greetings...
    Sim

  • What is the difference between partition-count and the number of caches?

    What is the difference between partition-count and the number of caches in Coherence? Are they same?

    Those are totally orthogonal concepts.
    For more, look at this thread where I answered your other related questions and explain this, too:
    Where can I find the accurate definitions of these terms?
    Best regards,
    Robert

  • How can I get a count of the number of emails in my inbox folder (not just unread, but total) to display on the folder list?

    I use to have a count of the total number of emails in my inbox. This was listed next to "inbox" in my folder list. With the latest version, this is gone and I can't find anything in the settings that can bring back that feature. I can see the number of emails by right-clicking the folder, but I'd love to be able to just see it at a glance again.

    Do you have this add-on?
    https://addons.mozilla.org/en-US/thunderbird/addon/extra-folder-columns/
    http://chrisramsden.vfast.co.uk/3_How_to_install_Add-ons_in_Thunderbird.html

  • SQ02 InfoSet Get Count of Total Number of Records that will be processed

    I am developing a query (SQ01) and am currently working on building an InfoSet (SQ02). 
    The Infoset was set up using a 'Direct read of table'.  Next, I'm adding some various fields and then going to Extras and trying to define some code to get the total number of records that my query will be processing.  I'm not sure if SAP pulls a filtered result set into a temporary table (by default - if so how could I reference it?) that I can reference or is just pulling in a row at a time in the record processing code, but my question is in regards to getting a record count of how many records are returned in my result set PRIOR TO going through all of the records.
    Overall, I'd like to be able to have a field that says Record X of Y.  I can get the X part for each line, but cannot get 'Y' until the very end.  Any help or ideas would be much appreciated.  I've looked around a bunch, but haven't found anything like what I'm requesting.
    Query Output would look something like:
    Record X1 of Y | Title1 | Amount1
    Record X2 of Y | Title2 | Amount2

    Hi Subin,
         I have tossed around this idea in my head, but am trying to figure out how to get the values and selection options from the query screen to incorporate into my Select statement within my infoset.  The problem I'm running into is that my user enters a group of account numbers and an ending date that has to be pulled from the SQ01 query screen to the SQ02 infoset code.  I've looked around for examples on pulling the data from the query screen, but have been unsuccessful thus far.  Say for instance I have 15 specific accounts that the user is entering in and they want any records that have been submitted prior to the end of the current month and the start of the business year.
         On my query screen they would enter in something like
    Business Year:  2011
    Reporting End Date:  <= 31.03.2011 (Which equates to all records between 01.01.2011 AND 31.03.2011)
    Account #s:  0000, 0001, 0003, 0005, ..., 9999  (These are a variable amount of accounts entered and could include options such as not equal to or even between ranges etc)
    In my START-OF-SELECTION code I would need a select like:
    NOTE:  This is just a pseudo code format, not checked for syntax here
    SELECT count(*)
    FROM TABLE
    WHERE BusinessYear = '2011' AND
        RecordDate Between 01.01.2011 AND 31.03.2011 AND
        Accounts IN (0000, 0001, 0003, 0005, ..., 9999).
    So In this select I need to reference the values in the SQ01.  How would I reference the account #'s and whether or not the user has entered an account number and said Not Equal on it etc.  This select statement would have to be built on the fly, since it's not guaranteed to be the same for each run.
    Thanks,
    Mark

  • Limit on the number of simultaneous requests using SP.WebProxy.

    I've created a SharePoint hosted app and have just added a license check to the app. The license check is done by making a call to a REST endpoint using SP.WebProxy. The app is implemented as an App Part, and as such there can be many instances
    of the app on a page.
    Everything works fine if there is only one or two instances of the app on the page. As soon as I add a third instance to the page however, the third instance starts failing the license check with the error "This app has reached its outbound
    request limit."
    Obviously this is happening because all three instances are hitting the SharePoint Proxy service at the same time. It would appear as though there is a limit to the number of simultaneous calls that a particular app is allowed to make.
    The problem is that I can't find any documentation regarding this limit. The error that I'm getting does not get a single hit in Google. Is this a limit that can be increased with a setting in web.config?
    Does anybody know what documentation I can consult regarding this?

    Hi Mikhail,
    Unfortunately no, we never did get any information on this. In our case since the data that we are querying is pretty much static, we ended up caching the data in a SharePoint list in the app web. We only access the WebProxy if the data is not cached. That
    workaround solved the problem for us.
    Good luck.

  • Getting msg: HRTIM_ABS_REQ 113 on applying Leave Request

    Dear all,
    When I try raising a Leave Request, I get the error msg "Document created with information: HRTIM_ABS_REQ 113 Approver not available --> Forward to Substitute" ... The workflow is made to 'General Task'. All the other Tasks used inside the workflow are also defined as General Task. The Request gets generated in case of other employees. But for a particular Employee, its giving this error. The approver is defined in the system. Relation is also established. Could anyone throw some light on the reason behind this error?
    Thanks.

    Hi,
    I think this issue is regarding Organisational structure defined for the employee.  So kindly go to PPOME and check your organisation, go to your employee and check whether chief is defined for that unit.   If it is there, then as per standard workflow template it should not give this error.
    Secondly setting that is defined for time management ESS portal setting, check in table V_PTARQ_TPROCESS - to process your request, you need to define Determine next agent field.
    Just check this setting, i hope this will resolve your problem,
    All the best,
    Santosh

  • Need to get a report from SAP on leave request data

    Hi
    I have a specific requirement that I hope somebody might be able to help me with in SAP. We use PTARQ tcode to see various requests that employees have submitted in ESS (statuse can be where request has just been sent, approved, posted) etc.
    I am trying to run a report, for specific workflow instance #'s in order to obtain the detail of the leave request itself i.e. Leave type, start date of leave, end date of leave etc.
    The reason I need to do this is to check whether some of the workflows that say posted in PTARQ have actually posted to IT2001 infotype in our system as we have had some issues.
    The stumbling piece for me right now is knowing how to extract the contents of the leave requests when I have the workflow instance #.
    Can anyone help me ?
    Thanks a lot
    Nicola

    Hi
    Please try the CHECK DOCUMENTS report.
    I do understand your requirement, but unfortunately SAP dont have such report.
    Thanks
    Sheetal

  • I  cannot get through to the number 0800 2775 2775 for Apple distribution international

    Hello,
    I am trying to get through to my representative in Irland regarding my MacBook Pro, he gave me the number 0800 2775 2775 to ring, however it is telling me the number does not exist. He sent me this number in a letter along with my case number and asked me to ring them. They didn't give an email address and I feel they are frankly making it impossible for me to contact anyone.
    I live in London, does anyone know what is going on and why Apple would give me a number that doesn't exist or if I am doing something wrong? So far I have been trying to get hold of a person directly to deal with my issue for almost two months.
    I am feeling very deflated.
    Natasha

    Start with the telephone number on this page:
    http://store.apple.com/ie
    Ciao.

  • I have the old iPad and would like to know why I cannot get Skype to work on it.I can get to ring the number but the person cannot here me.

    I have a old iPad and would like to know why I cannot get Skype to work.I can get it to ring the number but when the person answers they can't here me why is this.

    Based on Skype's website, are you using a compatible headset?

  • How do I get rid of the number next to the "phone" icon for missed calls on iPhone 4?

    I realize that this number is telling me the number of missed calls and/or voicemails.   However, the number remains on the main screen after I have looked at the missed call (opened "phone" and then "missed").  I can only figure out how to get it to go away when I call the number of the missed call from the missed call menu, which I don't always want to do.  How can I make the number go away without calling the number for the call that I missed? It's probably a silly question but thanks for helping!

    I have same issue I dont want to call it and why should I have to go to Voicemail when there is no voicemail?? My screen did go dark and when I relit it it went away...very weird???

  • HT4061 I have lost my ITouch and I cant get the serial # to ask for help. I purchased it on line from Apple. Would they have a record of the number? If so, how do I get help without the number?

    Oh no. I lost my ITouch. How can I get my serial #. Would Apple have it on record since I bought it on line from them about two years ago. I no longer have the box

    See the bottom of this reply:
    - If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone. If the iPod has been restored it will never show up.
    iCloud: Find My iPhone
    - You can also wipe/erase the iPod and have the iPod play a sound via iCloud.
    - If not shown, then you will have to use the old fashioned way, like if you lost a wallet or purse.
    - Change the passwords for all accounts used on the iPod and report to police
    - There is no way to prevent someone from restoring the iPod (it erases it) using it unless you had iOS 7 on the device. With iOS 7, one has to enter the Apple ID and password to restore the device.
    - Apple will do nothing without a court order                                                        
    Reporting a lost or stolen Apple product                                               
    - iOS: How to find the serial number, IMEI, MEID, CDN, and ICCID number

  • Is there somewhere I can get support on the Adobe Software Distribution Request process?  I have a broken download link in the resulting email.

    Hi,
    I recently renewed my Adobe Software Distribution license, as I saw that the existing download links were going to be retired.
    So I received the resulting email for Air, Flash, Reader and Shockwave and all the links are fine, except for the one to download Reader XI.
    Is there anywhere I can get support/help on this?  Adobe online Support Chat have me going in circles...
    Thanks
    Craig

    Yeah.  Getting the software isn't a problem (there a number of ways to download it), but I just want them to take responsability for the broken link in the email, since I'm supposed to use that link to download the software.
    After going through four Adobe support people, they've apparently passed it on to the "development" team... I wont be holding my breath on that.

  • Hen I try to log in to the itunes store, I get this message "The item you have requested is currently not available in the U S store".  What do I do?

    My itunes store software isn't working correctly. Help.

    Sorry. You're still not making sense.
    I am able sign in there but not able to access iTunes at all.
    Sign in where?
    I need to access Homepage of iTunes . But whenever i click to any of the option at iTunes I get the above message .
    Click what "option"?

Maybe you are looking for

  • Saving a file('s) to a database

    Hi, I want to be able to store a file to a database regaurdless of its file type. It could be a doc, txt, pdf or a custom file format.. as long as the computer can read the file format... how can I do this? btw.. I am using VS 2013, SQL 2008 R2 and w

  • [Arch 0.7] no sound with snd-intel8x0

    It's not like there is no sound to hear, but aplay & xmms simply dont play anything. Xmms (with Alsa) gets stuck at 00:00 and aplay doesnt stop playing (well, i dont actually hear that 'play') a 5 sec wav (so i think it doesnt start playing like xmms

  • How to delete Search History in Ovi Maps 3.06 (Nok...

    Disappointing to say the least. Data is stored in: C:\private\20001f63\searchhistory.s2d C:\private\20001f63\settings\recent.s2d Maybe there are other files involved like all.s2d but deleting those files emptied my map and drive mode search, enough.

  • OS X Recover Disk Assistant won't boot from USB

    I just replaced my hard drive in my iMac (2008). I'm trying to get the OS installed and I don't have both of my original install disks (I believe they were Leopard disks). When I purchased Lion I did create an install disk, however. I ignorantly trie

  • ICloud not syncing photos on Win 8.1 Pro

    Hi, iCloud is absolutely unreliable for syncing photos from my iCloud (Photo Stream) to my PC (Win 8.1 Pro). It used to be working, then it stopped, then I reinstalled my Windows (clean install), I reinstalled iCloud Control Panel and now it is not w