Function module - HR_TIME_RESULTS_GET :Able to read cluster ZES but not ZL

Hi,
We have an employee record where previously is successfully evaluated
until 22 Aug 2007.
The user made a change that is dated effective from Jul 2001.
Thus the record is re-evaluated starting from Jul 2001 again.
An evaluation error is hit on 14 Jun 2005.
The cluster result for the months after Jun 2005 still remains.
When we use the function HR_TIME_RESULTS_GET, we can retrieve the
cluster table ZES for the month Aug 2007.
However, we are not able to do so for cluster ZL using the same
function.
Any idea ?
Thanks.

Solved it another way by using a local variable and changing the flag when it goes in the loop and when it doesn't
FLAG = 0.
CALL FUNCTION 'HR_TIME_RESULTS_GET'
   EXPORTING
     get_pernr = PERNR-PERNR
     get_pabrj = it_t549q-pabrj
     get_pabrp = it_t549q-pabrp
   TABLES
     GET_TBUFF     = TGETBUFF
     get_zl = it_zl
     get_pt = it_PT
     get_alp = it_ALP
     get_c1 = it_C1
   EXCEPTIONS
     no_period_specified = 1
     wrong_cluster_version = 2
     no_read_authority = 3
     cluster_archived = 4
     technical_error = 5.
  LOOP AT it_pt.
         FLAG = 1.
         DO stuff with the data...
  ENDLOOP.
  If Flag =0.
    DO STuff with Empty Table...
  End if
Message was edited by:
        Anwarul Kabir

