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

Similar Messages

  • I really need someone to help me. I have been trying to figure out how to select a PDF document to convert to a Word doc. When I go to select a PDF file, all that shows up is the WORD docs. does not show ANY of my PDF files... Please help me figure out wh

    I really need someone to help me. I have been trying to figure out how to select a PDF document to convert to a Word doc. When I go to select a PDF file, all that shows up is the WORD docs. does not show ANY of my PDF files... Please help me figure out what is going on? We have it set on auto renewal so I know its not that we haven't renewed this subscription, because we pay automatically.

    Hi olivias,
    It sounds like there may be some confusion on your system about what application should be associated with PDF files. You can reset filename associations by following the steps in these articles (depending on your operating system):
    How to change the default application for a file type | Macworld
    http://windows.microsoft.com/en-us/windows/change-default-programs#1TC=windows-7
    Please let us know if you have additional questions.
    Best,
    Sara

  • Hi there, I currently subscribe to Adobe Pro Subscription (yearly) and I also subscribe to Adobe PDF pack (monthly).  I only require Adobe to read and create PDF documents such as converting word/excel document or a web based document.  Can someone tell m

    Hi there, I currently subscribe to Adobe Pro Subscription (yearly) and I also subscribe to Adobe PDF pack (monthly).  I only require Adobe to read and create PDF documents such as converting word/excel document or a web based document.  Can someone tell me if I'm doubling up as I'm not sure of the differences between the products and would like to save a few dollars.

    Acrobat Pro can do a lot more than the PDF Pack online service.
    Try if you can do everything you need with PDF Pack; otherwise keep Acrobat Pro.

  • Bookmark a PDF document to hyperlink to a Word doc-need rush help

    Using Adobe Acrobat 7.0 Professional and Word 2002 (SP3), what I was trying to do is with a bookmark in a PDF document be able to hyperlink it to a Word document so that when I clicked on it in the Word document it would open to the bookmarked section in the PDF document.
    Anyone know exactly how to do this? If so can you please set out your reply in very basic, easy to follow steps.
    A quick reply would be very much appreciated. Thanks for responding.
    - Bonnie McKinnon

    This does not seem related to Acrobat 3D specifically. I would
    recommend posting in the Acrobat Windows forum.
    Aandi Inston

  • How to import and make the content of the original PDF document editable and preserves the pdf appearance and retains existing fields and formatting in LiveCycle

    Can someone tell me how I can see my content (artwork and text) after I import  it into LiveCycle Designer ES4?  I like to import and make the content of the original PDF document editable; preserves the pdf appearance and retains existing fields and formatting, then allow me to do the modifications and save it back into the original PDF document with changes. I have tried everything but still cannot see my content(artwork and Text) of my original PDF after importing it into LiveCycle. All I see are is a blank page with the formatting and layout of where my artwork and text should be. I like to see everything if possible so after I make my change I will know how it will look when I save it back into the PDF and open it in Acrobat Reader.

    Can someone tell me how I can see my content (artwork and text) after I import  it into LiveCycle Designer ES4?  I like to import and make the content of the original PDF document editable; preserves the pdf appearance and retains existing fields and formatting, then allow me to do the modifications and save it back into the original PDF document with changes. I have tried everything but still cannot see my content(artwork and Text) of my original PDF after importing it into LiveCycle. All I see are is a blank page with the formatting and layout of where my artwork and text should be. I like to see everything if possible so after I make my change I will know how it will look when I save it back into the PDF and open it in Acrobat Reader.

  • Is there any way to make the page size of a PDF document smaller?  I'm at 30"x36" and want 8.5"x11"

    Is there any way to make the page size of a PDF document smaller?  I'm at 30"x36" and want 8.5"x11"

    The quickest way is to print to a new PDF and use shrink to fit. Be sure you set the paper size in the printer properties. Normally this is not recommended, but it is a quick approach. You would loss any bookmarks and other markup with the print.

  • When trying to convert a pdf file into a word doc, i only get the graphics but not the text. How do i remedy this?

    When trying to convert a pdf file into a word doc I only get graphics but no text. What to do?

    Hey hamsa142,
    I think you are converting a scanned PDF to word.
    You might need to run OCR first to make the text recognizable and then convert it to word.
    Regards,
    Anubha

  • Displaying BLOB of type word doc in XML Publisher pdf output

    Hi all,
    Please guide me relating the Displaying BLOB of type word doc in XML Publisher pdf output with links or pointers.In the following xml column TRADE_LICENSE_COPY is BLOB when queried from toad and if clicked on the ouput word doc is being opened directly.How to show the column value word doc as attachment in pdf output?
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Generated by Oracle Reports version 10.1.2.3.0 -->
    <XXTDIC_SUP_REG>
    <LIST_G_BASIC_QUSNRY>
    <G_BASIC_QUSNRY>
    <RESPONSE_ID>194</RESPONSE_ID>
    <UAE_REGISTRATION>Yes</UAE_REGISTRATION>
    <TRADE_LICENSE_COPY>PK</TRADE_LICENSE_COPY>
    <WEBSITE_DETAILS>com</WEBSITE_DETAILS>
    <AMERICA_2009_2010>Between 81 and 90 %</AMERICA_2009_2010>
    </G_BASIC_QUSNRY>
    </LIST_G_BASIC_QUSNRY>
    <LIST_G_CONTACTS>
    <G_CONTACTS>
    <CONTACT_PERSON>MR.NTF1 NTL1</CONTACT_PERSON>
    <PHONE_NUMBER>0</PHONE_NUMBER>
    <EMAIL_ID>na</EMAIL_ID>
    <FAX_NUMBER>0</FAX_NUMBER>
    </G_CONTACTS>
    <G_CONTACTS>
    <CONTACT_PERSON>MR.NTF1 NTL1</CONTACT_PERSON>
    <PHONE_NUMBER>0</PHONE_NUMBER>
    <EMAIL_ID>na</EMAIL_ID>
    <FAX_NUMBER>-</FAX_NUMBER>
    </G_CONTACTS>
    </LIST_G_CONTACTS>
    <LIST_G_SC_QUSNRY>
    <G_SC_QUSNRY>
    <RESPONSE_ID1>113</RESPONSE_ID1>
    <FY3_PROJTYPE_COMMERCIAL>Between 21 and 30 %</FY3_PROJTYPE_COMMERCIAL>
    <ENG_INSTALL_CAPABILITY></ENG_INSTALL_CAPABILITY>
    <SCM_EXPERIENCE_PARTNERING>Have you had experience of &quot;Partnering&quot;?(i.e with major contracts / employers If so list them.Also please provide details</SCM_EXPERIENCE_PARTNERING>
    </G_SC_QUSNRY>
    </LIST_G_SC_QUSNRY>
    <LIST_G_ADDRESS>
    <G_ADDRESS>
    <OFFICE_ADDRESS>Addres1</OFFICE_ADDRESS>
    <ADDRESS_LINE1>Addre line1</ADDRESS_LINE1>
    <ADDRESS_LINE2>Addre line2</ADDRESS_LINE2>
    <ADDRESS_LINE3>Addre line3</ADDRESS_LINE3>
    <CITY>City1</CITY>
    <STATE>State1</STATE>
    <COUNTRY>US</COUNTRY>
    </G_ADDRESS>
    <G_ADDRESS>
    <OFFICE_ADDRESS>Addres2</OFFICE_ADDRESS>
    <ADDRESS_LINE1>Addre line1</ADDRESS_LINE1>
    <ADDRESS_LINE2>Addre line2</ADDRESS_LINE2>
    <ADDRESS_LINE3>Addre line3</ADDRESS_LINE3>
    <CITY>City2</CITY>
    <STATE>State2</STATE>
    <COUNTRY>IN</COUNTRY>
    </G_ADDRESS>
    </LIST_G_ADDRESS>
    <LIST_G_DSN_QUSNRY>
    </LIST_G_DSN_QUSNRY>
    <LIST_G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>060.42</PROD_SUB_CODE>
    <PROD_SUB_DESC>Automotive Maintenance Items and Repair/Replacement Parts.Filters: Air, Fuel, Oil, Power Steering, Transmission and Water, and PCV Valves</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>060.60</PROD_SUB_CODE>
    <PROD_SUB_DESC>Automotive Maintenance Items and Repair/Replacement Parts.Hose and Hose Fittings: Brake, Heater, Radiator, Vacuum, Washer, Wiper, etc.</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>207.37</PROD_SUB_CODE>
    <PROD_SUB_DESC>Computer Accessories and Supplies.CRT Holders, Cases, Glare Screens, Locks, etc.</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    <G_PROD_SUB_CODE>
    <PROD_SUB_CODE>207.60</PROD_SUB_CODE>
    <PROD_SUB_DESC>Computer Accessories and Supplies.Keyboard Dust Covers, Key Top Covers, Keyboard Drawers, Wrist Supports, etc.</PROD_SUB_DESC>
    </G_PROD_SUB_CODE>
    </LIST_G_PROD_SUB_CODE>
    <LIST_G_CONT_QUSNRY>
    </LIST_G_CONT_QUSNRY>
    <LIST_G_BUSS_CLASS>
    <G_BUSS_CLASS>
    <BUSS_CLASS>SUPPLY_CHAIN</BUSS_CLASS>
    </G_BUSS_CLASS>
    </LIST_G_BUSS_CLASS>
    <CF_SUPPLIER_NAME>N1</CF_SUPPLIER_NAME>
    <CF_REG_STATUS>Draft</CF_REG_STATUS>
    <CF_BUS_CLASS></CF_BUS_CLASS>
    <CF_PROD_SUBCODE>060.36</CF_PROD_SUBCODE>
    <CF_PROD_SUBCODE_MEAN>Automotive Maintenance Items and Repair/Replacement Parts.Electrical Accessories: Alternators, Ammeters, Coils, Distributors, Generators, Regulators, Starters, etc.</CF_PROD_SUBCODE_MEAN>
    <CF_COUNTRY>India</CF_COUNTRY>
    </XXTDIC_SUP_REG>
    Thanks in advance.
    Best Regards,
    Mahi

    Mahi,
    you can't do that yet.

  • How to convert Ms Word (.doc) file to Protected pdf

    Hi all,
    Is anybody out there could help me on how to convert Ms Word (.doc) file to protected pdf file using java? May be there are some jar file I need to download or any tools you used before? Thanks in advance... =)

    Hi all,
    Is anybody out there could help me on how to convert
    Ms Word (.doc) file to protected pdf file using java?
    May be there are some jar file I need to download or
    any tools you used before? Thanks in advance... =)Hi All,
    Thanks for your replies..I think i almost find the solution. I found 2 options to do this. They are :
    1. Get Adobe Acrobat and it's SDK (has to buy)
    2. Get OpenOffice 2.0.4 and it's SDK (opensource)
    So, i do option 2. I install them in my system.then i call them from my ide. Then i follow the code from this link..
    http://weblogs.java.net/blog/tchangu/archive/2005/12/open_office_jav_1.html
    Thanx.. =)

  • 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)

  • Make Sticky Notes Read-Only After Creation?

    Hello,
    I am wondering if there is a way to make sticky notes read only after someone has created one?
    I have a form that we want people to add comments to but we don't want anyone to be able to remove those comments.  Possible?
    Kristi Tost

    Resolved it : in click event javascript
    ADOBE_DATA.form.field.access = "readOnly";

  • 1) Make the column read only without coding

    Please guid eme how to make the column read only in the list without using the coding.
    Vij

    Basically, the answer is that you can't.  There are ways to change a specific list view to make a column readonly by replacing the form with a custom DataView form.  But that only applies to that view and since users can create their own views,
    those views would have read/write access to the column if the user has read/write access to the item.  SharePoint only supports security down to the item level out of the box and not down to the individual column level.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Make USB mount read only.

    Hello again,
    I am looking to make any USB mounted devices read only by default. Is there a way to do this in Leopard?

    Greetings,
    While you can make a USB device read only, you can't make a port read only. There are ways to disable a USB port, but that's about it.
    You can also use a OS X Server and with it, you can deny access to the device, but to make it (the port) read only, I don't think that's possible with any OS. You could mark the internal hard drives read only, as well, but that would be a major pain.
    I have hundreds of machines, and the open labs are the only ones I disallow the use of USB devices for security reasons, PeeCee or Mac. Using the OS X Server, we can apply restrictions, as I do with Active Directory for the PeeCees.
    Cheers,
    M.

  • Converting a word Doc to a dynamic PDF

         When I try to convert a word Doc to a dynamic PDF doc the process stalls at 94%. How can I get it to finish?

    I am using Adobe Acrobat X Pro on a workstation using Windows 7.
    I have converted docs this way many times before, but for some reason it does not seem to complete the process about 50% of the time these days.
    Here is a screen shot
    Thanks!! Tom

  • Unable to make Quantity Column Read-Only in PO Lines in R12 iProcurement

    Hello Everyone,
    My Requirement is if a PO is coming from a requisition and it has Requisition Number populated in PO Distribution, I want to make Quantity column Read only in the PO Lines. This column can be updated for all the lines in standard page by clicking Update button(which makes Quantity enterable).
    I have tried following using SPEL Binding. But it seems SPEL Binding is not working as expected. I am pasting the code below :
    I have created a Transient Attribute of Boolean Type in the VO and have placed it in SPEL Binding for the Quantity Bean. On click of Update button I am conditionally setting the transient VO attribute to False.
    if(oapagecontext.getParameter("UpdateButton") != null){
    super.processFormRequest(oapagecontext, oawebbean);
    OAViewObject vo=(OAViewObject)am.findViewObject("PoDistributionsMergeVO");
    String x=(String)vo.first().getAttribute("OnlineReqNumber");
    OAMessageTextInputBean msgTextBean = (OAMessageTextInputBean)oawebbean.findIndexedChildRecursive("QuantityOrdered");
    Row row=vo.first();
    if (x!=null) {          
    do{
    row.setAttribute("QuantityRendered",Boolean.FALSE);
    row=vo.next();
    }while(row!=null);
    Thanks in Advance,
    Abhishek Mishra

    Abhishek,
    Your code seems pretty fine. There are few things
    1) Post the Spell, which you have attached with the rendered property.
    2) Had you initialized your VO (where your transient variable exists).
    For a work around i would suggest you to create a new VO and create a transient variable. Now try the same using this VO.
    Regards,
    Gyan

