OSA - reading final appraisal (value text)

Hi,
We are using Objective Setting & Appraisal and I need to display the final appraisal (text) on a form. I'm reading the final appraisal value from HTHAP_FINAL but I'm having problems reading the text. The appraisal ratings and descriptions exist in table T71GS but some of the External value id descriptions are configured differently in the Template catalog (/PHAP_CATALOG_PA):  <b>Template Category > Template > tab Value texts</b>.  In the catalog, the external values are apparently linked to the scale id which is linked to the template. I need to read the descriptions as configured in the catalog. In which table are these descriptions stored and if I need to access it via the scale id where can I find the scale id?
We are using the old Compensation Model, not ECM.
Your help will be much appreciated.
Regards
Liza-Marie

Hi,
I assume you read the value directly from the HRHAP_FINAL table. We don't recommend this, its easier just to use HRHAP_DOCUMENT_GET_DETAIL and read the value you want (it also delivers all the needed texts).
However, if you want to stick with reading directly from the DB you do following. I assume you read the HRHAP_FINAL with the appraisal id and that you want the end result, so on template level (VA)!
Then after you do this you run FM HRHAP_TEMPLATE_OF_DOCUMENT_GET to get the template ID used for the appraisal document.
then use FM HRHAP_C_IT5022_READ to get the column configuration of the template and read the values for the FAPP column (you need the value class and type).
then FM HRHAP_CONVERT_VALUE_DB_TO_CHAR to get the correct text to the value you read from the data base.
But really, try to use HRHAP_DOCUMENT_GET_DETAIL instead, less programming and it does the same.
Regards and Groetjes,
Maurice