Similar Messages

  • JavaCode able to Read 1 PDF but not another PDF.

    Hi,
    I am using itext-1.3.jar for reading PDF values through Java Program.Following is the code I used:
    package A;
    import java.io.ByteArrayOutputStream;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.Set;
    import java.util.*;
    import com.lowagie.text.pdf.*;
    import com.lowagie.text.pdf.AcroFields;
    import com.lowagie.text.pdf.PdfReader;
    import com.lowagie.text.pdf.PdfStamper;
    public class ReadPDF
         static ByteArrayOutputStream bytArray = new ByteArrayOutputStream();
         public static void main(String[] args)
              int pagestotal,i=1,j=1;
              HashMap fields = new HashMap();
              try {
                   System.out.println("Entered try block");
                   PdfReader reader = new PdfReader("C:/ReadPDF/anthem.pdf");
                   System.out.println( "Tracking reader :- " + reader ) ;
                   PdfStamper stamp = new PdfStamper(reader, bytArray);
                   AcroFields form = stamp.getAcroFields();
                   System.out.println( "Tracking form :- " + form ) ;
                   fields=form.getFields();
                   System.out.println("Map is "+fields);
                   Set keys = fields.keySet();
                   Iterator iter = keys.iterator();
                   while (iter.hasNext())
                        String key = (String) iter.next();
                        System.out.println(i + " - "+ key + " - " + form.getField(key));
                        i++;
                   pagestotal=reader.getNumberOfPages();
                   System.out.println("total pages = "+pagestotal);
                   System.out.println("size "+fields.size());
              } catch (Exception e)
                   System.out.println("Exception caught");
    With this Code,I am SUCCESSFULLY able to read 1 PDF ,BUT IT FAILS TO READ DATA FROM 2nd PDF.I am really not getting where is the exact problem .Please help.

    Hi,
    I am using itext-1.3.jar for reading PDF values through Java Program.Following is the code I used:
    package A;
    import java.io.ByteArrayOutputStream;
    import java.util.HashMap;
    import java.util.Iterator;
    import java.util.Set;
    import java.util.*;
    import com.lowagie.text.pdf.*;
    import com.lowagie.text.pdf.AcroFields;
    import com.lowagie.text.pdf.PdfReader;
    import com.lowagie.text.pdf.PdfStamper;
    public class ReadPDF
         static ByteArrayOutputStream bytArray = new ByteArrayOutputStream();
         public static void main(String[] args)
              int pagestotal,i=1,j=1;
              HashMap fields = new HashMap();
              try {
                   System.out.println("Entered try block");
                   PdfReader reader = new PdfReader("C:/ReadPDF/anthem.pdf");
                   System.out.println( "Tracking reader :- " + reader ) ;
                   PdfStamper stamp = new PdfStamper(reader, bytArray);
                   AcroFields form = stamp.getAcroFields();
                   System.out.println( "Tracking form :- " + form ) ;
                   fields=form.getFields();
                   System.out.println("Map is "+fields);
                   Set keys = fields.keySet();
                   Iterator iter = keys.iterator();
                   while (iter.hasNext())
                        String key = (String) iter.next();
                        System.out.println(i + " - "+ key + " - " + form.getField(key));
                        i++;
                   pagestotal=reader.getNumberOfPages();
                   System.out.println("total pages = "+pagestotal);
                   System.out.println("size "+fields.size());
              } catch (Exception e)
                   System.out.println("Exception caught");
    With this Code,I am SUCCESSFULLY able to read 1 PDF ,BUT IT FAILS TO READ DATA FROM 2nd PDF.I am really not getting where is the exact problem .Please help.

  • Able to read  dvd's but not cd's

    dvd's play but not cd's

    Post this question on the MacPro hardware forum since it likely has nothing to do with iTunes.
    If it truly doesn't play any CDs at all then probably it's the optical drive. I believe it uses different components to play CDs vs. DVDs and part of it could be broken.

  • Function Module/BAPI  for Meter Reading Entry(EL28)

    Hi Experts,
    Can anyone tell me about BAPI/Function Module for EL28(Meter Reading Entry).Standard FM is preferable.
    Thanks & Regards,
    Radharaman Haldar
    Moderator note - Thread locked, no research.
    Edited by: William Eastman on Mar 8, 2011 5:17 PM

    ISU_VALIDATION_DEPENDENT & ISU_DETERMINE_VALIDATION.
    The above two function module is used for the validation of Plausible or Implausible meter reading.

  • Anay standard function module or report to read Allocation Cycle

    Hi
    I am looking for any standard function module / Report to read allocation cycle.
    Appriciate your help.
    Thanks
    Lakshman

    Hello Lakshman
    Using function module RK_AL_CYCLE_READ you can read allocation cycles.
    However, you will need additional fm's in order to read the entire cycle data.
    Regards,
      Uwe

  • I can't connect to my school's free wifi. i was able to do it before but not anymore i get the self assign ip agrees message .it has no password only a pop up window before you connect to agree to school terms for wifi use. i don't get that window anymore

    I can't connect to my school's free wifi. i was able to do it before but not anymore i get the self assign ip addrees message .it has no password only a pop up window before you connect to agree to school terms for wifi use. i don't get that window anymore. i tried everything I can think of. It is a 2010 macbook pro but i recentrly updated to osx lion and even with lion it was working fine so I nkow it is not the update. also Im able to connect to other internets at home it works great. starbucks too.  but i became so frustated that i reset my computer to manufactuter setting and reinstall snow leopard on it. still I cant connect. I need help please i have been searching all over the web for help and i see people has been having this same problem for years now.. oh yeah and i know it is not the internet cuz there are other macs connecting to it without a single problem so i think it is an isolated problem plase help....i have follow many advises such as delete the internet from your prefered netwoks. restar your commputer etc etc.

    Be sure Safari does not have the Block Pop-Up Windows preference set.
    Where I work now there are several unencrypted VLANs that require authentication, and Safari promptly pops up a window for me to register every time.

  • My Mac mini won't recognize photo library in itunes so I can download pics from library and free up space in memory, I was able to download camera role but not photo library that takes up more space.

    My Mac mini won't recognize iphone 4 photo library in itunes so I can download pics from library and free up space in memory, I was able to download camera role but not photo library that takes up more space. Help thanks

    The photo sync is one-way: Computer to phone. Photos synced to your phone will have to be extracted from your phone using third-party software, if you want them on your computer, as Apple makes no provision to do so. Since you're using a Mac, you can use this:
    http://www.ecamm.com/mac/phoneview/

  • HT4367 Whenever I try to rent a movie, Apple TV buffers and does not come back.  I am able to see other programs, but not able to rent movies.   And the movie charge still goes on my bill.

    Whenever I try to rent a movie, Apple TV buffers and does not come back.  I am able to see other programs, but not able to rent movies.   And the movie charge still goes on my bill.

    Apple TV uses iTunes. The reason you can't rent through your ATV is because you can't rent movies through iTunes Canada. Sadly, as this is a user-to-user forum, no one here would know when or if rentals will come to Canada.

  • HT3702 Why can I not purchase lollipop?  I am able to purchase other boosters but not this anyone know why?

    Why can I not purchase lollipop?  I am able to purchase other boosters but not this one.  Any suggestions??

    What happens when you try to buy it, does the 'buy' button not work, do you get any error messages ... ?
    If you are getting a message to contact iTunes Support then you can do so via this link and ask them for help (we are fellow users, we won't know why the message is appearing) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption
    If it's a different problem ... ?

  • Does anyone know why the waveform peak detect function provides accurately the position of the peaks but not the value?

    Does anyone know why the waveform peak detect function provides accurately the position of the peaks but not the value?
    I have been looking at my data at the position indicated by the function as a peak, and it is correct at that place the wave has its peak, but the value provided by the function is higher than the actual value at that point.
    Attachments:
    Test.jpg ‏53 KB

    The help makes it clear that the VI will make a quadratic fit to the data, so the locations are not integers (i.e. not aligned with you exact data). From that analysis, the peak is between two of your points, and slightly above the neighboring data.
    See the coercion dot. Make the "locations" array DBL (Why did you change it to I64, that makes no sense at all!)
    Quote from the help:
    "Locations contains the index locations of all peaks or valleys detected in the current block of data. Because the peak detection algorithm uses a quadratic fit to find the peaks, it actually interpolates between the data points. Therefore, the indexes are not integers. In other words, the peaks found are not necessarily actual points in the input data but may be at fractions of an index and at amplitudes not found in the input array."
    All clear?
    LabVIEW Champion . Do more with less code and in less time .

  • I have a MBP running 10.6.8 and after the recent iOS update I have not been able to sync my devices. I was able to sync an ipod, but not iphone or ipad. iTunes recognizes my devices, but sync button stays grayed.

    I have a older MBP running 10.6.8 and after the recent iOS update I have not been able to sync my devices. I was able to sync an ipod, but not iphone or ipad. iTunes recognizes my devices, but sync button stays grayed. I've changed my USB hub, reinstalled iTunes and run disc cleanup. No luck.

    You said that your computer will sync other iPods? Are they iPod touches? Other iPod use different drivers the the touch And iPhone and iPad).
    You can try:
    iOS: Device not recognized in iTunes for Windows
    Does it charge? Does the iPod work?
    I would try on another computer.
    Last, make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar
    If defective and not abused you will walk out with a replacement

  • Pages load too small to read in firefiox but not in other browsers. Always have to zoom in 5 times.

    Pages load too small to read in Firefox but not in other browsers. Always have to zoom in 5 times.
    == This happened ==
    Every time Firefox opened
    == A long time, months, I think since I bought the computer..

    I forgot to add the extensions installed:
    auto hide Ip 1.0
    Better privacy 1.48.3
    download helper 4.8
    java console 6.0.2
    Norton IPS 2.0
    Norton toolbar 4.6
    quickProxy 2009.07.19
    realplayer browser record plugin 1.1.4
    stumbleupon 3.64

  • PDX index works in adobe reader 9.4 but not in adobe X !!

    Hello I have some commercial genealogy DVD's, bought a few years ago, with PDX files on them that work fine with adobe reader  9.4  but not in  adobe reader X.   Adobe reader X says they are invalid PDX index files. Ofcourse adobe says that version X is Backward compatible and I must contact the vendor of my dvd's !!!.
    Does anybody else has this problem ?
    I do not have the pro version so I cannot rebuild the indexes myself.
    Hans
    PS for now I have removed version 10 and re-installed version 9.4
    Windows XP SP3

    Reply found here:
    http://forums.adobe.com/message/3522477#3522477
    "Adobe Reader X doesn't support search catalogs created with Acrobat 5 or earlier.
        You may try Adobe Reader 9 or create new catalogs with Acrobat X Pro."
    I actually contacted my vendor and he is sending me a new disk free of charge . He told me he had to destroy his whole stock of cd's that contains old pdx files.

  • I use firefox to show jpg's from newsgroups via Agent. It now cannot find the file in Agent's temp file if it is not a single word. It will read itemone.jpg but not item one.jpg. I'm using Firefox 3.6.8. I've had this problem since I stated using firefox

    I use firefox to show jpg's from newsgroups via Agent. It now cannot find the file in Agent's temp file if it is not a single word. It will read "itemone.jpg" but not "item one.jpg". I'm using Firefox 3.6.8. I've had this problem since I stated using firefox 3. How can I correct it? in English
    == This happened ==
    Every time Firefox opened
    == I upgraded to Firefox 3

    I use firefox to show jpg's from newsgroups via Agent. It now cannot find the file in Agent's temp file if it is not a single word. It will read "itemone.jpg" but not "item one.jpg". I'm using Firefox 3.6.8. I've had this problem since I stated using firefox 3. How can I correct it? in English
    == This happened ==
    Every time Firefox opened
    == I upgraded to Firefox 3

  • Function Module or table to read all EQUI for one KUNNR

    Hello,
    i need to read all Equipments for one specific KUNNR (endcustomer).
    Is there a function module which could be used?
    Or what is a good select for this?
    Thanks a lot.
    Kind regards
    Manfred

    Hi,
    EQBS table will be getting updated based on the Delivery document or while creating equipment for Material & Serial no combination.
    How you are maintaining End Customer in your Equipment Master?
    You can maintain in Partner Function or Sort Field or through automatic equipment creation.
    Based on that, you have to find the logic.
    Regards,
    Maheswaran.

