Authorizations for View Cluster

Hello all,
I need to maintain authorization for View cluster.
Example : I have a view cluster say 'VC_TEST' , now I should have an authorization where other employees can only display it.
Steps which I have followed:
1. Assigned authorization object to the views of view cluster then created role for the object S_TABU_DIS and assigned all the activites (Create,Change,Display)
2. Assigned user to the role
But still other people can edit or maintain the view cluster.
So could you please guide me.
Thanks and regards,
Anil

HI,
Reg:Authority Check object
http://www.techrepublic.com/article/comprehend-the-sap-authorization-concept-with-these-code-samples/5110893
Ram.

Similar Messages

  • Authorizations for the cluster PY

    Dear Friends...
    I have this issue at this moment...
    Authorizations for the cluster PY, they want that some user can see the cluster with the exception of infotype 8 and 62, and the same process in pa30 and ad hoc query, I think in pa30 and adhoc query could use and authorization object, but I don't know if in the cluster works this objects.
    if u can give me some help I'll apreaciate.

    Hi Ian,
    You could use stored procedure like this
    IF @object_type='10000044'AND @transaction_type='U'
      BEGIN
         SELECT @error=-1
         SELECT @error_message='Update denied'
      END
    However, it seems that you want to protect this action only for certain user?
    I think it is not easy (unless you're using SDK).
    The problem is, the OBTN table (OIBT only a view) only store the original user who create the batch (field UserSign). So, if user "A" create the batch, and later user "B" want to update it, but you intend to restrict only user "B" while giving access to update the status to user "A", the table OBTN still record the UserSign field with user "A" despite it was actually "B" who update it. So, stored procedure can't read that it was "B" who actually tried to update the batch detail.
    Maybe you could use this workaround, you create an UDF in batch object (U_User), and using FMS to update this UDF with active user who login to B1. Therefore, you could amend above stored procedure like this
    IF @object_type='10000044'AND @transaction_type='U'
      BEGIN
         DECLARE @U_User AS NVARCHAR(10)
         SELECT @U_User=U_User FROM OBTN WHERE AbsEntry=@list_of_cols_val_tab_del
         IF @U_User IN('1','2','3') -- from USERID field in OUSR table
           BEGIN
              SELECT @error=-1
              SELECT @error_message='Update denied'
           END
      END
    Frankly, I haven't try it. Hope this help.
    Best Regards,
    Hendry Wijaya

  • How to create wizard for a custom mainenance view/view cluster

    Hi Experts,
    I have created 5 custom maintenance view and have maintained all the views sequencially and have made the first mainenance view as the start view & header entry and all other views are child or subview of the header view in a custom view cluster. But I want a wizard to help the user / end user successfully enter all the required values for all child views, it will help  the user to navigate  from the start view to all the child views where the fields of the wizard will be associated to the child maintenance views.
    Please suggest how to create wizard for view cluster.
    I'll give max reward point for the helpful answer.
    Thanks in advance
    koustav

    Hello Pasapula
    When you are in the View Cluster maintenance dialog (SE54) click on dialog "Events".
    Below the field for the view cluster you have an additional field <b>FORM routines main program</b>. There you have to add the main program containing the FORM routines called by the VC events.
    For example: I had defined a normal report containing an include with all the FORM routines. The report contains only the following lines of coding:
    report zus_0120_u1.
    * Common Data und access routines for user exits in VC maintenance
    include LSVCMCOD.
    include  zus_0120_f1. "FORM routines for VC events
    Now in the "Events" dialog of the view cluster maintenance you assign your FORM routines to the events.
    Regards
      Uwe

  • Sorting event on view cluster possible?

    Hi,
    Can anyone please tell me if it is possible to create a event for view cluster for sorting on a non key field of one of the underlying maintenence views.
    Thanks..

    Some events are triggered when exportingthe changed data,
    - 10 After creating the change request header entries (E071)
    - 11 After changing a key entry in the change request (E071K)
    - 12 After changing the key entries in the change request (E071K)
    which are suitable to add a XPRA entry in the request
    But many events (AFAIK those without dialog) are triggered during import (and we can check if the program is called via transaction or import via flag VIM_IMPORT_MODE_ACTIVE, eg. do not execute a form which fill hidden fields like created by and created at.)
    Regards,
    Raymond

  • F4 help for a field in item table in a view cluster

    Hi All,
    I have a view cluster with two tables. I should provide F4 help for field in item table based on the selected row of the header table.
    F4 should have only values fetched based on the header table entry.
    How can i achieve this. Please suggest.
    Regards,
    Kusuma K.

    Hi amar_war,
    use screen painter to edit the screen layout where the field VKBUR is on. Double click the field to get the details screen. Here you can attach a search help to the field.
    H_TVBUR has no more parameters, it will display a list of al sales offices with description text
    H_TVBVK will also show the sales group, if VKGRP is a screen field, it will restrict the result list automatically on matching VKGRP.
    H_TVKBZ has also VKORG VTWEG SPART - it will take those values from screen if filled.
    If you are not satisfied with the results, you can easily create your own search help using own selection method and own search help exits if required.
    Try standard search help for standard field first.
    You can create a copy of VKBUR as ZVKBUR and attach search help there, you can create your own screen structure and attach the search help there - 50 ways to get your search help...
    Regards,
    Clemens

  • How to create EVENTS for a View Cluster.

    Hi Tech Gurus,
    I have created a view cluster on 5 tables. I need to do a validation and this can be done by using events. But i am unable to create a EVENT for the View Cluster. Could anyone please tell me how to create events for a View Cluster.
    Thanks in advance for your esteemed replies.
    Regards,
    Raghavendra Goutham P.

    Hello Pasapula
    When you are in the View Cluster maintenance dialog (SE54) click on dialog "Events".
    Below the field for the view cluster you have an additional field <b>FORM routines main program</b>. There you have to add the main program containing the FORM routines called by the VC events.
    For example: I had defined a normal report containing an include with all the FORM routines. The report contains only the following lines of coding:
    report zus_0120_u1.
    * Common Data und access routines for user exits in VC maintenance
    include LSVCMCOD.
    include  zus_0120_f1. "FORM routines for VC events
    Now in the "Events" dialog of the view cluster maintenance you assign your FORM routines to the events.
    Regards
      Uwe

  • Error - No authorization for object while viewing transformations in BI 7.0

    Folks,
    In BI 7.0, In the Data flow diagram, when I had tried to click on the transformation sybmol, system is throwing an error message No authorization for object   (authorization object ) Message no. RS_EXCEPTION250
    Do I need to request for authorization to just view transformations or is this error something different ?
    Thanks

    Did  SU53 and below is theauthorization info. Does quality system usually not have access even to display/read transformations for func people ???
    Authorization check failed
      Object Class RS   Business Information Warehouse
        Authorization Obj. S_RS_DTP   Data Warehousing Workbench - Data Transfer Process
          Authorization Field ACTVT Activity
                                                                                    03
          Authorization Field RSONDTPSRC Source
                                                                                    DTP_46UAQF4V7BE5JR0I3HKLLC6D2
          Authorization Field RSONDTPTGT Target
                                                                                    ZSD_DEL
          Authorization Field RSSTDTPSRC Subtype of the Source
          Authorization Field RSSTDTPTGT Subtype of the Target
          Authorization Field RSTLDTPSRC Type of Source
                                                                                    DTPA
          Authorization Field RSTLDTPTGT Type of Target
                                                                                    ODSO
      User's Authorization Data xxxx
      Object Class RS         Business Information Warehouse
        Authorization Object S_RS_DTP   Data Warehousing Workbench - Data Transfer Process
          Authorizat. Z:GEFUNONC00 Data Warehousing Workbench - Data Transfer Process
            Profl. Z:GEFUNONC   Profile for role Z:GENAPO_FUNC_ONCALL
            Role Z:GENAPO_FUNC_ONCALL Generic APO Fucntional Oncall Role
            Authorization Field ACTVT Activity
                                                                                    03, 16, 23
            Authorization Field RSONDTPSRC Source
            Authorization Field RSONDTPTGT Target
            Authorization Field RSSTDTPSRC Subtype of the Source
                                                                                    ATTR, HIER, TEXT
            Authorization Field RSSTDTPTGT Subtype of the Target
                                                                                    ATTR, HIER, TEXT
            Authorization Field RSTLDTPSRC Type of Source
                                                                                    CUBE, IOBJ, ISET, ODSO, RSDS, TRCS
            Authorization Field RSTLDTPTGT Type of Target

  • Maintaince view creation for a cluster table

    Hi friends,
    I have created a maintaince view for a cluster table bseg and i have activated it its working fine..
    now my problem is i can create maintaince view for mutiple tables if other tables are linked with primary table using foriegn key relationship..
    Now can any one tell me is it possible to create maintance view for cluster table with multiple tables as i need a linked table with bseg which iam not able to get... ie : when i click on the relationship tab iam not getting the linked tables for bseg...
    now can i create a maintaince view with 2 linked cluster tables..
    if so can any one tell me how to create it.
    As sap says we can create projection view for cluster and pooled table and we cannot create database view for cluster and pooled tables , but it does not mentioned like that for maintaince view....
    I assume we can do it.... as iam trying to create a maintaince view with single cluster table then it shoudl allow me to create for multiple linked cluster tables.... and is it mandatory to maintain TMG for this maintaince view....?
    Regards
    KUMAR

    yes.. ur right inserting values into a cluster table other than standard sap tarnactions is dangerious....
    But sap didnot mentioned any where that we cannot maintain data for cluster tables using maintaince view... which it said for database view..that pooled and cluster table cannot be used for database view..
    Regards
    Kumar

  • Authorization for material type and material views

    Hello all,
    I would need to restrict a user group, in creation (MM01) and modification of material master, based of type material and material views.
    The authorization, for each user should be:
    - view, modify and create of all views, except accounting (B) for type material ZFER;
    - view, modify and create of all views for type material ZOFF.
    I tried to create 2 roles in PFCG with the following authorization objects:
    1) M_MATE_MAR (Material Master: Material Types)  ACTVT = *, BEGRU = ZFER and M_MATE_STA (Maintenance Statuses) ACTVT = *, STATM = A,C, D, E, F, G,K, L, P, Q, S, V, X, Z (excluding B)
    2) ) M_MATE_MAR  ACTVT = *, BEGRU = ZFER and M_MATE_STA ACTVT = *, STATM = B
    but the effect is to be authorized, to all view for material type ZFER and ZOFF.
    I have already updated the authorization group of the type materials (OMS2).
    Is there a solution for this problem?
    (component version SAP ECC 6.0)
    Thanks.
    Regards,
    Luca

    I tried to create 2 roles in PFCG with the following authorization objects: 1) M_MATE_MAR (Material Master: Material Types) ACTVT = *, BEGRU = ZFER and M_MATE_STA (Maintenance Statuses) ACTVT = *, STATM = A,C, D, E, F, G,K, L, P, Q, S, V, X, Z (excluding B) 2) ) M_MATE_MAR ACTVT = *, BEGRU = ZFER and M_MATE_STA ACTVT = *, STATM = B
    - Are both these roles assigned to the same user? then your purpose is not solved, It is more or less like giving full authorization.
    - One role should be
    M_MATE_MAR (Material Master: Material Types) ACTVT = *, BEGRU = ZFER and M_MATE_STA (Maintenance Statuses) ACTVT = *, STATM = A,C, D, E, F, G,K, L, P, Q, S, V, X, Z (excluding B) for view, modify and create of all views, except accounting (B) for type material ZFER. This should be assigned to one user
    - Second role should be
    M_MATE_MAR ACTVT = *, BEGRU = ZOFF and M_MATE_STA ACTVT = *, STATM = * for view, modify and create of all views for type material ZOFF. This role should be assigned to the second user.
    Regards,
    Subbu

  • Creating view cluster for a header and detail table

    Hi all,
    I want to create a View cluster for maintaining 2 tables (one is the header table and other is the detail table)
    ....for each line in the header table there can be multiple detail line items...
    If anyone has worked on such requirement...please tell me how should i go about developing it.
    after creation i should be able to maintain the cluster using transaction SM34....
    Thanks ,
    Sushil.

    hi
    refer to following link
    http://help.sap.com/saphelp_nw04/helpdata/en/d0/999246b2aa11d1a5700000e82deaaa/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/d0/999246b2aa11d1a5700000e82deaaa/frameset.htm
    Cheers
    Snehi

  • Authorization for all the maintenance views from one table

    I have one table with data related to 5 systems.
    I have created views with related data for each system.
    These all are from one table only. while i am editing in one view, i must be able to edit the another view also. at a time 2 users cant edit the same view but at a time two users have to edit two different viws from same table.
    I have to provide all authorization to all views at the same time.How to achieve this?.
    Thanks.
    Edited by: pagidala Ramesh on Oct 27, 2008 10:52 AM

    Hi Pagidala,
    This is my idea how much it can help you i am not sure but, create txcode for views and assign the authorizations for the txcodes according to your requirements. May be your issue will resolve.
    Cheers!!
    VEnk@

  • Special authorization need for read cluster table??

    In one report, I use following coding to read information from RFDT table:
    form get_f110_parm .
      f110id-laufd   = p_laufd.
      f110id-laufi   = p_laufi.
      f110versionpar = space.
      clear:   buktab, fkttab, slktab, sldtab, trctab, usrtab,
               faetab, jobtab, f110v, f110c,  trcopt, f110versionpar.
      import buktab fkttab slktab sldtab trctab usrtab
             faetab jobtab f110c trcopt f110versionpar
             from database rfdt(fb) id f110id
             accepting padding.
    endform.                    " GET_F110_PARM
    I can fill F110c, trcopt and f110versionpar by this program. But there is no entry in table like fkttab, usrtab.
    Is there any authorization need for read cluster table??
    Thanks in advance.
    Edited by: Amy Xie on Dec 21, 2010 10:41 AM

    Hello,
    After you run your code, check transaction SU53 to see if any authorization check failed.

  • View Cluster: Maintain Master Data without a prompt for transport

    Hello,
    I have two tables which have been defined as Application Tables with Display/Maintenance Allowed.
    These two tables have been defined in a View Cluster.
    But, the View cluster prompts to create a Transport Request when ever data is being maintained in these tables.
    I would like to have the data maintained without a transport prompt.
    The table maintenance for these tables was generated using One Step maintenance type and Standard recording routine.
    Is there  a setting that needs to me made in order for this to work?
    Thanks in advance.

    Suhas Saha is right. Important is, that those settings suhas sad, are in maintanaince of table/view, not in cluster view.
    so: go to se11, insert table/view, click on change, go utillities->table maintenance generator ->click on radio no or user defined routine, than SAVE, thne go environment->maintenance objects->generate, and here select no transport , and save.
    thats all.

  • While accessing Integration Directory (No authorization for this action)

    Hi,
    I am getting below error, while accessing  Integration Directory it is showing (No authorization for this action
    I had provided necessary authorization to XI* users & j2ee_guest, j2ee_admin.
    below error is in application.log
    #1.5#0019BB24F5460065000000130000145000045BA13A34D68B#1226647931285#/Applications/ExchangeInfrastructure/Directory#sap.com/com.sap.xi.directory#com.sap.aii.ib.web.clidist.DownloadServlet#J2EE_GUEST#0####59978c50b21e11dd9a8b0019bb24f546#SAPEngine_Application_Thread[impl:3]_18##0#0#Error#1#com.sap.aii.ib.web.clidist.DownloadServlet#Plain###Cannot locate jnlp resource
    Thrown:
    com.sap.engine.services.httpserver.exceptions.HttpIOException: Write timeout. HTTP client read timeout or callback from dispatcher not received for [10000] milliseconds.
         at com.sap.engine.services.httpserver.server.ResponseImpl.sendResponse(ResponseImpl.java:281)
         at com.sap.engine.services.servlets_jsp.server.runtime.client.ServletOutputStreamImpl.flush(ServletOutputStreamImpl.java:411)
         at com.sap.engine.services.servlets_jsp.server.runtime.client.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:236)
         at com.sap.engine.lib.io.GZIPMultiOutputStream$StreamTool.deflate(GZIPMultiOutputStream.java:123)
         at com.sap.engine.lib.io.GZIPMultiOutputStream.write(GZIPMultiOutputStream.java:339)
         at com.sap.engine.services.servlets_jsp.server.runtime.client.GzipResponseStream.write(GzipResponseStream.java:230)
         at com.sap.aii.ib.web.clidist.DownloadResponse$FileDownloadResponse.sendResponse(DownloadResponse.java:114)
         at com.sap.aii.ib.web.clidist.DownloadServlet.handleRequest(DownloadServlet.java:104)
         at com.sap.aii.ib.web.clidist.DownloadServlet.doGet(DownloadServlet.java:34)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Regards,
    hari

    Hi,
    Thanks for your quick update,
    I had provided for all necessary aauthorizations in SU01. still i am facing problem.
    here i am attaching default.0.trc contains error.
    Pls guide me,
    #1.5#0019BB24F546006E0000000F0000145000045BA198970570#1226649514800#com.sap.engine.services.httpserver##com.sap.engine.services.httpserver#XIAFUSER#228##tdcusappay_PXI_4766550#XIAFUSER#096e7910b22211dd812c0019bb24f546#SAPEngine_Application_Thread[impl:3]_10##0#0#Error#1#/System/Server#Plain###User XIAFUSER, IP address
    HTTP request processing failed. HTTP error [403] will be returned. The error is [You are not authorized to view the requested resource.No details available].#
    #1.5#0019BB24F546005F000000500000145000045BA19A61CE61#1226649544878#com.sap.engine.services.httpserver##com.sap.engine.services.httpserver#XIAFUSER#229##tdcusappay_PXI_4766550#XIAFUSER#1b5c02f0b22211dd82890019bb24f546#SAPEngine_Application_Thread[impl:3]_37##0#0#Error#1#/System/Server#Plain###User XIAFUSER, IP address
    HTTP request processing failed. HTTP error [403] will be returned. The error is [You are not authorized to view the requested resource.No details available].#
    Thanks & Regards,
    hari

  • Hiding a Maintenance View in a View Cluster

    Hello ABAP Experts,
    We have a scenario where we would like to hide a maintenance view to an existing view cluster based on condition.
    Is it possible via events of a view cluster, where i can hide the view at runtime based on some condition before the view cluster is displayed ?
    Is there any way as well, which help achieve this hiding of views ?
    For example in the below View Cluster, i would like to hide "Define object links" view from the main view cluster "Define document Types".
    Thanks,
    Naresh

    Hi Naresh,
    Yes, you can do it in events of a view cluster, define a subroutine and bounding it to event(02) in SE54,
    when you define the subroutine, it will ask you creat a mian program, in this main program, you need  'INCLUDE lsvcmcod'.
    Then you can access some standard data, http://help.sap.com/saphelp_nw04/helpdata/en/62/c302c7de8e11d1a5960000e82deaaa/frameset.htm
    INCLUDE lsvcmcod.
    FORM yourSubroutineName.
    DATA: viewname TYPE vclstruc-object,
            error_flag TYPE vcl_flag_type,
      viewname = 'ZTEST_VIEW1'.
    *  PERFORM vcl_set_table_access_for_obj USING    viewname
    *                                       CHANGING error_flag.
      ----> according your condition to change the view.
    IF xxx = yyy.
      DELETE vcl_struc_tab WHERE object = viewname.
    ENDIF.
    ENDFORM.
    regards,
    Archer