Similar Messages

  • BADI not working with FAPP - Final Appraisal column

    I am trying to add a custom BADI to FAPP - Final Appraisal column. But I am getting an error saying 'Value Determination XXX not permitted for column FAPP'. I have copied the standard BADI AVERAGE and trying to incorporate that. Any ideas?

    Hi FS,
    Please check the following SDN thread, there is a similar solution:
    OSA - Value Determination in appraisal template Level
    Regards,
    Dilek

  • Read data from a text file, one line at a time.

    I need to read data from a text file, and display each line in a String Indicator on Front Panel. It displays each line, but I get Error 4, End Of Line, unless I enter an extra line of data in the file that I don't need. I tried Read From Text File.vi, made by Nat Instr, and it gave the same error.

    The Read from Text File.vi reads data from a text file line by line until the user stops the VI manually with the Stop button on the front panel, or until an error (such as "Error 4, End of file") occurs. If an error occurs, the Simple Error Handler.vi pops up a dialog that tells you which error occurred.
    The Read from Text File.vi uses a while loop, but if you knew how many lines you wanted to read, you could replace the while loop with a for loop set to read that many lines from the file.
    If you need something more dynamic because the number of lines in your files vary, then you could change the code of the Read from Text File.vi to the expect "Error 4, End of file" and handle it appropriately. This would require unbundling the error cluster that comes fro
    m the Read File function with the Unbundle By Name function, so that you can expose the individual error "status" and error "code" values stored in the cluster. If the value of the error "code" is 4, then you can change the error "status" from true to false, and you can rebundle the cluster with the Bundle by Name function. Setting the error "status" to false instructs the Simple Error Handler to ignore the error. Otherwise, pass the original error cluster to the Simple Error Handler.vi, so that you can see what the error is.
    Of course, if you're not interested in what the errors are, you could just remove the Simple Error Handler.vi, but then you wouldn't see any error messages.
    Best of Luck,
    Dieter
    Dieter Schweiss
    Applications Engineer
    National Instruments

  • Unable to read the total value.

    Hi guys,
    I am able to get the total for alv table column.. but i want to display the total value  in some other text view field.
    In order to do that... first i have to read the total value, and have to set the same to text view field,
    total value is of type   ( DATA: LV_AGGR_RULE TYPE REF TO CL_SALV_WD_AGGR_RULE. )
    but my text view field attribute is of STRING TYPE.
    So am getting conversion error. Pleas help me in this.
    Regards
    Farooq
    Edited by: farooq basha on Jun 13, 2011 12:52 PM

    Hi ,
    Try to loop your internal table on the column "Amount" and make a sum for that particular column, u will get the required sum Amount..
    Thanks
    Aisurya

  • How to get/read region item value in java script

    Hi All,
    i have text item on a page.
    how to read the item value in java script
    EXAMPLE
    P10_RESULT IS ITEM IT HAS VALUE "38.956472,-77.447777","38.999123,-77.026184","12.951497,70.668646","17.459075,78.456888"
    NOW I WANT TO REFER ABOVE ITEM VALUE IN JAVA SCRIPT LIKE
    var myPoints=new Array(&P10_RESULT.);
    SO I CAN POPULATE ARRAY WITH CORDINATES
    IT IS NOT WORKING
    WHAT IS THAT I AM MISSING.
    PLESE HELP .
    ThankS
    Rk

    region header code....
    <script src="http://maps.google.com/maps?file=api&v=2&key=&API_KEY." type="text/javascript"></script>
    <script type="text/javascript">
    //<![CDATA[
    //globals
    var bounds = new GLatLngBounds();
    var map;
    var centerPoint = new GLatLng(38.984898,-76.854549);
    var gmarkers = [];
    //var x= ""38.956472,-77.447777","38.999123,-//77.026184","12.951497,70.668646","17.459075,78.456888"";
    //var myPoints=new Array(x);
    //var myPoints=new Array($x('P10_RESULT').value);
    var myPoints=new Array(document.getElementById('P10_RESULT').value);
    //var myPoints=new Array("38.956472,-77.447777","38.999123,-77.026184","12.951497,70.668646","17.459075,78.456888");
    function initMap()
              doLoad();
                        addMarkers();
    function doLoad()
         if (GBrowserIsCompatible())
                   map = new GMap2(document.getElementById("map"));
                   map.setCenter(centerPoint, 7);
                   map.addControl(new GScaleControl());
                   map.addControl(new GLargeMapControl());
                   map.addControl(new GMapTypeControl());
    function myclick(i) {
    GEvent.trigger(gmarkers, "click");
    function addMarkers() {
         if (myPoints.length) {
              var bounds = new GLatLngBounds();
              for (n=0 ; n < myPoints.length ; n++ ) {
                   var mData = myPoints[n].split(',');
                   var point = new GLatLng(mData[0],mData[1]);
                   bounds.extend(point);
                   var marker = createMarker(mData[1],point, mData[0]);
         map.addOverlay(marker);
              map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds));
    function createMarker(i,point, title) {
         var marker = new GMarker(point,{title:title});
         GEvent.addListener(marker, "click", function() {
              marker.openInfoWindowHtml('<div style="width:250px;">' + title + '<hr>Lat: ' + point.y + '<br>Lon: ' + point.x + '</div>');
         gmarkers[i] = marker;
         return marker;
    //]]>
    </script>
    page body code
    onload="initMap()" onunload="GUnload()"

  • How to get Final Transform value for a 3DLayer after Camera is applied?

    Hi,
    I need to export final transform values (position, rotation, scale, etc) from a Layer. I used ProjDumper example to extract the values. But I'm having trouble if the Layer is a 3D Layer and there is a Camera, because the Camera will affect the 3D Layer and hence transform it.
    For example, the initial position of a Layer is in the centre of the screen (let say position 100,100). But after I adds a Camera and change the Camera properties, the Layer is seen on the top left on the screen (0,0).
    So given a Layer and a Camera, how can I get the final transform values of the Layer? In other words, how can I transform from Composition coordinate to Camera coordinate?
    Thanks,
    Klarinda

    Hi Brooce,
    Given the Footage-type 3D Layer A & time T, I've tried the following combinations:
    AEGP_GetLayerToWorldXformFromView(A, T, T, transformMatrix)
    AEGP_GetLayerToWorldXformFromView(A, 0, T, transformMatrix)
    AEGP_GetLayerToWorldXformFromView(A, T, 0, transformMatrix)
    but they are all giving the same value as
    AEGP_GetLayerToWorldXform(A, T, transformMatrix).
    I've tried to change the Camera properties (focal length, zoom, etc) but AEGP_GetLayerToWorldXformFromView always gives the same value regardless of the Camera properties.
    I also tried to put in the Camera Layer instead of footage-type Layer to the function, but the result of AEGP_GetLayerToWorldXformFromView is always the same as GetLayerToWorldXform, and the Camera properties doesn't affect the AEGP_GetLayerToWorldXformFromView function.
    So my question is, why the AEGP_GetLayerToWorldXformFromView is not affected by Camera and why does it always give same result as AEGP_GetLayerToWorldXform?
    Thanks.

  • Reading the output values after each step executes in LabVIEW User Interface

    Hello all,
    Development environment: TestStand 2010 SP1 and LabVIEW 2010 SP1
    Problem: is there a way to execute the subsequent steps programatically and get the output values from each of them?
    I have already extended a little bit a Full OI interface for TestStand to load up any sequence, choose some of the steps and run them step by step (something like option to Run Selected steps). What I am trying to do is to add some actions between each step and do that in User Interface (I can't modify the sequence!), so I am starting the NewExecution with some previously configured InteractiveArgsParam and set an option breakAtFirstStep to True. Afterwards I am just doing something like Step Over when debugging the sequence and this works good, but I didn't fine a way yet to read the output values from the steps...
    Then, if I wait until the execution finishes I can read my Results by processing the ResultObject, but this works only after finalizing of the test sequence. Since I wanted to stop after each step, read the values, do some actions and continue to the next step I tried to register an event callback for Trace of Execution View Manager. I can see that after each executed step this event is triggered, but when I try to read a ResultObject returned in Event Data it is not filled with values (ResultList seems to be empty?). Is it a proper behaviour or maybe I am doing the readout in wrong way? (It is the same VI as for reading ResultObjects after sequence finishes and there it works fine for arrays, containers and other data types).
    Like I mentioned I can't modify the Test sequences, I can't add a UImessages.
    What are my options? Should the trace event returns all output values from each steps or is it just used for status checking? Or maybe there is completely different approach to that matter?
    Thanks in advance for any suggestions,
    Best Regards.
    CLA, CTD, CLED @ Test & Measurements Solutions Poland
    Solved!
    Go to Solution.

    Thanks for your replay, I have tried to build it in my LabView Block Diagramm, es seems like this image.
    But the variable GetNumSubProperties ist always 0. Why?
    PS: I need only the variable "Step.Result.PassFail" from the last step, do you know, how can I get it? I think, it is maybe easier than read all the "Result".
    Attachments:
    ReadStepResultInLabview.JPG ‏39 KB

  • Read "Do-Sum" Value

    I want to read field-catlog "do-sum" value i.e final grandtotal which diaplay in ALV output . How to read "do-sum" value ?

    Hi,
    You have to use "get_subtotals" method to get the Totals and subtotals in your ALV THis set of code you will be writing in your "TOP-OF-PAGE" event, Please refer the sample code to do that.
    DATA: lo_grid TYPE REF TO cl_gui_alv_grid.
    * get the global reference
      CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
        IMPORTING
          e_grid = lo_grid.
    * get the subtotal
      DATA: it_00 TYPE REF TO data,
      it_01 TYPE REF TO data,
      it_02 TYPE REF TO data,it_03 TYPE REF TO data,it_04 TYPE REF TO data.
      CALL METHOD lo_grid->get_subtotals
        IMPORTING
          ep_collect00 = it_00
          ep_collect01 = it_01
          ep_collect02 = it_02
          ep_collect03 = it_03
          ep_collect04 = it_04.
    FIELD-SYMBOLS: <ft_tab> TYPE ANY TABLE,<ft_tab1> TYPE ANY, <ft_tab2> TYPE ANY TABLE,<ft_tab3> TYPE ANY,
    <ft_tab4> TYPE ANY TABLE.
    ASSIGN it_00->*    TO <ft_tab>.
      ASSIGN it_01->*    TO <ft_tab1>.
      ASSIGN it_02->*    TO <ft_tab2>.
      ASSIGN it_03->*    TO <ft_tab3>.
      ASSIGN it_04->*    TO <ft_tab4>.
    Now Your Final Total is in Fieldcatalog <FT_TAB>, and your respective subtotals are in other fieldcatalog.
    Thanks
    Saurabh
    Edited by: Saurabh  Siwach on Feb 8, 2010 8:35 AM
    Edited by: Saurabh  Siwach on Feb 8, 2010 8:39 AM

  • Importing Value/Text into drop down menu Binding tab

    I did this before and I can't for the life of me remember how I did it. I need to be able to replace the text in the Value and Text areas (as shown below) with updated text. I don't think I did it using Data binding. Seems like I was able to use either an .xml or .csv file and copy and paste it and I got the result I needed.
    I am splitting the Value among multiple fields. I know this was not entered manually as there are about 5000 entries. Any help would be greatly appreciated!
    Thanks, Gary

    If the Clip board has copied one column(ex: excel sheet) it will copy all the rows as values "Text" of the drop down ONLY.
    If the Clip board has copied 2 columns the first column goes in to "Text" and the second column goes into"Value". By default the it will be checked the "Specify item values" check box too.
    All you need here is:
    1.format text and values in to 2 separate columns to populate the dropdown. (can use excel features to generate the spreadsheet. This step output should be in 2 columns only to go in to text and values of DD).
    2. place a dropdown field (no properties changes required on any TAB(ex: binding))
    3. copy the 2 columns from the spreadsheet and paste it using the "paste from clipboard" under "Field" tab
    4. now check the binding tab, should be there both values and text for all the entries provided by spread sheet.
    Hope this helps, If i understand incorrectly please ignore this.

  • What value/text to be entered in the trusted point- certification chain space

    What value/text to be entered in the trusted point- certification chain space

    Yes the certificate is signed by the root CA.
    I have two certificates in the certificate chain which was downloaded from the CA.
    I have pasted both the certificate in the trusted point and the certificate sections and unable to access UCSM ...invalid certificate error.
    The value entered in trusted point and certitificate tabs are same?

  • I want to read and assign value of ADF Table rows  with Java Script

    Hi,
    I want to read and assign value of ADF Table rows with Java Script, but I cant true index of current row , so I assign wrong value to anathor column of ADF Table.
    My Code;
    ADF Table items
    <af:column sortProperty="Adet" sortable="false"
    headerText="#{bindings.RezervasyonWithParams1voHarcamaOdeme1.labels.Adet}"
    binding="#{backing_ucret.column2}" id="column2">
    <af:inputText value="#{row.Adet}"
    required="#{bindings.RezervasyonWithParams1voHarcamaOdeme1.attrDefs.Adet.mandatory}"
    columns="10"
    binding="#{backing_ucret.inputText2}"
    id="inputText2" onchange="getTutar('#{bindings.voHarcamaOdeme1Iterator.rangeStart + bindings.voHarcamaOdeme1Iterator.currentRowIndexInRange + 1}','#{bindings.voHarcamaOdeme1Iterator.estimatedRowCount}','#{row.index}')">
    <f:convertNumber groupingUsed="false"
    pattern="#{bindings.RezervasyonWithParams1voHarcamaOdeme1.formats.Adet}"/>
    </af:inputText>
    </af:column>
    MY JAVA SCRIPT CODE
    <f:verbatim>
    <script language="javascript" type="text/javascript">
    function getTutar(rowkey,totalrow,currentRow){
    alert('rowkey--totalRow--currentRow-->'+rowkey+'--'+totalrow+'--'+currentRow);
    if (currentRow==0) {
    rowkey=totalrow-1;
    }else{
    var rw=totalrow-currentRow-1;
    rowkey=rw;
    alert(document.getElementById('form1:table1:'+rowkey+':inputText8').value);
    alert(document.getElementById('form1:table1:'+currentRow+':inputText8').value);
    var birim_ucret=document.getElementById('form1:table1:'+rowkey+':inputText8').value;
    var adet=document.getElementById('form1:table1:'+rowkey+':inputText2').value;
    document.getElementById('form1:table1:'+rowkey+':inputText3').value=birim_ucret*adet;
    document.getElementById('form1:inputText6').value=0;
    var t;
    var toplam=0;
    alert('before Sum');
    for (var i=0;i!=totalrow-1;i++){
    t = document.getElementById('form1:table1:'+i+':inputText3');
    toplam+=t.value*1;
    document.getElementById('form1:inputText6').value=toplam;
    </script>
    </f:verbatim>

    You can achieve the use case you describe with partial page rendering (PPR), a feature of the ADF Faces framework. Here are a few posts that achieve an interactive behavior using PPR. Off the top of my head I do not know of an exact example, but this should be a good starting point:
    http://thepeninsulasedge.com/blog/2006/09/12/adf-faces-aftableselectmany/
    http://thepeninsulasedge.com/blog/2006/08/31/adf-faces-working-with-aftableselectone-and-the-dialog-framework/
    --RiC                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Read justification info from text layer.

    How to read  justification info from text layer?
    myLayer.property("Source Text").value.justification;
    return
    6612 - Left, 6613 - Right, 6614 - Center  in CS6
    6814 - Right, 6813 - Left, 6815 - Center  in CC
    it is right for any computer and operating system?

    I would try to steer clear of using the numbers, only because they have changed in each version of After Effects and probably will continue to. You should compare the justification value against the ParagraphJustification options. Pg. 185 in the CS6 scripting guide has the list of choices:
    TextDocument justification attribute
    textDocument.justification Description
    The paragraph justification for the text layer.
    Type
    A ParagraphJustification enumerated value; read-only. One of:
    ParagraphJustification.LEFT_JUSTIFY
    ParagraphJustification.RIGHT_JUSTIFY
    ParagraphJustification.CENTER_JUSTIFY
    ParagraphJustification.FULL_JUSTIFY_LASTLINE_LEFT
    ParagraphJustification.FULL_JUSTIFY_LASTLINE_RIGHT
    ParagraphJustification.FULL_JUSTIFY_LASTLINE_CENTER
    ParagraphJustification.FULL_JUSTIFY_LASTLINE_FULL
    Here is a simple test function that will alert the justification value when it's matched. You can change the alerts to return whatever code you want based on the justifaction value found.
    /*     SAMPLE FUNCTION THAT CHECKS FOR JUSTIFICATION VALUE     */
    var myLayer = app.project.item(1).layer(1);
    textJustVal(myLayer);
    function textJustVal(myLayer){
              var val = myLayer.property("ADBE Text Properties").property("ADBE Text Document").value.justification;
              if(val == ParagraphJustification.LEFT_JUSTIFY){
                        alert("Left");
              }else if(val == ParagraphJustification.RIGHT_JUSTIFY){
                        alert("Right");
              }else if(val == ParagraphJustification.CENTER_JUSTIFY){
                        alert("Justified");
              }else if(val == ParagraphJustification.FULL_JUSTIFY_LASTLINE_LEFT){
                        alert("Lastline Left");
              }else if(val == ParagraphJustification.FULL_JUSTIFY_LASTLINE_RIGHT){
                        alert("Lastline Right");
              }else if(val == ParagraphJustification.FULL_JUSTIFY_LASTLINE_CENTER){
                        alert("Lastline Center");
              }else if(val == ParagraphJustification.FULL_JUSTIFY_LASTLINE_FULL){
                        alert("Lastline Full");
              }else{
                        alert("There must be an error.");

  • GetFieldValue() to read a DateTime value

    How can I use the function GetFieldValue() to read a DateTime value in a table field and then convert it to a string ?
    Mario

    If You have access to query texts
    write "to_char(someday, 'dd/mm/rrrr')" instead of writing "someday"
    If You don't - contact Your DBA or database developer to rewrite sqls
    then use
    oresult GetFieldValue(int index, char *buffer, unsigned short maxlen) const                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Java API to read the Encrypted Values from Windows Registry settings

    Is there any Java API to read the Encrypted Values from Windows Registry settings ?
    My Java Application invokes a 3rd party Tool that writes the key/value to windows registry settings under : “HKLM\Software\<3rdparty>\dataValue”.
    This entry is in BINARY and encrypted with 3DES, using crypto API from Microsoft.
    3rd party software to encrypt the data stored in registry it
    either uses C++ code: and uses the call “CryptProtectData” and “CryptUnProtectData” or
    If it is a .NET (C#) it uses the call “Protect” or “UnProtect” from class “ProtectData” of WinCrypt.h from the library “Crypt32.lib.
    Note: The data is encrypted using auto-generated machinekey and there is no public key shared to decrypt the Encrypted data.
    Since the data is encrypted using auto-generated machinekey the same can be decrypted from a .Net / C++ application using CryptUnprotectData or UnProtect() API of WinCrypt.h from the library “Crypt32.lib.
    To know more about Auto-Generated MachineKey in Windows refer the links below
    http://aspnetresources.com/tools/machineKey
    http://msdn.microsoft.com/en-us/library/ms998288.aspx
    I need to find a way in Java to find the equivalent API to decrypt (CryptUnprotectData) and Microsoft will automatically use the correct key.
    But i couldn't find any informato related to Java APIs to enrypt or decrypt data using auto-generated machinekey.
    Is there a way to read the encrypted data from Windows regsitry settings that is encrypted using the Auto-Generated Machine Key ?
    Kindly let me know if Java provides any such API or mechanism for this.

    If the symmetric key is "auto-generated" and is not being stored anywhere on the machine, it implies that the key is being regenerated based on known values on the machine. This is the same principle in generating 3DES keys using PBE (password-based-encryption). I would review the documentation on the C# side, figure out the algorithm or "seed" values being used by the algorithm, and then attempt to use the JCE to derive the 3DES key using PBE; you will need to provide the known values as parameters to the PBE key-generation function in JCE. Once derived, it can be used to decrypt the ciphertext from the Regiistry in exactly the same way as the CAPI/CNG framework.
    An alternate way for Java to use this key, is to write a JNI library that will call the native Windows code to do the decryption; then the Java program does not need to know details about the key.
    That said, there is a risk that if your code can derive the key based on known seeds, then so can an attacker. I don't know what your applicatiion is doing, but if this is anything related to compliance for some data-security regulation like PCI-DSS, then you will fail the audit (for being unable to prove you have adequate controls on the symmetric key) if a knowledgable QSA probes this design.
    Arshad Noor
    StrongAuth, Inc.

  • How to store data into database by reading sql statements from text file

    how to write java program for storing data into database by reading sql statements from text file

    Step 1: Create a property file to add various queries.
    Step 2: Read the properties file using ResourceBundle
    Step 3: Use the jdbc to execute the query read from the property file.
    So in future if you need to change query no need do any modifications in java program. But depends on how you use the property file.

Maybe you are looking for

  • Button on page opens new window, session times out in old window

    Hi, I've created a custom page and added a button through personalizations in Oracle that opens the new custom page in a new window. When this happens, though, the original window throws the following error when a user attempts to use any functionali

  • Can't email via "Mail" anymore - don't know why (iPhoto2.0.1

    I've used the email feature on iPhoto 2.0.1 before.....and it opened up Apple Mail program etc. For some werid reason.....that email icon is now and AOL icon. I go to Preferences in iPhoto and try to choose my default emial program and AOL is chosen

  • How to break Circular References.

    I have on GUI class containing many components like Button, Combo Box, TextArea etc. And I have an other class ActionHandler which implements ActionListener,ItemListener and keyListener. GUI class has reference of ActionHandler class for handling eve

  • I cannot "drop table"

    Hi, I've table BP: CREATE TABLE BP ( BV_ID VARCHAR2 (32) DEFAULT NULL NOT NULL, BP_ID VARCHAR2 (32) DEFAULT NULL NOT NULL, CONSTRAINT BP_PK PRIMARY KEY ( BV_ID, BP_ID ) BP has more 100 records: Now I'd like to drop table BP: drop table BP; ORA-02449:

  • Subscribing to another address book - loads of "no name" entries

    When I subscribe to someone else's Address Book, I see dozens of "No Name" entries listed in there before the regular entries. Any ideas what's going wrong?