Text Items are non editable

Hi,
I have developed a simple form, which will display values from a view.
I have set the Update Allowed and Insert Allowed properties to Yes, still the fields are non editable.
Can anyone please help me on this.
Thanks in advance

user593058 wrote:
I mean, I could not able to insert new values or update existing values in the form. You haven't answered my question.
Were you able to change the values on the screen but couldn't save it to the database or you couldn't even change the values in the item's on the form's screen???
When you say you are not able to change values, what is the error code/message you are receiving????? You need to provide some information.
Can you explain the above approach? and if we have trigger on the view, then the fields will be editable?If your view is a simple view with no join between two tables, then you can update if you have a join bewteen 2 or more tables and you have calculated fields then you need to have database triggers on the view to execute DML operations on the base tables.
Tony

Similar Messages

  • Text boxes are not editable?

    Why is it that some text boxes are not editable? can't find were to change it? it can be the same tex tbox that is editable in one file copied to another and there is not editable...

    What exactly did you do step by step?
    Also: which version? which platform?
    Is a clipboard enhancer installed in your system? Or some other enhancement to your system? Like Cocktail for Mac OS?

  • PO (Tcode- ME21N)  In Item Text "Material PO text" to be non editable

    Dear All ,
                  We have specific requirment in PO (ME21N). In Item level ther is free text field "Item Texts". In Item texts we have 4 text fields
    (1) Item Text
    (2) Info Record PO text
    (3) Material Po text
    (4) Deivery Text
    As per our configuration in "Material PO text"  Material long description picking from Material master .We want to make this text field Non Editable.
    In SAP there is facility to configure non editable  Texts , But it will non editable all text fields.
    How we can non editable only Material Po text .
    Thanks in Advance.
    Regards
    Abhishek Tiwari

    Hi,
       As of my knowledge, there is no purchase organization specific texts exits. But you may make use of the purchase organization specific text in vendor master. You may define purchase organization specific text for vendor master and then maintain the text in vendor master. You may configure to copy the vendor master text to PO automatically. Refer the doc: Copy Control in MM (Conditions, Fields and Texts): (3rd part)
    Regards,
    AKPT

  • Chart and text items are not synchron

    hi all,
    i am a newbie in apex 4.0.
    i have two regions. the first shows a chart, based on pl/sql-code. second shows text items for possible filter an the current statement of the chart.
    when user clicks on a bar in the chart then
    1. i set the the first text item as filter,
    2. a pl/sql-code runs, build a sql statement, assign the sql statement string to the second text item and
    3. returns the statement for the chart.
    it works fine. the chart refresh. and the data i can see are correct.
    but the text items in the other region doesn't refresh.
    when i press "refresh"-button at browser level everything is fine. chart and text items fits together.
    what can I do to refresh all regions when the chart changes the sql-statment / User clicks?
    Is there any way to read out the current statement of a chart?
    thx in advance
    jogi
    Edited by: Jogi on 09.05.2011 12:31

    Bernd: the reason I asked about views is that you don't have any error messages. This might indicate that (a) you have no items in the view, or (b) there's something wrong with view-role-user assignment.
    To check for (a), please go to the published procurement catalog, and go to Views tab. Check that your View is Active. Click on your View ID link to display view details. You should see a list of characteristics assigned to your view in Assign Characteristics sub-tab (the list should not be blank!). Go to Assign Items sub-tab. Navigate in your schema to find items that are supposed to be assigned to your view. You should see "Yes" in the "Assigned" column for those products. If you don't, then you simply don't have any items in your view.
    Another thing I'd like you to check: when the user calls your procurement catalog for search, do you see the name of the catalog displayed just below the drop-down "Select Categories Hierarchically"?
    Cheers,
    Serguei

  • Create link to delete item (in non-edit mode)

    Hi there,
    I've been trying to create a portlet that displays items (titles + edit- and delete-links) and I got so far as to be able to create the edit-link and that seems to work. The edit link is as follows (p_news is an wwsbr_all_items%rowtype)
    htp.p('<a href="/portal/pls/portal/PORTAL.wwv_edit_tab.edititem?p_thingid='|| p_news.ID ||'&p_cornerid='||p_news.folder_id||'&p_siteid='||  p_news.caid||'&p_language=sf&p_looplink='|| p_link||'&p_itemtype=basetext&p_topicid=-1&p_topicsiteid=0&p_cornerlinkid=&p_parentid=0&p_currcornerid=&p_containerpageid='|| p_news.folder_id||'">Edit</a>');and after a lot of head scratching, I managed to create a delete link as follows:
    htp.p('<a href="/portal/pls/portal/PORTAL.wwpob_page_dialogs.delete_portlets_dlg?p_instance_list='|| p_news.caid||'_'|| (TO_NUMBER(p_news.id)-1)||'_'||  p_news.caid||'_'|| p_news.folder_id||'_'|| p_news.folder_id||'&p_in_edit_mode=1&p_back_url='||p_link||'&p_confirm_url='||p_link||'&p_mode=3">delete</a>');Now what really makes me wonder is this bit:
    p_instance_list='|| p_news.caid||'_'|| (TO_NUMBER(p_news.id)-1)||'_'||  p_news.caid||'_'|| p_news.folder_id||'_'|| p_news.folder_id||'&and specifically the
    (TO_NUMBER(p_news.id)-1)I mean, it works (unlike everything else i tried in the past few days). But can this be true? Can I use this unbelievanble hack-like "solution" in production? Is there a Oracle-approved way of creating delete-links programmatically (outside the html layout templates)?
    Rgds, stupefied in Finland
    Edit: gaaah, how do I get multiple rows of code and not one real long one..? >:(
    Edited by: Baguette on 05-May-2010 03:57

    The API calls are normally executed within scripts but you could obviously call them from a PL/SQL item as well.
    The API call works fine in 10.1.4.2. Did a simple test :
    <ol>
    <li>Create a page group called 'test'
    <li>Add two items of type base URL
    <li>Created a small anonymous block with the following code :
    DECLARE
      CURSOR c1 IS
        SELECT masterthingid,id,version,iscurrentversion,active,siteid,name
        FROM portal.wwv_things WHERE siteid = (SELECT id FROM portal.wwsbr_sites$
        WHERE name = '&PgName') and itemtype = 'baseurl' ORDER BY masterthingid ;
    BEGIN
      FOR c1_rec IN c1 LOOP
      dbms_output.put_line('Now deleting item '||c1_rec.name) ;
      portal.wwsbr_api.delete_item(
              p_master_item_id=>c1_rec.masterthingid
             ,p_caid=>c1_rec.siteid
             ,p_mode=>portal.wwsbr_api.DELETE_ITEM_DEFAULT
             ,p_version_number=>NULL) ;
      END LOOP ;
    EXCEPTION
         WHEN wwsbr_api.ITEM_ALREADY_DELETED THEN
           dbms_output.put_line('ITEM_ALREADY_DELETED');
         WHEN wwsbr_api.ITEM_ACTIVE_VERSION THEN
           dbms_output.put_line('ITEM_ACTIVE_VERSION');
         WHEN wwsbr_api.INVALID_VERSION_NUMBER THEN
           dbms_output.put_line('INVALID_VERSION_NUMBER');
         WHEN wwsbr_api.INVALID_MODE THEN
           dbms_output.put_line('INVALID_MODE');
         WHEN wwsbr_api.INVALID_CAID THEN
           dbms_output.put_line('INVALID_CAID');
         WHEN wwsbr_api.INVALID_ITEM_ID THEN
           dbms_output.put_line('INVALID_ITEM_ID ');
    END ;
    /<li>Ran this code.
    <li>Invalidated the web cache for the root page of test. The items were deleted
    </ol>
    Calling the API directly through your browser is tricky. I tried it and got the following error first :
    +10/05/07 11:57:16 portal: [module=RepositoryServlet, ecid=79740104487,1] ERROR: Repository Gateway error: Request Processing Error:+
    portal.wwsbr_api.delete_item: PROCEDURE DOESN'T EXIST
    This is normal as the procedure is executed by PORTAL_PUBIC. Granting execute privileges on wwsbr_api to public did not help. The error message changed to :
    +10/05/07 11:58:27 portal: [module=RepositoryServlet, ecid=79740176945,1] ERROR: Repository Gateway error: Database Error: ORA=6502 ORA-06502: PL/SQL: numeric or value error: character to number conversion error+
    ORA-06512: at line 31
    In this case, you probably need to wrap the wwsbr_api.delete_item() procedure into your own procedure and call this from your portlet.
    Hope this helps,
    EJ

  • Text editor control to be made non-editable

    Hello Experts,
    Need a small help from you people.
    I need to make a text editor control  non-editable,i n a sub-screen; depending upon the value of a field on the main screen. Can you please let me know of the easiest way out with this?
    Thanks in advance,
    Kumud.

    HI,
    You can write a code in PAI of main screen. there by using loop at screen you can make that field editable or disabled.
    Code sample:
    loop at screen.
    ****condition for value check
    if screen-name = 'TEXT_EDIT_NAME'
    screen-output = 1.
    screen-input = 0.
    modify screen.
    endif.
    endloop.
    Hope this will help you.

  • Make non-editable sections of webpage?

    I'm designing a site using contribute. I'm wondering if I can
    take a webpage that is already completed and make certain sections
    of it uneditable.... such as the main links, or certain divs... Is
    there a way to do this? Or can this only be accomplished with
    templates?
    Thanks so much for all and any help!

    This is possible to create by handcoding, but you have to
    create editable regions and not non-editable regions.
    Contribute understands the editable region code, also when
    it's not a dreamweaver template (using dreamweaver templates of
    course has a lot of other advantages).
    The code you need looks like this:
    <!-- TemplateBeginEditable name="content"
    -->content<!-- TemplateEndEditable -->
    Place it like this in your page and the lorem ipsum p's are
    non editable, the sentence 'This content is editable...' is
    editable. The head section and title are also editable (convenient
    to adjust meta-tags through contribute):
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Untitled Document</title>
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="head" -->
    <meta name="Keywords" content="keywords" />
    <meta name="Description" content="description" />
    <!-- TemplateEndEditable -->
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    </head>
    <body>
    <p>"Lorem ipsum dolor sit amet, consectetur adipisicing
    elit, sed do eiusmod tempor incididunt ut labore et dolore magna
    aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
    laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure
    dolor in reprehenderit in voluptate velit esse cillum dolore eu
    fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
    proident, sunt in culpa qui officia deserunt mollit anim id est
    laborum."</p>
    <!-- TemplateBeginEditable name="content" -->This content
    is editable...<!-- TemplateEndEditable -->
    <p>"Lorem ipsum dolor sit amet, consectetur adipisicing
    elit, sed do eiusmod tempor incididunt ut labore et dolore magna
    aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco
    laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure
    dolor in reprehenderit in voluptate velit esse cillum dolore eu
    fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
    proident, sunt in culpa qui officia deserunt mollit anim id est
    laborum."</p>
    </body>
    </html>

  • How can we make edit and non edit of rows on particular conditions in alv

    hi experts,
                   i am very new to web dynpro for abap.i have one query regarding alv.
    in one view i have alv table with two line items,and line each line item having foue editable fields and remaining are non editable.
    now i am navigating to another view and make some action.here i have generated one value  and updated this value to one field ofselected  line items of alv table in the previous view.now i am coming back to previous view .now i want to display the row of alv table which contain value which is generated in second view as completely non editable and remaining rows are as it is .
    hi guys please look into this and suggests me.

    Hi babu,
    You can do this in one view it self.
    create a one attribute of type wdy_boolean.. in view context.
    Bind these attribute to read only property of table.. and  initially set the value to abap_true in wddoinit method.
    Then create one button say "EDIT" in view and create action for edit button.. in that action set the above attribute value to
    abap_false.
    so now, initially table will be in display mode, when you click on edit mode...it will become editable mode...
    Hope you got some idea.
    Regards
    Srinvias

  • How to display database records in text item

    hello friends,
    I'm using forms6i..
    I have text item named "username" in layout editor.I created this text item from data block wizard..I set Number of items displayed=3 in that wizard..
    In property palette of of "username" i have following changes
    Number of items displayed =3;
    When i click the button named "list_user" it should shows all user names in text item..
    my when-button-pressed trigger code is:
    declare
    cursor c1 is
    select Logid from log1 where logout_date is null;
    begin
    open c1;
    fetch c1 into :username;
    end;
    But my problem is when i run the form only one user displayed in text item..Remaining two text items are having no data..
    The result of the cursor query is :
    SQL> ed
    Wrote file afiedt.buf
    1 select logid from log1 where logout_date is null
    SQL> /
    LOGID
    104
    105
    106
    pls help me
    Edited by: Balraj on Feb 23, 2011 1:45 AM

    I have text item named "username" in layout editor.I created this text item from data block wizard..I set Number of items displayed=3 in that wizard..
    In property palette of of "username" i have following changes
    Number of items displayed =3;Its great that it is working fine, but seems your block is database block based on the same table log1, then why do you want to loop when form has better way.
    Secondly if you have set No of Records for a block then there is no need to set the No of Items displayed for the Item if it is the same as Records displayed for block.
    You can use No of Items displayed for an Item if you need to display no different then no of records else no need to change the default that is 0
    No of items displayed is usually used to display Summary Columns in a multi record block so that you will be able to display just 1 Item rather then as many as the No of records.
    Best Regards
    Arif Khadas

  • How to get JTextPane partially non-editable?

    Hi,
    I am trying to get parts of the JTextPane (that have clearly different styles than regular text) to be non-editable. So far I cannot make a partial setting like this. Netbeans (FFJ) source file editor has a feature like this, but I have not been able to locate their implementation in the source files. Once can move the caret inside the non-editable part, and even select text, but no editing is allowed.
    Does anybody know how to set this up?

    Here's the answer I found in 10 minutes, after having the time to take a look into it:
    The non-editable text (section headers) are blue and bold. So here's the event handler for KeyEvent:
    private void textAreaCommandKeyTyped(java.awt.event.KeyEvent evt) {
    AttributeSet aSet = textAreaCommand.getCharacterAttributes() ;
    boolean bold = StyleConstants.isBold( aSet ) ;
    if ( bold ) {
    Toolkit.getDefaultToolkit().beep();
    evt.consume() ;
    }

  • Is it possible to save a non-editable PDF from InDesign CS6?

    Wehave an issue with our printer and would like to start giving them files that are non editable. In Illustrator it's as simple as checking and unchecking a box in the PDF settings dialogue. I've tried multiple ways that I have across the net but they all are editable once opened in Illustrator for example. We would like to give them flattend/non-editable PDF. We would prefer not to use any passwords or security features.
    Is there a way? Thanks for the help.

    Are you worried that they are opening the PDF in Illustrator and might accidently edit or move/delete something?
    All printers would have either Acrobat or Adobe Reader which is free, so there is no reason for them to open your PDFs in Illustrator.
    Perhaps they are opening them in AI to correct problems in your PDFs. Ask them if there are any issues, it's possible your InDesign or PDF creation process is wrong for digital printing, (for example, Rich Black text that needs to be converted to 100 Black only, etc.)
    Or maybe they are doing imposition.
    However, opening PDFs in Illustrator is still not a good idea. Illustrator is NOT a general purpose PDF editor.
    In Acrobat Pro there are Preflight Profiles and Fixups that may correct some issues.
    PitStop Pro is a better choice for correcting issues in PDFs. And there are also third party Acrobat plug-ins for impostion purposes.
    A RIP with software specifically designed for it will also help fix PDFs without resorting to Illustrator.
    Since your printer is in-house, I suggest you have a meeting to ask if they are opening your PDFs in Illustrator and why they are doing so.
    Perhaps some guidelines should be agreed upon by both sides and enforced by some rules.
    I have a feeling that some additional training (possibly on both sides) is needed to straighten out this situation.

  • How to disable a single row of a multi-line text item

    I am trying to disable a date and a price on each row where the date is current or in the past (on theory the user can't update reference data that is in effect or past, only data which is not yet in use). It appears that forms 6i will make this an all-or-nothing matter, all rows (for a given text item) are enabled or all rows are disabled - no mixing! I am hoping forms is smarter than that, can someone give me knowledge? note: this is not a problem of enabling or disabling at runtime, I have that figured out, only row-specific application of the concept. here is my code:
    for c1rec in get_fees loop
    :cfee_def_dtl.service_fee := c1rec.service_fee;
    :cfee_def_dtl.eff_date := c1rec.eff_date;
    go_item('cfee_def_dtl.holdx'); -- inncouous field, not visible to user, but navigable
    IF trunc(c1rec.eff_date) <= trunc(sysdate) THEN
    set_item_property('cfee_def_dtl.eff_date',ENABLED,PROPERTY_FALSE);
    set_item_property('cfee_def_dtl.service_fee',ENABLED,PROPERTY_FALSE);
    END IF;
    next_record;
    end loop;

    Hi,
    move the logic in New-Item-Instance trigger and based on your condition
    SET_ITEM_INSTANCE_PROPERTY update_allowed as property_false/true.
    Monica

  • Auto calculate column item when another column items are changed in report

    Hello,
    I have a report which consists of some editable text items. These editable items correspond to different columns in the table. Now in the report I want to make one column item to be automated so that it can perform some calculations based on other columns data entered by the user in the report. Like, for example if the user changes text item data for col3, col4 then it should automatically perform the calculations for col10 ; similar to onchage event. Consider a situation where in a user comes and enters data in the report throught the text item for col3, so whenever user changes the data for col3 it should perform the calculations for col10 automatically.
    Can anyone please help me with this issue.
    Thanks,
    Orton

    can anyone please help me with this one.
    thanks,
    Orton

  • Baseline Date- Non editable

    Hi all,
    We want to make the "BASELINE Date " of an open line item as NON EDITABLE.
    As user makes the changes in Base line date every now and then,when it is open item.
    I have tried to change the setting in OB32  for BSEG-ZFBDT  by removing the check mark in "Fields can be changed" (Possibility for changing the fields), but the system is prompting an error as
    "Only specify requirements for changing fields which can be changed
    Message no. FC130"
    Do let me know how can i incorporate my clients req. in the system
    Thanks for your patience and Time.
    Do Revert
    Regards

    Hello,
    Do you know how can you use Business transaction event?
    If yes, 00001110 Interface BTE using is the best way for this validation.
    You should copy from SAMPLE_INTERFACE_00001110 to ZFI_INTERFACE_00001110. And make customizing in FIBF transaction.
    Then you must write some ABAP code in this FM.
    When you push save button on FB02, you trigger in this FM. In this FM XBSEG keeps changed value and YBSEG keeps values before save operation. So you can compare XBSEG-ZFBDT and YBSEG-ZFBDT field. If there is difference you set an error message.
    Regards,
    Burak

  • Clearing text items

    hi
    I have some text items, user enters data into these text item and presses ok button.
    After that the data is inserted into the database, but the text items are not cleared.
    What should I do to clear text items after an insert?

    Ricardinho wrote:
    one last question:
    During insert, I runinto an error message:
    INSERT INTO DRV(DRIVER_NO,DRIVER_NAME,VEHICLE_REGISTER,DRIVER_CERTIFICATE,DRIVER_ABN,ADDRESS,PHONE,*DRIVER_NUMBER*,*VEHICLE*,*VOUCHER*) VALUES (:1,:2,:3,:4,:5,:6,:7,:8,:9,:10)
    ORA-00904: Voucher invalid identifier
    Eventhough I delete DRIVER_NUMBER,VEHICLE,VOUCHER items from the database and from the datablock, I still got this error message?
    Any idea?ORA-00904 is the error code for invalid identifiers, your SQL clearly showing that the block still has the three columns as database items in your block.
    make sure you don't have in any block the items set as database items.
    Tony

Maybe you are looking for