While editing one field disabling another field

Hi there,
I'm on JDEV 10.1.3.2.0 and JHS 10.1.3.1.26.
I have a question about filling in a field on a screen.
Is it possible when a user inserts text in one field that you disable another field dynamically so that the user cannot access this other field anymore ?
regards,
Marcel.

Marcel,
You may want to ask on the JHS forum, but it's certainly possible without JHS. Just set autosubmit=true on the first field (and set its ID property too), set the partialTriggers property on the second field to the ID of the first field, and set the disabled property of the second field to something apropriate.
You could also do this with autosubmit=true on the first field and use a valuechangelistener to write some code in a backing bean to disable the second field.
Both approaches work.
John

Similar Messages

  • Urgent:Error While calling one form from another form

    Hi,
    i am using a form in which zoom functionality is enabled.From this form if i am clicking view->zoom it should open another form which should accept two parameters from the first form.But whenever i am clicking on zoom its giving the following error.
    FRM-47023:No such parameter named G_QUERY_FIND exists in form
    XX_EMPLOYEE_CONVERSION(Name of the form which i am calling from first form)
    When i am clicking 'ok' then it shows the error
    FRM-40105:Unable to resolve reference to item PARAMETER.G_QUERY_FIND
    Eventhough i have developed my form using template.fmb which uses the parameter G_QUERY_FIND why this error is coming?
    Can anyone suggest a solution for this.
    Thanks in advance

    PARAMETER.G_QUERY_FIND is one of he objects in the APPSTAND.fmb. You will need to Subclass all of the objects in APPSTAND.fmb in your custom form. If you do not have a copy of this file in your FORMS60_PATH, I suggest you put a copy there. If you don't have a FORMS60_PATH specified then I would highly suggest adding this entry to your Forms Home in the Registry. Also, you will want all of the libraries in the AU_TOP/Resources folder as well.
    I also suggest looking at the Oracle Applications Developer's Guide (http://download.oracle.com/docs/cd/B25284_01/current/acrobat/115devg.pdf) as it outlines all of the required objects you must have in your form and reports.
    Hope this helps.
    Craig...

  • Edit single field in single line in ALV

    Dear experts,
    I have an ALV with many lines.
    I need to edit one field in a few of those lines, depending on the data. How can I do that? I aldeady used the EDIT parameter of fieldcat, but it changed the whole column of the table.
    Please help.
    Thanks,
    Roxani

    Hi again,
    1. Just for info purpose.
    2. We can use colours   
    3. Not only the full row color,
      we can also manipulate the color in each cell.
    4.
    IMPORTANT THINGS
    a. Extra field in internal table
    clr TYPE slis_t_specialcol_alv,
    (this field will contain the colour codes)
    b. assign fieldname to alv layout
    alvly-coltab_fieldname = 'CLR'
    c. work area for colour
    DATA : clrwa TYPE slis_specialcol_alv.
    d. Populating the color
    Once again
    Loop at ITAB.
    *********logic
    if itab-field < 0 "---negative
    clrwa-fieldname = 'FIELDNAME'. "<--- FIELDNAME FOR COLOR
    clrwa-color-col = 6. <------- COLOUR 0-9
    APPEND clrwa TO itab-clr.
    MODIFY ITAB.
    endif.
    ENDLOOP.
    5. just copy paste in new program
    6.
    REPORT abc .
    NECESSARY / MUST
    TYPE-POOLS : slis.
    DATA : alvfc TYPE slis_t_fieldcat_alv.
    DATA : alvly TYPE slis_layout_alv.
    ITAB DECLARATION
    DATA : prg TYPE sy-repid.
    DATA : BEGIN OF itab OCCURS 0.
    INCLUDE STRUCTURE t001.
    DATA : clname(3) TYPE c,
    clr TYPE slis_t_specialcol_alv,
    END OF itab.
    DATA : clrwa TYPE slis_specialcol_alv.
    PARAMETERS : a TYPE c.
    DATA : flname TYPE slis_fieldname.
    SELECT
    START-OF-SELECTION.
    SELECT * FROM t001
    INTO CORRESPONDING FIELDS OF TABLE itab..
    LOOP AT itab..
    IF SY-TABIX <= 5.
    itab-clname = 'C50'.
    ELSE.
    itab-clname = 'C30'.
    ENDIF.
    MODIFY itab.
    ENDLOOP.
    LOOP AT ITAB.
    check itab-bukrs = '1000'
    clrwa-fieldname = 'BUTXT'.
    clrwa-color-col = 6.
    APPEND clrwa TO itab-clr.
    MODIFY ITAB.
    clrwa-fieldname = 'LAND1'.
    clrwa-color-col = 4.
    APPEND clrwa TO itab-clr.
    MODIFY ITAB.
    ENDLOOP.
    prg = sy-repid.
    flname = 'CLNAME'.
    alvly-info_fieldname = 'CLNAME'.
    alvly-coltab_fieldname = 'CLR'.
    LOOP AT ITAB.
    if sy-tabix = 3.
    clrwa-fieldname = 'BUTXT'.
    clrwa-color-col = 6.
    APPEND clrwa TO itab-clr.
    MODIFY ITAB.
    clrwa-fieldname = 'LAND1'.
    clrwa-color-col = 1.
    APPEND clrwa TO itab-clr.
    MODIFY ITAB.
    endif.
    ENDLOOP
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = prg
    i_internal_tabname = 'ITAB'
    i_inclname = prg
    CHANGING
    ct_fieldcat = alvfc
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2
    OTHERS = 3.
    minimum
    *CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    it_fieldcat = alvfc
    TABLES
    t_outtab = itab
    EXCEPTIONS
    program_error = 1
    OTHERS = 2
    extra
    sy-uname = 'XYZAB'.
    prg = sy-repid.
    Excluding
    DATA : excl TYPE slis_t_extab.
    DATA : exclwa TYPE slis_extab.
    exclwa = '&OUP'.
    APPEND exclwa TO excl.
    exclwa = '&ODN'.
    APPEND exclwa TO excl.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
    it_fieldcat = alvfc
    i_callback_program = sy-repid
    is_layout = alvly
    i_callback_user_command = 'ITAB_USER_COMMAND'
    it_excluding =
    excl
    i_save = 'A'
    TABLES
    t_outtab = itab
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    *& Form itab_user_command
    text
    -->WHATCOMM text
    -->WHATROW text
    FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
    slis_selfield.
    BREAK-POINT.
    ENDFORM. "itab_user_command
    regards,
    amit m.

  • Slow while going from one screen to another screen

    Hi,
          I have installed SAP 4.7 version. The hardware of system is 3GHz processor and 1 GB RAM.  It is taking more time while going one screen to another. So after entering XD01 or any tcode , I have to wait for seconds some times 10 second to a get a screen and  getting a screen form another screen.
    Can any one tell me reason for this and how can be this issue resolved.
    Thanks,
    Manas

    When using system for the first time, a lot of compiling still has to be done which takes time, but also the fact that your system 'only'  has 1 GB RAM, could cause these problems as well. According to requirements, 1GB should be enough, but I would recommend at least 2GB.

  • How to handle the date attribute,passing parameter from one page to another

    hi Friends,
    i want to pass data attribute from one page to another page-
    i am passing like below ,in jdev log window i am getting below error.
    String StatusUpdateDate = row.getAttribute("StatusUpdateDate");
    params.put("StatusUpdateDate",StatusUpdateDate)
    Error(121,50): incompatible types; found: java.lang.Object, required: java.lang.String
    Suppose i am passing like below , while moving one page to another i am getting below error in application
    String StatusUpdateDate = row.getAttribute("StatusUpdateDate").toString()
    Status Update Date - JBO-25009: Cannot create an object of type:oracle.jbo.domain.Date with value:26-MAR-2009
    please can any suggest me how to handle this error.
    Thanks and Regards,
    vamshi

    Hi Pratap, Thanks for your help
    it was my mistake that previously property it was varchar2, now i have changed as you suggested every thing. still i am getting error. this is my code-
    AM CODE-
    public void xxselection(String Name, String Email,String Product,String Region, DATE StatusUpdateDate)
    DetailVOImpl vo1=getDetailVO1();
    vo1.initQuery2(Name);
    Row detailRow = vo1.createRow();
    detailRow.setAttribute("Name", Name);
    detailRow.setAttribute("Email", Email);
    detailRow.setAttribute("Product", Product);
    detailRow.setAttribute("Region", Region);
    detailRow.setAttribute("StatusUpdateDate", StatusUpdateDate);
    vo1.last();
    vo1.next();
    vo1.insertRow(detailRow);
    detailRow.setNewRowState(Row.STATUS_INITIALIZED);
    Controller- Process Form Request- Source page
    if (pageContext.getParameter("Detail")!= null)
    String Name=row.getAttribute("Name").toString();
    String Email=row.getAttribute("Email").toString();
    String Product=row.getAttribute("Product").toString();
    String Region=row.getAttribute("Region").toString();
    DATE StatusUpdateDate =(DATE)row.getAttribute("StatusUpdateDate");
    HashMap params =new HashMap();
    params.put(" Name", Name);
    params.put("Email",Email);
    params.put("Product",Product);
    params.put("Region",Region);
    pageContext.putTransactionTransientValue("StatusUpdateDate",StatusUpdateDate); //As you suggested
    pageContext.forwardImmediately("OA.jsp?page=/xxm/oracle/apps/pos/stg/webui/DetailStagePG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    params,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    another page Controller-Process request-Destination page-
    String Name = pageContext.getParameter("Name");
    String Email = pageContext.getParameter(" Email");
    String Product = pageContext.getParameter("Product");
    String Region = pageContext.getParameter("Region");
    DATE StatusUpdateDate=(DATE)pageContext.getTransactionTransientValue("StatusUpdateDate");
    Timestamp tstmpStatusDate=StatusUpdateDate.timestampValue();
    System.out.println("tstmpStatusDate"+tstmpStatusDate);
    Serializable[] parameters1 = {Name,Email,Product,Region,tstmpStatusDate};
    am.invokeMethod("xxselection", parameters1);
    Error - getting at while running the application page to page
    No method with signature - No method with signature - xxselection(class java.lang.String, class java.lang.String, class java.lang.String, class java.lang.String, class java.lang.String)
    every thing is getting passed except DATE Attribute, please check the code and update me
    Thanks in Advace-
    vamshi

  • Issue while Creating the records in OAF by disabling one field.

    Hi Experts,
    I am having the scenario like this.
    From the OAF page I want to create the record by omitting one field(it is disable for OAF).
    Consider the folowing scenario..
    I am having the following fields Empno,Empname,Salary,Job in the OAF page where I made the Job field alone as disable and the style i am using for job field is message text input and i have set the initial value as 'Manger'.
    I am facing issue while creating the records in OAF page without the job filed value ie 'Manager' then the records were not inserted into my tables. Whereas if I enable the job field in OAF page(meaning I gave the job as 'Manager' in OAF page) I am able to create the records from OAF page and able get inserted in the database.
    Could Anyone can suggest where I fail as it is my Priority issue.
    Any Suggestion will be a great help for me.
    Thanks,
    Murugesh.

    or you can default it in the controller by handling add row event
    if(vo.hasNext())
    vorow = vo.next();
    vorow.setAttribute("xxxx",3838);
    --Prasanna                                                                                                                                                                                                                                                                                                                                   

  • Moving field object from one section to another programatically

    How do I move text/field objects from one section to another at run time. The ReportObjects collection in the section is readonly and setting the left, top property of the ReportObject only seems to move object within the same section.
    I'm using Crystal Reports version 10.5 that comes with VS 2008 professional.
    Edited by: iyounus on May 26, 2009 9:41 PM

    Hi;
    The trial version will offer this capability. You can either use RAS (which is available with Crystal Reports, or Business Objects Enterprise), or the Crystal Reports engine. Which you use will depend on the target for your application, see this for some tips on that:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f006a5e6-7e64-2b10-8a84-8b15ca5cacfc
    And, some links to samples that add fields:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20300f17-c566-2b10-b586-b8e8a23e6668
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3085841e-c566-2b10-238c-9f7c3f85d816
    https://www.sdn.sap.com/irj/boc/sdklibrary
    Regards,
    Jonathan

  • HOW to copy Form field from one RTF to another RTF

    Hi Expert
    I have developed 20 reports in BI Publisher which is using xml as data source. So to access the data i have done the xml coding for each form field.
    Now i want to copy the form field from one rtf to another, while doing the copy paste of the form field from one rtf to another it is not copying the xml coding. It is appearing in the new rtf as below
    <?ref:xdo0391?>
    Can you guys suggest me how to achieve the same. Is there any setting need to be changed so that while do the copy paste the form field it will copy the backend code also.
    Thanks in advance.
    Thanks
    Srikant

    make your template set as backward compatabile before you do anything on template. load the xml and then copy the form field. it should work. dont try to open the field without loading xml.

  • Copying the fields of one bean to another

    Hi,
    I have two different bean classes, but the fields inside them are having the same names. I am using java persistence, each of the beans have there own tables, Because the field names are same, is there any way, i can pass the data from one object to another easily, without going to each field and setting them.
    take this example:
    order {
    fields are
    name;
    no;
    address;
    orderTmp{
    fields are
    name;
    no;
    address;
    Here i want to pass the data in Order object to OrderTmp object easily. I have getters and setters for thoso fields.
    regards,
    krishna

    u can use import org.apache.commons.beanutils.BeanUtils for that..its readily available in common-beanutil.jar of jakarta..
    Shanu M
    ns: mullapudi, is that malayalam?
    Edited by: mshanu on Jan 26, 2008 2:12 AM

  • Rcvd message re: locked cells while trying to edit a field in my form

    I'm trying to edit a field in my form and keep receiving the following message:
    "Something unexpected happened and your request could not be completed. Please try again. Why? Some of the cells you have selected are locked. What Can You Do? Unlock the locked cells."
    I've been able to edit all of the other fields/cells in this form except for this one. How do I unlock a cell? I searched through all of the options while in the design mode for this field and can't find anything related to locking or unlocking cells.

    Found the answer here: View Responses
    The issue was with the cell in the table of the view responses tab, not in the design of the form field.

  • How to drill down another one report on one field value of one row

    Hi,
    I have two reports that can link together on one field of respective database query command. The effect i want to reach is that when user clicks this field value on some row of one report, which i call source object, another report, target object, would use this value as input parameter and the page would jump to this linked report. I can see Format Editor provides Hyperlink feature when one field is edited, but i don't know how to associate another report as what i described here.
    What if one the following conditions is met:
    1.one of two objects, source object, is one chart object
    2.target object is  one chart object
    3.two objects are both chart objects
    Note: two objects is separately from different reports.
    Additionally, is it possible to code for hyperlink functionality under both .NET WinForm and WebForm? what if under RDC?
    Thank you
    Zhi
    Edited by: zhi li on Sep 24, 2008 11:53 AM
    Edited by: zhi li on Sep 24, 2008 11:57 AM
    Edited by: zhi li on Sep 24, 2008 11:58 AM

    I don't know if you can use the hyperlink to call a subreport but the following has worked for me in Crystal 10:
    1. In your main report create a group on the field you want to pass to the subreport.
    2. In the Group Footer, use the "Insert Section below" menu command so that you have a Group Footer 1a and a Group Footer 1b.
    3. Put your table fields in the Group Footer 1b section (this would be similar to your Details data).
    4. Put the sub report in the Group Footer 1a section. Set up the links to the subreport from a table field in your main report.
    5. Right-click on the sub-report, select "Format Sub-report". Click on the "x-2" button to the right of the Suppress option and enter "DrillDownGroupLevel = 0" in the "Formula Workshop-Formula Format Editor-Suppress" window and save it.
    When you double-click on your data field (i.e. the field in Group footer 1b) it should drill-down and run your subreport.

  • How to assign value of one filed to another  field in reports

    Hi..
    How we can copy the One field value to another field nd how to use group by in query to generate reports.
    Reply...
    Thanks
    Neetu
    Edited by: Philip Eller on Jun 27, 2008 9:49 AM
    Edited by: Rui Pereira on Jul 8, 2008 5:26 PM

    Dear Neetu,
    If you would like to assignt he value of one field to another in PLD, you can try the following.
    1. You can link the two fields by using the property Link
    2. In the fomula field for one of the fields, just mention the name of the other field.
    For example
    You have two fields F_118 and F_180
    Scenario 1 :
    In the "Link" property of the field F_180,  choose F_118
    Scenario 2:
    In the "Formula" for the field F_180, write "F_118"
    For using group by in query, Once you have created a query with the "Query Generator" you can create the reports based on query through the "query manager".
    REgards
    Arshdeep

  • While generating a crystal report can we edit database fiels in field explorer (at middle can we edit database fields)

    while generating a crystal report can we edit database fiels in field explorer (at middle can we edit database fields)

    Wrong forum to post the question, try to post the question in crystal reports community.
    Its not possible to edit the database fields while creating the reports, its only used to call the rows of values in it. Can you explain me in detail what are you actually looking for .
    --SumanT

  • F4 Help on one field should populate data on another field

    Dear All....
    I am using the FM - F4IF_INT_TABLE_VALUE_REQUEST for F4 help on one field of the selection screen. Based on the selected value, a values corresponding to it should appear on another field.
    My Code -
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_svn.
      SELECT qmnum serialnr
        INTO TABLE t_qmel
        FROM qmel
        WHERE qmart  = 'ZD'.
      SORT t_qmel BY qmnum.
    Display the f4 Help Values for SVN
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield     = 'QMNUM'
          dynpprog     = sy-repid
          dynpnr       = sy-dynnr
          dynprofield  = 'P_SVN'
          window_title = text-015
          value_org    = 'S'
        TABLES
          value_tab    = t_qmel
          return_tab   = t_retval.
      READ TABLE t_retval INTO w_retval_wa INDEX 1.
      IF sy-subrc = 0.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = w_retval_wa-fieldval
          IMPORTING
            output = w_qmel_wa-qmnum.
        w_retval_wa-fieldval = w_qmel_wa-qmnum.
        READ TABLE t_qmel INTO w_qmel_wa WITH KEY qmnum = w_retval_wa-fieldval
                                         BINARY SEARCH.
        IF sy-subrc = 0.
          p_esn = w_qmel_wa-serialnr.
        ENDIF.
      ENDIF.
    But this is however not working.
    Please let me know where I am going wrong.
    I have serached SDN thoroghly but could not get my solution.
    Please guide me....
    Regards,
    Pankaj Agarwal.

    *&  AT SELECTION SCREEN ON VALUE-REQUEST FOR FIELD
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_ebeln.
      PERFORM f4_hlp_ebeln.
    *&      Form  F4_HLP_EBELN
          text
    -->  p1        text
    <--  p2        text
    FORM f4_hlp_ebeln .
      TYPES: BEGIN OF ty_ebeln,
               ebeln TYPE ebeln ,
            END OF ty_ebeln.
      DATA: lt_ebeln TYPE TABLE OF ty_ebeln.
      CLEAR: lt_ebeln[].
      SELECT ebeln
           FROM zmt_po_mic_ded
             INTO TABLE lt_ebeln.
      IF sy-subrc = 0.
        SORT lt_ebeln[] BY ebeln.
        DELETE ADJACENT DUPLICATES FROM lt_ebeln COMPARING ALL FIELDS.
        CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
            retfield         = 'EBELN'
            dynpprog         = sy-repid
            dynpnr           = sy-dynnr
            dynprofield      = 'P_EBELN'
            value_org        = 'S'
            callback_program = sy-repid
          TABLES
            value_tab        = lt_ebeln[]
          EXCEPTIONS
            parameter_error  = 1
            no_values_found  = 2
            OTHERS           = 3.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
      ENDIF.
    ENDFORM.                    " F4_HLP_EBELN
    DATA: t_dynfields TYPE TABLE OF dynpread,
          t_valhlp    TYPE TABLE OF ty_valhlp.
    DATA: w_dynfields TYPE dynpread.
    CLEAR: t_dynfields[], t_valhlp[].
      DATA: l_ebeln TYPE ebeln.
      w_dynfields-fieldname = 'P_EBELN'.
      w_dynfields-fieldvalue = p_ebeln.
      APPEND w_dynfields TO t_dynfields.
      CLEAR w_dynfields.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname               = sy-repid
          dynumb               = sy-dynnr
          translate_to_upper   = c_x
        TABLES
          dynpfields           = t_dynfields
        EXCEPTIONS
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          invalid_parameter    = 7
          undefind_error       = 8
          double_conversion    = 9
          stepl_not_found      = 10
          OTHERS               = 11.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      READ TABLE t_dynfields INTO w_dynfields INDEX 1.
      IF sy-subrc = 0.
        l_ebeln = w_dynfields-fieldvalue.
        SELECT ebeln
               ebelp
               FROM ekpo
               INTO TABLE t_valhlp
               WHERE ebeln = l_ebeln.
        IF sy-subrc = 0.
          SORT t_valhlp[] BY ebeln ebelp.
    here we get the value of ebelp depending on the selection of EBELN ***
        endif.
      ENDIF.

  • Adobe Bridge CC : metadata copy from one field to another for multiple files

    So I am using Bridge CC for managing audio files and have many many MP3's that I need to copy or move one field of metadata to another.
    ie:  copy "Audio Artist" field to "IPTC Core Creator" Field
         move "IPTC Core Description" to "Video Log Comment" field
    Is there a script I can add that will let me select multiple files, and have it copy or move all the info from one of these fields to another?
    Thanks
    Scott
    [email protected]

    Scott, I did have a go at this but I can't get the right path to the logComment in the XMP…
    Coping artist to creator works fine… If I find the solution I will post back…

Maybe you are looking for

  • Phone does not show in itunes

    phone does not show in itunes

  • Audit Logs which track who download document from WebCenter Content

    I have a requirement from user to see who and when documents has been download from WebCenter Content. Does Oracle WebCenter Content can log "download" event?

  • Using iTunes movies in iMovie

    For a school project, I have to make a movie trailer for a book (specifically Ian Fleming's You Only Live Twice). What are the legal grounds as far as stripping a purchased previous James Bond movie of DRM and using clips in the trailer, providing I

  • How to change default audio device for gnome?

    My laptop has an integrated sound card, but I lately got a USB headset (headphones+mic, which works with linux btw, I tested it with GizmoProject which lets me choose which /dev/dspXX I want): http://www.geeks.com/details.asp?invtid=U200&cpc=SCH So,

  • Acquisition et commande pour une simulation de véhicule

    Bonjour, Dans le cadre d'un stage ayant pour objectif de réaliser un banc de test pour évaluer la consommation d'énergie du moteur électrique d'un véhicule hybride; je dois mettre en place la commande d'un moteur asynchrone (Volts, 15kW) alimenté par