How To dynamically change values in custom form

Hi,
Requirement is to change values in custom form dynamically that are passed by Global variables through standard form .
I have used forms personalization to call custom form and passing some parameters to custom form using global variables.
Now i have to change values displayed in custom form(already opened) when user moves from one record to another record.
I cannot change the standard form.Only i have write logic in custom form that dynamically changes values as user moves from one record to another in standard form.
Global variables values will be different for each record.
Pls let me know how i can achieve this.
Regards
Udit

Udit,
Your question should be posted to the Enterprise Business Suite (EBS) forum. This forum is dedicated to non-EBS forms development.
Craig...

Similar Messages

  • How to dynamically changes items properties

    How to dynamically changes items properties likes position order in tabular view, width, prompt

    Many object properties can be set programmatically at runtime. For example, each window object has a Visible property that can be set to either Yes or No to show and hide the window. At runtime, you can call the built-in procedure SET_WINDOW_PROPERTY to show or hide the window dynamically, as shown here:
    Set_Window_Property('my_window',VISIBLE, PROPERTY_ON);
    The following built-in procedures are available for setting object properties at runtime:
    -     SET_BLOCK_PROPERTY
    -     SET_CANVAS_PROPERTY
    -     SET_FORM_PROPERTY
    -     SET_ITEM_PROPERTY
    -     SET_LOV_PROPERTY
    -     SET_MENU_ITEM_PROPERTY
    -     SET_PARAMETER_ATTR
    -     SET_RADIO_BUTTON_PROPERTY
    -     SET_RECORD_PROPERTY
    -     SET_RELATION_PROPERTY
    -     SET_VIEW_PROPERTY
    -     SET_WINDOW_PROPERTY
    The built-in procedure SET_ITEM_PROPERTY can be used to set the properties of any type of item, including buttons, text items, check boxes, radio groups, etc.
    Note: Radio group items include individual radio buttons; use SET_ITEM_PROPERTY to set the properties of the radio group, and SET_RADIO_BUTTON_PROPERTY to set the properties of the individual buttons in the group.
    Each built-in SET procedure has a corresponding GET function that allows you to programmatically determine the current setting of an object's properties. The following example uses GET_WINDOW_PROPERTY to determine if a window is currently hidden (VISIBLE = FALSE). If the window is hidden, SET_WINDOW_PROPERTY is called to show the window.
    If Get_Window_Property('my_window',VISIBLE) = 'FALSE' THEN
    Set_Window_Property('my_window',VISIBLE,PROPERTY_ON);
    To determine if a particular property can be set programmatically, refer to the property descriptions in online Help.

  • How to call & pass values to custom page from seeded page table region

    Hi All,
    can anyone tell me how to call & pass values to custom page from seeded page table region(Attribute is not available in seeded page VO)
    it is urgent. plssss
    Regards,
    purna

    Hi,
    Yes, we do this by extending controller, but you can also try this without extending controller.
    1. Create Submit Button on TableRN using personalization.
    2. Set "Destination URI" property to like below
    OA.jsp?page=/<yourname>/oracle/apps/ak/employee/webui/EmpDetailsPG&employeeNumber={@EmployeeId}&employeeName={@EmployeeName}&retainAM=Y&addBreadCrumb=Y
    Give your custom page path instead of EmpDetailsPG.
    EmployeeId and EmployeeName are VO attributes(Table Region)
    If you dont have desired attribute in VO, then write logic in your custom page controller to get required value using parameters passed from URL path.
    In this case, only personalization will do our job. Hope it helps.
    Thanks,
    Venkat Y.

  • How can I change the default web form names?

    I'm using the web forms in Business Catalyst, but our web site is in Norwegian, so I want the default FirstName and LastName values to be displayed in Norwegian in the error message when the field is not filled out.
    At the moment the user will get an error saying "Skriv inn First Name". "Skriv inn" is correctly translated from English to Norwegian, but the value "First Name" has to be changed. The same applies for "Cell Phone Number".
    Also, I don't really want two fields for the name, I want the form to have just one field that is called "Name" or "Navn" in Norwegian.
    I have tried deleting the name fields and replacing them by custom fields, but then I get an error message when the form is sent saying "ERROR: An error occurred. Your web form must capture customer name and email address. Please fix this issue and re-insert your web form on your web page."
    Also, why does some of the "-" before the error have a space, and some not? I want all the errors to be displayed with a space between the dash and the error.
    The e-mail error is automatically translated into Norwegian for some reason, but it should be a dash in there, so it says "e-postadresse" and not "epostadresse".
    Is there anywhere I can customize these error messages? Or at least change the values of the English fields to Norwegian so the error messages display the Norwegian field names, and not the English?

    That is very helpful! Thank you!
    But how can I change the dashes that are shown before the error? It really annoys me that they are shown inconsistently with different spaces like this:
    - Error 1
    -Error 2
    - Error 3
    -Error 4
    And is there any way to change the automatic translation from English to Norwegian?

  • How to capture changed value in ALV Grid

    Hi Guys,
    I have an ALV grid report where I have 'Edit On' for one of the quantity fields in the report. How do I capture the new (changed) value in the suboutine for user command when user changes the value in the report and clicks on a button ?
    Points assured for helpful replies.

    FORM USER_COMMAND USING P_UCOMM LIKE SY-UCOMM...........
    Data ref1 type ref to cl_gui_alv_grid.
    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
    IMPORTING
    E_GRID = ref1.
    call method ref1->check_changed_data
    ENDFORM.
    Also chk the blog
    /people/community.user/blog/2007/01/10/displaychange-mode-of-editable-fields-in-alv-using-function-modules-but-not-custom-containers

  • How to dynamically change the text of a TextObject with embedded DataField?

    Hi
    I'm trying to dynamically change the text of a TextObject at runtime, by using the .NET library. My problem is that if one or more DatabaseFieldDefinition is embedded inside my text, I'm unable to change the "static text" only, by keeping the field, e.g. I have :
    Text1 => "Contact Name: {Contact.Name}"
    and I'd like to change it to anything else like:
    Text1 => "Nom du Contact: {Contact.Name}"
    Half of my TextObject is static text while second part comes from the dataset.
    (of course the translation is dynamic - it is called at run-time and the new value to be set depends on the calling application language)
    If I simply modify the Text property of my TextObject, the {Contact.Name} embedded field is not evaluated anymore by the Crystal Engine, but considered as a single text.
    Using formulas or parameters looks quite difficult, because it means having many ones just for translation needs - I cannot control the way my users will create their reports and "force them" to use complex methods just in order to put a text and a value together...
    Anyone knows how to deal with that ?

    Only way I can think of doing this:
    1) Create a formula (call it lang) and enter the string "Contact Name" in it
    2) Place the  {Contact.Name} field next to the string
    3) So now you have:
    ContactName:  {Contact.Name}
    4) Check what localization you are after. If you need "Nom du Contact", change the lang formula so it shows "Nom du Contact" using the code below:
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Public Class Form1
    Inherits System.Windows.Forms.Form
    Dim Report As New CrystalReport1()
    Dim FormulaFields As FormulaFieldDefinitions
    Dim FormulaField As FormulaFieldDefinition
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    FormulaFields = Report.DataDefinition.FormulaFields
    FormulaField = FormulaFields.Item(0)
    FormulaField.Text = "[formula text]"
    CrystalReportViewer1.ReportSource = Report
    End Sub
    I realize this may not give you consistent spacing as the translations may have strings of differnt length. Perhaps someone has other idea(s)...

  • Dynamically changing width of web form

    Folks,
    I'm sure someone must have come up with the same problem as me.
    We have a forms 6i system running on the intranet (IE5). The forms fill the whole of the browser window if the client PC has a resolution of 800 X 640, but for larger resolutions (like 1024 X 768), the form only occupies part of the browser window. Now, I know that this is dependent on the 'WIDTH=' and 'HEIGHT=' parameters on the formsweb.cfg file. Indeed, if I increase these values, and then run the system on PC's that have resolutions of 1024 X 768, then the forms now look OK. But of course, this now causes a problem where the PC's have lower resolutions! What I want to do, is to dynamically change the WIDTH and HEIGHT parameter values dependent on the users machine settings. I can use javascript to get the users' PC details - no problem. But when I try to code this into the BASEJINI.HTM file, then I cannot run the system at all. I don't think I can use javascript directly in the FORMSWEB.CFG file, as it isn't a 'html' file.
    Has anyone else had this problem ? - you must have if you develop forms on the web with different resolutions settings. And how did you guys get around it?
    Please help!
    Harry
    null

    thanx for help, Samir! what I want exactly is: vary the width of controls on the screen. for example, if I have two buttons named "assignment" and "help", I want the width of the buttons to be different (and be proportionate to) as per the length of the caption. what kind of JavaScript code shoud I write to achive this? Pls help out... thanks,Girish

  • How to initialize org in a custom form in R12 upgrade

    Hi,
    We are migrating a custom form from 11i to R12. But the form and LOVs in the fields dont return any values in R12. The custom views attached to these LOVs, return values in toad when the org is set. We think that the issue is that the org is not initialized in the form.
    Can anyone help on how to resolve this?
    Would it help if we used "MO_GLOBAL.SET_POLICY_CONTEXT('S',fnd_global.ORG_ID);" in the when new form instance trigger in the form.
    Thanks

    Use following code in when-new-form- instance form level trigger
    FND_ORG.CHOOSE_ORG;
    :PARAMETER.ORG_ID:=FND_PROFILE.VALUE('org_id');
    then insert following in pre-insert block level trigger
    :ORG_ID := :PARAMETER.ORG_ID;

  • Reading Dynamic Table Values in interactive form (web Dynpro ABAP)

    Hi All,
    I have created a Web Dynpro ABAP application which contains an Interactive Form, That Adobe Interactive Form contains Dynamic table (New rows can be added manually and deleted using a button).
    I am not able to read the Dynamic table values in Web Dynpro u201COn Submitu201D.
    In the Adobe form I have web Dynpro native button (I am using ZCI), while clicking the native button I need to read the dynamic table values.
    How can I resolve this problem.
    Thanks and Regards,
    Boopathi M

    that means, when u add the table instance at runtime, you will also have to add an element to the node that is bound to the table.
    probably addNew() mathos may be useful to you.
    it appends a new record to the record set.
    xfa.sourceSet.dataConnectionName.addNew()
    also when on the exit event of the table field, do the following:
    var i = xfa.parent.index
    $record.rootnodename.tablenodename.data<i>.fieldname = $.rawValue
    xfa.host.messageBox($record.rootnodename.tablenodename.data<i>.fieldname)

  • How to enable record history for custom forms

    Hi All,
    I have developed a custom form but i am unable to view the record history when queried and it throws an error saying 'Record history not available here'.
    can some one help me in sorting out the problem.
    Thank you

    Hi,
    The following table lists the standard columns used for Record History (WHO), the column attributes and descriptions, and the sources for the values of those columns. Set the CREATED_BY and CREATION_DATE columns only when you insert a row (using FND_STANDARD.SET_WHO for a form).
    CREATION_DATE
    CREATED_BY
    LAST_UPDATE_DATE
    LAST_UPDATED_BY
    LAST_UPDATE_LOGIN
    For more details, please refer to "Oracle Applications Developer's Guide", Page 3-2 Tracking Data Changes with Record History (WHO)
    Oracle Applications Developer's Guide
    http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115devg.pdf
    Regards,
    Hussein

  • How do you change values after logging data to the citadel database (DSC)?

    How would one go about changing values that already exist in the citadel database.  So say I were logging a numeric value with a timestamp for 1 year and then wanted to change a few values for the month of June because my sensor wasn't working at that time.  How could I do this?  Is it possible without re-creating the whole database over?
    Thanks
    Matt

    mattyk wrote:
    Hey Ben,
    Thanks for the quick response.  I called NI and asked about this because this would be a big show stopper for me.  Their applications engineer said that the best way to change previous data would be to read in the trace that you want to change, modify it and save it as a new trace.  I am also looking into SQL querying.  I was able to connect to the citadel database by setting up a ODBC data source and using the database connectivity toolkit to query the database.  This worked.  Now I am trying to come up with a statement in SQL to change previously saved data.  I'll Keep you posted.
    Thanks
    Matt
    That reinforces my suspicions.
    I have an app running for about 8 years now that keeps a paper trail to enusr ethe cartdiges used in respirators (operated NIOSH National Institute of Occupational Safety and Health par teh CDC) that use DSC to enusre nobody can ever falsify those records. If they can be hacked I my customer and anyone using a respirator with a NIOSH sticker on the side of it, want to know.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How can I change the parameters in form

    Hi there,
    I´m creating a WD application with add and change data.
    The change form it´s ok and works fine, but I want to use the same form to add data too...
    But the change from has some element "read only", how can I change the parameter in this form and clean the other elements?
    Thanx a lot

    hi minoru.....
    consider you are having an input field....
    create an attribute of type string in the context.
    bind it to the read only property of the input field.
    now pass the value x to the input field, to make it read only  or pass '' to make it read write.
      DATA lo_el_context TYPE REF TO if_wd_context_element.
      DATA ls_context TYPE wd_this->element_context.
      DATA lv_read_only LIKE ls_context-read_only.
    * get element via lead selection
      lo_el_context = wd_context->get_element(  ).
    *********read_only is the attribute name bound to the read only *********property of the input field.
    * get single attribute
      lo_el_context->set_attribute(
          name =  `READ_ONLY`
          value = '' ). *** you can pass x to make it read only
    ***** to clear the values
    lo_el_context->set_attribute(
          name =  `INPUT_MATNR` * this clears my input field.
          value = '' ).
    ---regards,
       alex b justin

  • How to get a values from one form to another form

    Hi All,
    I am using oracle forms 10g.
    I have created two forms. First form named as Hotel reservation req and second form named as Hotel Res Summary.
    I the first form i have one field named Requisition_number and I have one button and when i press the button in the first form the summary form is called and it need to bring all the data regarding that requisition_number in first form.
    I have written a query in when button pressed Like this
    declare
    :Global.V_REQ_NO := :XXMBHOTRESREQ_DB.REQUISITION_NO
    type r_cursor is ref cursor;
    c_XXMBHIS r_cursor;
    V_xxmbht XXMB_DOMHTRS_REQ%rowtype;
    begin
    open c_xxmbhis for select * from XXMB_DOMHTRS_REQ where requisition_number=:Global.V_REQ_NO
    loop
    fetch c_xxmbhis into v_xxmbht;
    exit when c_xxmbhis%notfound;
    --dbms_output.put_line (V_XXMBHT.REQUISITION_NUMBER);
    end loop;
    close c_XXMBHIS;
    end;
    And how to refer this to the calling form.
    But now the form is opening and record is not querying can any one correct me where i went wrong.
    Thanks & Regards
    Srikkanth
    Edited by: Srikkanth.M on Aug 19, 2011 6:43 PM

    I the first form i have one field named Requisition_number and I have one button and when i press the button in the first form the summary form is called and it need to bring all the data regarding that requisition_number in first form.If more than 1/4 of your Forms will need the REQUISITION_NUMBER then using a GLOBAL variable makes scense. However, if it is only your Hotel Reservation and Hotel Res Summary forms that will use the REQUISITION_NUMBER then use a Parameter List instead. Global variables are always of type CHAR so you could encounter conversion errors if you don't explicitly cast the value to the correct data type. Parameter object can be of type CHAR, NUMBER and DATE and offer greater flexibility. If you need an example of how to use a parameter list, open the Forms Help system, go to the Search tab and search on "Creating a Parameter List." This article give a brief overview and a list of all the built-ins associated with Parameter Lists. You will need to create a Parameter object in your Hotel Req Summary form to catch the parameter passed via the Parameter List. Then you will need to write code to do something with the value passed (usually in the When-New-Form-Instance trigger).
    Craig...

  • How to get changes of a custom PL/SQL package updated in ISG?

    Hi All,
    I need some help on how to change a custom PL/SQL package in ISG integration repository:
    I already uploaded my custom PL/SQL package to the integration repositoy some time ago. Now I have made some changes to PL/SQL record/table types defined in the package (added some fields and removed some others). These changed record/table types are used by a procedure I already uploaded to the integration repository. When regenerating the WSDL for my PL/SQL package in integration repository I get an error that the wrapper for respective procedure can't be found. When checking up the SQL types that were automatically generated (by JPublisher) for corresponding PL/SQL types, these generated SQL types are invalid...
    So it seems that in one case JPublisher generated an empty SQL type (with no attributes). In another case JPublisher generated the SQL type with old attribute list, so it didn't adopt the changes of corresponding PL/SQL type in the package...
    Can anybody tell me how to get the changes of a cusotm PL/SQL package updated in ISG? Or is there any possibility to first remove a whole PL/SQL package from the ISG integration repository (and getting rid of all old automatically generated SQL types), so that I can newly upload my PL/SQL package afterwards?
    Thanks
    Konrad
    Edited by: Konrad on 24.10.2011 10:51

    Thanks Daniel, for your reply...
    (-> for info: I'm a colleague of Konrad...)
    Yes, we used a higher version number - and the upload of iLDT file works fine...
    But, the problem occured when generating the WSDL...
    However, I think we have found an approach of how to get the changes of a custom PL/SQL package updated correctly in ISG:
    1. Save a copy of PL/SQL package and then delete it in the database
    2. Regenerate the WSDL for PL/SQL package in ISG (seems that all atutomatically generated JPub wrappers and SQL types are also deleted)
    3. Restart all processes
    4. Create the changed version of PL/SQL package in the database again
    5. upload of iLDT
    6. Regenerate the WSDL for PL/SQL package in ISG
    Best Regards
    Carolin

  • How to fetch the value of tabular form item in javascript

    Hello all
    I want to do some calculations on the value entered by the user in the textfield of a tabular form, how can I fetch the value of tabular form item in the javascript?
    I am using normal tabular form, not using apex_item tabular form.
    I can pass the current textfield value to the function using "this" as a parameter, but how can I fetch the value of other rows of that same column?
    Thanks
    Tauceef

    Hi Alistair
    jQuery is still not working, but I got it done through some other means, this is the code:
    function total(pThis){
    var l_Row = html_CascadeUpTill(pThis,'TR');
    var l_Table = l_Row.parentNode;
    var l_Row_next = l_Row;
    var n_rows = l_Table.rows;
    var lInputs;
    var v1;
    var sum = 0.0;
    var temp;
    var i = 0;
    var j = 0;
    //alert(n_rows.length);
    while(j < (n_rows.length - 1))
    temp = 0;
    if(l_Row_next != null){
    lInputs = html_Return_Form_Items(l_Row_next,'TEXT');
    v1 = lInputs[0].value;
    //alert(v1);
    sum = parseFloat(sum) + parseFloat(v1);
    l_Row_next = l_Row_next.nextSibling;
    temp = 1;
    if(temp == 0){
    l_Row_next = l_Table.getElementsByTagName('TR')[1];
    lInputs = html_Return_Form_Items(l_Row_next,'TEXT');
    v1 = lInputs[0].value;
    sum = parseFloat(sum) + parseFloat(v1);
    l_Row_next = l_Row_next.nextSibling;
    j= j+1;
    $x('P78_TOTAL').value= parseFloat(sum);
    I am calling this function onblur event of the textfield.
    Still I am having one problem, I want to perform this calculation on load of the page also, how can I do that? because while calling onblur of the textfield I can pass that textfield to this function but on onLoad how I will pass the textfield to call this function so that I will be able to get the textfield value in the function?
    there may be some rows already existing, so I want the total of the existing rows to be displayed in my P78_TOTAL textfield that is why I need to do this calculation on onLoad of the page.
    Thanks
    Tauceef
    Edited by: Tauceef on Jul 8, 2010 4:57 AM

Maybe you are looking for

  • Border and Padding different in IE and Firefox

    The 2 vertical lines should be aligned with the edges of the photos above, but are showing up differently in IE and Firefox. http://zooop.net/birch_center/ CSS: td#maintext { padding-top:5px; padding-bottom:0px; padding-left:8px; padding-right:30px;

  • Compile Error: missing return statement

    anyone knows why the following program yields compile error "missing return statement??" class LengthTest      public int stringLength(String s)      {     int len = s.length();           if (len <= 5) return 5;           else if (len <= 10) return 1

  • Soundfont pitch b

    I hope someone out there knows if soundfont pitch bend settigs can be adjusted beyond the default "2" within the soundblaster synth A or B. My system: Ensoniq SQ+ keyboard as a MIDI controller Audigy Platinum card Cakewalk Home Studio 9 Soundfonts lo

  • JList selection error

    Hi! I haveing great problems with getting the JList to function properly and dont understand why. The problem is that no selection of the JList can be performed at all, etc no highligting at all. Anyone who sees the error? This is my first time bulid

  • How to get list of approved MSU for specified target group

    Hello guys, I have question about WSUS on windows server 2008 r2 sp1. I need to get list of approved MSU for specified target group only for windows server 2008 r2 sp1, but I don't know whole syntax. I can get list of approved updates for w2k8r2sp1: