Reading Catsdb into a timesheet

Hi,
We are working on making a custom timesheet application
How to make out if the catshours stored in the catsdb fall in the same row of the timesheet?
e.g
TIMESHEET
Costcenter  | wbs  | activity |  monday | tuesday | wed | thurs | friday
600015       | WB1  |  KTL     |  8            | 8            | 8      | 2       | 4
600015       | WB1  |  KTL     |  0            | 0            | 0      | 0       | 7
600015       | WB1  |  KTL     |  0            | 4            | 0      | 0       | 8
CATSDB
COUNTER  Costcenter wbs  activity catshours    workdate
12343          600015     WB1  KTL        8                08/15/2010
12344          600015     WB1  KTL        8                08/16/2010
12345          600015     WB1  KTL        8                08/17/2010
12346          600015     WB1  KTL        2                08/18/2010
12347          600015     WB1  KTL        4                08/19/2010
12349          600015     WB1  KTL        7                08/19/2010
12350          600015     WB1  KTL        4                08/16/2010
12357          600015     WB1  KTL        8                08/19/2010
QUESTION : - How to make out from the above record .. which records falls in the same row and vice versa...
Thanks alot!!
Edited by: Akshay on Aug 21, 2010 8:14 AM

We have similar but slightly different requirement to display Short text field on time sheet. My understanding is that each entry in CATSDB represent single cell (one day for one selected WBS or attendance type) entry. Now we want to display and capture short text field along with these day entries.. like
Monday Monday text
Tuesday Tuesday text
7.5        Offsite work
7.0          US office
If this can be done on the webdynpro application side or we have to use custom enhancement cats0005 to use them as a custom field.
Tx for your inputs.
Cheers,
Sudhir

