Make few columns of Excel file read only when downloaded
Hi Experts,
Is there any way we can set few of the columns in excel sheet as read only when downloaded from SAP.
We have requirement where a program will generate a report and download it into an excel file on desktop. When the file is downloaded, two of its columns should be non editable.
I know complete sheet of excel can be protected using OLE, can we protect few columns also using OLE?
any idea how can it be done?
Hi Swapnil,
check this
Re: OLE EXCEL : how to block cells ?
hope it is useful to you.
Thanks
Similar Messages
-
How to make a column in Table popin read only
Hi Everyone
Could anyone let me know how to make a column in table popin read only.
Regardsif you ar eusing an ALV table
try this
DATA: lr_salv_wd_table TYPE REF TO iwci_salv_wd_table,
r_table TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
* get reference to ALV component interface
lr_salv_wd_table = wd_this->wd_cpifc_alvmain( ).
* get ConfigurationModel from ALV Component
wd_this->r_table = lr_salv_wd_table->get_model( ).
* init ColumnSettings
DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings,
lr_col_header TYPE REF TO cl_salv_wd_column_header.
lr_column_settings ?= wd_this->r_table.
* get table of column settings - each line one column
DATA: lt_columns TYPE salv_wd_t_column_ref.
lt_columns = lr_column_settings->get_columns( ).
* loop over table - in each loop another column can be modified
DATA: ls_column TYPE salv_wd_s_column_ref.
* define visible columns (fields) by naming them,
* exclude others by setting visibility to none
DATA: ls_tooltip TYPE string.
LOOP AT lt_columns INTO ls_column.
" get header of column
lr_col_header = ls_column-r_column->get_header( ).
" do settings here
ENDLOOP.
Or see this document for more tips.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40794172-b95a-2910-fb98-b86d8a0918b4">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40794172-b95a-2910-fb98-b86d8a0918b4</a>
regards,
Joris -
Microsoft files Read-only when sharing between two Macs
I'm trying to share Excel files between my Macbook and my iMac. The files are located on my macbook and I've given read/write permission to the folder containing the files. When I try to open the files on my iMac they open as read only. This happens with Excel, Word and Power Point files.
How do I configure the file sharing so I can open Microsoft files without them being Read only.
I'm using Office:mac 2004 and both the Macbook and iMac are running OS X (10.5.6)There have been occassions where I have wanted to transfer something from the MBP to the Mini or vice-versa over wi-fi and have encountered problems. I suspect this is because I am using the same user account and they get confused.
Could you please explain, what kind of problems exactly you encountered? Error messages? Corrupted files? And why do you think the problem is caused by the same user profiles?
Like markwmsn I have no problem with sharing using the same account name on all my macs. Only since upgrading to Mt. Lion I usually use AirDrop to send single files. That saves the trouble to copy the files to a public folder.
Do both your macs support Air Drop?
OS X Lion: Share your files with others near you
and the requirements: HT5444
Regards
Léonie -
Excel .xls 'read only' after downloading security update
Today all my data .xls files won't open - the message reads:
I am able to open one .xlsx file but all the .xls will only open as 'quick view' I've recently downloaded Security Update 2015 version 1 and also updated Remote Desktop client. I restarted my macbook pro today. That's when the trouble started I'm running Mavericks 10.9.5.
I've tried using time machine to open older versions of files but they too cannot be accessed. I've also tried renaming the files with non-numerical names. No joy with that either.
HELP please!!!!!Fixed it myself by repairing disc permissions. Embarrassed - it was an easy fix in the end.
-
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) -
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. -
How to get Number of Column in Excel file
Hi All,
My requirment is to get Number of Column in Excel file which i want to upload,
so please suggest if there is any possible way to get this functionality.
Thanks
AnirudhUse FM "ALSM_EXCEL_TO_INTERNAL_TABLE".
Adjust the values of i_begin_col & i_end_col parameters in this FM.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME =
I_BEGIN_COL =
I_BEGIN_ROW =
I_END_COL =
I_END_ROW =
TABLES
INTERN =
EXCEPTIONS
INCONSISTENT_PARAMETERS = 1
UPLOAD_OLE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Regards,
BBR. -
A serious issue with excel file read in ODI
hi gurus,
Issue with excel file read is that we can read only one file by setting the path from ODBC Data Source Administrator-->System DNS -->Select Work book
what i want to read the dynamic path(Every time I cant go back and set the Work book to select the excel file..
So i came up with a solution to write a Vbscript that convert the excel to csv my problem got solved for dynamic paths the script is as follow:
Set objArgs = WScript.Arguments
For I = 0 to objArgs.Count - 1
FullName = objArgs(I)
FileName = Left(objArgs(I), InstrRev(objArgs(I), ".") )
Set objExcel = CreateObject("Excel.application")
set objExcelBook = objExcel.Workbooks.Open(FullName)
objExcel.application.visible=false
objExcel.application.displayalerts=false
objExcelBook.SaveAs FileName & "csv",23
objExcel.Application.Quit
objExcel.Quit
Set objExcel = Nothing
set objExcelBook = Nothing
Next
Now this script convert the xls file to csv with comma seprated values
e.g in excel sheet if data is ABC XYZ PQR
csv will come with ABC,XYZ,PQR
here the delimiter is , i want the delimiter as pipe | who's ascii code is 124
but if i change 23 with 124 its not working i getting the error cannot save as...
can anyone tell me that what should be the correct code for pipe
so that the output is ABC|XYZ|PQR
AS WE CAN USE THE SCRIPTS IN TOOLS
Edited by: 789141 on Sep 14, 2010 11:33 PMI dont have the answer for your question but i have different approach in handling multiple Excel File.
Step 1. Copy a sample source Excel File and Call it Final.xls .
Step 2. Map this Final.xls to DSN and in Topology call this Final.xls
Step 3. Do the Reversing and Map and test the Interface . Once its done.
Step 4. Create a Package and using a http://odiexperts.com/?p=1426 get the list of all the Excel File
Step 5 . Using this http://odiexperts.com/?p=273 create a Loop to Read the Excel File name
Step 6 . Copy using OdiFileCopy to Final.xls and run your interface .
Step 7. Increment the Loop and copy your next File for Final and run the interface
Step 8 . Finally you will be able to read all the Excel File .
Step 9 . Delete the source file [ Optional ]
Hope this helps. -
How can we make the ms-word data as read-only using java code?
How can we make the ms-word data as read-only using java code?
MVSK wrote:
By using java code i opened a file in ms-word. But the data i want to display as read-only. that means should not change it.I don't think you can do that. Display pdf documents instead. -
How to make few columns of single record inactive in Table conrol?
Hi all,
Scenario is like this : i have one table control , it is displaying 10 records , in that first four columns are editable. Now my requirement is, whenever record having intial values( suppose one record having initial values among ten) except key field , we need to deactive that particular record , now table control should contain ten records , but nine records are in editable state and one record in non editable state .
How to make few columns of single record inactive in Table conrol?
Thanks in advance.hi there...
select the column that u want to convert to non editable mode in the screen layout. then double click on it. go to the attributes tab and uncheck the input chk box. the check box will become disabled for input. u can do this for any number of columns.
if u want to do it dyanamically, loop at screen. check for the screen element's name. when itmatches the column u want to disable, simply set the input value as 0.
dont forget to modify sscreen after setting the attribute values.
i hope this helps.
do reward if helpful. -
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 -
how can I change a file read only into write ?
In Finder, do a Get info on it, see if it's Locked, then check the Rights & Priviledges at the bottom...
-
Mail to RFC is there way to make mail to READ only when data sent to RFC
Hi friends ,
My scenario is Mail to RFC . I am reading mails marking as read and sent to RFC .
Due to this , If for eg 400 mails comes , xi is reading all mails correctly but sometimes inbound queue getting stuck so , unable to send data to RFC .
Because of that many mails which read cannot able to send data , everything stuck in InBound Queue.
Can any body explain how to resolve this issue ?
<b> If there way to mark mail as read only when data uploded to RFC ?</b>
Any suggestions please!
Regards.,
V.Rangarajan
nullHi
Even we did this scenario for one of our clients,but in our case mails were getting deleted by itself once processed.And those that did not get processed due to some reason remained in the mail box.
Thanks -
All excel files keep opening when I open excel?
All excel files keep opening when I open excel. I can't quit excel or Force Quit until the files stop opening.
Dealing With The Resume Feature of Lion
Managing Mac OS X Lion's application resume feature.
If you shutdown your computer you should get a dialog asking if you want applications to resume on the next startup. Simply uncheck the box to prevent that from occurring. Open General preferences and uncheck the option to Restore windows when quitting and re-opening apps. You can also install a third-party utility to control resume features on individual applications: RestoreMeNot or Application State Cleaner.
It is possible to completely stop the Resume feature although I'm unconvinced that it is that annoying. Nevertheless see the following:
If you have not yet done so you must first make your /Home/Library/ folder visible. Open the Terminal application in the Utilities folder. At the prompt paste the following command line:
chflags nohidden ~/Library
Press RETURN. Quit the Terminal application.
In the Finder navigate to the /Home/Library/Saved Application State/ folder. Delete the contents of the folder. Back up to the /Home/Library/ folder. Select the Saved Application State folder. Press COMMAND-I to open the Get Info window. In the Sharing and Permissions panel at the bottom click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window.
Quit all open programs except the Finder (this is very important.) Next, navigate to the /Home/Library/Preferences/ByHost/ folder. Look for a .plist file with "com.apple.loginwindow." in the file name followed by some numbers in hexadecimal. Select the file. Press COMMAND-I to open the Get Info window and in the Sharing and Permissions panel click on the lock icon and authenticate. Set each of the listed entries to Read Only. Close the Get Info window. If you also find a file with the same filename but with a last extension of ".lockfile," then you should delete it.
The above should eliminate the Resume feature system-wide. Note that any future system updates or upgrades will likely undo these changes. You will then need to repeat this procedure assuming there are no major changes in OS X related to it. -
How can i set a form to read only when a checkbox it checked?
How can i set a form to read only when a checkbox it checked?
Hi,
If you search the forums for Paul's example LockAllFields. This contains a function in a script object that you can call from the click event of the checkbox.
Re: Saving Fillable Form as non-fillable PDF
Good luck,
Niall
Assure Dynamics
Maybe you are looking for
-
IPad 1 iCal not syncing with iMac (2009). Is there a fix?
iPad 1 iCal (iOS 5.1.1) not syncing with iMac (2009 Intel) running OS X 10.8.2. Is there a fix?
-
The ipod could not be synced. the disc could not be read or writtern to
Hi, I am having some major problems with my Nano. I upgraded to the new firmware through the new iTunes about 10 days ago, but now it just doesn't work all I keep getting is the above message. What is upsetting me is that it worked fine until this fi
-
I have read about this happening, but the only solution is for people who use Norton, and I do not-it is not even on my laptop at all.. I have firefox 4.0. Every time I close firefox, some of my SAVED bookmarks are missing when I re-open later. I tri
-
Creating a DRAFT Watermark in Pages '09
Hi: I am attempting to find out how to place a washed-out "DRAFT" in grey text diagonally across my document (as a watermark), but I can't seem to figure it out. Could someone please walk me through this? I wish it was as easy as MS Word. Thank you!
-
Hi guys I did use this code to read the html file and it work fine but when i try to add the restriction to it (indexOf) i do get problem as it gives "String index out of range: -1" error i am trying to return the string between any ">" and "<" in th