Restricting use of some columns

Is there a way to restrict authorized viewers from changing data in some of the columns on the view responses spreadsheet while permitting them to add columns or change data in other columns?

No, we do not provide that level of control.
Randy

Similar Messages

  • See my error : (REP-1272: Column ‘CF_1’ may not be used as break Column.)

    Hi master
    Sir I have master detail report and I use one formula column and one place holder column in my report in master section
    I use this code
    function CF_1Formula return Date is
    begin
    if :chqdate is not null then
         :cp_1 :=:chqdate;
    else
         :cp_1 :=:sdate;
         end if;
    end;
    Sir when I run my report then system give me this error
    REP-1272: Column ‘CF_1’ may not be used as break Column.
    Please give me idea how I get report
    Thank
    aamir

    Hello,
    Break Order cannot be used for some Column Type :
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwcontxt/props/pi_col_break_order.htm
    (CLOB is not explicitly specified, but the restriction for LONG and LONG RAW exists for CLOB too)
    Regards

  • Based on input file i need to update default values to some columns of database table using bulk copy process

    Hi Team,
    Am using BULK INSERT Format file option to load data into table from .txt file here am facing an issue i.e ibased on input file i need to insert default values to some columns of table so we can not declare it on table level, Can we give default values in
    format file ? if we can give how it is ? or Any alternate possibilities to this scenario instead of BULK INSERT ?
    Thanks,
    Sudhakar

    Thanks for your response, here i don't have any rights to change table structure the table is created by different team, my work is to load data from file to table. Is there any chance to supply default values by*XML* format file instead of *.fmt* file
    please let me know the possibility.
    Again, no. If you want to supply default values that are not present in DEFAULT constraints in the table definition, you will need to write your own code. There are plentyfull of options, and I have mentioned some already.
    Here are some more:
    *  Table-valued parameters, see here for examples:
    http://www.sommarskog.se/arrays-in-sql-2008.html
    *  Use BULK INSERT to load data to a staging table, and then apply the default values when you copy from staging to target.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Trying to use 2 different Dimension tables and make a hierarchy on some columns which are split into these dimensions .. how do I do that

    Trying to use 2 different Dimension tables and make a hierarchy on some columns which are split into these dimensions .. how do I do that

    If you need to make a hierarchy in an Attribute view you need to have all relevant fields/columns in the same Dimension table..

  • Update some columns using case....

    Hi ,
    Is it possible to update some columns using case statement...????
    For example when col1 is null then update to a value 'x' else update it to the value '*' , when col2 is null then update to a value y else update it to compute the running total up to that time....
    This update statement is contained in db packaged procedure and it receives the values...as parameters....
    How can i write down this update statement...?????
    Many thanks,
    Simon

    Hi ,
    Cant' it be used for two or more columns that have to be updated....????
    i mean
    update table set col_a = case when col_a is null then col_a else '*',
                       col_b = case when col_b is null then col_b else col_b+col_b_var
      end
      where .....The above in bold is running total.... This update is defined in a procedure and it receives numbers as parameters, so the need is to add them for every record it receives...., that's why i set above col_b+col_b_var... where col_b_var is the parameter of the procedure....
    SORRY...IT IS POSSIBLE.....
    Thanks , a lot
    Simon
    Message was edited by:
    sgalaxy

  • How to get the rows from a table having some column has any letter

    Hi All,
    suppose i have a table having columns id(number), code(varchar).
    code has alphanumeric characters (ex. ABC123, 67B56 etc).
    some codes are only numbers (2344, 7898 etc).
    how can i get the rows which have alphabets in the code.
    ex:
    id code
    1 AB45
    2 456
    3 890
    4 67B7
    how can i write a query such that it should give me the ids 1 and 4 (as they have alphabets in code)
    thanks in advance to all

    Thanks to one and all.
    i am gettig my required output.
    But i have a doubt in the operator.
    If i add or remove '[]' in the operator, i am getting different ouputs.
    There is a count difference in the result of the operators used.
    REGEXP_LIKE(<column>,'[[:lower:]]')
    REGEXP_LIKE(<column>,'[[[:lower:]]]')
    REGEXP_LIKE(<column>,'[:lower:]')
    Can anybody please explain what is the difference in using '[]', in the operator?
    What is the correct syntax, whether i have to use two '[]'s or one '[]'.
    Also, can i use REGEXP_LIKE() in oracle 8i version.( I am unable to use the operator in 8i)?
    Any query to get the required output in 8i version?
    Thanks in advance to all.

  • How could I display some columns in a JTable?

    Help, please:
    I got a Table data(using AbstractedTableModel), and I can display all rows and columns. How can I just display several columns and all rows? Should I delete some columns from table and fireChanges or what? but I need these columns later. Make sense? any ideas?
    Thanks for any helps.
    Royan

    this worked for me,
    import java.util.*;
    import java.io.*;
    import java.net.URL;
    import java.sql.*;
    import javax.swing.table.*;
    import javax.swing.*;
    public class HideTableColumns
          public HideTableColumns()
          private void initialize()
          DefaultTableModel m = new DefaultTableModel();
          try {
             java.util.Vector data = new java.util.Vector();
             java.util.Vector headers = new java.util.Vector();
             String s = "";
             headers.addElement( "OrderID" );
             headers.addElement( "CustomerID" );
             java.util.Vector datum = null;
             datum = new java.util.Vector();
             s = "OrderID";
             datum.addElement( s );
             s = "CustomerID";
             datum.addElement( s );
             data.addElement( datum );
             m.setDataVector( data, headers );
             for( int r = 0; r < m.getRowCount(); r++ )
                for( int c = 0; c < m.getColumnCount(); c++ )
                s = ( m.getValueAt( r, c ) ).toString();
                System.out.println( s );
          } catch( Exception e ) {
             System.out.println(e.getMessage());
             e.printStackTrace();
          JFrame f = new JFrame();
          JPanel p = (JPanel) f.getContentPane();
          JTable tb = new JTable( m );
          TableColumn col = tb.getColumnModel().getColumn(1);
          col.setPreferredWidth(0);
          col.setMinWidth(0);
          col.setMaxWidth(0);
          p.add( tb );
          f.pack();
          f.show();
          public static void main( String[] args )
          HideTableColumns d1 = new HideTableColumns();
          d1.initialize();
    }

  • Change the colour of some column headers

    Hello All,
    I have a table with a few columns. I want to colour some of the column headers. I want to do this as these columns represent a KEY.
    Regards,
    Aayush

    Hi Aayush,
    As such there doesn't exist any way to colour only some column <b>headers</b>. The two existing options are :
    1) Show the data of some columns in a different colour. For this use text views (default one) as the column elements, and select one among the few built-in colours for the property 'semanticColor' of the text view.
    2) Attach a small image to the primary column's header, using the 'imageSource' property of the table header.
    Hope this helps,
    Best Regards,
    Nibu.

  • How to use a calculated column in the same query

    Hi All,
    I need some help with using a calculated column in the same query.
    For eq
    I am joining a couple of tables and some of the select columns are calculated based on the columns of the tables and i want a new column in the same query to use this calculated feild in some other calcualtion.
    something like this...
    select (12+3) as Sum1, (12-3) as Sum2, (Sum1 + Sum2 ) as Sum3
    from dual
    or
    select (12+3) as "Sum1", (12-3) as "Sum2", CASE WHEN ( "Sum1" / "Sum2" * 100 > 0 ) THEN 'Yes' ELSE 'No' END
    from dual
    Thanks

    user548171 wrote:
    select (12+3) as Sum1, (12-3) as Sum2, (Sum1 + Sum2 ) as Sum3
    from dual
    or
    select (12+3) as "Sum1", (12-3) as "Sum2", CASE WHEN ( "Sum1" / "Sum2" * 100 > 0 ) THEN 'Yes' ELSE 'No' END
    from dual
    ThanksWhat about just repeating the column values:
    select (12+3) as "Sum1", (12-3) as "Sum2", CASE WHEN ( (12+3) / (12-3)  * 100  > 0 )  THEN 'Yes' ELSE 'No'  END FROM DUAL

  • How to create  some columns dynamically in the report designer depending upon the input selection

    Post Author: ekta
    CA Forum: Crystal Reports
    how  to create  some columns dynamically in the report designer depending upon the input selection 
    how  export  this dynamic  report in (pdf , xls,doc and rtf format)
    report format is as below:
    Element Codes
    1
    16
    14
    11
    19
    10
    2
    3
    Employee nos.
    Employee Name
    Normal
    RDO
    WC
    Breveavement
    LWOP
    Sick
    Carers leave
    AL
    O/T 1.5
    O/T 2.0
    Total Hours
    000004
    PHAN , Hanh Huynh
    68.40
    7.60
    76.00
    000010
    I , Jungue
    68.40
    7.60
    2.00
    5.00
    76.00
    000022
    GARFINKEL , Hersch
    66.30
    7.60
    2.10
    76.00
    In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
    if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
    Can anybody help me how do I design such report....
    Thanks

    Hi Developer life,
    According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
    As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric  values) in the details,  add  an filter to filter the data base on this column group, but if
    the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
    If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
    Similar threads with details steps for your reference:
    https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings 
    If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
    Any question, please feel free to let me know.
    Best Regards
    Vicky Liu

  • How to disable sorting for some columns in a ALV GRID?

    Hi i have requirement where I have to disable sorting for some columns in a ALV GRID. i am using REUSE_ALV_GRID_DISPLAY function module.
    Can anybody help me. how to acieve this? Any code snippets will really be appreciated.

    Hi,
    I have tried this but not completely successful. I think this can be done using the OOPS method.
      DATA: it_event_exit TYPE  slis_t_event_exit.
      DATA: w_exit TYPE slis_event_exit.
      w_exit-ucomm = '&ODN'.
      w_exit-before = 'X'.
      CLEAR w_exit-after.
      APPEND w_exit TO it_event_exit.
      w_exit-ucomm = '&OUP'.
      w_exit-before = 'X'.
      CLEAR w_exit-after.
      APPEND w_exit TO it_event_exit.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program          = w_repid
          i_callback_top_of_page      = 'ALV_TOP_OF_PAGE'
          i_callback_html_top_of_page = 'ALV_HTML_TOP_OF_PAGE'
          i_callback_user_command     = 'USER_COMMAND'  <- User command form
          is_layout                   = wm_layout
          it_fieldcat                 = wt_fieldcat
          it_events                   = i_events
          it_event_exit               = it_event_exit    <- Need to fill
          it_sort                     = wt_sort
          i_default                   = 'X'
    Now you can capture this events in the user command
    FORM user_command  USING r_ucomm LIKE sy-ucomm
                             rs_selfield TYPE slis_selfield.
      IF r_ucomm = '&OUP' and rs_selfield-SEL_TAB_FIELD = 'Your field name'.
      ENDIF.
    ENDFORM.                    "user_command
    In this form you will get the function code in 'r_ucomm' and the field selected for sorting in 'rs_selfield-SEL_TAB_FIELD'. But reseting 'r_ucomm' will not work.
    May be somebody else can give some help on this.
    But this will work if you follow the oop method.
    Please see this document for more info.
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an easy reference for alv grid control.pdf
    Thanks
    Vinod

  • How to use a Formula Column in the main query?

    Hi All,
    I've tried to use a formula columns defined in some query in the condition of that query like this:
    where (:cf_ex - :cf_ex2) >= 5
    but when I run the report no data returned! Why? and how to use it the condition of the query?
    Note: I'm using Forms 6i

    where (:cf_ex - :cf_ex2) >= 5You cannot do that. Formula columns are not part of the select statement (which runs in the database), but are processed in the report.
    When you created this query, my guess is that you got the message "Note: the query Q1 has created the bind parameter(s) cf_ex, cf_ex2". Check these User Parameters in your data model. So, you are actually referencing user parameters in the query, not formula columns.
    I made a computations and things using PL/SQL that can't be done in the select statement in the data model!If it's pl/sql you can probably use that in your query. Create some database functions for cf_ex and cf_ex2 and use these in your query.

  • Restrict use of payment terms

    Is there a way where I could restrict use/view of payment term in the customer master data entry (FD01, XD01)?  I  have created an authorization object for ZTERM (SU20, SU21) and assigned this object (SU24) to tcode FD01, XD01.  The authorization assigned has only COD as valid payment term.  But still, using payment term other than COD is permitted.

    Rhyz 
    Some where in the code of FD01 & XD01, you need code which checks whether user have access to your ZTERM object .
    this has to be done by ABAPer by using either user exit or Enhancement (ECC6.0).
    code will be
    AUTHORITY-CHECK OBJECTS 'ZTERM'
    Regards,
    Surpreet
    e.g
    AUTHORITY-CHECK OBJECT 'S_USER_AGR'
    ID 'ACT_GROUP' FIELD ACTIVITY_GROUP
    ID 'ACTVT' FIELD ACT_ADD.

  • Records repeat in some column of final table

    In my final table Some records are repeated in some columns .
    I have tried sorting and delete adjacent syntax.
    cant avoid repeating entries.
    Please give me some hint.
    <<Moved from MM forum to ABAP forum>>
    Edited by: Csaba Szommer on Feb 9, 2011 9:30 AM

    hi all
    LOOP AT IT_FINAL.
          IF IT_FINAL-BLART = 'AA'.
            IF SY-SUBRC = 0.
              MOVE-CORRESPONDING IT_FINAL TO IT_AA.
              APPEND IT_AA.
            ENDIF.
            READ TABLE IT_AA WITH KEY BELNR = IT_FINAL-BELNR
                                      GJAHR = IT_FINAL-GJAHR
                                      BUKRS = IT_FINAL-BUKRS
                                      WERKS = IT_FINAL-WERKS
                                      HKONT = IT_FINAL-HKONT
                                      TXT50 = IT_FINAL-TXT50
                                      PSWBT = IT_FINAL-PSWBT TRANSPORTING PSWBT.
            IF SY-SUBRC = 0.
              IT_FINAL-PSWBT1 = IT_AA-PSWBT.
              MODIFY IT_FINAL TRANSPORTING PSWBT1 WHERE BLART = IT_AA-BLART
                                                    AND BELNR = IT_AA-BELNR
                                                    AND GJAHR = IT_AA-GJAHR
                                                    AND BUKRS = IT_AA-BUKRS
                                                    AND WERKS = IT_AA-WERKS
                                                    AND HKONT = IT_AA-HKONT
                                                    AND TXT50 = IT_AA-TXT50
                                                    AND PSWBT = IT_AA-PSWBT.
            ENDIF.
          ENDIF.
    same logic i used for other doc types.
    SORT IT_FINAL_NEW BY
    HKONT WERKS PSWBT1  PSWBT2  PSWBT3  PSWBT4  PSWBT5  PSWBT6  PSWBT7  PSWBT8  PSWBT9  PSWBT10
                                 PSWBT11 PSWBT12 PSWBT13 PSWBT14 PSWBT15 PSWBT16 PSWBT17 PSWBT18 PSWBT19 PSWBT20
                                 PSWBT21 PSWBT22 PSWBT23 PSWBT24 PSWBT25 PSWBT26 PSWBT27 PSWBT28 PSWBT29 PSWBT30
                                 PSWBT31 PSWBT32 PSWBT33 PSWBT34 PSWBT35 PSWBT36 PSWBT37 PSWBT38 PSWBT39 PSWBT40
                                 PSWBT41 PSWBT42 PSWBT43 PSWBT44 PSWBT45 PSWBT46 PSWBT47 PSWBT48 PSWBT49 PSWBT50
                                 PSWBT51.
      DELETE ADJACENT DUPLICATES FROM IT_FINAL_NEW COMPARING
                HKONT WERKS PSWBT1  PSWBT2  PSWBT3  PSWBT4  PSWBT5  PSWBT6  PSWBT7  PSWBT8  PSWBT9  PSWBT10
                                 PSWBT11 PSWBT12 PSWBT13 PSWBT14 PSWBT15 PSWBT16 PSWBT17 PSWBT18 PSWBT19 PSWBT20
                                 PSWBT21 PSWBT22 PSWBT23 PSWBT24 PSWBT25 PSWBT26 PSWBT27 PSWBT28 PSWBT29 PSWBT30
                                 PSWBT31 PSWBT32 PSWBT33 PSWBT34 PSWBT35 PSWBT36 PSWBT37 PSWBT38 PSWBT39 PSWBT40
                                 PSWBT41 PSWBT42 PSWBT43 PSWBT44 PSWBT45 PSWBT46 PSWBT47 PSWBT48 PSWBT49 PSWBT50
                                 PSWBT51.
    But not solved the problem.

  • How to hide some columns in FBCJ tcode

    hi experts,
    is it possible to hide some columns in FBCJ for some particular user ids.
    i want to display only these following columns for some particular user ids. I tried configuration button exists on right corner of table above scroll bar by changing administrator settings.
    But it is reflecting for all user ids.
    I want to reflect  changes for some particular user ids.
    1. business trnsaction
    2. amount
    3.Document status
    4. g/l account
    4. Receipt Recipient
    6. text
    7. vendor
    8. Reference
    9. company code
    10. cost center
    11. profit center
    12. additional text1
    13. additional text 2.
    I came to know by using screen variants we can achieve this.
    But i dont know how to proceed.
    Kindly provide steps to make changes.
    thanks & regards,
    Hari priya

    Hi,
    Check out this link.Probably this would be useful.
    http://www.madeitsimple.com/technology/sap-abap-transaction-variants/
    Thanks
    Papiya

Maybe you are looking for

  • Change Password link is not showing up in MyAccount Page

    Change Password link is not showing up in MyAccount Page, eventhough the line <class name="PasswordPortalSetting"/> is not commented out in DisplayPortalSettings.xml We are using custom Auth source and not using plumtree Auth source, Is this could be

  • I have lost the image tags in workspace.How do I get them back?

    I have lost the image tags. How do I get them back?

  • Rowid in BIGFILEs

    Hi experts , when i execute this command :=== select dbms_rowid.rowid_relative_fno('AAAM7eAAAAAAAAUAAD','bigfile') from dual; I get 1024 result.... because this is a bigfile tablespaces rowid.. how should i use the rowid_create function with relative

  • Making large format XPS files

    My client wants an xps file of a large document that I'm working on in InDesign CS3. (28" x 7"). Using a PC with CS4, I find my only options to make an XPS file are to reduce the size to fit it on standard paper sizes, I can't change it to my documen

  • Alternative to replace use of Table BDCP

    Hi Guys, SAP table BDCP which is used in START-OF-SELECTION is obsolete in SAP ERP 6.0 EHP7 SP Stack 4 and Data in this table is not maintained any more. I need to find an alternative to replace use of table BDCP. Any one have any idea what can be th