BBP_CUF_BADI2~MODIFY_SCREEN, field not apperaing as Read Only

Dear Experts,
I am writing a simple code in BBP_CUF_BADI2 for displaying a custom field added under basic data tab of item overview as Read Only.
DATA: ES_FIELDS TYPE BBP_CUF_DISPLAY .
LOOP AT ET_FIELDS INTO LS_FIELDS WHERE FIELDNAME EQ 'ZZFIELD' .
ES_FIELDS-XDISPLAY = 'X' .
ES_FIELDS-XINPUT = '' .
ENDLOOP.
MODIFY ET_FIELDS FROM ES_FIELDS TRANSPORTING XDISPLAY XINPUT WHERE FIELDNAME EQ ES_FIELDS-FIELDNAME .
I checked in debuggig and structure es_fields and table et_fields looks fine in BADI and displayed as read only in basic data tab, but when the field is displayed under the tab Default Settings For Items it appears as inputfield instaed of read only field.
Any pointers?
Thanks a lot,
Anubhav
Edited by: Anubhav Jain on Mar 21, 2010 8:11 PM

Hi Rohit,
You appear to have answered your own question in this thread, i.e. you mention that under particular circumstances the required functionality is working, so stick to this configuration:
'This functionality is working if we dont make entry in bbp_cuf_inclname with SET_TYPE as header .'
Regards,
Jason

