Set word file read only after exporting through mail merge

Hello,
I am exporting the ALV report to word file using standard functionality using mail merge.
But my requirement is after exporting to word ,file should be protected or read only.
Plz Help me to solve this issue.
Thanks,
Paresh.

you can do that by calling class method CL_GUI_FRONTEND_SERVICES=>FILE_SET_ATTRIBUTES exporting parameter READONLY
note: this will work only in the foreground, it is not possible to do it in a background job

Similar Messages

  • PowerPoint Makes File Read-only After Saving

    Hello all,
    A couple of end users have encountered the above problem. They make changes to pptx files and after the file saves, the file becomes read only (says so on the program window). If they are not paying attention, then any other changes they make to the file
    need to be saved to another file, which needless to say, is very annoying.
    They have saved the file, file becomes read-only, then if they close the file and open it back up, it's fine; they can edit and save.
    It happens sporadic.  Could it be an autosave happening at the same time? Any others experiencing this?
    Any help would be appreciated!
    JB

    Hi
    Thank you for using
    Microsoft Office for IT Professionals Forums.
    From your description, I understand that you want to allow changes by more than one user at the same time in PowerPoint . If
    there is any misunderstanding, please feel free to let me know.
    In Microsoft PowerPoint 2010, multiple authors can simultaneously change the same presentation stored on a server.
    The new co-authoring functionality in Microsoft Office 2010 makes it possible for multiple users to work productively on the same
    document without intruding on one another’s work or locking each other out.
    More detailed information you can refer to this article
    Work on a presentation at the same time as your colleagues
    http://office.microsoft.com/en-us/powerpoint-help/work-on-a-presentation-at-the-same-time-as-your-colleagues-HA010344967.aspx#BM2
    Please take your time to try the suggestions and let me know the results at your earliest convenience. If anything
    is unclear or if there is anything I can do for you, please feel free to let me know.
    Hope that helps.
    Sincerely
    William Zhou CHN

  • Word 2008 - "read only" after ML install

    I installed Mountain Lion today and now when I try to creat a new folder in Word 2008 it will only allow a "read only" folder (which helps me none) and then won't even let me insert a folder name!  I searched the communities and haven't seen this issue come up.  Any thoughts?

    you can do that by calling class method CL_GUI_FRONTEND_SERVICES=>FILE_SET_ATTRIBUTES exporting parameter READONLY
    note: this will work only in the foreground, it is not possible to do it in a background job

  • 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

  • Word 2010 document becomes Read-Only after saving it

    Hi,
    My Word 2010 document is becoming "Read Only" after saving it, for information my doucment is on the desktop . I searched on this forum and find a couple of solutions (deactivating auto saving, etc.) but it does not work at all. Any other ideas?
    Thanks,
    Sylvain.

    , I wonder why the docuemnt is becoming Read-Only when I am saving it on the Desktop...
    I've read articles and blogs of people arguing each side of whether you should use the Desktop as a storage folder and I really
    don't have anything substantial to add to either the pro or con side of the issue.
    However, what I know about Word is that it behaves a bit different and seems to have issues when you’re actively editing document that are stored
    on the Desktop.  I would speculate that the issue has something to do with the screen driver software.
    When you’re editing a document, Word is actually using something like a dozen or more temporary hidden files and some of these are stored in the
    same folder as the source document. If the source document’s folder is the Desktop, then there has to be interaction with the screen driver. 
    This interaction with the screen driver is one variable that makes the Desktop folder unique and possibly problematic and thus Word under certain conditions
    makes the file Read Only.
    Kind Regards, Rich ... http://greatcirclelearning.com

  • Permissions "read only" after copying files FROM server

    Hi everyone!
    OK, just setup a Leopard server. Clients all at Tiger - level..for now. This is what I want to do:
    I want a read only - network library drive so that the clients can grab files from but then modify locally on their machines. No need to put back on that server as I have another system in place for things like that.
    *The problem:* If I propagate permissions at "read only" then when the user copies to their local drives, the owner changes but the permissions remain. They have to manually change the permissions back to match their local, then they can work with the file. When we're talking about hundreds of files for 15+ users a day, then it is quite a pain and a show stopper.
    I had this setup previously on a panther server with no trouble. I've maintained settings as close as possible but still having trouble.
    Any ideas as to what I'm missing?
    FYI- I don't want to change permissions to read/write to protect the library from tampering.
    thanks

    +If I propagate permissions at "read only" then when the user copies to their local drives, the owner changes but the permissions remain.+
    OK, from your description, you'd have to have the POSIX owner's permissions set to just read-only or read and execute. As you've observed, a copy obtains permissions in the following manner:
    The POSIX owner changes to match the account performing the copy (the action-bearing account), and the POSIX group is inherited from the copy's destination parent. The POSIX permissions stay the same, though. (Inherited ACL entries on the original are also lost; explicitly-defined ones are preserved, and new inherited entries apply to the copy from its destination parent.)
    All of this is proper behavior, and there's an easy way to make it work to suit your needs.
    Since the POSIX owner changes to the action-bearing account for the copy, you'll want to ensure that the original POSIX owner's permissions are read and write. This does not require that you make the original's POSIX owner the same as that of the action-bearing account. An example would better illustrate the situation:
    Example POSIX Permissions for the Original on the server:
    Owner root can read and write
    Group somegroup can only read
    Everyone else can only read
    Thus, let's say that tsmith is the action-bearing account. So tsmith copies the file to his desktop, and the POSIX permissions now look like this:
    Owner tsmith can read and write
    Group staff can only read
    Everyone else can only read
    Thus, tsmith receives the POSIX permissions of the POSIX group or everyone else field on the server - let's say there are no ACLs for the time being - and he becomes the owner of the copy. Since the original owner, root on the server, had read and write permissions, those permissions are preserved and given to tsmith for the copy.
    Another way to deal with this situation would be to use ACLs by placing an inheritable ACL granting full control or read and write for tsmith on his home folder. Any new items copied to or created in his home folder would inherit that ACL. Similarly, an inherited ACL deny entry (but not an explicitly-set entry) affecting tsmith and the delete and delete_child controls could be placed on the affected server share point's top-level before the original was copied there. Then, any subsequent copies from the server volume would drop this inherited ACL entry entirely. These would, however, be much more complicated situations, and your scenario is best handled in the POSIX-only fashion. (This doesn't mean that you have to disable ACLs on the server - just don't apply them for the share point!)
    --Gerrit
    search:Owner read only

  • SelectBooleanCheckbox read-only after setting selection

    Hello!
    I'm trying to set the selection of an adf selectBooleanCheckbox!
    When I set it by the pull-down menu (true, false) in the Property Inspector, everything is ok!
    But when I set the selection depending on an ADF binding, the value is set correct,
    but the checkbox is read-only and a change of the selection is impossible!
    Here's the very simpel code of the Box:
    <af:selectBooleanCheckbox
    label="myLabel"
    value="#{bindings.SomeValue.inputValue != null}"/>
    Can anyone help me, how to enable the checkbox for selection?
    Thank you very much!
    Sebastian
    PS: I'm using JDeveloper 10.1.3.3!

    hi..
    the previous error is ok now..
    below is the script, the status is when click on 'Add new row' button, it will pass status = 'ADD_ROW' and set the startdate read only = False.
    my question now is...
    e.g i've a multiple rows (can display up to 10 rows) display in table form in the page....i query 3 rows of records, then i click 'Add new row' button,
    how to make sure the 3 rows queried early is having startdate read only = Yes and for the new row startdate read only = False?
    with the below codes it will set all rows startdate read only = False (including those queried data)... pls help...
    public void setReadonly(String status)
    OAViewObjectImpl vo = (OAViewObjectImpl)findViewObject("SeaoeAutoMosPVO1");
    OARow row = (OARow)vo.first();
    OAViewObject SeaoeAutoMosSummaryVO = (OAViewObject)findViewObject("SeaoeAutoMosSummaryVO1");
    OARow SeaoeAutoMosSummaryRow = (OARow)SeaoeAutoMosSummaryVO.getCurrentRow();
    if (status=="ADD_ROW")
    row.setAttribute("StartDateRender", Boolean.FALSE);
    else
    row.setAttribute("StartDateRender", Boolean.TRUE);
    }

  • How can I make Keynote files read-only (eg: to share with students)?

    I would like to share some keynote files with students, and I would like to set them up as read-only, so that the students can tap the screen, read my presentation, but not alter it.  I've tried to set the files up as read-only on my iMac desktop, but when I load the file onto my iPad, it's still editable.
    Any ideas re: how to make Keynote files read-only?
    I've tried to export the files as PDF and load them into iBook, but some of Keynote's basic "build" functions won't work this way.  Specifically, I have files set up with questions and answers (ie - a question appears, and you have to tap the screen to see the answer, but this "build" function seems to disappear when I get it to show up in iBook).
    Any ideas how to make Keynote files read-only?  I am happy to use another program, but I want the students to tap the screen in order to see the answer to a question.
    Thanks!

    as long as $PATH is set, you shouldn't need to reconnect them (i think).  if you send the list of apps through | awk -F '/' '{print $NF}' | that'll strip the path
    /edit: added the "(i think)" part
    Last edited by brisbin33 (2009-06-02 21:33:06)

  • Document Generation in MSA - Make Word Doc Read-Only or PDF Documents

    Hello,
    The mobile sales client comes with an Document Generation tool to fill Word Document Templates with SAP data on demand.
    Because of legal issues, we do not want to allow anyone to be able to modify the generated word document. Using the permission functionality of the word template is not working as it would prevent the Generator itself to fill in the data.
    Is there any option to set the created Document to "Read-only" after the generation is finished or to convert the Word document on fly to a PDF version?
    As I am not so experienced in VB I would appreciate any code examples.
    Regards,
    Andreas

    Hi,
    there are at least 2 different ways to implement your request:
    - before and after the word document is created you can start a word makro (which e.g. disables the document); this would be done in the method "TextGeneration" of the underlying BO, e.g. BOSALESDOCGEN. The code is quite simple, in earlier Word versions it was sth like
    WordObj.ToolsMacro sMacroname, 1
    - you can call any 3rd party SW to convert the doc file to pdf, similar to this thread
    [MSA "Cancel login" functionality;
    Regards,
    Wolfhard

  • How to make fields read only after form is filled in

    I am creating forms to be used within our company.  The customer srv representative (CSR) would fill in the form and send it to the customer for signature and initial.  There are a few issues I can't solve.
    1)  I need to make the rate & services fields read only after the CSR initials the form

    Will the CSR have Acrobat or just Reader, and what type of computer will the CSR be using (Windows/Mac/mobile OS)? If just Reader (Wind/Mac), this is possible by setting the fields to read-only with JavaScript. The problem is this can't be considered secure, even if using a password as discussed here: Password-protect and hide one form field
    With Acrobat you have the ability to flatten certain fields, which makes it a bit more difficult to change the "fields".

  • How to make files read only

    I want to make files read only.  Any workaround is welcomed.

    t quinn wrote:
    ElMagoElGato,
    I am glad to give some help but I am still confused because we are having different experiences. I have been able to lock Tables on my mac and have that lock respected in iOS for a long while now. Easy to unlock, impossible to relock.  With the most recent upgrade I can lock tables after tapping the upper left dot to select the whole table and going to "arrange" in the paintbrush.
    When you say worksheet are you meaning the entire file? When you say file lock are you meaning password protection? You can see I am confused.
    quinn
    Based on what ElMagoElGato has described, password protecting would be of no value to him. Once the file is accessed, it is in edit mode. Unless I'm really missing something.
    Files I have imported from Mac iworks apps with elements locked stay locked for me in iOS. Not sure what the problem is.

  • Make all text fields read only after signing form

    Hello,
    I have a live cycle form which needs to have all of the text fields set as read only after signing.
    The java script has been placed in the post sign event of a digital signature field.
    for(var i=0;i<this.numFields;i++) {
    var cNm = this.getNthFieldName(i);
    if (cNm.type = "text") this.getField(cNm).readonly = true;
    After signing the form the following console error is shown:
    this.getNthFieldName is not a function
    Can anyone please advise how to revise the script so that when the form is signed all of the text fields become ready only?
    Any assistance will be most appreciated.
    Thank you.

    You don't need any JavaScript to do this.
    In Designer you can setup the signature field in that way, that all fields will be locked after signing.
    Look here:
    http://forums.adobe.com/message/3121870?tstart=2

  • Firefox profile folder becomes read-only after closing browser

    firefox profile folder becomes read-only after closing browser
    It is a problem with firefox or is it this to to a virus?
    How to fix? How to prevent?

    Only a check mark in the Read-only box means that a folder or file is Read-only.<br />
    Windows doesn't check all the files in a folder so instead displays a greenish block to indicate that it is not sure.<br />
    You need to look at the files individually to see if any are read-only.<br />
    Easiest to do that is to make the Attributes visible in "View > Details" mode: Choose Details in Windows Explorer.<br />

  • Make a Word document read only

    Is it possible in Dreamweaver 8 to make a word document or
    other files read only? I have a site setup and want to display some
    work I have done but don't want others to download or save it if
    that is possible.
    Thanks.

    On 02 Jul 2008 in macromedia.dreamweaver, JLRiley wrote:
    > Is it possible in Dreamweaver 8 to make a word document
    or other
    > files read only? I have a site setup and want to display
    some work I
    > have done but don't want others to download or save it
    if that is
    > possible.
    It's not a question of what Dreamweaver 8 (or any other
    edition of
    Dreamweaver) can and cannot do. This may help:
    http://www.jamesshuggins.com/h/web1/how_do_i_stop_downloading.htm
    BTW, in my experience, "Word document" is a terrible format
    for the web.
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/contact.php

  • Looking for Word file reader

    I have tried in vain to find a text reader app that will open Microsoft Word files and wraps text at all degress of text magnification. There's a terrific one for Android. Is there anything similar in the iOS world?

    " However, why not export the word files as PDF's and use iBooks? "
    That would be the easiest way....
    That was my 1st thought but he´s looking for an app to do that with word files.

Maybe you are looking for