Selectively mark Excel columns in MDS as Read-Only
Is there an internally supported feature in MDS 2012 Excel add-in wherein we can set some columns (e.g Code column) as Read-Only? The use case we're trying to evaluate is to not allow users to make changes to the Business Key column of an entity (populated
from an actual DW dimension) and instead accept changes to only a few attributes. We'd want to display the read-only attributes for informational purposes to the user.
Hi Muqadder,
In the Master Data Services Add-in for Excel, the following input statuses are possible:
Status
Description
Error
One or more values in the row don’t meet system requirements like length or data type. The value is not updated in the MDS repository.
New Row
The values in the row have not yet been published to the MDS repository.
Read Only
The logged in user has Read-only permissions to one or more values in the row and the value(s) cannot be updated.
Unchanged
No values in the row have been changed in the worksheet. This does not mean the values in the repository have not changed; to get the latest data in the sheet, in the
Connect and Load group, click Load or Refresh.
This is the default setting for each row.
For more information, please see:
Validating Data (MDS Add-in for Excel):
http://technet.microsoft.com/en-us/library/hh479625.aspx
Master Data Services Add-in based on the user permission to determine the data is read-only or not. It is not possible to mark some column as Read-only.
Thanks,
Elvis Long
TechNet Community Support
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 -
How to get a list of displayed columns from a UIX read only table
I am using JDev 9.0.5.2 ADF UIX. Is there a way to get all the columns and/or column labels displayed in a UIX read only table? I would like to be able to do this in my DataForwardAction.
Please don't post the same question multiple times.
-
How do I save excel file with password for read only access ?
Hi
I am trying to save an excel file with a password to make it read only when opened
using OLE2 . I am having a problem with the parameter list. This is my code that does
work.
args := OLE2.CREATE_ARGLIST;
OLE2.ADD_ARG(args, 'C:\Reports\Excel\File.xls');
ole2.add_arg(args, 0);
ole2.add_arg(args, 0);
ole2.add_arg(args, 'TEST');
ole2.add_arg(args, 0);
ole2.add_arg(args, 0);
ole2.add_arg(args, 1);
I also have the following code at the beginning of the program to suppress dialogs.
OLE2.SET_PROPERTY(application,'DisplayAlerts', 'FALSE');
ole2.set_property(application,'Visible', 'false');Hope it help.
-- Begin : Protect your worksheet
args := OLE2.CREATE_ARGLIST;
OLE2.ADD_ARG(args,yourpassword); -- choose your password
OLE2.INVOKE(worksheet, 'Protect', args);
OLE2.DESTROY_ARGLIST(args);
-- End : Protect your worksheet
-- Begin : Save and close worksheet
OLE2.INVOKE(workbook, 'Save');
OLE2.INVOKE(workbook, 'Close');
-- END : Save and close worksheet -
My Excel files were imported as read only files how can I change these
I am a new Mac user. When my excel files were copied over from my MS PC they have come over as read only files. How can i change these to "normal" files as they were on my PC? Thanks
More info:
Version: 10.6.8
Format: Mac OS Extended
Sharing & Permissions:
system - Read & Write
admin - Read & Write
everyone - Read only
When I click the lock in the bottom right corner it prompts me for my password but after unlocking it it doesn't allow me to change privelages or give me any new permissions. -
*How to download a list into Excel/Notepad which should be Read only type*
Hi All ,I have a requirement to Download the Report list to a Hardcoded path ie., this path should not change if a user tries to change and the File which gets downloaded should be automatically created as Read-Only.This is an Urgent requirement,kindly help me out.
Regards,
Rahul.Yes its possible Qui,
you need to perform following steps:
1. check the codelink property of that particular iview.
2. download the .par file from systemadmin-> support.
3. import in NWDS, and make change in the .jsp or .java file of that iviews component.
4. you need to know which BAPIs to be called for accessing the report, then export the .par file and make a new iview out of that .par file.
5. now you will get that button in your iView.
6. calling the proper backend function/BAPI is your task now.
rgds,
Kedar
if helpful answer pls reward points. -
I really need my OS 9 because I a lot of software that use it.
Hi Ronda! Thank you for trying to help me. I don't think I know the hard drive capacity, but it wasn't much for the G3. (I don't know what capacity means).
The space available on it: I didn't have anything on it except what was factory default applications and they were empty. For example, no movies, no songs, no photos, and no documents.
I'm not sure; I was in OS X 10.1.4 when I had to go into settings and choose classic OS 9, but I think I had to reboot in order to use OS 9.
Yes, I held down the C key during start-up. Is there anyway to fix the hard drive? Do I still have a hard drive? Who would fix my old iBook? It was fine before it crashed. I had a DVD in the DVD player that taught math. I didn't download anything. -
In Alv table, a column is editable mode, but want few cells in read only
Hi All,
I have a ALV table which column A and B.
Both are in editable mode. I want to make fews in column B, to be read only.
How to make it. Please help me.
Thanks
Vimalrajhi,
refer this program,
*& Report ZALV_COLOR_DISPLAY_EDIT
REPORT zalv_color_display_edit.
TYPE-POOLS: slis.
TABLES : zcust_master2.
INTERNAL TABLE DECLARATION
TYPES : BEGIN OF wi_zcust_master2,
zcustid LIKE zcust_master2-zcustid,
zcustname LIKE zcust_master2-zcustname,
zaddr LIKE zcust_master2-zaddr,
zcity LIKE zcust_master2-zcity,
zstate LIKE zcust_master2-zstate,
zcountry LIKE zcust_master2-zcountry,
zphone LIKE zcust_master2-zphone,
zemail LIKE zcust_master2-zemail,
zfax LIKE zcust_master2-zfax,
zstat LIKE zcust_master2-zstat,
field_style TYPE lvc_t_styl,
END OF wi_zcust_master2.
DATA: it_wi_zcust_master2 TYPE STANDARD TABLE OF wi_zcust_master2
INITIAL SIZE 0,
wa_zcust_master2 TYPE wi_zcust_master2.
*ALV data declarations
DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE.
DATA: it_fieldcat TYPE lvc_t_fcat, "slis_t_fieldcat_alv WITH HEADER
line,
wa_fieldcat TYPE lvc_s_fcat,
gd_tab_group TYPE slis_t_sp_group_alv,
gd_layout TYPE lvc_s_layo, "slis_layout_alv,
gd_repid LIKE sy-repid.
START-OF-SELECTION.
PERFORM data_retrieval.
PERFORM set_specific_field_attributes.
PERFORM build_fieldcatalog.
PERFORM build_layout.
PERFORM display_alv_report.
*& Form BUILD_FIELDCATALOG
Build Fieldcatalog for ALV Report
FORM build_fieldcatalog.
wa_fieldcat-fieldname = 'ZCUSTID'.
wa_fieldcat-scrtext_m = 'CUSTOMER ID'.
wa_fieldcat-col_pos = 0.
wa_fieldcat-outputlen = 10.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'ZCUSTNAME'.
wa_fieldcat-scrtext_m = 'CUSTOMER NAME'.
wa_fieldcat-col_pos = 1.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'ZADDR'.
wa_fieldcat-scrtext_m = 'ADDRESS'.
wa_fieldcat-col_pos = 2.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'ZCITY'.
wa_fieldcat-scrtext_m = 'CITY'.
wa_fieldcat-col_pos = 3.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'ZSTATE'.
wa_fieldcat-scrtext_m = 'STATE'.
wa_fieldcat-col_pos = 4.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'ZCOUNTRY'.
wa_fieldcat-scrtext_m = 'COUNTRY'.
wa_fieldcat-col_pos = 5.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'ZPHONE'.
wa_fieldcat-scrtext_m = 'PHONE NUMBER'.
wa_fieldcat-col_pos = 6.
wa_fieldcat-edit = 'X'. "sets whole column to be editable
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'ZEMAIL'.
wa_fieldcat-scrtext_m = 'EMAIL'.
wa_fieldcat-edit = 'X'. "sets whole column to be editable
wa_fieldcat-col_pos = 7.
wa_fieldcat-outputlen = 15.
wa_fieldcat-datatype = 'CURR'.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'ZFAX'.
wa_fieldcat-scrtext_m = 'FAX'.
wa_fieldcat-col_pos = 8.
wa_fieldcat-edit = 'X'. "sets whole column to be editable
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
wa_fieldcat-fieldname = 'ZSTAT'.
wa_fieldcat-scrtext_m = 'STATUS'.
wa_fieldcat-col_pos = 9.
APPEND wa_fieldcat TO it_fieldcat.
CLEAR wa_fieldcat.
ENDFORM. " BUILD_FIELDCATALOG
*& Form BUILD_LAYOUT
Build layout for ALV grid report
FORM build_layout.
Set layout field for field attributes(i.e. input/output)
gd_layout-stylefname = 'FIELD_STYLE'.
gd_layout-zebra = 'X'.
ENDFORM. " BUILD_LAYOUT
*& Form DISPLAY_ALV_REPORT
Display report using ALV grid
FORM display_alv_report.
gd_repid = sy-repid.
call function 'REUSE_ALV_GRID_DISPLAY'
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
EXPORTING
i_callback_program = gd_repid
is_layout_lvc = gd_layout
it_fieldcat_lvc = it_fieldcat
i_save = 'X'
TABLES
t_outtab = it_wi_zcust_master2
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " DISPLAY_ALV_REPORT
*& Form DATA_RETRIEVAL
text
--> p1 text
<-- p2 text
FORM data_retrieval .
DATA: ld_color(1) TYPE c.
SELECT zcustid zcustname zaddr zcity zstate zcountry zphone zemail
zfax zstat UP TO 10 ROWS FROM zcust_master2 INTO CORRESPONDING FIELDS OF
TABLE it_wi_zcust_master2.
ENDFORM. "data_retrieval
*& Form set_specific_field_attributes
populate FIELD_STYLE table with specific field attributes
FORM set_specific_field_attributes .
DATA ls_stylerow TYPE lvc_s_styl .
DATA lt_styletab TYPE lvc_t_styl .
Populate style variable (FIELD_STYLE) with style properties
The following code sets it to be disabled(display only) if 'ZFAX'
is NOT INITIAL.
LOOP AT it_wi_zcust_master2 INTO wa_zcust_master2.
IF wa_zcust_master2-zfax IS NOT INITIAL.
ls_stylerow-fieldname = 'ZFAX' .
ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.
"set field to disabled
APPEND ls_stylerow TO wa_zcust_master2-field_style.
MODIFY it_wi_zcust_master2 FROM wa_zcust_master2.
ENDIF.
ENDLOOP.
ENDFORM. "set_specific_field_attributes
Regards,
K.Tharani. -
Is it possible to mark as read only an item instance?
Hi friends,
in Apps R12,.. imagine you have a multirecord page.... (10 rows i.e.)
I would want to mark as read only the first item (or the item that would be not null) of the first row as read only... but.. the others items in the same column would be not readonly... (really they are the same "item", but not the same "Instance"....
It would be the same as in forms.. do a set_item_instance_property
Any ideas?
Thanksyou can use SPEL expression to achieve this.
Create a new boolean attribute in your VO.
In getBooleanXXX() of VORowImpl write your readonly logic. Return true if you want to make it readonly, false if not.
In the Page -> table -> Column's, set the Read Only property to ${BooleanXXX}.
--Prasanna -
Read only set for few rows of a column in a table (not ALV)
Hi Gurus,
I have a table with multiple rows and columns. Under a particular column, I have to make few rows as read only, few rows as editable based on a coondition. How can I achieve this. I know how to make the whole column as editable or read only. But I'm not able to achieve few rows in a particular column as editable and few read only. Please give me more detail code.
Appreciate your help.
Regards,
David.Hello,
That you can achieve by creating an attribute isReadOnly of type WDY_BOOLEAN in the context node that you bind to the TABLE. And set isReadOnly attribute based on your condition whether to set readonly or editable for all the context elements.
And in the layout view, for the column which has to be made readOnly or editable, bind the property readOnly to the context attribute isReadOnly.
When you run application, you will see the column as readOnly if the attribute was set to true and editable if it was set to false.
Hope this helps!
Regards,
Srilatha -
How to enable extension button of select-options but make it read only
Hi all,
I have select-options with extension on my selection screen. It has to be read only. But when I give screen-input = 0, even the extension button is disabled. So the user cannot see multiple default values of that field. How should I enable the extension button and still make it read-only.
Thanks in advance.
VasuHi, try below sample code:
data: gv_bukrs type bukrs.
SELECT-OPTIONS s_one for gv_bukrs.
at SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
if screen-name = 'S_ONE-LOW' or screen-name = 'S_ONE-HIGH' .
screen-input = 0.
MODIFY SCREEN.
endif.
ENDLOOP. -
Word / excel files (from my XP computer) on my external harddisk are read only!
For merging my software from my old XP pc to my new Apple Imac i use an external hard disk,
Now I see that excel and word files are read only!
What's the problem?Drag the files to the hard disk before opening them, or install a program such as Paragon NTFS.
(59973) -
Read-only radio group losing value on validation error
It took quite a while to track this down, but I think I've got it narrowed down properly. I have an APEX form for updating a record in a databse table with a radio group which is conditionally read-only. If that radio group has a value AND is read-only, when the form is submitted and hits a validation error, the value of the radio group is lost.
For example, the radio group SUBMITTED_FOR_APPROVAL is set to Y and is read-only for a given user. That user then changes something else on the form and submits it. However, the form now hits a validation error for some field. When the form reloads with the validation error displayed, all the fields are restored except the read-only radio group which is now blank. If a select list is used with the identical read-only condition, it works fine. Likewise, if a radio group is used, but the read-only condition is removed, it works fine. It is only when it is a radio group and it is read-only, that the value does not appear to be submitted to the session with all the form values whent he form is submitted.
Is this a bug or am I simply missing something?
Apex 3.1.2
Rgds/Mark M.It's using a shared component LOV cleverly called LOV_YN which consists of a static LOV with
1 Display=Yes, Return=Y
2 Display=No, Return=N
The settings in the LOV section on the item iteself:
Named LOV: LOV_YN
Display Extra values: No Dynamic translation: Not translated
Number of columns: 2 Display null: No
Null display value is blank as is null return value
Item was setup as a radio group and was only converted over to a select list to work around this issue. Let me know what else you need and thanks again.
Rgds/Mark M. -
Upload spreadsheet as read-only
Is there a command to open a spreadsheet as read-only in Oracle 10g? We are using Client_ole2:
workbooks := CLIENT_OLE2.GET_OBJ_PROPERTY(application, 'Workbooks');
args := CLIENT_OLE2.CREATE_ARGLIST;
CLIENT_OLE2.add_arg(args,:excel_filename);
workbook := CLIENT_OLE2.INVOKE_OBJ(workbooks, 'Open',args);
CLIENT_OLE2.DESTROY_ARGLIST(args);
Etc....
I am assuming perhaps there is a command word I can use in the INVOKE_OBJ line instead of 'Open', but I have yet to find a suitable replacement word. If a spreadsheet has macros, then as is, when the script runs to completion I get a 'do you want to save the changes you made?' that is coming from Excel.
Thanks in advance.Hi jwbennet, welcome to the forums,
sounds like some of the documents were possibly copied to the drive from a write protected drive similar to a closed cd or dvd; when written to cd or dvd files will become write protected.
Please try the following; click on a, or select multiple, folder(s) and right click on them, then select properties. Ensure that the Attributes - Read Only box is empty and then apply the change.
Hope this helps.
Andy ______________________________________
Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
Deutsche Community Comunidad en Español English Community Русскоязычное Сообщество
PepperonI blog -
Problems with Conditional Display and Read Only
Hi Everybody,
I have a form to Add/ Modify Table Info.
I have column which stores numeric value (like no. of purchases, no.of returns etc.,) and I have a text field with this Database column as Source.
In some cases the value is a foreign key (Id of the Owner, Buyer etc.,) to another table. In such cases, I want to display a select list containing people information. Is that possible?
This is what I did to achieve that
I added a select list with info from second Table. Made both the text field and the select list to conditional display and conditional read only.
My understanding is that When an item is made read only it should not be saved to the Database.
But while Updating I am getting the following Error
ORA-06550: line 1, column 130: PL/SQL: ORA-00957: duplicate column name ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored.
Any can anybody help me out on this?
Thanks
NimmiMy understanding is that When an item is made read only it should not be saved to the Database
No, all page items with a Source Type of "Database Column" will be used by the Automatic DML process to insert/update the database. Form inputs with the "disabled" HTML attribute set are not POSTed to the server.
Try to create 2 items, one Select List and other Text Field but setup their conditions such that only one of them is rendered on the page at any given time. That might work.
Maybe you are looking for
-
Site messed up after adding Contact form.
The site is online in its current state: http://www.wientjesvoegwerk.nl/index.html The site uses (X)HTML, JAVA, PHP and Spry tabbed panels with a CSS layout. The current state has: <?php include("mail.php"); ?> Before the Doctype, etc. <?php $xajax->
-
Complete loss of tab order in form
I received a MS Word document (2003) that I opened in my MS Word 2010 and saved as a .pdf document. I then opened the .pdf file in Acrobat Pro v 9.4.7 and used the Forms tools to create a fillable form. My tab order shows exactly as I want it to pe
-
Does anyone know how to configure Dreamweaver CS3 to show CF8 help when I hit F1 while I have a CF tag highlighted? Thanks so much for any help. A.J.cfm
-
How do I change the owner's name for all Apple/iTunes/iCloud applications?
The name for my iPhone device and all Apple related things I log into, the owner name is my father's name -- however, since it is my device and my phone and I use all relating applications, I would like for it to be underneath my name. How do I chang
-
Wifi connections goes "Limited" frequently.
So i've had this issue ever since i installed windows 7 ultimate via bootcamp on my mac. When i go in games or even the browser, my ping sky rockets and the internet connections always drops every 3 minutes saying "Limited Access". I cant even browse