Data retrieval from infotype 0024(Qualification)

hi abapers,
could someone suggest me how to retrieve data from infotype 0024(Qualification)
I tried from pa0024,but no data is stored there.
yogesh

Hi Yogesh,
Make use of below FMs to fetch the data from IT0024 -
* Fill t_pernr_tmp with employees (PERNRs) as follows -
      t_pernr_tmp-plvar = '01'.
      t_pernr_tmp-otype = 'P'.
      t_pernr_tmp-sobid = '00000001'.  "give employee number here
      append t_pernr_tmp.
*     READ QUALIFICATION
      CALL FUNCTION 'RHPP_Q_PROFILE_READ'
        EXPORTING
          begda            = w_low  "provide date in sy-datum format
          endda            = w_high "provide date in sy-datum format
          with_stext       = c_x
          with_qk_info     = c_x
        TABLES
          OBJECTS    = t_pernr_tmp
          profile          = t_qual_data
        EXCEPTIONS
          no_authority     = 1
          wrong_otype      = 2
          object_not_found = 3
          undefined        = 4
          OTHERS           = 5.
* here t_qual_data will have qualification  data.
*after that make use of FM 'RHPE_QCAT_BRANCH_READ_UP' and the *t_qual_data table to read the branches of qualification data.

Similar Messages

  • Data Retrieval from infotype 0025

    hi all,
    I want to read some data from infotype in my abap program. In infotype 0025, in the tab 'Appraisals where Appraisee' , when I click on the first link, say 'Supervisor appraisal', I get a screen where there is a table . I want to select the value of 'HAP_S_DYNP_3100_TB-COL_01_VALUE_TXT', but HAP_S_DYNP_3100_TB is a structure and COL_01_VALUE_TXT' is a field of a table control, so how to pick up this kind of data in my program???? I tried RHPA_APPRAISEES_APP_READ but this function does not give me any results.
    Thanks
    yogesh

    Hi Yogesh,
    Make use of below FMs to fetch the data from IT0024 -
    * Fill t_pernr_tmp with employees (PERNRs) as follows -
          t_pernr_tmp-plvar = '01'.
          t_pernr_tmp-otype = 'P'.
          t_pernr_tmp-sobid = '00000001'.  "give employee number here
          append t_pernr_tmp.
    *     READ QUALIFICATION
          CALL FUNCTION 'RHPP_Q_PROFILE_READ'
            EXPORTING
              begda            = w_low  "provide date in sy-datum format
              endda            = w_high "provide date in sy-datum format
              with_stext       = c_x
              with_qk_info     = c_x
            TABLES
              OBJECTS    = t_pernr_tmp
              profile          = t_qual_data
            EXCEPTIONS
              no_authority     = 1
              wrong_otype      = 2
              object_not_found = 3
              undefined        = 4
              OTHERS           = 5.
    * here t_qual_data will have qualification  data.
    *after that make use of FM 'RHPE_QCAT_BRANCH_READ_UP' and the *t_qual_data table to read the branches of qualification data.

  • Tell me how to format a date retrieved from a MS SQL Server 2000 database?

    Tell me how to format a date retrieved from an MS SQL Server 2000 database for various uses in my JSP page?

    Or if you want to use JSTL instead of a scriptlet see:
    http://forum.java.sun.com/thread.jspa?threadID=676754&tstart=0

  • Hide the two tab from infotype 0024

    Hello,
    I need to hide two tabs from  infotype 0024 sreen, "Appraisals where appraisee" and "appraisals where appraiser", in PA30 transaction. But it should appear on the infotype 0025 . Is there any way to do that?
    Thanks in advance.
    Regards
    Kuntal

    Screen 3000 is and overview screen. You need to create a module pool for screen 2000 - detail screen. Enter 2000 also as alternative screen in the same line and double click it. There you can set the invisiblity of the certain field / tab.
    The entry should look like
    "Module pool   Screen       Alter. screen
    MP002400     2000       2000
    You can also include feature if you want to differantiate alternative screen i.e. based on country.
    Regards
    Marcin

  • Data selection from infotypes

    The req is that records from one infotype need to be populated, then records from another infotype need to be populated into the same internal table based on the records retrieved from the first infotype. The second infotype has some subtypes also that need to be selected. Can someone suggest a solution with an example?

    Hi Sandeep,
    Programming in HR module is something different, the best is that you use the logical database PNP. Set this value in the Program attribute. Using select statement in HR programming is not advicable. Proper HR programming should be as below:
    REPORT  yhr_program
           NO STANDARD PAGE HEADING
           LINE-COUNT 60  LINE-SIZE 600.
    * tables
    TABLES: pernr.
    * infotypes.
    INFOTYPES: 0000,   "Personal Actions
               0001,   "Org. Assignment
               0002,   "Personal Data
               0105.   "Communication Infotype
    * data declaration.
    Data: Begin of I_TAB occurs 0,
             PERNR type persno, "employee number
             NACHN type PAD_NACHN, "employee's last name
             USRID_LONG type COMM_ID_LONG, "IT0105 user id
             end of I_TAB.
    * START-OF-SELECTION.
    START-OF-SELECTION.
    * GET FROM LOGICAL DB PNP
    GET pernr.
    * rp-provide-from-last is an macro used in HR programming can be found in
    * table trmac.
    * p0002 is the infotype structure
    * space is for subtype <-- in this case there is no subtype
    * pn-begda is for begin date
    * pn-endda is for end date
    * getting employee infty 0002 record
      rp-provide-from-last p0002 space pn-begda pn-endda.
    * p0105 is the infotype structure
    * '0001' is for IT0105 subtype for communication
    * pn-begda is for begin date
    * pn-endda is for end date
    * getting employee infty 0105 record
      rp-provide-from-last p0105 '0001' pn-begda pn-endda.
      i_tab-pernr = pernr-pernr.
      i_tab-nachn = p0002-nachn.
      i_tab-USRID_LONG = p0105-USRID_LONG.
      append i_tab. clear i_tab.
    * END-OF-SELECTION
    END-OF-SELECTION.
    perform print_report.
    ...... more codes....
    Hope it helps.
    Benefits:
    1) You have all the auth issue settled.
    2) Macros shorthen your code

  • Can I use stored procedures to improve data retrieval from the database?

    I have been requested to get multiple pieces of data from multiple tables and return the output in an array for use in a Java program.
    Eliminating multiple calls to the database. Currently, the data is retrieved from the database in multiple steps but to eliminate
    possible bottlenecks in the future, I created several complex sql statements.
    For instance,
    In the first table there are 20 columns of data. has a column named type which can have the one of these values: line, inn, or bsc
    In the second table there are 6 columns of data. has the additional data for type line
    In the third table there are 7 columns of data. has the additional data for type inn
    In the fourth table there are 2 columns of data. has data regardless of type
    etc...
    Depending on a specific column value retrieved (inn) from the first table:
    I need to collect all 20 columns in the first table and get all the columns in third table and the columns in the fourth table, etc.
    Question: How can I remove the duplicate primary key columns without specifying for each table the column names to be returned?
    I used the wildcard SELECT * because I didn't want to have to update the retrieval methods if additional columns are added to these
    secondary tables.
    example of my sql for type inn data:
    select * from first_table f, third_table s, fourth_table t
    where (f.column1='xxxx' and f.column2='xxxx') (the 'xxxx' are passed into the sql statement)
    and
    ((s.column1=f.column1 and s.column2=f.column2)
    and
    (f.column3=t.column1));
    Currently, I've duplicated the separate sqls for each valid type found in the first table (at least a dozen types). The only difference is
    the table name. Instead of the third table I use the second table, etc.
    The MAIN Question: How can I set this up to have one sql to handle each type? I want to eliminate having over a dozen duplicated sqls. Can I
    incorporate this into a stored procedure or something? If so, how? Can anyone provide sample coding?
    Your help is very much appreciated. Thank you.
    GD

    Hi, Salah.
    Use "Exec" in your query to run procedures.
    SAPbobsCOM.Recordset     oRS;
    oRS = (SAPbobsCOM.Recordset)pCmp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
    oRS.DoQuery ("EXEC YourStoredProcName");
    Triggers are not supported in SDK.
    Regards,
    Aleksey

  • Data Retrieval from SSRS 2008 R2 to SQL Server 2012 standard

    Hello,
    We have a virtual machine running SSRS 2008 R2 and a physical server running SQL server 2012 standard.  We are having an issue with a report that is taking almost 10 minutes for the data to be retrieved from the sql 2012 database.  We used the
    execution logging query to debug and analyze.  We see that it renders and processes very fast, but the data retrieval time is very slow.  When the same query is run using sql studio mgr. from the SSRS server it runs just fine...it
    takes seconds for the results to come up.
    I don't believe there is a compatibilty issue because other reports run fine.  We're just having problems with one report.

    A long shot, but I've seen where the data type of a report parameter is mismatched against the data type of the table it is being compared against.  SQL profiler would show this clearly.  
    This would explain why the query returns quickly in ssms but not with the report.  

  • Data retrieval from sad face ipod

    So, two nights ago my ipod (40gig 3rd gen(? 4th? 1.5 years old; warranty expired)) randomly died while in the middle of playing music. It whirred and clicked and eventually gave me the unhappy face, and that is how it's stayed for the past 48 hours. Now, there are plenty of people in this same boat, as a little browsing of the forums has showed me, so I'm not asking for how to possibly fix it, but...
    What I do want to know: is there a service to get the data off the ipod? Reformatting the machine is all fine and good, but I'm living abroad and most of my CDs are currently on the other side of the world. My friend said that you could pay $50 for Apple to retrieve the data from your old drive, but I haven't seen anything like that on the website (perhaps it is only for Macs?)
    Anyway, has anyone heard of a data retrieval service for ipods, or some other method of getting data off an ipod that won't connect to the computer? (I tried putting it in data mode and it just laughed at me...or frowned, I suppose.)
    Thanks for any advice you can give...
      Windows XP  

    Is your iPod fully charged? (connect it to the Mac for 4 hours to charge the battery)
    Your post is not very clear on the problem, but normally Resetting the iPod will get rid of the sad face, on the iPod sceen, but may not get rid of your unhappy face.
    To Reset - Press Menu and Center Button for about 10 secs till the Apple logo comes ON.
    Here is the support document that may help you.
    http://support.apple.com/kb/TS1373?viewlocale=en_US
    Good Luck & Have a nice day!

  • Data retrieval from ZL table

    I need to retrieve data from ZL table and prepare a report comparing the Actual, Previous and Old records in the table for an employee for a particular period.
    Are there any particular function modules for this data retrieval?
    Thanks.

    Hi bala,
    I did not get what you were trying to tell me. I went to SE37 and tried for anything that starts with "zlit" .. but returned no results.
    And also I dont want time management to payroll.
    I want to retrieve data from the B2 in PCL2 cluster.
    i.e I want to retrieve data from the ZL table in the cluster for a particular payperiod and particular employee.
    Thanks very much in advance!

  • Data retrieval from JMS queue using single SOA composite in a clustered env

    Hi,
    I have following situation:
    1) A requester SOA composite (Composite1)is reading data from a File
    2) Mediator is routing data received from Composite1 and writing in a JMS queue.
    3) A provider composite (Composite2) is reading from the JMS queue.
    Both Composite1 and Composite2 is deployed in a clustered environment.
    Problem is Composite2 is not able to read data sequentially from JMS Queue sometime (for example out of 30000 transactions its failing once). Here it's a queue and only one producer and only one consumer is there.
    What may cause this issue? I thought a single producer and single consumer on a queue will guarantee FIFO retrieval . Could you please advise where may be the gap?
    Thanks
    Edited by: user1054373 on Sep 18, 2012 11:29 PM

    Hi,
    I thought a single producer and single consumer on a queue will guarantee FIFO retrieval Java Message Service Specification does not guarantee ordered message delivery when applications use distributed queues...
    Using Weblogic Message Unit-of-Order may solve your issue...
    http://docs.oracle.com/cd/E23943_01/web.1111/e13727/uoo.htm#JMSPG389
    Hope this helps...
    Cheers,
    Vlad

  • Saving data retrieved from text file to JDBC table

    Hi,
    I would like to save data, loaded from a text file to a dataset, into an existing JDBC table.
    The documentation I found on this subject is very brief, and no matter how I tried, I couldn't succeed.
    I would appreciate any help.
    Thank you in advance

    Hi there,
    Here is an example of reading a String and a date from a text file. Once you have what you need in the Strings (or whatever) it should be easy to insert them into and SQL statement. Let me know if you need an example of this as well and I'll post it in the morning. Right now I'm off to bed :o)
    Cheers
    Mark
    import java.io.*;
    import java.util.*;
    import java.text.*;
    public class WriteTest {
    public static void main(String [] arg) throws Exception {          
       Date today = new Date();          
       String name = "";          
       SimpleDateFormat formatter = new SimpleDateFormat("ddMMyyyy");          
       File myfile = new File("hello.txt");               
       // how to input     
       BufferedReader in = new BufferedReader(new FileReader(myfile));          
       String name="",
       date="";          
       boolean eof = false;          
       do {
          name = in.readLine();               
          date = in.readLine();               
          if(!(eof = (name==null || date==null)))                    
          System.out.println(name+" "+formatter.parse(date));
       while(!eof);     
    }

  • Fast data retrieval from large tables

    Hello,
    we have created a table in oracle 10g DB. at an average there are around 20-30 rows inserted onto the table. so in 1 mnth the record count for the table is around 800-900 rows.
    in one year which is becoming to 10,000 rows. so speed up data retreval from this bulk data we need suggestion. various things that come to my mind are -
    Indexing of table/# Index of table/partitioning of table/materialized view etc.
    but not sure what exactly needs to be done here. please suggest on how smooth data retreival can be chaived whatever be the size of the table.
    Thanks,
    Sam

    Here is a simple look of your data progression.
    year        Row
    1           10,000
    5           50,000
    10          1,00,000
    50          5,00,000
    100         10,00,000You need to wait another 100 years to reach a million. And million is not a big number when it comes to Oracle.
    So as others have stated what the objective behind your question?
    basically the choice of Index or Partition mainly depends on how the data is going to be accessed from a table. If I am going to access all the rows of a table every time then there is no use of both the features. I would just prefer a FTS. In that situation i would be looking how to optimize my FTS.
    So you need to set you objective clear before picking up the solution. Just because you have a hammer you cant go around banging the wall ;)

  • Data retrieval from failed ibook hard drive

    my ibook G4's hard drive failed after about 18 months, which is ridiculous in itself. they tell me i have to send it off somewhere for data retrieval.
    WHERE is a good place to do this? i need the data.

    Hey Christopher.
    Have you already removed the HD?
    Do you have access to another Mac where you could try Target Disk Mode ? It may be worth a try and shouldn't cost you a thing.
    If you are willing to buy some software, Alsoft's DiskWarrior has helped crack some pretty tough looking jobs.
    If your drive has not completely failed either one of these may work. Target Disk Mode is worth a try as it won't cost you a thing but time.
    Edit: As Ryan M said, in the future backup...backup....backup.....backup.

  • Optimise data retrieval from cdhdr

    Hi,
    SELECT objectid udate utime username FROM cdhdr
    INTO TABLE tb_cdhdr
    WHERE objectid IN ra_pernrange
    AND udate IN so_datum
    AND username IN so_uname.
    This is the query I am using to retrieve any changes made to the pernr-qualification relationship. It takes ages to retrieve the data.
    Is there any way to optimize this??

    Hi,
    I just did a sample run of your code, its working fine in my system.
    I think its optimised, there is a problem somewhere else.
    However i had to change the select-options parameter ra_pernrange to ra_pernr as it did not accept more than 8 characters for select-options.
    But its working fine and populating the internal table as well.
    Refer the sample code:
    TABLES: CDHDR.
    TYPES: BEGIN OF T_CDHDR,
      OBJECTID TYPE CDOBJECTV,
      UDATE TYPE CDDATUM,
      UTIME TYPE CDUZEIT,
      USERNAME TYPE CDUSERNAME,
      END OF T_CDHDR.
    DATA: TB_CDHDR TYPE TABLE OF T_CDHDR.
    SELECT-OPTIONS: RA_PERNR FOR CDHDR-OBJECTID,
                    SO_DATUM FOR CDHDR-UDATE,
                    SO_UNAME FOR CDHDR-USERNAME.
    SELECT OBJECTID UDATE UTIME USERNAME FROM CDHDR
    INTO TABLE TB_CDHDR
    WHERE OBJECTID IN RA_PERNR
    AND UDATE IN SO_DATUM
    AND USERNAME IN SO_UNAME.
    Regards.
    Edited by: rajan roy on Apr 2, 2009 1:30 PM

  • How to transfer data retrieved from a bean, into requestScope

    I have a jsf page called viewCustomer.jsp, which is backed by a controller/mbean with a name viewCustomerController.
    This page is always called via a request which carries the customer accountID in its request attributes. Hence in order to load the customer details i am using a f:view beforephase call which acts before the render phase. This retrieves a number of beans from of different types. For example, each customer can have an address.
    each addressbean has an ID field which is the primary key to the addresses. If i want to delete the address, i need to send this primary key via a requestAttribute to a controller which will delete it.
    hence to delete the address i have a form such as:-
    <h:form>
    <h:inputHidden value="#{viewCustomerController.customerAddressBean.id}" />
    <h:commandButton value="Delete Address" action="#{viewCustomerController.deleteCustomerAddress}" />
    </h:form>
    The problem with this, is that because the addressbean is only added before the render phase, on presssing the delete address button, i get a null exception, because customerAddressBean doesnt exist yet.
    What i want to do, is that upon pressing the delete address button, the id value should be immediately sent to a requestAttribute called 'addressId', and not back to the backing bean.
    i. e. (if jsf had an assignment operator) it would be something like
    <h:form>
    <h:inputHidden value="requestScope.addressID = #{viewCustomerController.customerAddressBean.id}" />
    <h:commandButton value="Delete Address" action="#{viewCustomerController.deleteCustomerAddress}" />
    </h:form>
    basically, the data should be read from the backing bean, but it shouldnt be written back to the backing bean.
    now i realize that if i allow my database to repopulate the backing bean earlier, the customerAddressBean will be populated, and then the first listing would work. But that would require a second set of trips to the database with no meaning but to repopulate the backing bean which seems like quite a waste.
    In the case of the address, i could populate the propertly with a dummy addressbean, but this would not work in the case of properties which are lists of beans.
    So in summation. How do i transfer data that has been read from a property of a backing bean, into a request attribute on a commandbutton click, without putting the data back into the property of the backing bean.

    Hello Anu,
    There are different hardware options that you have here. The basic things that you need to keep in mind is that the PDA that you purchase runs on Pocket PC and has either a CompactFlash or a PCMCIA slot in it. The driver that you would be using for your LabVIEW PDA application would NI-DAQmx Base Ver 2.0.1. You can refer to its readme for more information on the supported hardware. Also you can check at this page for more information on the supported devices. About your original question, using LabVIEW PDA you can create a text file for storing data and separate the data points with a comma. So that this way you would be able to open the file in Excel if you wanted to. All the file I/O related VIs can be found in the function palette at Programming >> File I/O.
    Regards,
    Chetan K.
    Application Engineer
    National Instruments

Maybe you are looking for

  • Can I upgrade  USB port 1.1 to 2.0 ?

    I have a G3 iBook with USB 1.1. I want to buy a iPod shuffle which can only use USB 2.0 for the power charge. Can I upgrade my USB port to 2.0, and how my does it cost? Or can I use FireWire to connect to iPod shuffle as power charge and dowload musi

  • How to do conversion of a table

    while i am removing a primary key of a field of a  Z table , i was asked to do 'conversion of table'. please suggest me, how to do it?

  • How to reference a set of Flash-protected f4v files in a manifest when the files are on Cloudfront?

    I have: a self-created AMS 5.0 running on Amazon. Using latest OSMF player. I'm Using EZDRM for Flash Access protection. I have a dynamic bitrate f4m created with the F4F packager. It contains data for three bitrates. I know that my S3 bucket and Clo

  • Resctriction while displaying work items in sourcing cockpit..

    Dear all SRM gurus, We are using SRM 5.0 extended classic scenario. We are having a requirement to restrict the work items in sourcing cockpit based on the purchaser user id, i mean particular SC's should be visible to particular users only.. Is ther

  • Recovery Mo

    I have a Zen Micro and it is in Recovery mode and I don't know what to do. It says on the screen "Firmware Problem" I need an idiots guide to fix this please help!!