Maybe you are looking for

  • Hyperion IR : Getting out of memory error while fetching data for whole year through web client (wrokspace)

    Hi, While fetching data though IR wen client from workspace for a year(all 12 months) I am getting error as ("Out of Memory .Advice : Close other applications or windows and try again"). If I am trying same through IR studio it does not give any outp

  • Disble a specific checkbox

    Dear all, I have a block that diplay 10 recrod at a time. And now I want to disable some checkbox in the block bt not all, I used the Set_ITEM_INSTANCE property to set the Navigable and Updatable property of those records. But those checkbox just loo

  • Trial Converter Pro

    I downloaded Download Assistant to Adobe PDF Converter Pro. Only the Download icon on desktop. Where is the PDF Converter Pro Program? I'm using Windows 8. Thank you.

  • Why won't iTunes read an RSS file

    I have had Radio National podcasts in itunes for a while but it has not updated since Dec 13 and I went to the website to download the new podcasts and it says that I do not have a RSS reader loaded? Why won't itunes do it? thanks Lee

  • Af:query what does Save Results Layout do

    Hi, af:query allows you to create a new saved search by opening a new popup "Create Saved Search" Which contains InputText for Name : checkbox for Set As Default checkbox for Run Automatically checkbox for Save Results Layout what does the Save Resul