Permissions for Planning functions, queries and workbooks

Hello experts,
i have a short question about permissions in SAP BW and BW-IP. How can I restrict the execution of planning functions/sequences and queries or workbooks?
Thanks and regards!

Hello,
If you record an authorization log for your planning sequence you can see what objects are checked and this should help you to create authorizations to restrict access:
To record authorization logs for planning sequences, you have to go to RSECADMIN, activate that trace for the user and run the planning sequence as usual. See detailed steps below:
1. Activate the authorization log
- Go to RSECADMIN transaction
- change to "Analysis" tab and click on "Error logs" button.
- There you can see the "Configure Log Recording". Click on it.
- It will open a new screen, add the user which need to has the authorization log recorded.
- save it.
2. Open a new windows and execute the planning sequence.
- you can use the RSPLS_PLSEQ_EXECUTE report in se38 or other way to run it
3. Deactivate the authorization log recording
- following the same steps to activate the log, delete the user which you added in the step 1.
4. Check the authorization log
- Go back to RSECADMIN transaction
- change to "Analysis" tab and click on "Error logs" button.
- select the time interval to find your authorization log (or delete selections to see all)
- click on "display" button
- find your recorded log
- double click on it to open the log
- analyze it.
Best Regards,
Des

Similar Messages

  • Bex Default template for Queries and Workbooks

    Dear All,
    We have a default template for all queries and workbooks.But this default template was created using a AP query and saved as a workbook.Now all the users having AR role are not able to execute queries or workbooks.Since this default template has a AP info provider associated with it.Is it possible convert this default workbook to a generic one without any security restrictions.Please provide a solution.

    In Bex analyzer, you have option to convert a template into a default template.
    Or you can create a copy of the existing template without AP infoproviders and assign it as default template.

  • Looking for all Queries and Workbooks

    Hi,
    in what table do i find all queries and workbooks ?
    I would like to make a select in my abap programm and list them in an alv grid.
    Thanks
    alto

    Hi,
    Have a look at following code,
    Hope that helps.
    Regards
    Mr Kapadia
    *Assigning points is the way to say thanks.**
    *& Report  ZNTEST
    REPORT  ZNTEST LINE-SIZE 300.
    TYPE-POOLS RSBC.
    TABLES  : RSZCOMPDIR,
              RSZELTDIR,
              RSZELTTXT,
              RSZCOMPIC,
              RSDCUBET,
              RSDODSOT,
              RSDCUBE,
              RSDODSO,
              RSDAREAT.
    DATA : LT_RSZELTDIR TYPE TABLE OF RSZELTDIR,
           LS_RSZELTDIR TYPE RSZELTDIR,
           LV_IFLAG TYPE I,
           LV_CFLAG TYPE I.
    DATA : BEGIN OF ITAB OCCURS 0," with header line,
           INFOAREA TYPE RSDCUBE-INFOAREA,
           INFOAREAT TYPE RSDAREAT-TXTLG,
           INFOCUBE TYPE RSZCOMPIC-INFOCUBE,
           IDESC TYPE RSDCUBET-TXTLG,
           QUERY TYPE RSZCOMPDIR-COMPID,
           QDESC TYPE      RSZELTTXT-TXTLG,
           END OF ITAB.
    SELECT *  FROM RSZELTDIR
        WHERE
             OBJVERS = 'A'
        AND  DEFTP = 'REP'.
      CHECK SY-SUBRC EQ 0.
      SELECT SINGLE * FROM RSZCOMPDIR
           WHERE
               COMPUID = RSZELTDIR-ELTUID
           AND OBJVERS = 'A'.
      CHECK RSZCOMPDIR-COMPID(1)  = 'Y' OR
            RSZCOMPDIR-COMPID(1)  = 'Z'.
      CHECK SY-SUBRC EQ 0.
      SELECT SINGLE * FROM RSZELTTXT
           WHERE
               ELTUID = RSZELTDIR-ELTUID
           AND OBJVERS = 'A'
           AND LANGU   = SY-LANGU.
      CHECK SY-SUBRC EQ 0.
      SELECT SINGLE * FROM RSZCOMPIC
           WHERE
                COMPUID = RSZCOMPDIR-COMPUID
          AND   OBJVERS = 'A'.
      CHECK SY-SUBRC EQ 0.
      CLEAR ITAB.
      ITAB-INFOCUBE =  RSZCOMPIC-INFOCUBE.
      ITAB-QUERY    =  RSZCOMPDIR-COMPID.
      ITAB-QDESC    =  RSZELTTXT-TXTLG.
      SELECT SINGLE * FROM RSDCUBET
             WHERE
                  LANGU    = SY-LANGU
              AND INFOCUBE = RSZCOMPIC-INFOCUBE
              AND OBJVERS  = 'A'.
      IF SY-SUBRC NE 0.
        SELECT SINGLE * FROM   RSDODSOT
               WHERE
                    LANGU     = SY-LANGU
                AND ODSOBJECT = RSZCOMPIC-INFOCUBE
                AND OBJVERS  = 'A'.
        ITAB-IDESC    =  RSDODSOT-TXTLG.
        SELECT SINGLE * FROM RSDODSO
               WHERE
                    ODSOBJECT = RSZCOMPIC-INFOCUBE
                AND OBJVERS  = 'A'.
        ITAB-INFOAREA = RSDODSO-INFOAREA.
      ELSE.
        SELECT SINGLE * FROM RSDCUBE
               WHERE
                    INFOCUBE = RSZCOMPIC-INFOCUBE
                AND OBJVERS  = 'A'.
        ITAB-INFOAREA = RSDCUBE-INFOAREA.
        ITAB-IDESC    =  RSDCUBET-TXTLG.
      ENDIF.
      SELECT SINGLE * FROM RSDAREAT
              WHERE
                     LANGU    = SY-LANGU
               AND   INFOAREA = ITAB-INFOAREA
               AND   OBJVERS  = 'A'.
      ITAB-INFOAREAT = RSDAREAT-TXTLG.
      APPEND ITAB.
    ENDSELECT.
    SORT ITAB BY INFOAREA INFOCUBE IDESC.
    LV_IFLAG = 0 .
    LV_CFLAG = 0 .
    LOOP AT ITAB.
      AT NEW INFOAREA.
        LV_IFLAG = 1.
      ENDAT.
      AT NEW INFOCUBE.
        LV_CFLAG = 1.
      ENDAT.
      IF LV_IFLAG = 1.
        LV_IFLAG = 0.
        SKIP.
        ULINE.
        WRITE : / ITAB-INFOAREA COLOR COL_HEADING,ITAB-INFOAREAT COLOR COL_HEADING.
        ULINE.
      ENDIF.
      IF LV_CFLAG = 1.
        LV_CFLAG = 0.
        SKIP.
        ULINE.
        WRITE : / ITAB-INFOCUBE COLOR COL_HEADING,ITAB-IDESC COLOR COL_HEADING.
        ULINE.
      ENDIF.
      WRITE : / "ITAB-INFOCUBE, ITAB-IDESC,
                ITAB-QUERY   , ITAB-QDESC.
      AT END OF INFOCUBE.
        SKIP.
        ULINE.
      ENDAT.
    ENDLOOP.

  • Is there anyway to archive old queries and workbooks rather than deleting?

    Our environment has thousands of old queries and workbooks.  We plan to delete any object that has not been used within 13 months, but there's a concern we may someday need a few of the reports that will be deleted.
    Is there a way to archive old queries and workbooks rather than deleting them?
    Is there another approach to solving this matter?
    Thanks!

    Jim 
    This is really a intersting question as this is a reality as many BW reports are not used/accessed by users but still they have tendancies of sitting on these reports.
      I wanted to suggest to carry-out report usabilty analys. This analysis u can carry out by using BW statistics/standerd queries/new queries in technical cubes showing usability data. If u found that a perticalar BW report is not been used for long time, u can discuss the usability of this report with the report user ( as it is a normal practice of owning BW report by user/user group across industry ), if user is no longer uses it Or do not need it any more, it will be better to delete those reports, this will free up some resources and will reduce the junk. ( if user wants these queries ask him to use it or it will better to personalise report in his desktop easing him to see those reports. )
    Changing the technical names of the query as suggested by Bhanu will have follwing effects.
    1. It will add more reports in repository leading to junk
    2. Old queries still be assigned to user roles, so collide with user authorisation.
    hope views are clear, others are welcome to add or share their experince in this regard.
    kindly assign the points if it helps.

  • RSZDELETE - Delete queries and Workbooks problem

    Hi
    in BW 3.x we were able to delete the queries and workbooks with transaction RSZDELETE ;however in NW2004s we are not able to delete this,is there any limitation or this feature has been changed to another transaction ??
    Please help.

    Hi Kevin,
    It's still there.  As Prakash has suggested, the note must be applied.  On a similar topic for the tcode rszc please bear in mind this will be enhanched in SPS 10.
    Oss note 981104.
    Cheers,
    Pom

  • Migration of bex 3.x queries and workbooks to Bex 7.1 queries and workbooks

    Hi,
    Migration of bex 3.x queries and workbooks to Bex 7.1 queries and workbooks.
    For instance when you edit,open an 3.x query in 7.0 query designer it is automatically migrated.Would it be same if we open it in 7.1 query designer?Is it possible to migrate queries and workbooks without any fail or deletion or loss?
    Thank you.

    I will add to the already excellent suggestions made above that the migration from Bex 3.x to Bex 7.0 is VERY laborious. There are no automated tools.
    All queries and workbooks must be identified (use this as an opportunity to get rid of unused objects)
    Each query must be converted to BI 7 and repairs done as needed.
    Each Workbook must be converted to BI 7 and repairs done as well. The "Automated" conversion tool that SAP provides (it's behind the scenes Visual Basic) presents problems with at least 50% of the workbooks, and so they have to be manually fussed with.
    If you've used Visual Basic at all in your Workbooks, you'll have to change 'em all. The On Refresh event no longer exists.
    And of course, test... test.. test.. and test.
    And don't forget to retrain your users. The User interface is dramatically different.
    Good luck ! We're 3 months in to a five month conversion project.

  • Error while using Back ground Job for Planning function in BPS

    I have created FM and Program for scdualing  Back ground Job for Planning function.
    I have created Planning function with exit option and passed parameter  Global seqence name.
    Error is lot of Jobs are creating while exe in BPS0
    Kindly help me the same
    Regards
    GR

    Hi Rama,
    It seems there are two diff. functional modules (UPC_BUNDLE_EXECUTE AND UPC_BUNDLE_EXECUTE_STEP). The second one divides the planning sequesces on the basis of something you specify (e.g. company code). Just make sure that you are using correct FM.
    just a thought.......
    Regards,
    SK

  • Getting an error while activating a planning area "Enter values for planning horizon From and planning horizon To for the storage time profile level"

    Dear S&OP community,
    I am getting following error while creating a planning ares in a newly installed sandbox. "Enter values for planning horizon From and planning horizon To for the storage time profile level".
    This what I did...
    1) Created new attributes and master data objects and activated them successfully.
    2) Time profile created and activated successfully
    3) Trying to create planing area by assigning  time profile in step 2 and assigned master data from step1..Unable to save the data and system returns 
    this error - "Enter values for planning horizon From and planning horizon To for the storage time profile level"
    My understanding is time profile needs to be active  but doesn't have to have values...
    Any help is appreciated.
    Thanks,
    Krishna

    YS,
    Here are my time profile settings
    Level       Name          Display Horizon - Past  Display Horizon - Future
    1             Monthly     -6                                       11         
    2             Quarterly     -2                                       3
    3             Yearly        -1                                       2
    Time profile is active and but time profile data is not loaded
    Thanks,
    Krishna

  • By asking for the function seek and replace [apple F] i get no display - so see nothing except the upper stroke. what is going on? and what can i do about it?

    by asking for the function seek and replace [apple F] i get no display - so see nothing except the upper grey line. what is going on? and what can i do about it?
    restarting doesn't work

    Does trashing the preferences help? See Replace Your Preferences

  • Rsplan filter for planning function

    Hi.
    When creating button in bex analyzer for launching some planning function there is point Use selection from Data Provider
    where I see only providers based on queries, but none of filters created in transaction rsplan.
    What i am doing wrong?

    Hi,
    Search  "Creating Planning Applications in the BEx Analyzer" in help.sap.com or google.
    In the context menu of the button, choose Properties. The first dialog box for the command wizard appear
       a.      Select Planning-Specific Command, and choose Next ->.
       b.      Choose the required planning-specific command:
                    i.       Select Execute Planning Function.
                    ii.       Select the required planning function and data provider DP_01 as the filter.
    Regards,
    Michael 

  • Relationship between Queries and Workbooks

    Hi All
    I know I should know the answer to this but its been a while since I did my Queries Course.
    What is the best way to find out how many Workbooks are connected to a Query.
    The reason I am asking is that I have to convert a load of Workbooks from 3.5 to 7.
    I have got a list of all queries run in the last year, now I want to make sure I get all associated Workbooks.
    Thanks in advance.

    John,
    Compile a list of all your queries and feed them as a selection to the COMPID field in the RSRREPDIR table.
    Take the GENUNIID from the table result and use it as input to the GENUNIID field for the table RSRWORKBOOK. This should give you a list of workbooks associated with your Queries.
    Use the above result and feed as input to WORKBOOKID field of table RSRWBINDEXT to get the Workbook Desricptions.
    Hope this helps.
    -Sid

  • Examples for using function modules and BApis.

    My Dear FRNDS,
    I am very new to ABAP. And I have read the documentation for  function modules but i am not that clear to practice them.So I would be very happy if u people share a little bit of ur experience with me.
    Please provide me some examples of all the use cases in function modules and specially exception handling.
    Frnds, i am going to work with bapis so i feel practicing function module will give me a edge.
    and please tell me after calling a BAPI FM why we have to perform   'BAPI_TRANSACTION_COMMIT' and 'BAPI_TRANSACTION_ROLLBACK'.
    .Ur efforts  will be greatly rewarded.
    thx,
    reshali

    Hi,
    Please check this sample codes.
    DATA: BAPI_Z05DOGI_DELIVERY LIKE BAPIOBDLVHDRCON-DELIV_NUMB ,
    BAPI_Z05DOGI_HEADER_DATA LIKE BAPIOBDLVHDRCON OCCURS 0 WITH HEADER LINE ,
    BAPI_Z05DOGI_HEADER_CONTROL LIKE BAPIOBDLVHDRCTRLCON OCCURS 0 WITH HEADER LINE,
    BAPI_Z05DOGI_ITEM_DATA LIKE BAPIOBDLVITEMCON OCCURS 0 WITH HEADER LINE,
    BAPI_Z05DOGI_ITEM_CONTROL LIKE BAPIOBDLVITEMCTRLCON OCCURS 0 WITH HEADER LINE ,
    BAPI_Z05DOGI_RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE .
    CLEAR: BAPI_Z05DOGI_DELIVERY , BAPI_Z05DOGI_HEADER_DATA , BAPI_Z05DOGI_HEADER_CONTROL , BAPI_Z05DOGI_ITEM_DATA ,BAPI_Z05DOGI_ITEM_CONTROL , BAPI_Z05DOGI_RETURN .
    REFRESH: BAPI_Z05DOGI_HEADER_DATA , BAPI_Z05DOGI_HEADER_CONTROL , BAPI_Z05DOGI_ITEM_DATA , BAPI_Z05DOGI_ITEM_CONTROL , BAPI_Z05DOGI_RETURN .
    BAPI_Z05DOGI_DELIVERY = ZMM_WB1-ISSUE .
    BAPI_Z05DOGI_HEADER_DATA-DELIV_NUMB = ZMM_WB1-ISSUE.
    APPEND BAPI_Z05DOGI_HEADER_DATA.
    BAPI_Z05DOGI_HEADER_CONTROL-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_HEADER_CONTROL-POST_GI_FLG = 'X'.
    APPEND BAPI_Z05DOGI_HEADER_CONTROL.
    BAPI_Z05DOGI_ITEM_DATA-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_ITEM_DATA-DELIV_ITEM = 10.
    BAPI_Z05DOGI_ITEM_DATA-DLV_QTY = LFIMGGIA.
    BAPI_Z05DOGI_ITEM_DATA-SALES_UNIT = XTAB-MEINS.
    BAPI_Z05DOGI_ITEM_DATA-DLV_QTY_IMUNIT = LFIMGGIA.
    BAPI_Z05DOGI_ITEM_DATA-FACT_UNIT_NOM = UMVKZLIPS.
    BAPI_Z05DOGI_ITEM_DATA-FACT_UNIT_DENOM = UMVKNLIPS.
    APPEND BAPI_Z05DOGI_ITEM_DATA.
    BAPI_Z05DOGI_ITEM_CONTROL-DELIV_NUMB = ZMM_WB1-ISSUE.
    BAPI_Z05DOGI_ITEM_CONTROL-DELIV_ITEM = 10.
    BAPI_Z05DOGI_ITEM_CONTROL-CHG_DELQTY = 'X'.
    APPEND BAPI_Z05DOGI_ITEM_CONTROL.
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
    EXPORTING
    DELIVERY = BAPI_Z05DOGI_DELIVERY
    HEADER_DATA = BAPI_Z05DOGI_HEADER_DATA
    HEADER_CONTROL = BAPI_Z05DOGI_HEADER_CONTROL
    TABLES
    ITEM_DATA = BAPI_Z05DOGI_ITEM_DATA
    ITEM_CONTROL = BAPI_Z05DOGI_ITEM_CONTROL
    RETURN = BAPI_Z05DOGI_RETURN.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    WAIT = 'X'
    IMPORTING
    RETURN = BAPI_Z05DOGI_RETURN.
    Go thru this link
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    BAPI_TRANSACTION_COMMIT
    Execute external Commit when using BAPIs
    This method executes a COMMIT WORK command. It is required for
    transactions developed externally to the R/3 System that change data in
    the R/3 System via BAPI calls.
    When you call BAPIs in your program that change data in the R/3 System,
    afterwards you must call this method to write the changes to the
    database.
    COMMIT WORK
    The statement COMMIT WORK completes the current SAP LUW and opens a new one, storing all change requests for the currenta SAP LUW in the process
    there are some FM that we use for creating trasaction . for example FM : that use for creating production order . if you execut the FM , the system will not create any data in the system so you need to excute the FM : BAPI_TRANSACTION_COMMIT to commit that creating the production order .
    in case of commit work, that is a syntax in abap program . if you use this syntax after you insert ,update or delete table in the sap ,system will do it immediately otherwise the system will do it after execution is complete.
    ROLLBACK WORK.
    for confirming or undoing database updates. COMMIT WORK always concludes a database LUW and starts a new one. ROLLBACK WORK always undoes all changes back to the start of the database LUW.
    Regards,
    Raj.

  • Input Help (F4) does not work for Planning Functions in Web

    Hi Gurus,
    I am working in BI-Integrated Planning.
    When I execute a planning function from web layout (through Web Application Designer), the "Input Help" does not work. When I give F4 it takes me to the initial planning layout screen from the planning function variable screen without any action being performed.
    But the "Input Help" works fine when I have to select for the variable from the initial selection to open the planning layout.
    Can anyone suggest me any fix for this...
    Thanks!!!

    Hi All,
    Can somebody help me here what went wrong with indesign cc extension so that copy/paste does not work in input type element text
    Regards,
    Alam

  • Standard Query for Top 10 queries and Users

    Hi Experts,
    Is there any query which gives the details like ,
    1. Top 10 queries executed in a month
    2. Top 10 users ( By no of queries executed )
    Regards,
    Bhadri M.

    1. Top 10 queries executed in a month
    Use Query 0TCT_MCA1_Q0142.
    In this report you will have to filter variable BI Object to Queries and also it gives stats for the last 30 days, you have have to remove the SAP User exit variable in case you do not want to use the 30 days option. And then you will have to define Condition for Top 10.
    2. Top 10 users ( By no of queries executed )
    Use Query 0TCT_MCA1_Q0141.
    Similarly you have to modify this query.
    -Neelesh

  • SAP BW on HANA Migration for Process , Bex Queries and system Copy

    Hi All ,
    Can you please let me know the steps for migrating Process chains , BW queries and System copy for BW on HANA .
    If you have examples from real time scenarios it would be good .
    Thanks in advance

    Hi,
    for Systemcopies see also - SAP First Guidance - BW Housekeeping and BW-PCA
    for the overall process - SAP First Guidance - Migration BW on HANA using the DMO option in SUM
    Best Regards Roland

Maybe you are looking for