Similar Messages

  • Is it possible to export data from a PDF in Reader XI into an xfdf file?

    Hello,
    I am new to the forum and to Adobe Acrobat.  Please bear with me as I explain what I need to do and what I have tried to do so far to accomplish this (based on reading numerous forum discussions and Adobe IAC/JavaScript manuals).
    Operating system, Adobe and Microsoft products on my standalone PC:
         OS:  Windows 7 Professional
         Adobe:  Adobe Acrobat Pro XI
                       IAC Software (free download)
                       Adobe Reader XI
        Microsoft: VisualStudio 2010 (VB.NET and C#.NET)
    I need to export the data from a fillable PDF in Acrobat Reader XI into an .xfdf file that will allow me to pull the field data out of the .xfdf  (xml-type) file and use it in a C# program.  I tried using exportXFDF as a trusted function not knowing initially that Acrobat Reader XI will allow you to import, but not export.  Is there any workaround for this problem?
    Using the IAC I was able to write a program that allowed my to save the data in a fillable PDF in Acrobat to an xml-type file; however, that only worked when my executable was running on a PC that had Acrobat installed (not Acrobat Reader).  I need to be able to do this out of Acrobat Reader XI, and we do not want to use Adobe LiveCycle to do this. 
    I feel like there is something very obvious that I am missing here.
    kfreema7

    I hope you won't see this as rude, but what you are missing is the obvious point that Adobe are in business to make money. So they put as little in Adobe Reader as they can, so people are motivated to buy stuff. Every development intended for Reader has severe limitations on feasibility and techniques for this reason; it's a huge (but very common) mistake to just develop for Acrobat and assume Reader will follow.

  • I pull fiftyfour bytes of data from MicroProcessor's EEPROM using serial port. It works fine. I then send a request for 512 bytes and my "read" goes into loop condition, no bytes are delivered and system is lost

    I pull fiftyfour bytes of data from MicroProcessor's EEPROM using serial port. It works fine. I then send a request for 512 bytes and my "read" goes into loop condition, no bytes are delivered and system is lost

    Hello,
    You mention that you send a string to the microprocessor that tells it how many bytes to send. Instead of requesting 512 bytes, try reading 10 times and only requesting about 50 bytes at a time.
    If that doesn�t help, try directly communicating with your microprocessor through HyperTerminal. If you are not on a Windows system, please let me know. Also, if you are using an NI serial board instead of your computer�s serial port, let me know.
    In Windows XP, go to Start, Programs, Accessories, Communications, and select HyperTerminal.
    Enter a name for the connection and click OK.
    In the next pop-up dialog, choose the COM port you are using to communicate with your device and click OK.
    In the final pop
    -up dialog, set the communication settings for communicating with your device.
    Type the same commands you sent through LabVIEW and observe if you can receive the first 54 bytes you mention. Also observe if data is returned from your 512 byte request or if HyperTerminal just waits.
    If you do not receive the 512 byte request through HyperTerminal, your microprocessor is unable to communicate with your computer at a low level. LabVIEW uses the same Windows DLLs as HyperTerminal for serial communication. Double check the instrument user manual for any additional information that may be necessary to communicate.
    Please let me know the results from the above test in HyperTerminal. We can then proceed from there.
    Grant M.
    National Instruments

  • Read statement into an internal table

    Hi Experts,
    In my report i have several read statements, now my requirement is i want to put all the read statements into an internal table, how do i achieve it???
    Thank you!

    Hello Maya,
    i want to know how many number of times the read statement is used .
    Two ways:
    1. use a counter after each read statement in your program and increase it by 1 everytime there is read statement and display the final value of the counter in the report that you want.
    2. If you just want to know press (CNTRL + F) enter "READ" , select the radio button "In Main program" and then you will get all the read statement and can count it manually.
    Hope I have not answered your question wrong. But if I have, please be more specific about your requirement so that many an help you.
    Thanks,
    Jayant Sahu.

  • Webdynpro reading context into table

    Hi Guy,
    I havent been able to find anything on this but I am assuming its a very common questions. I apologise in advance.
    My question below:
    I have a context 0..n
    I would like to read this into table type t1.
    Context and table are base on the same structure.
    I understand I have to use get_static_attributes_ref or table. But I am not sure how to go about getting it and then casting it into type t1
    Thanks in advance.
    Moderator message: please post again in "Web Dynpro ABAP" forum
    Edited by: Thomas Zloch on Oct 28, 2010 3:03 PM

    hi Nir..
    may be you shud use the HSSF api.....
    try this link....
    <a href="http://www.koders.com/java/fid5636164FDE72156B90C9973AC12EBBF49048BA4E.aspx">HSSF_API</a>
    Regards,
    Sudheer

  • Suddenly, most of my folders that I separate the read emails into dissappeared. How to get back?

    In Thunderbird just now most of the folders that I put my read emails into have disappeared. All the old messages are in them . I need them and the folders too. I don't know what I did to make them disappear. Please help. Thanks.

    this is a follow up from the profane post earlier....
    i have done this twice in two other posts..
    here is my problem.. i started off trying to update itunes, it failed twice and said i needed to install manually via tools.
    the only place to get to tools is the pop up box that appears when you click check for updates.. if there is an available update then the pop up shows up with the quick time and itunes files to download. so i finally figured that out. i clicked on tools and manual update, four files were saved to a file. Apple mobile device support, another one similar, itunes, and another one i cant remember. I only downloaded the itunes file seeing as though thats all i needed to accomplish in the first place.
    so then i restarted my computer bc you need to reboot and then reopen itunes for update to take effect. once i have itunes back open i plugged in my new 5s which i am trying to sync to my computer to get all my stuff back bc i lost my previous phone over the weekend.. once i plugged the phone in an error stating i needed to unistall the apple mobile device support and itunes and then reinstall. well i dont know where those files were originally stored on my computer AND since my itunes was updated, just not the other 3 associated files, when i click check for updates it says its up to date and then pop up containing the quick time and itunes does not pop up thus i cant get back to the tools tab to manually save the 4 files again.
    so i was just going to uninstall itunes all together and then i thought well what happens if it erases all my photos apps songs etc... which would defeat the whole purpose in the first place of me trying to sync my new phone to get all my stuff back.
    so i literally have no idea what to do at this point.. if you have read this you are probably just as confused as me...

  • Urgent help on reading data into ByteBuffer

    Hi,
    I am trying to read data into ByteBuffer using SocketChannel.
    The following code working fine but the problem is with ByteBuffer size.
    The data varies from request to request .
    How do I read data into ByteBuffer with out specifing size .
    The problem with size is some records has more than 500 bytes and some are less than 500 bytes.
    I want to read all the data .. ( even if it has more than 500 bytes ..)
    How do i solve this problem ..
    Is there any way to read data dynamically from socket channel ...
    Any help on this please ...
    The data I have to read is in the following format ..
    XXX ... yyyyy
    AAA
    BBBBBBBBBBBBBBBBBBBBBB
    CCCCCCCCCCCCCCCCCCCC
    DDDDDDDDDDDDDDDDDDDDDDd
    etc ...
    Here is my Code:
    public ByteBuffer getResponse(byte[] request) throws Exception {
    int lenth = 500;
    InetSocketAddress isa = new InetSocketAddress("ip", port);
    SocketChannel channel = SocketChannel.open(isa);
    ByteBuffer requestBuffer = ByteBuffer.wrap(request);
    channel.write(requestBuffer);
    ByteBuffer responseByteBuffer = ByteBuffer.allocate(length);
    int num = 0;
    while (num == 0 ) {
    responseByteBuffer.rewind();
    num = channel.read(responseByteBuffer);
    channel.close();
    return responseByteBuffer;
    Thanks.

    Two possible solutions
    1. Read in as many bytes as you can until you hit the EOS OR you fill the byte buffer. If you fill the buffer (try checking for BufferUnderFlowException), you could move the read bytes into a dynamically allocated memory Collection such as an ArrayList. When you hit the EOF, you could then do whatever else you need to do from then on.
    2. I use this option: Implement a site local protocol for transmitting data. Provide a header first containing 2 ints (compressed size, uncompressed size - so you can also use compression when sending), and send the remainder as a payload.
    Therefore
    Read in the header first (always 8 bytes)
    Then extract those integer values. They will tell you how much is being sent. Set you byte buffer for the payload to be the correct size for this transmission.
    Reset and wait for next connection

  • Problems on reading PCM into digital form

    Hi,
    I'm now on a project doing heart rate detection.
    Due to the project just started, therefore I do not got any device to measure my own heart rate, but I will be making up some PCM(analog) data, and try to read that into digital form and give me results of the heart rate.
    I'm not sure am I on the right track now or not,
    what I'm doing now is trying to convert a ".wav" into bytes array, then it should give me some data, however, I'm not sure how to relate that data into heart rate.
    Please leave me any comment if u think it might help please.
    Thanks,
    till

    I'm not too sure what should be the .wav should be, however, according to this acticle I got it from the web:
    _2.1 Signal acquisition_
    ECG signal frequency content lies between about 0.05Hz and
    500Hz and has amplitude of few mV. The acquisition is provided
    to be performed in three different ways: (i) using direct electrode
    measurements, (ii) using ECG equipment with analogous output;
    and (iii) using ECG equipment with digital output. For the first
    two cases, a sampling rate of 8 kHz is assumed. In the third case,
    the acquired discrete signals are accordingly resampled.
    _2.2 Modulation_
    The bandwidth of the phone’s voice channel is limited to the
    range 300Hz-3300Hz. The signal amplitude at the microphone
    input should not exceed 100mV. Modulation is performed through
    multiplication with carrying sinusoidal signals. Five 500Hz-wide
    channels are packed within the 500Hz-3000Hz band. The
    resulting signal is appropriately refined in amplitude and directed
    to the modulator’s output.
    _2.3 Digitizing, storing and sending_
    The complex signal is band-limited to 3300Hz. Therefore, a
    standard sampling frequency of 8 kHz is used for its digitization.
    A JAVA application performs that and in order to store the signal
    intact, the signal is recorded in a lossless format such as pulsecode
    modulation (PCM). The WAV audio file format implements
    PCM and is used to store the recorded modulated ECG signals.
    Once stored, the signals can be visualized, processed and sent by
    the mobile phone.
    Mobile phone’s firmware is accessible by programming
    languages as C++ and JavaTM. Most mobile phones support
    JavaTM runtime called Kilobyte Virtual Machine (KVM) [6]. This
    language provides the ability to build a GUI application that could
    support all the stages of recording, storing and transmitting of the
    ECG signal. JSR-135 contains libraries of JavaME, which are
    useful for capturing audio from the microphone's port of a mobile
    phone. The above mentioned platform was used to create the
    application software.
    _2.4 Demodulation_
    The procedure of demodulation is performed at the physician’s
    phone, following the reverse track of modulation. A digital band
    pass filter is used to separate the spectra, corresponding to the
    individual ECG signals. The filtered signal was then multiplied by
    the corresponding carrier frequency and filtered with a low pass
    filter, resulting in the original signal. The demodulated signals can
    be stored in separate WAV files in the physician’s phone.
    _2.5 Matlab simulations_
    In order to prove the principal feasibility of the approach, the
    signal acquisition, processing and transmission procedures were
    simulated in MATLAB. Five preliminary recorded ECG signals
    were directly loaded and used. The signals acquisition parameters
    were: 8-bit values, sampling rate of 250Hz and duration – 10S.
    Modulation and demodulation were programmed and performed
    in a numerical way. Modulation was done by multiplication of the
    ECG signals with carrying sinusoidal signals of frequencies
    500Hz, 1000Hz, 1500Hz, 2000Hz, and 2500Hz. The
    demodulation included first separating the spectrum of each
    individual signal with the help of 4-th order 400Hz-wide bandpass
    Butterword filters centered on the corresponding carrying
    frequency. Next the filtered signals were multiplied with the same
    carrier signals and eventually filtered with a low pass 4-th order
    Butterworth filter (fc=200Hz).
    btw, the system need to be implement into Symbian phone at the end,
    but I'm just now testing on the PC atm =)
    according to this article, what kind of wav I should be using ??
    thanks a lot!!!

  • Reading XML into a Hashtable

    I have the following XML file:
    <fields>
    <name>J. Postma</name>
    <date>21-05-2004</date>
    </fields>
    I want to put the fields in a Hashtable. Name is the key and "J. Postma" is the value. How can I parse the XML and add the fields into a Hashtable?

    Dubwai, me too. But for only a half-day of effort,
    you can make a few helper classes that vastly simplify
    the day-to-day usage of DOM.Yes. I've done that too. To the OP, if you use DOM, realize that the text value of a single element may be in multiple Text nodes. You can't just grab the first one. You need to loop through all Text node children and concatenate their values.

  • Reading Data into a PDF form with cfpdfform and cfpdfformparam

    I have been trying to read data from a query into a PDF form. I have the application setup to generate a new pdf file for every record in the database table which is working perfectly, but when I try to have the application pre-populate the form fields in the pdf form they remain empty. I have included a snippet of the code that creates the PDF documents. I am using Adobe LiveCycle Designer 8.0 to create the PDF form.
    Snippet Example:
    <cfoutput query="renewals">
    <cfset new_file = "#reportnumber#.pdf" />
    <cfpdfform action = "populate" source = "beta.pdf" destination = "#new_file#">
      <cfpdfformparam name="Legal_Contact_Name" value="#LegalContactName#">
    </cfpdfform>
    <cfpdf action = "write" source = "#new_file#" destination = "#new_file#" flatten = "yes" overwrite  = "yes" />
    </cfoutput>
    All help is greatly appreciated...

    I'm just glad I might be of any help.
    First, make sure the image is embeded as a base64 encoded string in the xml structure you're working with on your form you've built in LiveCycle Designer.
    I do this by reading the image file and outputing its content as a base64 string:
    <cffile action="read" file="#expandPath('Path/to/your/image/file/BC.TIF')#" variable="imgObj" />
    <img>#toBase64(imgObj)#</img>
    Your PDF form should be bound to this 'img' field from your xml structure in LiveCycle Designer.
    This works perfectly and the image from the xml is indeed displayed in the PDF form generated with cfpdf.
    BUT, from the moment you convert the pdf form to static pdf document, the image will be gone - the dynamic text remains.
    Note:  I never further investigated why the image disapears once the pdf form is converted to 'static' pdf.  Thinking about it now, it might have been an incoding issue.  The toBase64() function in ColdFusion has an optional "Encoding" argument, may be by playing with the encoding the image might finally 'survive' the conversion to static pdf.
    Good luck.
    note: this will populate the pdf form from your xml structure in ColdFusion.
    <cfpdfform action="populate" source="/path/to/LiveCycle_generated_templateForm.pdf" xmldata="#your_xml_structure#" destination="/path/to/result.pdf" overwrite="yes" />

  • Read log into Internal table

    Hi all,
    I am using a transaction CJR2. At the end of this transaction I get a Log. I want to read this log into an internal table.
    How will it works.
    Please suggest.
    Thanks
    Sanket sethi.

    Hi
           If that an Application log then based on object you can get the log in an Internal table.
    BAL_log_display.

  • Read Hashmap into a Linked List

    Hi,
    I have a hashmap containing objects; I want to put those objects into a linked list.
    Where do I start? I haven't the foggiest idea....
    I suppose I have to iterate through the hashmap and extract the objects and then put them into a linked list.
    Does anyone know of a good tutorial for that kind of thing?
    Cheers,
    Didhe

    I'm no expert on this (far from it), but on looking
    at the HashMap and LinkedList API's, there may be
    something easy available to you.Yes, another URL to bookmark:
    http://java.sun.com/javase/6/docs/api/

  • Reading voltages into a USB6210 using CVI

    I have had this board working ok until I connected it to some other equipment.
    the first 3 inputs are connected to load cell amps and the fourth to measure the output of the test machine appling load to the load cells.
    Its when I conect to this test machine the voltages go all over the place.
    I have the inputs wired in differential mode.
    I got into Test panels and selected differential then ran the program, then selected create a task so I could select four inputs and all the channels read ok.
    So what I think I need is some way to configure my code to set the USB6210 to be in differential mode.
    I have searched the NI examples and can not find an example.
    this is the code I use to set up the USB6210
     int32       error=0;
     TaskHandle  taskHandle=0;
     char        chan[256];
     float64     min=-10.0,max=10.0,rate=10000;
     uInt32      sampsPerChan=100;
     int32       numRead,a;
     uInt32      numChannels;
     float64     *data=NULL;
     int         log;
     char        errBuff[2048]={'\0'};
     uInt32      i;
     float  Floatnum;
     char NumString[30]; 
      // DAQmx Configure Code
      DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
      DAQmxErrChk (DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai1,Dev​1/ai2,Dev1/ai3,Dev1/ai4","",DAQmx_Val_Cfg_Default,​min,max,DAQmx_Val_Volts,NULL));
      DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle,"",rate,DAQmx_Va​l_Rising,DAQmx_Val_FiniteSamps,sampsPerChan));
      DAQmxErrChk (DAQmxGetTaskAttribute(taskHandle,DAQmx_Task_NumCh​ans,&numChannels));
      if( (data=malloc(sampsPerChan*numChannels*sizeof(float​64)))==NULL )
       MessagePopup("Error","Not enough memory");
       goto Error;
      // DAQmx Start Code
      DAQmxErrChk (DAQmxStartTask(taskHandle));
    Solved!
    Go to Solution.

    You may have to use:
    DAQmxSetChanAttribute (taskHandle, "", DAQmx_AI_TermCfg, DAQmx_Val_Diff, 0);
    This will affect all channels in the task.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Reading something into a mike connected to an I-pod

    I'm trying to submit mp3 recordings of my poetry to some internet radio stations, & using a taperecorder & i-mik hasn't worked.
    I have an i-pod shuffle. someone told me to get a griffin mik, attach it to my I-pod & read my poem into it. Then what I read will be downloaded to I-tunes, and converted to an mp3. It wll be a digital recording. Was I given the accurate info? I thought that you couldn't download anything from an I-pod, but this person says that she does all the time.

    Hi,
    You mentioned a tape recorder. You mean your computer, I gather. If the sound level is low, your microphone is in need of pre-amplification to reach the level needed for your situation. There are a number of different ways to proceed. You do not need to upgrade your OS if you don't want to. One method is to get a microphone with the right "impedance." Some microphones (I have a couple of Apple branded ones) give the result you describe. Other ones (I have an Apple 'desktop' microphone that works clear as a bell - much better than the other Apple brand ones that I have. The two 'soft' microphones I own need an accessory for increasing the level such as the pre-amplification mentioned above. In addition to the pre-amplifier is something called an 'interface' by Griffin Technology which they call an iMike. The iMike plugs into your computer USB jack and gives you the choice of a microphone input with or without amplification. It makes the whole set-up much easier. It works with applications such as GarageBand and also with the OS directly.
    It will give you MUCH better quality audio than a tape recorder or an unmodified iPod.
    Good Luck, I hope this helps.

  • Reading Zipfile into Memory

    Can someone please show me how I can get the 5th field (comma seperated) out of a zipped file? I am having NO luck. I need to get it into a variable.

    Crosspost!

Maybe you are looking for