Maybe you are looking for

  • How give a data from one table to another table

    Oracle forms6i Hai All I had two table in table data base and from one table the data has to move to another table using forms The two tables are First table name temp_att from this the data has to move and the data are BARCODE BARDATE BARTIME Row_nu

  • Special character occuring in email while sending mail

    this is part of my code for sending email: utl_smtp.open_data(l_conn); utl_smtp.write_data(l_conn, l_header); l_encoded_subject := REPLACE(utl_raw.cast_to_varchar2(utl_encode.quoted_printable_encode(utl_raw.cast_to_raw(l_subject))),'=' || CHR(13) ||

  • And make it point "hello.wsgi" in my django app in os x server

    Hola tengo el archivo "com.apple.webapp.wsgi.plist", "httpd_wsgi.conf" y el archivo "hello.wsgi", ¿qué debo cambiar para que apunte a mi archivo en django y por favor decirme que pone no puede encontrar documentación y puedos no se ejecutan en mi apl

  • Passing data from user exit to workflow.

    HI, Please consider the below scenario. In the user exit 'MV50AFZ1' I have created an include in the form 'USEREXIT_SAVE_DOCUMENT_PREPARE.'. In this include based on some certain conditions a workflow is triggered. I am using the function module 'SWE

  • What is BPM

    Hi I am new to BPM. I have ADF background..How to start with BPM? what is the relation between ADF and BPM ? I have to work on ADF with BPM..have to do some poc with both..can anybody help me how to start it? Thanks