Help needed with 'Conditions' for field with read only on demand

Hy guys,
I really need your help now, i have two items named P22_LOGIN_TYPE (..wich can be 'Default' or 'Special') and P22_PASSWORD, i need to turn to 'read only' the second item when the first item is 'Default', i'v tryied the conditional option but with no success, i know is managed from there but it's not working for me, it seems that i don't know exactly how to do it. By the way, i have APEX 2.2.
I need an exact guide (explanation) on how to do it, thank you very much.
Best regards,
Victor

Firstly you could set your First item to be a select list with submit. Make the branch go to the same page.
Secondly, on the read-only conditions for your second item, use the condition when item in expression 1 = value in expression 2, and set that to 'Default' in expression 2.
Essentially this will re-submit your page when you make a selection either 'Default' or 'Special'. If 'Default' is selected, then the PASSWORD item will be rendered as read-only. If you don't want to display the PASSWORD item at all, you can put the above condition for the read-only, into the conditions section of the item.
Hope this helps and is not too confusing. It reads a lot worse than it actually is ;)
Cj

Similar Messages

  • Help needed I updated my ipad2 with iOS5 but few of my dashbaords are not working now can any one let me know how to downgrade the OS

    Help needed I updated my ipad2 with iOS5 but few of my dashbaords (HTML5) are not working now ,can any one let me know how to downgrade the OS as we have a meeting coming up .. its urgent

    Downgrading the iOS is not supported. If you are using Safari this try clearing its cache via Settings > Safari.
    If that doesn't work then try closing Safari completely and then re-open it : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    A third option is a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Records with a picklist field with empty values can't be seen from a report

    Records with a picklist field with empty values can't be seen from a report. I've created a report that have a picklist as a column. When there is no values the record(s) associated to this picklist don't appear. Do you know what are the common causes for this event?
    Regards
    Arturo

    Hi samrat chakraborty ,
    go to SUIM > roles > roles by complexselection criteria>
    under the selection according to authorization values give the object's  form SU53 screen and press enter it will asks the values for given object pass the values as per the SU53 and execute it will give the list of roles.... capture the roles. The user gets access if you give the any one of the listed roles is assigned, assign the role as per your approval process.
    Check with the below link for more assistence:
    http://help.sap.com/saphelp_erp2004/helpdata/EN/71/8fba30840c6e4d90da3526971cc684/frameset.htm
    Regards,
    S.Manu.

  • Fields in read-only mode for BP transaction in upgrade from 4.72 to ECC6.0

    Hello,
    This is regarding the query for BP transaction in upgrade from 4.72 to ECC 6.0.
    While creating BP / Changing BP system is disabling the fields in compnay code & sales area option. There is a SAP not provided 907860; and specified that the proplem is because of the delta customizing.
    All the customization settings are as per the note. And the Synchronization Control is also activated. But still the fields are disabled only.
    I have checked the field settings also in Cross-Application-Components & Logistic-Genral.
    But these are not working for compnay code & sales area data.
    please let me know if anyone has faced this type of problem / found any solution on this.
    Best Regards,
    Shubhada

    SAP IMG  -> Cross Application Components -> Master Data Synchronization  Synchronization Control -> Synchronization Control -> Activate Synchronization options
    This setting allows you to activate synchronization of BP with R/3. Not maintaining the values may result in certain fields being read-only in BP.
    Suggested Values:
    Source Object: BP | Target Object: CUSTOMER | Active Indicator : X
    Source Object: BP | Target Object: VENDOR | Active Indicator : X
    Source Object: CUSTOMER | Target Object: BP | Active Indicator : X
    Source Object: VENDOR | Target Object: BP | Active Indicator : X
    Have you set all of the above settings??
    BHARATH

  • InDesign-error exporting to pdf with art linked to a Read only server

    My question is about an error exporting a PDF from InDesign ("Cannot export pdf"). The InDesign file has links to art (a .psd file) from a secure file server where I have Read permission only--not Read/Write. The error only happens when I have linked art from this server.
    To export a pdf, is it necessary to have Write permissions to the server that has linked art? To export to PDF of course I am not changing the linked file! My InDesign file only links to it. So why doesn't it work if I have Read permission?
    Can anyone help?
    Can it really be that Read only permission is not enough for linking to art and making a pdf?

    I wouldn't think it would be a problem. Are you sure you have write permission where you want to save the PDF?

  • Can anyone explain with senairio for textvariables with replacement  path?

    can anyone explain with senairio for textvariables with replacement  path?

    Hi
    your query contains 3 columns...
    column1(year executed by user) column2(year-1) column3(year-2).
    when user enter 2006 key figures headings should appear like this
    2006 2005 2004...
    How can you solve this??
    so create a text variable of replacement path..replace with object year..
    so you will get the above out put..
    you can concatenate like
    actuals 2006 actuals 2005 actuals 2004...
    Hope it clears...
    please assign points if useful
    Thanks
    Teja

  • Making a field as read-only using Forms Personalization.

    Hi All,
    I have one requirement.I developed one form which is used to display Customer related Information.Some fields are created under one block and "reason-for-write off amount" field is created under another block.I have created Master-Detail relation for these 2 blocks.If there is any "reason-for-write off amount" is present for queried customers then it shows the "reason-for-write off amount" data.check boxes also created beside customer number field in Master block.If there is no "reason-for-write off amount" for any customer I need to write it and when I click on "submit" button in my form it goes to database.
    Now my requirement is :
    I need to make "reason-for-write off amount" field as read-only and I need to CHECK corresponding Customer "check_box" and make "SUBMIT" button as disable using personalization.
    I wrote code in Personalization as
    Trigger-Event:WHEN-NEW-FORM-INSTANCE
    Condition: :DUMCUST.REASON_FOR_WRITEOFF IS NOT NULL
    Processing mode:BOTH
    Actions:
    object type: ITEM
    Target Object: :DUMCUST.REASON_FOR_WRITEOFF
    Property Name: Enterable
    Value:false
    object type: ITEM
    Target Object:      :XXMCS_CUSTOMER_DETAILS.CUSTOMER_NUMBER_CBX
    Property Name: Value
    Value:1
    object type: ITEM
    Target Object:      :XXMCS_CUSTOMER_DETAILS.SUBMIT
    Property Name: Enabled
    Value:False
    But it is not working..the applied changes are not affected in my form.I tried the above actions with WHEN_NEW_BLOCK_INSTANCE trigger also.I didn't write any validation triggers for these items in my FMB also.
    Could anyone please help me..
    Thanks in Advance.

    in your iterator declare the inputfield with disabled = true .
    p_replacement_bee = cl_htmlb_inputfield=>factory(
                                id        = p_cell_id
                                disabled  = 'true'
                                value     = comments ).
    this will generate the html like below
    <input type="Text"
    class="urEdf2TxtEnbl urEdf2TxtRo urV" autocomplete="off" id="TAB1_1_4" ct="InputField" name="TAB1_1_4" st="r" tp="STRING"
    readonly value="some value" onblur="sapUrMapi_InputField_Blur('TAB1_1_4',event)"
    onkeydown="sapUrMapi_InputField_keydown('TAB1_1_4',event)"
    onkeyup="sapUrMapi_InputField_KeyUp('TAB1_1_4',event)" onfocus="sapUrMapi_InputField_focus('TAB1_1_4',event)">
    now you can use js getElementById as this now has a id attached (TAB1_1_4)

  • Field is read-only -- Error

    Using ASP vbscript, I created a small query to test one of my
    db connections, requesting three fields from a specified record
    based on URL parameter (this is a different project than my
    previous post) running IIS with an ODBC connection to a local db.
    The ODBC driver is read-only, which is fine, the purpose of this
    project is to display reports, not data entry. Anyway, when I test
    the query in DW CS3, everything is good, I get the results as
    expected. When I upload the page to the remote server and test the
    page I get:
    HTTP 500.100 - Internal Server Error - ASP error
    Internet Information Services
    Technical Information (for support personnel)
    * Error Type:
    Microsoft OLE DB Provider for ODBC Drivers (0x80040E21)
    Field is read-only
    /job_details.asp, line 21
    I am not updating or inserting, so I do not understand this
    error. I also can't find anything on this specific error anywhere.
    Anyone got any ideas about where I should start looking?

    > It is using a DSN. I have never used this particular
    ODBC driver or this
    > type
    > of database before (Omnis), so I don't know if the
    problem was driver
    > specific.
    > All I know is that it works fine if I bypass the
    parameter append.
    >
    > Now if I could just get the connection to work with
    cross-platform
    > servers.
    > In the above example, I put a copy of my datafile on the
    same machine that
    > the
    > web server is running on ... and it's working. But when
    I try to connect
    > to
    > the live db, which resides on a mac osx server I get :
    >
    > Error Type:
    > Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
    > Unable to read disk (bad disk)
    > /job_details.asp, line 16
    >
    > But I can use the same ODBC connection from MSAccess on
    the Windows
    > machine
    > and get query results.
    Normally, I would advise against DSN and recommend an OLEDB
    connection, but
    I've never used that type db, don't know if a string is
    possible.
    www.connectionstrings.com does not show a string for it, so I
    can't help.
    Sorry.

  • REG changing field to Read only

    Hi All
       In CO12 screen and goods movement page,I want to change the batch Number field of O/P item with 101 mvt type to Read only.How can i Do that.Please help.
    Regards,
    PradeepM.
    Moderator message: please do some research before asking.
    Edited by: Thomas Zloch on Feb 24, 2011 2:10 PM

    Hello Asad,
    The exporting parameter et_field_attribute contains the information about the attributes of the fields (read-only, hidden, ...) linked to the object key on your sales order.
    Field property can be :
    A     Not Changeable
    B     Not Relevant
    C     Mandatory Field
    D     No Value Help (F4)
    Regards,
    frederic

  • Changing not possible; field is read-only

    Hello,
    I need update Expected Value in Opportunity.
    Expected Value is bound Opportunity.SalesForecast.ExpectedRevenueAmount.content.
    When I try to update in adsl, "Changing not possible; field is read-only" error appears in frontend to the user.
    Thanks!

    Hi Rodrigo Mathias,Not an answer to your post just to share my problem
    Seems Opportunity has a lot of problems. As in my case i am trying to code in BeforeSave method that when ever the opportunity gets create by code i have to poppulate my CUSTOM Invonved Party ( i have created custom party role ).
    And i have passed partykey.partyId.content and RoleCode but when i click on save it gives me the error about Role Category!
    now when debugged that all Parties ( i debugged and checked whole collection) had the Role category every party from that collection had the Role category associated!
    So i tried to add r
    ole category by code! but that is also public write access set as FALSE!
    So finally i again opened the book for clod , and a line is specificaly written that PartyID node will not be used after 1402 there will be separate node PartyNAme where u can pass partyid , name or email!
    but unfortunately that is also not available in the opportunity BO!
    So i am also kind of stuck!
    Btw one thing i would like to mention is when u try to maintain your custom role in opportunity manually it works and data gets saved!
    Regards,
    Dhruvin

  • Set fields to read-only after addInstance()

    I have this function on my form "add row" which allows user to create a new row to fill in additional fields; when user click submit, the fields of the form will become read-only.
    however after i add another new row into the form, when i click submit that row does not change into read-only.
    this is the code for my add row: Table1.Row1.instanceManager.addInstance();
    and this is the code for my submit button, whereby upon clicking the field becomes read-only
    -----Test.#subform[0].Subform2[1].buttonForm.Submit::click - (JavaScript, client) -----------
    Test.Subform1.IsSubmitted.rawValue = "1"; //submitted ----0 is default
    Test.Subform2.Payee.access = "protected";
    Test.Subform2.Name.access = "protected";
    Test.Subform2.GST.access = "protected";
    Test.Subform2.Amount_GST.access = "protected";
    Test.Subform2.Currency.access = "protected";
    Test.Subform2.Invoice_Date.access = "protected";
    Test.Subform2.Invoice_No.access = "protected";
    Test.Subform2.Company_Code.access = "protected";
    Test.Subform2.Tax_Code.access = "protected";
    Test.Subform2.Payment_Method.access = "protected";
    Test.Subform2.House_Bank.access = "protected";
    Test.Subform2.Description.access = "protected";
    Confirm.presence="visible";
    Edit.presence="visible";
    Submit.presence="invisible";
    Add.presence="invisible";
    Table1.Row1.GL_Account.access = "protected";
    Table1.Row1.DC.access = "protected";
    Table1.Row1.GL_Description.access = "protected";
    Table1.Row1.Amount_exclgst.access = "protected";
    Table1.Row1.Tax_Code.access = "protected";
    Table1.Row1.Fund_Center.access = "protected";
    Table1.Row1.Cost_Center.access = "protected";
    Table1.Row1.Button1.access="protected";
    Test.Subform1.StaticText1.presence="invisible";
    Test.Subform1.Summary.presence="visible";

    Hello,
    Perhaps you could create a trigger for that table that prevents update, delete and even insert of rows before a specified timestamp.
    CREATE OR REPLACE TRIGGER <Triggername>
    BEFORE INSERT OR DELETE OR UPDATE ON <Table>
    FOR EACH ROW
    BEGIN
    IF <RowDate> < <sysdate - <days>> THEN
    Raise_application_error(-20001, 'ROW is in read only range.'
    END;
    null

  • Cmp-field is read-only

    Say I have beans A and B where A <- B (unidirectional relationship)
    and A.cmp_A and B.cmr_A point to same db field
    I try this and get exception as below while doing A.setCmp_A()
    javax.ejb.EJBException: When a cmp-field and a cmr-field (relationship) are mapped
    to the same column, the setXXX method for the cmp-field may not be called. The
    cmp-field is read-only.
    the cmp-field and cmr-field are in separate beans.
    F1

    Say I have beans A and B where A <- B (unidirectional relationship)
    and A.cmp_A and B.cmr_A point to same db field
    I try this and get exception as below while doing A.setCmp_A()
    javax.ejb.EJBException: When a cmp-field and a cmr-field (relationship) are mapped
    to the same column, the setXXX method for the cmp-field may not be called. The
    cmp-field is read-only.
    the cmp-field and cmr-field are in separate beans.
    F1

  • How to change report region fields in read only mode?

    How to change report region fields in read only mode?
    skud.

    add the following javascript fuction to page header(or Javascript function and variables section)
    function disableItems(pRegionStaticId,pDisableFlag) {
      $('#'+pRegionStaticId).find('[name^=f]').each( function(){ /* matches fxx */
        if( $(this).attr('name').match(/f[0-9][0-9]/) ){
          return $(this);
      }).attr('disabled',pDisableFlag);
    pRegionStaticId is the region's static Id+
    Note that this code specifically disables only application arrays. Disabled items are not available after submission (and hence are different from readonly) . But any page javascript can modify disabled or readonly items(client side), so you must check at the server side to validate the data.
    You can disable items using
    disableItems('MY_REGION_ID' ,true);and enable them by passing false
    disableItems('MY_REGION_ID' ,false);

  • I wan't setup for sccm 2012 read only console

    i wan't setup for sccm 2012 read only console

    There is role read only analyst please assign same to user or group.

  • Output Conditions for Header- with Item criteria

    Hi!
    We want to set up the Output conditions for delivery note per storage location.
    SAP has problems with reading it on the header level- as it is only on LIPS. Is there any easy workaround so it picks up the item field?
    Thanks!!
    Cheers
    Bea

    Hello Bea
    You may be able to acheive  this by doing the following:
    1) Add the field 'Storage Location'  (LGORT) to the filed catalog for output with the following activities:
         SPRO/IMG/Logistics Execution/Shipping/Basic Shipping Functions/Output Control/System Modifications for Output/New Fields
         For Output Control
    2) Then create a condition table for the new access:
       SPRO/IMG/Logistics Execution/Shipping/Basic Shipping Functions/Output Control/Output Determination/Maintain Output
       Determination for Outbound Deliveries/Maintain Condition Tables
    3) Then add the new condition table to the requisite access sequence:
       SPRO/IMG/Logistics Execution/Shipping/Basic Shipping Functions/Output Control/Output Determination/Maintain Output
       Determination for Outbound Deliveries/Maintain Access Sequences
    Please review OSS note 756688 which says that  you need to 'go to the item output screen before saving the document the header output is found'.
    It may be worthwhile to remain an output at item level with the same access also.
    OSS note: 756688 - Access sequence with item and header fields
    Hope this helps.

Maybe you are looking for

  • Photo orientation when sending via email

    When I email photos they are displayed in landscape orientation when viewed on the computer but are properly displayed when viewed on the iPhone. Is anyone else having this problem or know how to fix it?

  • Has anyone had any problem with Linksys?

    I haven been trying to connect to my Linksys with speedbooster and I can't figure it out. My entire life I have never used an apple computer. I have called the Linksys support people and they tell me the same thing: "We don't provide support for appl

  • Ati radeon pro hd 3870   any experience to report?

    is anybody using this card? impressions? problems? i have an X1900 and i am getting little stutters in video capture and playback (the movies render ok) and i wonder if the 3870 would help.

  • To set permisson for folders within a folder in KM Public documents

    I have lot of folders created in Public documents section and permission to add more folders are given only to few users. I want all the users to upload or download documents within these main folders. ISSUE: I do want want all the users to create su

  • Email body could not be downloaded

    I have an email account configurated on my Q10. The account type is Exchange ActiveSync. everything worked fine until a few days ago. Now when I want to see the body of a message I get this error message body could not be downloaded I try to remove a