How to read value from Key flexfield added on to the newly created SIT

Hi Experts,
I have a requirrment to display a new structure in the Special Information Types (SIT) screen in SSHR. The data entered into the segment needs to be validated using PL/SQL function.
I have performed below steps to display the structure/field on SIT Page
1. Created new flexfield structure as XX_LEAVE_ENCASHMENT under the "HUMAN RESOURCE" Application (Application id- 800) and flexfield TITLE "Personal Analysis Flexfield" (PEA).
2. Added a new segment "Encash Days" for the newly created flexfiled structure "XX_LEAVE_ENCASHMENT".
3. Added this new structure in the Special Information Types form in HRMS responsibility
4. The structure is enabled on the SIT screen.
Now I want to validate the data entered in Encash Days field in this page by calling a PL/SQL function. This can be done by extending the SIT page Controller.
But how should the ID of the newly enabled segment (in the new Flexfield strucuture) be retrieved in the controller inorder to read the user-entered value (to further call the validation program)? Or is there any other way of achieving this functionality in OAF?
Please help.
Thanks.

Hi,
Yes, u can get the value from the SIT and perform the relevant validation too.
Refer http://apps2fusion.com/at/43-ss/453-oaf-extension-case-study
Regards,
Gyan

Similar Messages

  • How to read values from DMM4040

    Hi,
       I am using DMM4040, NI PXI 6509 device.
    I need to make some port pins high which i have already done and now i have to read value captured by DMM then i have to make my port pins low if my value is within limits.
    Can u suggest me how to read values from DMM and then by notification i ll make my port pins low.
    '' A professional is someone who can do his best work when he doesn't feel like it''...........

    What language are you using?  If using LabVIEW, you use the NI-DMM API to communicate with the 4040.  Just take your reading, do your limit comparison, and set your lines based on the comparison results.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to read values from the following XML?

    I have been using "extractValue" to get the values from a xmltype field and no problems until now.
    The xmltype now is like:
    <a>1</a>
    <b>2</b>
    <c>1221</c>
    <c>1412</c>
    <d>11111</d>
    <e>3333</e>
    I'm able to read values from 'a,b,d,e' but not from 'c'.
    Questions:
    1)- Is posible to read the values of field c?. How?
    2)- If is not posible to read the field values, Is posible to transfor the xmlfield to:
    Where I will be able to use xmltable columns and loop getting the values.
    <a>1</a>
    <b>2</b>
    <k>
    <c>1221</c>
    <c>1412</c>
    </k>
    <d>11111</d>
    <e>3333</e>
    Like always
    Thank you in advance for your help.
    Jose Galan

    SQL> with XML as
      2  (
      3   select xmltype(
      4  '<root>
      5    <a>1</a>
      6    <b>2</b>
      7    <c>1221</c>
      8    <c>1412</c>
      9    <d>11111</d>
    10    <e>3333</e>
    11  </root>'
    12  ) XMLDOC
    13    from dual
    14  )
    15  select a, b,c, d, e
    16    from XML,
    17         XMLTABLE
    18         (
    19            '/root'
    20            passing XMLDOC
    21            columns
    22            A number(5) path 'a',
    23            B number(5) path 'b',
    24            D number(5) path 'd',
    25            E number(5) path 'e',
    26            C_XML_FRAG xmltype path 'c'
    27         ),
    28         XMLTABLE
    29         (
    30           '/c'
    31           passing C_XML_FRAG
    32           columns
    33           C number(5) path '.'
    34         )
    35  /
             A          B          C          D          E
             1          2       1221      11111       3333
             1          2       1412      11111       3333
    SQL>

  • How to read value from gride

    dear all
    can you tell me how to read the value from the gride view coloum...
    when i double click on the RowsHeader then i need to pick the value for 2 coloum.
    thanks in advance...

    Hi Kishor,
    Try This......
    If pVal.FormUID = "test3" And pVal.ItemUID = "grid" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_DOUBLE_CLICK And pVal.BeforeAction = False Then
                oform = sbo_application.Forms.Item("test3")
                ogrid = oform.Items.Item("grid").Specific
                For i As Integer = 0 To ogrid.Rows.Count - 1
                    If ogrid.Rows.IsSelected(i) = True Then
                        MessageBox.Show(ogrid.DataTable.Columns.Item(0).Cells.Item(pVal.Row).Value)
                        MessageBox.Show(ogrid.DataTable.Columns.Item(1).Cells.Item(pVal.Row).Value)
                    End If
                Next
            End If
    Thanks
    Shafi

  • How to read value from /401 in my pcr

    HI
    i have to write a PCR using /401 wage type (which stores projected no of months)
    i am trying to write as below.
    RTE=&  /401.
    but i am not able to fetch the value from /401 though in input table i can see the value under Rate as 11.
    please help me in fetching the value form /401.
    thx
    j

    hI SIKINDAR,
    I am trying to take the value stored in rate of /401 and multyply with constant and store amount field of  /3C5.but i am not able to get value from /401
       RTE=& /401 SET
       NUM=KCARPK Set
       MULTI RNA  Multipl.amt/no/rate
       ADDWT /3C5 OT   Output table
    thx
    arun

  • How to import photos from Mail to iPhoto and preserve the date created?

    I have several photos sent to me via email attachments in Mail which I want to "add to iphoto."  When I do this, the original date of the photo changes to "today's date." 
    When I drag the photo to the desk top, the file (photo) properties change and the date changes to "today's date."
    Is there a way to import photos and preserve the original date the photo was taken?  For example,  if my family finally got around to sending me photos from 4th of July, I know the date is 7/4/2012, not today's date, 10/9/2012. 
    I want to avoid the time/work of doing batch changes on countless photos I want to add to iphoto. 
    iphoto 11
    mail 5.3
    Lion 10.7.5

    Larry, I need more information...
    Using what you said, I ran some tests using photos taken with my digital camera in iPhoto.  My photos show the following information in the "information" sidebar:
    •type of camera
    •Flash on
    •Format size
    •File size (MB)
    •File type (jpeg)
    •Frame "number"
    •Month/day/year/hour/min/sec/AM-PM
    Then I tried to email a photo to myself:  I have tried:  "share," "attach," "drag/drop" a photo into email and sent it to myself as a test.  Once the photo arrives in my Mail inbox, I have tried various ways to add this "test" photo into iPhoto:
    "Add to iphoto"
    "drag into iphoto"
    "export into iphoto"
    Each time, iphoto created the photo with "today's date."  In the past, I would get an alert:  Photo already exists in iphoto, do you still want to import?  Duplicate or Cancel
    Can you elaborate on, "if the photo properties are present and correctly formatted then iPhoto uses them."
    When I drag a photo to the desktop and double-click to preview the photo, the top of the preview window says:
    P1009.jpg -- locked (gray lettering of the word "locked")
    Is there a setting I need to change to "unlock" the properties of my photos?*
    Thanks!!
    MG
    *My original post focuses on importing photos sent from other people.  I am hoping if I can solve the matter with my own photos, other photos will import with original dates created, too.

  • How to read value from select list

    Hi,
    i'm using jdev 10.1.3.1.0, adf, jsp and struts.
    i've made a simple viewobject 'bestyrer' (danish for department) and it contains a list of all available department in my organization.
    it appears in my jsp page as a dropdown list and when the user chose a specific department all employees in that department are shown as a master detail relationship.
    It works and its standard drag'n'drop in JDev.
    I need to know which department the user have chosen because the information i show to the user depends on it.
    my view look like this:
    SELECT KBestyrer.BESTYRER,
    KBestyrer.NAVN
    FROM K_BESTYRER KBestyrer
    bestyrer is a number and navn is the name of the department.
    the code generated in my jsp based on drag and drop is:
    <html:select property="KBestyrerView"
    disabled="${!bindings[\'KBestyrerView\'].updateable}"
    onchange="DataForm.submit();">
    <html:optionsCollection label="prompt" value="index"
    property="KBestyrerView.displayData" />
    </html:select>
    and the corresponding HTML generated is:
    <select name="KBestyrerView" onchange="DataForm.submit();"><option value="0" selected="selected">0 Vejdirektoratet</option>
    <option value="1">101 København</option>
    <option value="2">147 Frederiksberg</option>
    <option value="3">151 Ballerup</option>
    <option value="4">153 Brøndby</option>
    <option value="5">155 Dragør</option>
    <option value="6">157 Gentofte</option>
    <option value="7">159 Gladsaxe</option>
    <option value="8">161 Glostrup</option>
    <option value="9">163 Herlev</option>
    <option value="10">165 Albertslund</option>
    <option value="104">999 Andet</option></select>
    First of all i don't want the indexed values as values of my individual options but the real values as seen in fron of the name. i.e. 101 147 151 and so on.
    how do i obtain this and how do i read the value the user have chosen?
    hope to receive some help.
    thanks
    br
    kim gabrielsen

    Ok,
    thanks for the pointer. it clearifies a bit but i cannot make it work.
    I've created a second binding as described in the dokument which gives me another binding in the pagedef file:
    <attributeValues IterBinding="KBestyrerViewIterator" id="Bestyrer">
    <AttrNames>
    <Item Value="Bestyrer"/>
    </AttrNames>
    </attributeValues>
    i guess i should be able to reference this binding using 'Bestyrer' as the id.
    in my JSP page i insert the following:
    <html:select property="KBestyrerView"
    disabled="${!bindings[\'KBestyrerView\'].updateable}"
    onchange="inspect(this.form)" >
    <html:optionsCollection label="prompt" value="#{bindings.Bestyrer.getInputValue()}"
    property="KBestyrerView.displayData" />
    </html:select>
    but it fails with an error:
    org.apache.commons.beanutils.NestedNullException: Null property value for '#{bindings'     at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:669)     at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715)     at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290)
    I've tried #{bindings.Bestyrer} and #{bindings.Bestyrer.inputValue()}
    but they fail too.
    so there is clearly something i don't understand regarding this binding stuff.
    Assuming i get this to work how do i actually accesss the value chosen by the user?
    as far as i recall in plain HTML i gave the select list a name like:
    name=MyList
    and called a javascript function like this:
    onchange="inspect(this.form)"
    in my JS function i could access the value like this:
    function inspect(form){
    alert(form.MyList.options[form.MyList.selectedIndex].text)
    but when i name the select list i receive an error:
    javax.servlet.jsp.JspException: Cannot find bean under name MyList     at org.apache.struts.taglib.html.SelectTag.calculateMatchValues(SelectTag.java:301)     at org.apache.struts.taglib.html.SelectTag.doStartTag(SelectTag.java:244)     at brugeroversigt.jspService(_brugeroversigt.java:75)     [brugeroversigt.jsp]
    I'm a bit confused here so any input would be appreciated.
    br
    kim gabrielsen

  • HCM Flexible appraisal template how to read value from a dropdown selection

    We are on EHP5 based HCM system.
    We are trying to read a drop down value populated in appraisal document. This drop down value is coming from a scale type. Now when i check webdynro application HAP_DOCUMENT_BODY , method BUILD_DOCUMENT_BODY seems to be building the UI and populating all the values. Now I am trying to put a break point  and capture instance of this drop down and then based on selected value of the drop down wanted to populate another field attached to same column. Well that will be number two but yeah first thing first, need to find how i can capture drop down instance.
    Thanks for your time.
    Rgds,

    got a body hrhap00_value_det which can do the trick..but i am still trying to figure out how to pin point my element and then process the logic.

  • How to read values from Property file into BPEL process local variable?

    I would like to use a Property file with some parameters e.g.
    <myparm1>12345</myparm1>
    How can I read from a BPEL process such a Property file and assign it into e.g. local variable "intparm1"?
    Where (in which directory) should I put this XML Property file to have it always available for reading?
    Peter

    Hi,
    You can also use
    ora:readFile( ) function as follow :
    ora:readFile(xml file location (ex. "file:///D:\\SOA\\FileAdapters\\readFile\\test\\test.xml"),xsd file location (ex."file:///D:\\SOA\\FileAdapters\\readFile\\test\\test.xsd"))
    inside the assign activity and assign this to the variable you want.
    regards
    arababah
    Edited by: arababah on Aug 10, 2009 12:55 AM

  • How to read values from Property XMLfile into BPEL process local variable?

    I would like to use a Property file with some parameters e.g.
    <myparm1>
    12345
    </myparm1>
    How can I read from a BPEL process such a Property XML text file and assign it into e.g. local variable "intparm1"?
    Where (in which directory) should I put this XML Property file to have it always available for reading?
    Peter

    Hi,
    You can also use
    ora:readFile( ) function as follow :
    ora:readFile(xml file location (ex. "file:///D:\\SOA\\FileAdapters\\readFile\\test\\test.xml"),xsd file location (ex."file:///D:\\SOA\\FileAdapters\\readFile\\test\\test.xsd"))
    inside the assign activity and assign this to the variable you want.
    regards
    arababah
    Edited by: arababah on Aug 10, 2009 12:55 AM

  • How to pass value from new pop up window to the input field

    Hi,
    i have a F4 help on a input type field and adjacent to that two more input fields, on clicking the help on the first input field a new pop up window opens, the value in this pop up window is to be selected to give the value in that field and the other two values should be appeared in the input type. suppose the pop up window has three fields "15   LIMA  PLANT   45802 ", so on clicking it in input field only 15 should go to the firstinput fields and "LIMA PLANT" and "45802" should go to new window
    do anyone know this?

    avoid duplicate threads
    F4 help in dropdownlistbox and values in input fields
    if you feel that the thread heading or content is not what you wanted, you can edit it and leave a note in the same thread that you have edited it.
    Raja

  • How to read value(entities) from disabled people editor control ?

    I am not able to read value from disabled people editor control. It is giving me count as zero. 
    As a workaround 
    I used :
    PeoplePicker.ShowButtons = false;
    PeoplePicker.AllowTypeIn = false;
    instead of
    PeoplePicker.Enabled=false :
    It stopped user from entering values in people editor but it is not controlling "BackSpace" i.e user can delete existing entities from people editor.
    NOTE : I have to achieve it through server side code or javascript only without using JQuery

    Hi,
    According to your post, my understanding is that you want to read value(entities) from disabled people editor control.
    Every time fill resolve is called
    FillClaimsForEntity is also called, you can use server side codeto get the value.
    Here is a similar thread for your reference:
    http://blog.krichie.com/2012/03/14/peopleeditor-resolvedentities-always-zero-when-control-is-disabled/
    In addition,  as a workaround, you can read the People Picker control value and added the value in a span and appended the span HTML into the ParentNode container for People Picker control, and hid the People Picker textbox, picker
    image and address book image.
    The article below use the JQuery to achieve it, you can also use JavaScript. Please refer to:
    http://www.c-sharpcorner.com/UploadFile/Ravish001/disable-people-picker-in-list-form-editform-aspx-using-jqu/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to move value from one tlist to another tlist in same form?

    how to move value from one tlist to another tlist in same form on button press?
    Same like in data block wizard when we select value from 1st list it will go to 2nd list and can be move back. Please help i am new to forms .
    Regards

    just call the following proc in your add & add all buttons. Reverse the code for REMOVEs
    this proc will move one item at a time from list_item1 to list_item2.
    PROCEDURE add_an_item
    IS
      v_list_count    NUMBER;
      v_item1_label  VARCHAR2(60);
    BEGIN
      IF :list_item1 IS NOT NULL THEN v_list_count := nvl(Get_List_Element_Count('list_item1'),0);
          IF v_list_count >= 1 THEN FOR i IN 1..v_list_count
          LOOP
             IF   :list_item1    = Get_List_Element_Value('list_item1', i)
             THEN
                  v_item1_label := Get_List_Element_label('list_item1', i);                 
                  Add_List_Element('list_item2',1,v_item_label,:list_item1);         
               Delete_List_Element('list_item1',i);
               Exit;
             END IF;
          END LOOP;
           END IF;
       END IF;
    END;
    *********************************************************************************this proc will move all items from list_item1 to list_item2.
    PROCEDURE add_all_items
    IS
      v_list_count NUMBER;
      v_item_label VARCHAR2(60);
      v_item_value VARCHAR2(60);
    BEGIN
    v_list_count := nvl(Get_List_Element_Count('list_item1'),0);
    IF    v_list_count = 1 AND Get_List_Element_Value('list_item1', 1) IS NULL THEN NULL;
    ELSIF v_list_count >= 1 THEN
           FOR i IN 1..v_list_count
           LOOP
            v_item_value  := Get_List_Element_Value('list_item1', i);
            v_item_label  := Get_List_Element_label('list_item1', i);       
            Add_List_Element('list_item2',i,v_item_label,v_item_value);
           END LOOP;
           clear_list('list_item1');
    END IF;
    END;I added [ code ] tags to make this easier to read.
    Message was edited by:
    Jan Carlin

  • How to read vales from dropdownlistbox placed in tableView Cells

    Hi,
      Thanks for reply.. I got problem of reading values from Dropdownlist box placed in tableView Cells. Please correct me or give some sample to read vales from dropdownlistbox placed in tableView Cells.
    TableView column defined as
            <htmlb:tableViewColumn columnName = "OT_REASON_CODE"
                                   title      = "OT Reason"
                                   type       = "User"
                                   width = "6"
                                   edit       = "true" >
              <htmlb:dropdownListBox id                = "rcode"
                                     table             = "<%= I_YH008 %>"
                                     nameOfKeyColumn   = "OT_REASON_CODE"
                                     nameOfValueColumn = "OT_REASON_DESC" />
            </htmlb:tableViewColumn>
    OnInput processing I am trying to read dorpdown list values selected.
              W_YH022-ENDUZ = TABLE_EVENT->GET_CELL_VALUE(
              ROW_INDEX = SY-TABIX
              COLUMN_INDEX = 3 ).  " Get time
    DATA: data TYPE REF TO CL_HTMLB_DROPDOWNLISTBOX.
    DATA: value type string.
         value = TABLE_EVENT->GET_CELL_ID( row_index    = SY-TABIX
                                      column_index = '7').  " get Cell ID
    data ?= CL_HTMLB_MANAGER=>GET_DATA(
                                     request = runtime->server->request
                                     name    = 'dropdownlistbox'
                                     id      = value
    IF data IS NOT INITIAL.
    W_YH022-OT_REASON_CODE = data->selection. " +Cell Values...I am not getting cell values here+
    endif.

    Hi:
    Do like this
    Layout
          <htmlb:dropdownListBox id="mydropdownlist" >
            <htmlb:listBoxItem key   = "bpno"
                               value = "Business Partner Details" />
            <htmlb:listBoxItem key   = "bpaddress"
                               value = "Business Partner Address" />
          </htmlb:dropdownListBox>
    OnInpurProcessing event - >
    DATA: lcl_dropdown TYPE REF TO cl_htmlb_dropdownlistbox.
    data : selection2 type string.
    lcl_dropdown ?= cl_htmlb_manager=>get_data(
        request = runtime->server->request
        name    = 'dropdownListBox'
        id      = 'mydropdownlist' ).   
    IF NOT lcl_dropdown->selection IS INITIAL.
      selection2 = lcl_dropdown->selection.
    ENDIF.
    Regards
    Shshi

  • How to copy value from one field to another in a Apex Form

    Hello guys,
    There are 2 addresses one is shipping and other is billing. I do not want the customer to re-enter all the details if it is the same address. So based upon an action, it should take the live values from one address field and populate the other address field. I know in JS you can do it, but how to implement that in Apex?
    I guess using Dynamic Actions to achieve this in Version 4 but do not know how. Read quite some info but no luck.
    Thanks in advance!

    Hi,
    I have assumed that you have your shipping address at the top of the page, and then further down the page you have your billing address that you want to enable the users to copy (if this is in reverese, you will need to switch the js variables in the code following).
    I would create a Select List item above the 'Billing Address' details, called PX_SAME_ADDRESSThis select list would be static, with the options Null.
    I also assume you would have pairs of address page items such as:
    PX_SHIPPING_ADDRESS_L1
    PX_BILLING_ADDRESS_L1
    PX_SHIPPING_ADDRESS_L2
    PX_BILLING_ADDRESS_L2
    PX_SHIPPING_POST_CODE
    PX_BILLING_POST_CODEThen copy the following code into the HTML Header of the page definition:
    <script language="JavaScript" type="text/javascript">
    function copyAddress()
       if( $x('PX_SAME_ADDRESS').value == 'YES')
         $x('PX_BILLING_ADDRESS_L1').value = $x('PX_SHIPPING_ADDRESS_L1').value;
         $x('PX_BILLING_ADDRESS_L2').value = $x('PX_SHIPPING_ADDRESS_L2').value;
         $x('PX_BILLING_POST_CODE').value = $x('PX_SHIPPING_POST_CODE').value;
       else //Clear Address Fields
         $x('PX_BILLING_ADDRESS_L1').value = " ";
         $x('PX_BILLING_ADDRESS_L2').value = " ";
         $x('PX_BILLING_POST_CODE').value = " ";
    </script>Then, in your PX_SAME_ADDRESS item, copy the code below into the Element > HTML Form Element Attributes field.
    onChange="copyAddress();"Hopefully this works for you too, and should give you some basis to play around with.
    Amanda.

Maybe you are looking for

  • How to take the values from a  String ( CSV   values).

    Hi All, I am passing csv String to a procedure as in parameter,but I have to take the values from a csv String one by one.Please let me know Is there any StringTokenizer function in oracle to take values like in java. Here is my javacode. import java

  • Can't print to PDF anything over 89" x 34" ???

    Hey all- I have a problem that is proving to be elusive.  I'm working with Illustrator CS5 & Acrobat Pro 9.4.2 on a Win 7x64 system.  I am trying to print a 96" x 36" vertical banner to PDf to send to my large format print house.  The file contains 2

  • How to identify what are all the events are created in background jobs?

    Hi all, how to identify what are all the events are created for  background jobs. And what events gets triggered for a particular job. thanxs haritha

  • How do you tell what  Generation of Ipod you have ?

    OK.. I'm rather new at this and YES.. I've not kept up with all the "New" stuff "... so call me dumb, but HOW DO you tell what generation IPOD is it I own ... The "Classic" ? is that the model from 2 years ago OR 5 Years ago ?. HELP ME !!!!!!!!!!!!!!

  • How to mount TC automatically (for iTunes)

    hi there, i have my iTunes library on a Time Capsule.  in this case it is very important to mount the TC before opening iTunes as otherwise iTunes will revert to the default library location. is there a way to make the TC mount automatically in order