Maybe you are looking for

  • HT1391 How can I copy new songs from other sites back to my windows folders?

    I just bought an ipod and downloaded itunes on it and my lap-top, (where I use windows media player.) Today I bought some songs from another website on my computer, but I couldn't find them in the "my music" folders, I signed on to itunes and found t

  • Replacing the standard Zen Micro HD with a Toshiba PMR 40G

    <FONT face=Century>Toshiba just announced they are shipping their new PMR (Perpendicular Magnetic Recording) Micro Harddri'ves.. This is something I would love to upgrade too. I've already maxed out my 5GB dri've and I want more music.. I wonder when

  • Macbook Pro with Windows 7

    I have a Mac and i want to run windows 7 on a different partition. How do i install it without purchasing the hard copy of Windows 7. in other words, how do I directly installed it from the Internet. It cost more to buy the hard copy then to download

  • JCEA - can I take part 1 in India and part 2 & 3 in US/UK ?

    Hi, I am planning to take JCEA. My question is - can I take first part (exam) in India and rest (assignment + essay) in other country? I will purchase each part in country where I will plan to take exam. Thanks, Jags

  • My phone has been lost/stolen how do I block my iPhone 4s ?

    Hi, You need to call EE on 07953 966 250 and report your handset lost/stolen and block the phone from making any calls. You also need to inform the police. Thanks,