How to store data in HRHAP tables(Appraisal data)?

Hi All,
I want to store some ratings information in HRHAP tables. But dont' know how to store the data.
For each and every pernr, we can have more than one appraisal id's ( which are year specific I think).
So, in order to store the current year rating, i will get it from the custom transaction and want to store the same in HRHAP table.
But how to generate the appraisal Id? Is there any way to generate or get that for the current year?
Please help me out in this.
Thanks in advance.
Thanks,
RSS.

Hi,
I think you have to use 'HRHAP_DOCUMENT*' Functions modules to update HRHAP table.
Regards,
Shrinivas

Similar Messages

  • How to store the images in tables

    how to store the images in tables .what is the use of "clob ,blob"

    Using with the CLOB or BLOB, you can store the images in the table.
    Srini C

  • How do I configure a dynamic table with Data-Drop Down selections to store separate values?

    I am attempting to use LiveCycle to create an Order Form that uses an ODBC to a SQL database. When a user makes a selection, a separate column in the table references the "Item #" associated in the SQL table, and generates a corresponding barcode.
    My problem is that when I select an Item from the drop down list, all the items in the table change. What am I missing here to separate the rows as different line items? I tried adding a [*] to the end of the connection string, and that allows me to select different options but does not generate the "Item #" or "Barcode" field.
    The screenshot below shows the basic form. When I select any of the data drop downs, all of the Items change.
    I used the auto generated script for the "Add Row +" button shown below. Is this my issue? Or do I need to alter the way I'm setting up the Data Binding in for my Data Drop Down?
    this.resolveNode('Table1._Row1').addInstance(1);
    if (xfa.host.version <8) {
      xfa.form.recalculate(1); }

    package pruebadedates;
    import java.sql.*;
    * @author J?s?
    public class ClaseDeDates {
        /** Creates a new instance of ClaseDeDates */
         * @param args the command line arguments
        public static void main(String[] args) {
            java.sql.Date aDate[] = null;       
            Connection con = null;
            Statement stmt = null;
            ResultSet rs = null;
            try{
                Class.forName("com.mysql.jdbc.Driver").newInstance();
                con = DriverManager.getConnection("jdbc:mysql://localhost/pruebafechas", "root", "picardias");
                    if(!con.isClosed()){
                    stmt = con.createStatement();
                    stmt.executeQuery ("SELECT dates FROM datestable");
                    rs = stmt.getResultSet();
                        while (rs.next())
                        aDate[] = rs.getDate("dates");
            catch(Exception e)
               System.out.println(e);
            //System.out.println(aDate);     
    }Hi, There is my code and the errors that I get are:
    found : java.sql.Date
    required: java.sql.Date[]
    aDate = rs.getDate("dates");
    Actually I have No idea as How to get a Result set into an ArrayList or Collection. Please tell me how to do this Dynamically. I have like 25 records in that Database table, but they will grow, so I would really appreciate to know the code to do this. I suspect my problem is in the bolded part of my code.
    Thank you very much Sir.

  • How do I identify records in table where dates overlap?

    Hi
    In a table I can have multiple records per Code. But if you look at the Start and End dates of the last two records they overlap.
    Unique ID Code Start Date End Date
    1 143     28-MAY-02     16-OCT-02     
    2 143     17-OCT-02      22-NOV-02     
    3 143     13-NOV-02     12-MAR-03
    I want to be able to identify these and then change the values to be     
    Unique ID Code Start Date End Date
    1 143     28-MAY-02     16-OCT-02     
    2 143     17-OCT-02      12-NOV-02     
    3 143     13-NOV-02     12-MAR-03
    i.e. set the End Date of the 2nd record to be a day less than the start date of the 3rd record.
    Can anyone please help with how I can do this?
    Thanks
    GB

    You have to make the ordering unique, so I added the column end_date to the ordering.
    And the solution prevented was buggy, so I replaced it with a new SQL statement:
    SQL> create table test_table
      2  as
      3  select 1 uqid, 143 code, date '2002-05-28' start_date, date '2002-10-16' end_date from dual union all
      4  select 2, 143, date '2002-10-17', date '2002-11-22' from dual union all
      5  select 3, 143, date '2002-11-13', date '2003-03-12' from dual union all
      6  select 1, 100, date '2007-02-01', date '2007-02-14' from dual union all
      7  select 2, 100, date '2007-02-15', date '2007-02-15' from dual union all
      8  select 3, 100, date '2007-02-15', date '2007-05-05' from dual
      9  /
    Tabel is aangemaakt.
    SQL> select uqid
      2       , code
      3       , start_date
      4       , end_date
      5       , next_date -1 as replacement_date
      6    from ( select uqid
      7                , code
      8                , start_date
      9                , end_date
    10                , LAG(start_date) over (partition by code order by start_date desc) as next_date
    11             from test_table
    12         )
    13   order by code
    14       , start_date
    15  /
    UQID  CODE START_DATE          END_DATE            REPLACEMENT_DATE
        1   100 01-02-2007 00:00:00 14-02-2007 00:00:00 14-02-2007 00:00:00
        2   100 15-02-2007 00:00:00 15-02-2007 00:00:00
        3   100 15-02-2007 00:00:00 05-05-2007 00:00:00 14-02-2007 00:00:00
        1   143 28-05-2002 00:00:00 16-10-2002 00:00:00 16-10-2002 00:00:00
        2   143 17-10-2002 00:00:00 22-11-2002 00:00:00 12-11-2002 00:00:00
        3   143 13-11-2002 00:00:00 12-03-2003 00:00:00
    6 rijen zijn geselecteerd.
    SQL> select uqid
      2       , code
      3       , start_date
      4       , greatest
      5         ( least
      6           ( lead(start_date,1,end_date+1) over (partition by code order by start_date, end_date) - 1
      7           , end_date
      8           )
      9         , start_date
    10         ) replacement_date
    11    from test_table
    12   order by code
    13       , start_date
    14       , end_date
    15  /
    UQID  CODE START_DATE          REPLACEMENT_DATE
        1   100 01-02-2007 00:00:00 14-02-2007 00:00:00
        2   100 15-02-2007 00:00:00 15-02-2007 00:00:00
        3   100 15-02-2007 00:00:00 05-05-2007 00:00:00
        1   143 28-05-2002 00:00:00 16-10-2002 00:00:00
        2   143 17-10-2002 00:00:00 12-11-2002 00:00:00
        3   143 13-11-2002 00:00:00 12-03-2003 00:00:00
    6 rijen zijn geselecteerd.Regards,
    Rob.

  • How to store, in an effective way, analyzer data into a relational database?

    We want to store the "sweep traces" of a network analyzer in a relational database in a way that it saves as much as possible space without loosing resolution.
    The solutions were we thinking on are to separate the x-axes information from the y-axes information and store it in different tables of the database.
    Because the repeating character of the measurements the data in the x-axes will be nearly all ways the same. So we want to store only new data in the x-axes table as a different x-axes is detected.
    In a third table we want to save the relation between the x and y data and other data that belongs to the measurement.
    Question is are there other or better possibilities to solve this proble
    m?

    Hi Ben,
    Thanks for you help.
    The use of a third table that links the X-axe and y-axe table together depends on if I store the datapoints in the y-axe table sequential, so I need an identification of the points belonging together and I can have a varying number of data-points, (i.e. 401 of 801 ...) or I save it in one record.
    The problem here is I have to save a varying nummer of points in tables with a lot of "datapoint columns".
    Another solution is save the datapoints as a semicolon ( separated text string in one field.
    Problem now is the limitation in the max. text field length.
    In my Oracle Rdb database I can use "Varchar" fields.
    (is here no limitation??)
    In other databases a "Note field" will maybe give a solution.
    The question sti
    ll is: What is the best solution and uses the smallest amount of space?
    In the next week I will do some tests with the solutions mentioned.
    Please let me know what DSC is??
    Greetings Huub

  • How do you delete records from table with data in a select option

    how do you delete records from table with relevant to data in a select option..how to write coding

    Hi,
    Try
    if not s_select_option [ ] is initial.
    delete * from table
    where field in s_select_option.
    endif.
    commit work.
    Be careful though. If select option is emty, you will delete the entire table.
    Regards,
    Arek

  • How can i compare 2 internal table's data which have  same structure ?

    hi friends,
    i want to know how  to compare 2 internal table's data which have  same structure

    DATA: BEGIN OF LINE,
    COL1 TYPE I,
    COL2 TYPE I,
    END OF LINE.
    DATA: ITAB LIKE TABLE OF LINE,
    JTAB LIKE TABLE OF LINE.
    DO 3 TIMES.
    LINE-COL1 = SY-INDEX.
    LINE-COL2 = SY-INDEX ** 2.
      APPEND LINE TO ITAB.
    ENDDO.
    MOVE ITAB TO JTAB.
    LINE-COL1 = 10. LINE-COL2 = 20.
    APPEND LINE TO ITAB.
    IF ITAB GT JTAB.
    WRITE / 'ITAB GT JTAB'.
    ENDIF.
    APPEND LINE TO JTAB.
    IF ITAB EQ JTAB.
    WRITE / 'ITAB EQ JTAB'.
    ENDIF.
    LINE-COL1 = 30. LINE-COL2 = 80.
    APPEND LINE TO ITAB.
    IF JTAB LE ITAB.
    WRITE / 'JTAB LE ITAB'.
    ENDIF.
    LINE-COL1 = 50. LINE-COL2 = 60.
    APPEND LINE TO JTAB.
    IF ITAB NE JTAB.
    WRITE / 'ITAB NE JTAB'.
    ENDIF.
    IF ITAB LT JTAB.
    WRITE / 'ITAB LT JTAB'.
    ENDIF.
    The output is:
    ITAB GT JTAB
    ITAB EQ JTAB
    JTAB LE ITAB
    ITAB NE JTAB
    ITAB LT JTAB
    This example creates two standard tables, ITAB and JTAB. ITAB is filled with 3 lines and copied to JTAB. Then, another line is appended to ITAB and the first logical expression tests whether ITAB is greater than JTAB. After appending the same line to JTAB, the second logical expression tests whether both tables are equal. Then, another line is appended to ITAB and the third logical expressions tests whether JTAB is less than or equal to ITAB. Next, another line is appended to JTAB. Its contents are unequal to the contents of the last line of ITAB. The next logical expressions test whether ITAB is not equal to JTAB. The first table field whose contents are different in ITAB and JTAB is COL1 in the last line of the table: 30 in ITAB and 50 in JTAB. Therefore, in the last logical expression, ITAB is less than JTAB.
    regards,
    srinivas
    <b>*reward for useful answers*</b>

  • How to export Tables along with Data and also Tables without data

    Hi All,
    I have a strange situation here. I have a 2 existing schema's under one database. Now the client wants to have 4 more schema's to incorporate the new branches of his company.
    I want to know whether is it possible for me to run an expdp command by which i can have the data from the mentioned tables and only table structure of the remaining along with remaining database objects (procedure,functions,triggers,views,sequences etc).
    Since there are some 32 Master tables, whose data i need to capture in db dump in order to run the batch under new schema and the remaining tables will be populated with data from the new branch employees hence the need is for table’s structure only.

    Hi,
    you should run two different import comand.
    The first import with only metadata, just to recreate the structure.
    With the second import you will import data only for the tables you need.
    I think this is the simplier solution.
    Acr

  • Can please tell me how to implement expand and collapse table row data?

    i am trying implement expand and collapse table row data but i do not get any ideas..can please any one help me its an urgent requirement

    Yes, we can.   
    I think the best place for you to start for this is the NI Developer Zone.  I recommend beginning with these tutorials I found by searching on "data log rio".  There were more than just these few that might be relevant to your project but I'll leave that for you to decide.
    NI Compact RIO Setup and Services ->  http://zone.ni.com/devzone/cda/tut/p/id/11394
    Getting Started with CompactRIO - Logging Data to Disk  ->  http://zone.ni.com/devzone/cda/tut/p/id/11198
    Getting Started with CompactRIO - Performing Basic Control ->  http://zone.ni.com/devzone/cda/tut/p/id/11197
    These will probably give you links to more topics/tutorials/examples that can help you design and implement your target system.
    Jason
    Wire Warrior
    Behold the power of LabVIEW as my army of Roomba minions streaks across the floor!

  • Pass Date from Internal table to Date field of Deadline(in expression tab)

    Hello,
    I need to set deadline in workflow according to dates in Internal table. So please guide how to achieve this.

    Thanks Rick for taking interest in my issue.
    Business scenario:-
    --> when PO is created delivery date is given in PO.
    --> Now all materials in PO can be delivered on same date or on different dates.
    -->Their can be same delivery date or different delivery dates.
    --> So for example:- For a PO their are 4 materials-
            MATERIAL NAME     DELIVERY DATE
              Material1                   10.11.2011
              Material2                   20.11.2011
              Material3                   20.11.2011
              Material4                   10.11.2011
    Now Material2 and Material3 will be delivered on 20.11.2011  and Material1 and Material4 will be delivered on 10.11.2011.
    Now a reminder mail should go to Vendor of that PO before 2 days of delivery date mean on 08.11.2011 and 18.11.2011.
    So to store 2 dates I require internal table.
    Now I am able to trigger reminder mail for 2 dates by using multiline element in miscellaneous tab of activity.
    But as I discussed in previous post that if I add multiline element in Date field of Requested start deadline then it gives error(plz check prev. post to see exact error). So I tried to used internal table(container in workflow) in deadline which is filled from a task in activity, but it is also not working means mail is triggered as soon as worflow is executed.
    So the main problem is deadline is not created based on dates in internal table and other all the things are working perfectly.
    As I am very new to workflow area, I might be going wrong somewhere.
    So please guide how to set deadline for multiple dates(according to my scenario).
    Thanks in advance.
    Regards,
    Mihir

  • Push Data in SAP Tables using Data Services

    Hi
    Lets suppose that I have used Data Services 4.0 to pull data from KNA1 table , and loaded into the MDM where data cleansing , enrichment and deduplication has been done, and then MDM writes to a file.
    How can Data Services then push the cleansed data back into the SAP table ( KNA1) ? [or it cannot be done due to multiple reasons ]
    Rishi

    Hi
    To update an SAP table, import the metadata for the relevant BAPI or IDoc and call it via a query transform.
    M

  • How to store the value in table

    Hi All,
    I ve a requirement where im adding a check box on a seeded supplier_create page via personalization. The seeded page contains only a root AM and a root controller.The table which stores the supplier details does not have a dff.so i have to store a yes or no value and a foreign key ref into a custom table to map both the tables. the rootAM is actually calling the underlying seededVO to create a row in the database.Now how can I insert the yes/no and the foreign key values into my custom table??
    Thanks.

    Isn't there any other column in the table which you can use?
    Anyway you can call a PLSQL API (to create a row in the Custom Table and store the value and also to make a foreign key join therein). This PLSQL can be called from the Controller (extend the standard Controller).
    Now when you come to the Page, either you substitute the standard VO, or easier still (since I assume checkbox is on the Page and not in the table), you can call a PLSQL function and get the value of the checkbox. May be you can also create a dymanic VO and get the value from the Custom table for the current standard table row.
    Please do a compete thinking on the idea above and do let me know where you forsee issues. The above solution focusses more on PLSQL API invocations and thus decreases the need for Substitutions.
    Thanks
    Sumit

  • Commit not allowed in Trigger  then how to store the values in table

    Hi,
    Database trigger not allowed to COMMIT in it (directly) or in procedure which is calling from the Trigger. it gives error.
    so my question is:-
    1)How Database internally store the INSERT AND UPDATE value in table which is written in procedure without COMMIT?
    2) Is it necessary to write COMMIT in procedure using PRAGAMA AUTONOMOUS TRANSACTION to store inserted or updated value in table?
    Thanks in advance.

    Hi,
    A trigger is designed to be a part of a transaction, not it's end.
    It is like following these steps (not really accurate, but should give an idea):
    1. programA issues INSERT statement on tableA
    2. 'control' goes over to the database
    3. constraint checks happen
    4. the associated triggers on tableA do their work (e.g. fetching a sequence value for a primary key)
    5. 'control' goes back to programA
    6. programA decides if a commit (no error occurred) or a rollback (error case) has to be issued.
    Did this help? Probably not, I'm not happy with what I wrote, but anyway... :)

  • How to store three values in a suitable data structure?

    Hi Friends!
    Usually, if we want to store a single value we choose vector/set data structure.
    And for two values we prefer map<int, vector<int>> or multimap<int, vector<int>>.
    If I want to store three values like;
    1=>3=>2  4  5
    1=>5=>7
    2=>3=>10  12
    Then, which data structure is suitable for it?
    And how to insert entry into it?
    Could anyone help me?

    You could try   
         typedef vector<int> INTVEC;
         typedef map<int, INTVEC> INTMAP;
         typedef multimap<int, INTMAP> INTMULT;
    You should convince yourself that the above is equivalent to (but hopefully easier to understand)
         typedef multimap<int, map<int, vector<int>>> INTMULT;
    When you try to store values in an object of this type, remember to build it from the inside out:
         Build an INTVEC with the values you want (such as 2 4 5 per your first example).
         Assign that INVEC to an INTMAP with a suitable key (3 in your example).
         Insert that INTMAP into an INTMULT with its appropriate key (1 per your example).
         Repeat these three steps using 7, 5, 1, respectively.
         Repeat again using 10 12, 3, 2, respectively.
    Alternately, you could define a structure like
         struct INTSTRUCT{
              int key;
              vector<int> vec;};
    and then define your multimap as <int, INSTSTRUC>.   This allows you to assign values to both members of a structure object directly and then insert the structure into the multimap with the appropriate key.
    On the other hand, if you change your concept by removing the second => and always put the "second" int as the first element of the vector, as in
         1 => 3 2 4 5
         1 => 5 7
         2 => 3 10 12
    you could simplify things to a multimap<int, vector<int>> you are already familiar with.
    A slightly different concept change to
         1 => 3 => 2 4 5
                  5 => 7
         2 => 3 => 10
    would allow you to use map<int, map<int, vector<int>>> where element [1] of this object contains a map with two elements and element [2] contains a map with a single element.
    Or you could tell us how you intend to use the data and maybe somebody can suggest a more practical approach.
    Yes, I could understand the way you explained as
     typedef multimap<int, map<int, vector<int>>> INTMULT;
    and I used typedef
    multimap<int, map<int, set<int>>> INTMULT;
    but, when I used it, I get,
    1=>3=>2
    1=>3=>4
    1=>3=>5
    1=>5=>7
    2=>3=>10
    2=>3=>12

  • How to add new field to table control data not displayed

    hi
    I have added some nwe fields to already existing table control added three new fields...
    though the recoreds are inserted in teh table properly with the three new fields user id data and time fields
    but on display only the data is not shown in these three columns though the data is coming in internal table...but not to the screen output
    pls suggest where the problme may be
    nishant

    First try the small button Configuration on top right of the table control, as displayed when you run the program. Hit 'Administrator' and see if the fields are checked as invisible. Uncheck them, activate and save.
    If the fields are not in that list at all, then check if the table control is initialized for the screen you use. For example
    CONTROLS: tc_ent_lines TYPE TABLEVIEW USING SCREEN '0100'.
    but you copied your screen and use the same table control in the new screen 0200. Then all you have to do is
    REFRESH CONTROL 'TC_ENT_LINES' FROM SCREEN '0200'.
    before you show the screen.

Maybe you are looking for

  • YYYY/MM/DDT00:00:00

    I have input parameter with format : YYYY/MM/DDT00:00:00 I would like to convert this into format: DD-MM-YYYY I'm using: <?xdofx:to_char(to_date(substr($P_START_DATE,1,10),'YYYY/MM/DD'),'DD-MM-YYYY')?> It returns as 2007/06/18. Any ideas. Message was

  • 2 pcs, 2 iphones best practice

    Hi - we have been running iTunes on a single PC with the library saved locally and the music files saved on a NAS where they are also accessed by SONOS. We have recently purchased an iphone for my husband (syncing with his iTunes account on a laptop)

  • How do i change my name on my wi=fi?

    how do i change my name on my wi-fi?

  • Accidentally Deleted Webpage - I think!

    Okay, I'm extremely new here (joined 3 minutes ago!) but I'm in desperate need of help. Last year I made a VERY simple web page for my husband's stuttering support group. I'm trying to update it, but can't find any of the data, even tho I can see the

  • How to get DVD's into Final Cut 5

    I have been given raw footage of my son's wedding shot in HD and put on 5 DVD's. It is in standard definition on the DVD. How can I get it into Final Cut 5 to edit? I have always worked from miniDV tapes and am at a loss as to how to make this work.