Similar Messages

  • This operation is not available for read only field 'Type MVF'

    Hi All,
    We are using OrderToCash PIP and we are on Siebel 8.1X.
    While Synching the customer from Ebiz to Siebel facing the following issues:
    Method 'WriteRecord' of business component 'Account' (integration component 'Account') for record with search specification '[Row Id] = "2d3434313239353"' returned the following error:"This operation is not available for read only field 'Type MVF'.(SBL-DAT-00402)"(SBL-EAI-04451)
    Please suggest us what steps to be done in Siebel.
    Thanks
    Maanasa

    First check the process why this is calling Account BC WriteRecord(). The field "Type MVF" might be read only and this sync process is trying to update this field which is read only. This is the reason for the error. Check the OM log / EAI Obj Manager Comp log (set log level to 5) and check.
    Joseph Arul Dass

  • Enter event not triggering for read-only checkbox

    I have some objects in a form that get "locked" when the user signs the form.  I'm not using the digital signatures.  Instead, when the user types their name into the signature text field, a script runs on the change event that makes all of the fields in the form read only.  It also unlocks the fields if the signature is deleted.
    I was worried that we would get a lot of phone calls with users that didn't understand that the form had locked ("Why doesn't this form work?!"), so I added some code to the enter event for all of the fields that would pop up a messagebox to explain to people trying to edit a signed form that the form was locked and that they would need to delete the signature to edit the form.
    This plan works perfect for my text fields and decimal fields.  It does NOT work at all for my checkboxes.  For some reason, the enter event is never triggered for read-only checkboxes.  I don't see any other events that would obviously work for me though.  Any ideas?
    Thanks

    Thanks, those are reasonable suggestions.
    In the first suggestion, I'm unclear about one aspect of how I would accomplish this.  I assume I would allow people to modify fields in the form, but that when they did, a msgbox would pop up that would inform them that, if they continued with this modification to a signed form, the signature would be removed.  I'm all good to that point.  But if they answered that they do not want to continue modifying that field and removing the signature, how can I code it to set the value back to what it was before the change?  Is there some method that will give me access to the value of the field BEFORE the attempted modification?  I went looking for something like $.previousvalue, but found nothing.
    I'd suggest that I could use a two-stage solution, in which I store the previous value on the enter event, and save it just in case they do not want to change the field when prompted by the msgbox, but since the enter event does not exist for checkboxes (my original problem), that seems like it won't work.
    As far as radio button suggestion, I like radio buttons very much except for one fatal flaw: they aren't (as far as I can tell) clearable.  That is a shame.  Clearly some people (like me) want both exclusivity AND clearability.  And we'd like the controls to have an enter event.  But I know I'm demanding   Anyway, as it is, I just end up having to use checkboxes and create a boatload of silly code to make them exclusive.
    Emily

  • SharePoint 2010 List View Web Part not showing for read-only users?

    Hello all,
    I have List View Webparts on my Blank Web Part page, and it's not showing for Read-Only users.
    Is this intended by Microsoft or is it a bug?
    Thank you!

    Hi,
    According to your post, my understanding is that the read only user could not see the list view web part.
    Per my knowledge, the issue may be cause that the user do not have the proper permission for the list.
    1. Check whether the user can access the list.
    2. Check whether the user can view all the items instead of partial items in the list.
    3. Check whether there are some fields refer to other lists or terms, especially the lookup field or managed metadata filed.
         If that is the case, make sure the user can access the lookup list.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • Signing: Empty list in "Field Selection" when picking fields to mark as read-only on signing

    I have a PDF form with some signature fields. I am attempting to mark some of the fields in the document as read-only when the document is signed. This is what I did:
    1. Modify the "Signed" properties of the signature field.
    2. Choose "Mark as read-only" and "Just these fields" in the drop down list beside this option.
    3. Click on the "Pick" button to select the fields to be marked read-only when the user signs this field.
    In the "Field Selection" dialog that comes up, nothing is shown in the list.
    Am I doing something wrong? Is there something I need to do to add fields to this list, or should it be populated automatically allowing me to choose what I want?
    I noticed this feature is only available for Acrobat 6.0 and later. The compatibility level for the document I created is 1.6 (Acrobat 7 and later). It is created in Acrobat X.
    Just figuring my way around these things. Did a google search for any solutions, but couldn't find anything on this.
    Any help would be greatly appreciated.
    Thanks,
    Ron

    Hi Ron,
    It certainly sounds like you are on the right track.What version of Acrobat are you using, is it Pro or Standard, Mac or Win? I see where you mentioned the file was created in Acrobat X, but I'm not sure that the app that create the PDF file is the same version as the one you are using for editing.
    Steve

  • Is it possible to make comments or notes on a read only pdf document?

    Is it possible to make comments or notes on a read only pdf document?  Thank you.

    With Preview you can use the annotations feature.   There's a free  application, Skim, that is designed for annotating and making notes on PDFs. 
    OT

  • Field that is Calculated - Read Only - Capturing output in XML after?

    Hello:
    I have defined a Calculated - Read Only field but I have not successfully bound it or captured its value in XML.
    In my Object Palette I do not have a Binding tab, so how do I capture its value in XML after?
    Thanks,
    Newbie in Adobe

    Unfortunately the fields you included in that Import/Export were text fields and thus had the Binding tab available in the Object Palette.
    Fields that are of type Calculated - Read Only do not have the Binding tab, so to get around that, I defined my variable to be Read Only, and added my calculation to the calculate script. The Binding tab was available and thus allowed me to bind my output.
    Problem solved.
    Thanks anyways,
    Newbie in Adobe

  • How to get the value of a parameter/field in a ADF Read-Only Form

    Hi,
    My requirement is as follows. Could anyone shed some light on this issue.
    I am showing the records from db table using ADF Read-Only Form ( which uses ViewObject created for the table). Now I want to capture(get) the value of a field in this form and then have to invoke an action based on the value in this field. I mean to say the next page depends the value of a field in this form.
    Please suggest how can I achieve this functionality?
    Thanks in advance.
    ~Sivaji

    That's indeed what Sivaji needs.
    In the page definition you can add a value to the parameters of a certain method. Like RJundi mentioned, point to the attribute of the current row.
    Example:
    The value of the read only textfield will be something like this:
    #{bindings.EmployeeName.inputValue}points to an attribute value in the pageDef of the page:
        <attributeValues id="EmployeeName" IterBinding="AllEmployees">
          <AttrNames>
            <Item Value="EmployeeName"/>
          </AttrNames>
        </attributeValues>The attribute value has also an iterator binding defined in the page def:
        <iterator id="AllEmployees" RangeSize="10"
                  Binds="AllEmployees" DataControl="MyService"/>If you want to 'pass' the attribute of the current row to the service, you can create a methodaction (eg: public void printEmpName(String name)) in the page def or you can drop the method from the datacontrol on to the page. After dropping the method, a screen will appear asking to fill in a value for the parameter ('name' in this example). Fill in '#{bindings.EmployeeName.inputValue}' if you want to pass the EmployeeName of the current row.
    Hope it helps,
    Koen Verhulst

  • Default Setting for a Radio Group not activated when Read-Only

    I have an Item on a page that is a Yes/No radio group. It is conditional read-only and has a conditional default value. Both the read-only section and the default section use PL/SQL blocks to determine there use. When the read-only condition is true the radio group is grayed out but neither the Yes or No button is checked. It then returns a null value when the page is submitted.

    See
    http://htmldb.oracle.com/pls/otn/f?p=24317:105
    Default is Yes (http://tinypic.com/i39qh4.jpg)
    Readonly is true (http://tinypic.com/i39s7p.jpg)
    Rendering works fine.
    But when the page is submitted, the Yes value doesnt get into session state.
    This is because the read-only is implemented by setting disabled=disabled on the radio element.
    As per relevant standards (http://www.htmlhelp.com/reference/html40/forms/input.html), disabled form elements are not submitted during a POST operation.
    But if it is a readonly item with a default value, you already know the value (you put it there), so why do you need it in session state, just use the default value (hardcoded)
    Thanks.

  • Unlock a FM file that does not have the Read-only attribute?

    I have FrameMaker 8.0p277. I was trying to import formats from a file on my network. Everything froze. I had to reboot. When I reopened my FM book file and the individual chapter files, I got the lock message that prompted me to reset the lock and open each file. I did that--opened each file and reset the lock in each file. However, when I go to update my files, I get a message that one of my files is read-only. The attribute settings does not say this. I also can't even click in this file any more. I tried removing it from my book file and adding it back in. But that didn't change anything. Is there a way to get this file unlocked again?

    This happened to us once.
    Be sure you are pressing the keys sequentially, except for F, that is:
    Esc
    Shift+F
    l
    c
    Except for Shift+F, do not press all the keys at the same time.

  • How to make fields with Forms Builder "read only"

    Hello,
    I'd like to make the fields "date" and "user" in the news form read only so that the user cannot edit them. Is this possible and how. ?
    Andreas

    Yes its possible. You use a label instead of a field. But you need to refer to datascheme in your label.
    Example: you drag drop your field on the work page.
    You look in its attributes and copy the part datascheme reference.
    You remove the field and drop a label instead on the workfield. You refer to this datascheme instead of the fixed caption.
    Best Regards,
    Frederik

  • DBMS - Data not visible to read only account users.

    I have created below view to know the status of my batch jobs which run on server every sunday.
    CREATE OR REPLACE VIEW CAFDB_REFRESH AS
    SELECT
    log_id,
    owner,
    to_char(log_date, 'DD-MON-YY HH24:MI:SS') TIMESTAMP,
    job_name,
    status,
    ERROR#,
    run_duration,
    instance_id,
    additional_info
    FROM user_scheduler_job_run_details;
    it is working fine and i am able to get the information.
    now to make it visible to read only account users - using "grant select " i have given access and also created public synonym.
    but it is showing only column names in read only account not the data.
    how to make this visible to read only account?
    please guide.

    USER_ views will only have the objects owned by the user running the query..In your case it will have only the schedules done by the user.
    You will have to ue ALL_ or DBA view (all_scheduler_job_run_details)

  • Style Code Not Working for Read Only Users !

    Hi 
    Can anyone help us with this issue. We have created some special Styling code in order to hid the Quick Launch on the home page of our main SharePoint site. The Styling works no problem at
    all for users with edit rights, however we found that the styling did not work for users with read only access.  What we found was that if we switched on the "Edit Items  -  Edit items in lists, edit documents in document libraries, and
    customize Web Part Pages in document libraries." in the List Permissions for the Permission Levels for the Read Access group, the Styling then works no problem at all. HOWEVER it then gives those users the ability to EDIT the site page, as it then
    puts the Edit option on the page top right for the user to click and then mess up the web page, which we can not permit. 
    SO..... How do we get this styling to work for ALL user types ?

    Hi,
    This usually happens when the CSS file is not published or approved, please check it.
    If the CSS files uploaded in the Style Library, please check whether you had to check in those CSS files or not.
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • SPSecurity.RunWithElevatedPrivileges Not Working for Read Only Permissions Users

    I have the following code in a method that generates tabbed web parts on any page in SharePoint 2010.
    The problem is that it will not work for users who have Read access only on a SharePoint site.  It will work when those users have Contribute access.  
    So even though I have elevated permissions in the code it does not actually elevate the permissions at the point where it is needed.
    if (panel != null)
    try
    using (SPLimitedWebPartManager wpManager = SPContext.Current.Web.GetLimitedWebPartManager(HttpContext.Current.Request.Url.ToString(), PersonalizationScope.Shared))
    try
    // Elevated previleges required for EXPORT and IMPORT. Else Users with normal read access will get errors.
    SPSecurity.RunWithElevatedPrivileges(delegate()
    // Retrieve the web part titles in the ConfigureTabs XML string for this tab.
    var webPartTitles = from t in xDocument.Descendants("webPart")
    where (string)t.Parent.Attribute("name") == (string)e.Item.DataItem
    select (string)t.Attribute("title");
    foreach (string wpTitle in webPartTitles)
    foreach (System.Web.UI.WebControls.WebParts.WebPart webPart in wpManager.WebParts)
    // Find the matched closed web part in WebParts collection
    if (webPart.Title == wpTitle && webPart.IsClosed == true)
    string errorMessage;
    //ADD EXPORT PROPERTY
    webPart.ExportMode = WebPartExportMode.All;
    MemoryStream stream = new MemoryStream();
    XmlTextWriter writer = new XmlTextWriter(stream, System.Text.Encoding.UTF8);
    // Export the closed webpart to a memory stream.
    wpManager.ExportWebPart(webPart, writer);
    writer.Flush();
    stream.Position = 0;
    XmlTextReader reader = new XmlTextReader(stream);
    // Import the exported webpart.
    System.Web.UI.WebControls.WebParts.WebPart newWebPart = wpManager.ImportWebPart(reader, out errorMessage);
    reader.Close();
    writer.Close();
    // Show the imported webpart.
    panel.Controls.Add(newWebPart);
    break;
    catch (Exception ex)
    // For debugging use only.
    Label label = new Label();
    label.Text = "Please check your XML configuration for error. " + Environment.NewLine + ex.Message;
    panel.Controls.Add(label);
    catch (Exception ex)
    // For debugging use only.
    Label label = new Label();
    label.Text = "Please Check SPContext.Current.Web is not null. " + Environment.NewLine + ex.Message;
    panel.Controls.Add(label);
    This snippet of code was originally pulled from a microsoft technet article on creating Tabbed web parts "the correct way" but it doesn't work in all scenarios.
    Is there a way to get this code working for Read/Visitors to a SharePoint site?

    From initial observation what I see is that your SPLimitedWebPartManager is not created from an elevated web. Try like below
    SPSecurity.RunWithElevatedPrivileges(delegate()
    using(SPSite elevatedSite = new SPSite(SPContext.Current.Site.ID))
    using(SPWeb elevatedWeb = elevatedSite.OpenWeb())
    using (SPLimitedWebPartManager wpManager = elevatedWeb.GetLimitedWebPartManager(HttpContext.Current.Request.Url.ToString(), PersonalizationScope.Shared))
    { //Rest of your code
    Geetanjali Arora | My blogs |

  • BUG:text-align:right; inline style not working on read-only af:InputText

    Hello,
    A bug in how af:InputText works if readonly=true. I have an af:InputText that has "text-align:right;" for the InlineStyle. The inputText is inside of an af:Column in af:Table. If the inputtext is readonly=false, it works properly and renders right-aligned. If readonly=true, then it renders left-aligned. I have also tried setting inlineStyle for the column to text-align:right;, and I get the same behavior.
    Regards,
    John

    John,
    Try adding formatType="number" to your af:column (if you want all data in that column aligned to the right). If you don't want the entire column right aligned, try using disabled instead of readonly.
    Jim

Maybe you are looking for

  • Report resolution (96DPI or higher than 96 DPI) in regards to image quality

    We have discovered that the default rendering mode for reports in WebI is 96 DPI, even though the SDK seems to allow more flexibility than that, so we are wondering if there is some hidden option to cause WebI to render content at a higher DPI. The s

  • No Airprint in the Share Menu!

    if i press the share icon in any of the apps that  there is no print option in photos are only the "send as e-mail" and "wallpaper" option

  • Data Transfer from PLM to SAP R/3

    Dear All,              Any one pls explain me how to transfer Data from PLM to R/3.           I transferred data like Part number,its components,ECN and Revision level from PLM to R/3 Ztable.From there I want to Update / Change BOM wref to ECN and Re

  • New Problem...installing Ovi maps

    cant install even update in facebook,internet radio... i got the latest nokia suite... Solved! Go to Solution.

  • Permissions issues on backup volume

    I just finished a complete reformat and reinstall of 10.3 with the intent to just restore certain data from TM. I ended up creating trouble for myself by creating my new user account with a different name than the old one. While I could retrieve data