Making existing text read-only

Hi
   I need to make existing long text read-only in transaction MSC2N. But user should be able to enter new text. I didn’t find any user exits when the user goes to text editor in this transaction. I found a badi but it doest seem to work. Could you plz guide me with this
Thanks

Hi, I have the same situation.
When the user go to text editor, set mode as read only.
I not found user exits when the editor is called.
The transcation call the standard program SAPLSTXX (Sapscript Editor), using form create_editor
Thanks

Similar Messages

  • Making Detail Items Read Only

    I used the following to make detail items read only. The problem is one of the fields is a date with date picker. I cannot enter the date but if I use the date picker it allows the field to be updated.
    <script>
    if($v("P20_STATUS")=="SIGNED")
         arr = document.forms[0].f04;
         arr1 = document.forms[0].f05;
         arr2 = document.forms[0].f06;
         arr3 = document.forms[0].f07;
         for (i=0;i<arr.length;i++)
              arr.readOnly=true;
              arr1[i].readOnly=true;
              arr2[i].readOnly=true;
              arr3[i].readOnly=true;
    </script>

    I don't see a field named _IMG on my detail block. Here are the date fields for both records. I am trying to set the datepicker popup to read only but do not see how to do that.
    <td headers="WORK_DATE" class="t13data">
    <fieldset class="datepicker" id="f05_0000_fieldset">
    <table summary="" border="0" cellspacing="0" cellpadding="0" class="datepicker" id="f05_0000_holder">
    <tr>
    <td class="datepicker"><input type="text" name="f05" size="10" maxlength="2000" value="" id="f05_0000" /></td>
    <td><a href="javascript:void($p_DatePicker('f05_0000','0','MM/DD/YYYY','#666666','','','','','2011','en-us','Y','30034','7259688222750517497','01','210'));">
    <img src="/i/asfdcldr.gif" alt="Calendar" align="absmiddle" /></a>
    </td></tr></table>
    </fieldset>
    </td>
    <td headers="WORK_DATE" class="t13data">
    <fieldset class="datepicker" id="f05_0001_fieldset">
    <table summary="" border="0" cellspacing="0" cellpadding="0" class="datepicker" id="f05_0001_holder">
    <tr>
    <td class="datepicker"><input type="text" name="f05" size="10" maxlength="2000" value="12/30/2010" id="f05_0001" /></td>
    <td><a href="javascript:void($p_DatePicker('f05_0001','0','MM/DD/YYYY','#666666','','','','','2010','en-us','Y','30034','7259688222750517497','12','210'));">
    <img src="/i/asfdcldr.gif" alt="Calendar" align="absmiddle" /></a>
    </td></tr></table>
    </fieldset>
    </td>
    I don't see how to do this from the link you gave me.
    form1.IMAGENAME.style.display="none";

  • Making configuration screen read only

    I'm very new to LabView so please forgive me if the question seems rather stupid. We all have to start somewhere I guess.
    I've been tasked with looking at an application written in Labview 6.
    Currntly there is a screen in the application that allows configarable parameteres to be changed by the users. The modification requires that some users are only allowed a read only view of this screen.
    While I'm not looking for an all out answer I'd really appreciate some pointers in the right direction as to the ways I may be able to implement this.
    Thanks
    Monk

    "Monk" <[email protected]> wrote in message news:[email protected]..
    I'm very new to&nbsp;LabView so please forgive me if the question seems rather stupid. We all have to start somewhere I guess.
    &nbsp;
    I've been tasked with looking at an application written in Labview 6.
    &nbsp;
    Currntly there is a screen in the application that allows configarable parameteres to be changed by the users. The modification requires that some users are only allowed a read only view of this screen.
    &nbsp;
    While I'm not looking for an all out answer I'd really appreciate some pointers in the&nbsp;right direction as to the ways I may be able to implement this.
    &nbsp;
    Thanks
    &nbsp;
    Monk
    &nbsp;
    &nbsp;
    Hi,
    The easiest (but not necessarily the nicest) way it to put a big transparent button above it. Hide the button if the login is ok, show it (nothing is actually shown, it is transparent) if not. Use the property node "Visible" to show/hide the button.
    You'll also need to disable tabbing (right click each control, and select Advanced>Key navigation>Disable this control when tabbing).
    A better way is to put all controls in a cluster (this can be a disaster if you have a lot of them, wired and all). Then you can simply disable/enable the cluster with a property node "Disable".
    You can also create "Disable" property nodes for each and every control and enable/disable all of them. In LV7> you can put this code in a subvi making it a lot cleaner.
    Hope it helps,
    Wiebe.

  • Is there any performance value to making a tablespace READ ONLY?

    In 9i, if I were to set a tablespace which only contains data to be reported over - is there any value in making it READ ONLY other than "safety" of the data? I am particularly interested to know if it can increase performance.
    Thanks

    When you say safety, you are partly correct, because data cannot be deleted, but it can be dropped, check the below SQL statements.
    With regard to performance, yes you will gain some. For better performance while accessing data in a read-only tablespace, you can issue a query that accesses all of the blocks of the tables in the tablespace just before making it read-only. A simple query, such as SELECT COUNT (*), executed against each table ensures that the data blocks in the tablespace can be subsequently accessed most efficiently. This eliminates the need for Oracle to check the status of the transactions that most recently modified the blocks.
    http://download-east.oracle.com/docs/cd/B10501_01/server.920/a96521/tspaces.htm#922
    SYS@BABU> create tablespace test_ts datafile 'D:\ORACLE\ORADATA\TEST_TS1.DAT' SIZE 15M
      2  EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1M;
    Tablespace created.
    SYS@BABU> CREATE TABLE TAB1 (A NUMBER) tablespace test_ts ;
    Table created.
    SYS@BABU> BEGIN
      2  FOR A IN 1..10 LOOP
      3  INSERT INTO TAB1 VALUES (A);
      4  END LOOP;
      5  COMMIT;
      6  END;
      7  /
    PL/SQL procedure successfully completed.
    SYS@BABU> ALTER TABLESPACE test_ts READ ONLY;
    Tablespace altered.
    SYS@BABU> DELETE FROM TAB1;
    DELETE FROM TAB1
    ERROR at line 1:
    ORA-00372: file 6 cannot be modified at this time
    ORA-01110: data file 6: 'D:\ORACLE\ORADATA\TEST_TS1.DAT'
    SYS@BABU> truncate table TAB1;
    truncate table TAB1
    ERROR at line 1:
    ORA-00372: file 6 cannot be modified at this time
    ORA-01110: data file 6: 'D:\ORACLE\ORADATA\TEST_TS1.DAT'
    SYS@BABU> DROP TABLE TAB1 ;
    Table dropped.

  • Making a transaction read-only for a particular user status

    Hello,
            I have a requirement wherein I need to make an opportunity read-only if it is saved with the user status set to 'Lost'. I tried setting the 'Forbidden' flag for 'Change Document' for this status but the problem is that the transaction gets locked even before saving it.
    I have a 'Reason' field where I have dropdown values for the 'Lost' status. But when I try to select a reason, error message appears as: 'no changes possible in document'.
    Is it possible via configuration to have the transaction locked only after it is saved with user status 'Lost' and not immediately on setting the status?
    Regards,
    Aditya Mishra

    2 ways to achieve it...
    1. the document editing can be controlled based on its status i.e. standard auth objects exist to control so that user is not able to make changes with this status.
    2. implement BADI CRM_ORDER_AUTH_CHECK
        put your logic to check the document status and accordingly reutrn FALSE if you do not want user to open it in edit mode.
    hope this helps.
    rgds

  • Making a pdf "read only"

    Hello
    I created a document (459 pages !!! ) in Microsoft Word and then converted it to Adobe Acrobat Professional.  It is stored on a drive which is shared by a "bunch" of users.  This was not a problem, before, because none of the folks who utilized the document had anything except ADOBE Reader.   Now, because of new functions they have to perform, more and more of the staff are getting Professional.
    All of that said, I need to secure the document so that it is a "read only" document for everyone except me, whether it is opened in Reader or Pro.
    I have tried using the help functions but I'm just not getting it     and need a little hand holding.
    Can someone please walk me thru the steps of what I need to do.  ( Pretend I'm a total computer moron ) 
    Thank you.

    You can configure the document's Security Settings to make the PDF read only.
    1. Click Document > Security > Show Security Settings for this Document.
    2.  Select Security Method as Password Security.
    3. At the Password Security Settings dialog, check the Permissions box and assign a Permissions password known only to you (users can open the document without knowing this password)
         a. Define a setting for printing of the document as needed
         b. Define the setting for changing the document (None=read only; other restrictions are possible—experiment!)
         c. Enable copying of the document if needed
    4. Click OK to save these settings.
    5. Retype the Permissions password in Step 3.
    6. You must save the document to preserve these settings.
    HTH

  • Acrobat 8--Making a pdf Read-Only

    My little pamphlet included with acrobat says I can make a pdf read-only. It never says another word about that. I tried security with passwords. What I got was some a document that wanted me to enter the password(s) each time I tried to access it. That's not what I wanted. There are hundreds of pdfs floating around on the web who seem to be read-only. I want to allow people to save, print and view it, but not modify it. How does one do that?

    OK, I finally figured out how to remove password/permission (change), and then get just a change permissions password. I'm using the pop-up menu Documents Properties dialog to do this. When I look at the summary, it shows Changing the doc allowed, Commenting allowed, ..., Content copy allowed. However, when I go to Change Settings (via button), the story is different. The Changes Allowed pulldown selection shows None. If I pull it down, I see no way to make individual choices shown on the summary. Ah, got it. Good enough. Thanks.

  • Making Marketing Calendar Read only for Trade Promotion

    Hi,
    We are trying to use Marketing Calendar in CRM 7.0 to view the trade promotions.  But the client wants the Marketting Calendar to be read only view.  The end users should not be able to drag the TPs to extend the date. Also they should not be able to create, copy or delete the TPs.  These end users will be able to create TPs when going through the TP link. 
    Please advise how can I achieve this.
    Regards
    Kavitha

    Hi Kavitha,
    This feature in introduced in the new Integrated Marketing Calendar. See if you can use it.
    http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/704e0c72-a7ed-2d10-c2bb-d4162cf5cbca
    Best Regards,
    Roshan

  • Making a field read only (and bound) or editable depending on some criteria

    Hi,
    I am using Netweaver 2004s SP15 and Adobe Lifecycle Designer 7.1 with Web Dynpro for Java.
    I am generating a PDF that contains a number of fields that are bound context values attribues.
    Now I know according to certain criteria if any given field will have a value....
    Now if such a given field has a value then it must populate the Adobe form and make that field read-only - so it can not be changed.
    However, if that field has no value.. instead I need to make it editable.
    I am re-implementing the application this will be used within; and the previous version had 8 different interactive forms to cater for the 8 different possible combinations of fields that would not have values.
    I would really really prefer to have one interactive form to maintain with logic in it that determines dynamically if a field should be read-only or editable. (For example I could have a boolean context node that could be used)
    Am I doomed to have to create 8 different forms? Or is there a way of doing this smarter?
    Thanks to anyone who can point me to the light,
    Ilan

    hmmm....
    I did a search through the forum using the phrase "javascript" and it turned out a lot posts that indicate that this should indeed be possible.
    I am boggled, the original application was developed by an Indian outsourcing company that is well respected. The developer who took over maintenance of it told me that it was impossible to change the read only nature of the fields once set at design-time.
    My search through the forum has turned up much to indicate that this design was idiotic and the "facts" I was given completely wrong.
    grrrrrrrrrrrrrrrrr... I am marking this as answered now. I will have to learn some javascript.
    Are there any caveats for using it within WDJ?
    I am assuming I can do something simple in pseudo-code.. (I will need to work out the Javascript version).
    if (hasOption1) {
      field.readonly = true;
      field.style = sunken;
    else if (hasOption2) {
    else if (hasOption3) {
    etc
    (There are only actually 3 options that can change.. but that results in 8 different possible forms)

  • Making Examine utilty read only

    We are managing 11.5.10.2 (RUP 3) instance. As per our Auditing requirements we have to disable Examine Utility (By setting the profile option Utilities:Diagnostics to No) but our support team members wanted to have this feature as it is required for their regular support. But using this features, the support team members gets the ability to change the data using Examine feature (in HELP menu) which is a security breach. So we need to find a solution so that support team members can not update the data but only use this feature to view. Please let us know how we can address this problem.

    user597944,
    I think you are talking about Forms PUI. Better put your issue on http://forums.oracle.com/forums/forum.jspa?forumID=40
    As far as I know, this utility asks for a password. Why don't you make sure that your support team has only read only access password.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Making OAF page read-only

    Hello,
    In forms to make a form read-only we set the parameter QUERY_ONLY=Yes
    like that for OAF page do we have any option to make the entire page query only. can OAF personalization be used for this?
    Thanks.

    There is no such functionality... in OA Framework, by which u can turn all the fields on a page to read only by some page layout region property. You would have to set the read only property to true for each bean in the page.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Making a row read-only in a Rowset

    Hi OTN
    I am trying to make a row ReadOnly in a Rowset Through the following peoplecode put in the Component PostBuild
    Component Rowset &LV1_RS;
    &LV1_RS= GetLevel0()(1).GetRowset(Scroll.AB_REC);
    For &I = ActiveRowCount(Record.AB_REC) To 1 Step - 1
    If &LV1_RS(&I).AB_REC.EMPLID.Value = "9876543" Then
    &LV1_RS(&I).Enabled = False;
    End-If;
    End-For;
    But this doesnt work..since here for the row the Property "Enabled" is not present like how "Visible" is present.
    Can you help.
    Niranjan

    Hi,
    As you said there is no property of the class Row to make a row display only.
    What you can try is making all fields on the row displayonly.
    Component Rowset &LV1_RS;
    &LV1_RS= GetLevel0()(1).GetRowset(Scroll.AB_REC);
    For &I = 1 to &LV1_RS.ActiveRowCount()
       If &LV1_RS(&I).AB_REC.EMPLID.Value = "9876543" Then
          &row =  &LV1_RS(&I);
             For &j = 1 to &row.RecordCount
                &REC = &row .GetRecord(&j);
                   for &k = 1 to &REC.FieldCount
                      &REC.GetField(&k).DisplayOnly = True;
                      &REC.GetField(&k).Enabled = False;
                   end-for;
             End-For;
       End-If;
    End-For;

  • Making a pdf read only once

    Is there a way to secure a pdf file so that it can only be read once.
    When re-using the security key, the file will not open a second time.
    If that is possible how do you do so with Acrobat pro XI
    Thanks.

    Even with Adobe's LiveCycle Rights Management, there is not a way to automatically enforce that a user can only open a particular document one time at most. Instead, you set time periods for validity, but  can manually revoke access to a protected document.

  • Making region items read only.

    I have a default single column that corresponds to a VO that uses a single select statement in my page. This page is used for inserting into table. When user enter the details and press continue button, i need to use forwardImmediatelyToCurrentPage(), and make the default single column region items readonly. so that the same page will become a review page. How can i make the region items readonly at runtime?
    Thanks
    Eldho

    Hi,
    Please put a parameter with a value 'Y' before you set forward the navigation to the same page. This code has to be triggerred in the processForm Request.
    In the processRequest read for the parameter value and make the fields as readonly if the value of the parameter is the same that has been sent from the PFR.
    This is a simple approach. Another Approach could be to use Partial Page Rendering and set the attribute values as ReadOnly true. But I wd say the first approach is easier.
    Regards
    Sumit

  • Ho to make a read only / disabled input text mandatory?

    Hi All,
    I'm using ADF to display data for a human task. Part of my requirement is to display a payload attribute as an output text/ read only input text. If this is null, the form should compel the user to choose from a list of values.
    How do I make an output text mandatory? Is there another way around this?
    I tried creating an input text and making it read only and mandatory, this doesn't work. Apparently, you cant make a disabled/read only input text mandatory?
    JDev : 11.1.1.4
    Thanks
    PP

    Hello! What does mandatory field mean for you? If there should be validation while saving, it will be: faces message will be shown with text, as it is defined in business rules in entity object. If you just wish to see blue “*” in front of label, just use “panelLabelAndMessage” component with “showRequired” property = “true”. If you wish to see some red frame around disabled field or button, if it has null value, I don’t know how to help you, but wish to know how to do that too.

Maybe you are looking for