BW report authorization for restrict cost center

dear all,
i have problem on BW report authorization for restrict cost center.....when i execute the query, after selection screen, appear error message 'you cannot change zv_cctr for characteristic 0COSTCENTER during query'.
note : zv_cctr is variable restriction for costcenter, type processing = customer exit.
below the customer exit :
WHEN 'ZV_CCTR'.
    IF i_step = 2.
      DATA : gt_mstuidvscc TYPE TABLE OF  ztbw_mstuidvscc,
             gs_mstuidvscc TYPE  ztbw_mstuidvscc,
             wa_final2(10) TYPE c.
      SELECT * FROM ztbw_mstuidvscc INTO CORRESPONDING FIELDS OF TABLE gt_mstuidvscc
        WHERE userid = 'sy-uname'.
      LOOP AT gt_mstuidvscc INTO gs_mstuidvscc.
        wa_final2 = gs_mstuidvscc-kostl.
        l_s_range-opt = 'EQ'.
        l_s_range-high = wa_final2.
        APPEND l_s_range TO e_t_range.
      ENDLOOP.
    ENDIF.
Regards,
Tony

i defined variable as ready for input and mandatory.
regards,
Tony

Similar Messages

  • Using the tcode:S_ALR_87013611, no report data  for the cost center

    Hi,Friends.I need a help.
    In the tcode FB60,i entered the following data and then posted the vendor inovice sucessfully.
    data:
    ( Note: G/L acct:55020141 is also a primary cost element)
    In the tcode:S_ALR_87013611,I entered the following data and executed.
    but the result is:{Report contains no data. Check the selection log}.
    data: { Controlling Area: C999, Fiscal Year: 2010, From Period:1, To Period:12,Plan Version:0,
            Or value(s):2001}
    (Note: Cost center:2001 belongs to Controlling Area: C999) 
    please tell me how to do,so that using the tcode:S_ALR_87013611, I can see the report data  for
    the cost center 2001.
    sincerely                      WenYao Ma
    Edited by: wenyao ma on Mar 22, 2010 1:09 PM

    thank you,friends.
    I just solved it.
    Solution:
    1) Maintain Controlling Area
       path:spro>Controlling>Organization>Maintian Controlling Area>Maintain Controlling Area.   tcode:OKKP
    In the {Activate components/control indicators}cost center should be 'component active'
    2) Maintain Number Ranges for Controlling Documents
       path:spro>Controlling>Organization-->Maintain Number Ranges for Controlling Documents.   tcode:KANK
      Element { COIN CO Through-postings from FI} should be assigned to one group.

  • Authorizations for non cost center manager in transaction CADO

    I have project managers that need to run transaction CADO, usually against a specific sales order.  Since many employees from different cost centers may charge their time against this sales order and that time data needs to be in the CATSSHOW report.  Normal Structural Authorizations prevent the PM from seeing any of this data.  If I remove the project manager from table T77UA (from transaction OSSB) then they are able run the CADO report without restriction, but also loose their restrictions in other HR transactions which is unacceptable.  Is there a workaround solution to this issue?

    Hi Richard:
    I'm not too sure what "other" HR transactions you are referring to, but have you tried looking in to activating the P_ORGINCON auto object? That had solved my issues with restricting MSS yet still allowing access through other transactions.
    Regards,
    Jonathan

  • Restrict the result of the transactions FI(FBL3n or FB03) for a cost center

    Hi,
    How can I restrict the accounts the user can choose the transaction fbl3n? I need only restrict salario account(411100) for some users. If it is not possible, can I restrict the result (lines) by cost center?
    In FB03 can I restrict the result (lines) for a cost center or account?
    I used the transaction su24 to see objects that are verified in fbl3n and fb03, but no limited by account or the cost center. By Trace (ST01) saw that only objects F_BKPF_BUK, F_SKA1_BUK and F_BKPF_KOA are verified. Unfortunately these objects only block per company or type of account.

    Hi Manoel,
    You need to get one of your FI team to add an authorisation group to the salary GL account.
    If there is no auth group assigned to an account, the check will not be performed against it and it won't show in the trace.
    Once that auth group is added to the account, every time someone tries to access that account, there will be a check on auth object F_BKPF_BES for the value that has been put against that account (F_SKA1_BES should also be restricted from memory).
    In standard SAP Financial accounting (FI) and management accounting (CO) do not share a common auth concept (though New G/L tries to address this) and without extensive customisation, trying to restrict FI stuff on controlling data (cctr/prctr) is usually not possible.

  • BW Analysis authorization issue on cost center range

    Hello BIW security experts
    I have a problem where I created an analysis authorization on a cost center range and it looks like the interval is not working. The report is just a list of cost centers (demo to users to prove that analysis authorizations work in order to skip 2 managerial cost centers.
    . Cost centers are numeric. Example:  2000100. In the drop down list they appear as such.
    . I want to have the following cost center range: 1000000 to 1000771, 1000773 to 2000771, 2000773 to 9999999.
    Thereofore 1000772  and 2000772 should not appear in the list.
    . In the analysis authorization I have put the 3 ranges above on 3 separate lines. 'BT' is the operator. The cost centers have been selected from the drop down list.
    Results:  I get only 1 record from the report....  2000772. (which is one I want to exclude..
    Steps tried to debug:
    . When I put a list of cost centers in the analysis authorization on separate line with the 'EQ' operator, then the report works.
    . I tried putting ' ' delimiters since cost center is a char field but it fails.
    . I tried adding leading and trailing zeros to fill up the char(10) but no luck.
    . I tried creating a hierarchy with the interval and put it in the hierachy auth. tab and it does not work either. It gives the same number of records than the first step.
    . A hierarchy with single values work.
    I do not know what else to try..
    Thanks.
    YB.

    Good morning
    Here it is from RSECVAL
    ZCC_TEST     0COSTCENTER                    I       BT        1000000                                                      1000771
    ZCC_TEST     0COSTCENTER                    I       BT        1000773                                                      2000771
    ZCC_TEST     0COSTCENTER                    I       BT        2000773                                                      9999999
    ZCC_TEST     0COSTCENTER                    I       EQ        #
    ZCC_TEST     0COSTCENTER                    I       EQ        :
    ZCC_TEST     0INFOPROV                         I       CP        *
    ZCC_TEST     0TCAACTVT                        I       EQ        03
    ZCC_TEST     0TCAIPROV                         I       CP        *
    ZCC_TEST     0TCAKYFNM                       I       CP        *
    Thank you for your help.

  • Get Name for CO Cost Center Group and BGD Processing

    Hi,
    I use these function modules to get the cost center group nodes in the CO hierarchy.
    If I pass it a value that is in two controlling areas
    if prompts another screen to pick which controlling area we want to look in.  My problem is when I try to run this report in the background it gets hung up on this screen waiting for input. any ideas on how to get around this.
    here is the reference code.
    thanks
    Please note that the following logic is parts of SAP example report
    RGSEX001.
    Get the internal Set-ID from the external name of the set
    Selection of sets can be restricted to a specific set class or
    to sets matching a specific table field.
    See documentation of function module G_SET_GET_ID_FROM_NAME
    If the set class, subclass and setname is known, function module
    G_SET_ENCRYPT_SETID should be used alternatively (see RGSEX020)
        CALL FUNCTION 'G_SET_GET_ID_FROM_NAME'
             EXPORTING
                  shortname = w_set
                  old_setid = w_setid
             IMPORTING
                  new_setid = w_setid.
    Read the complete hierarchy (set and all subsets)
        CALL FUNCTION 'G_SET_TREE_IMPORT'
             EXPORTING
                  setid              = w_setid  "Set-ID, not the Setname!!!
                  no_table_buffering = ' '
             TABLES
                  set_hierarchy      = it_hierarchy
                  set_values         = it_values.

    Hi!
    For reading cost center hierarchy you can try K_HIERARCHY_TABLES_READ.
    It returns near the same info as one you've mentioned, works well for single controlling area and I hope in case of ambiguity it will raise one of exceptions provided. Give it try.
    Regards,
    Maxim.

  • Report to fatch sender cost center

    Hi
    I need to pick a Sender cost center, which is generally assigned to WBS element . Now this cost center is to be picked in the report.
    The entry of sender cost center is happened in the structure and not in any table. so it cant be picked form structure anyway.
    the scenario is here, The billable material is assigned to an activity type which are part of DIP profile. So could we fatch sender cost center by using the activity type, if possible then how? or
    Is there any method to fatch sender cost center Please explain.
    Thanks in advance.
    Gaurav

    If the user can enter the cost center on a screen and can hit SAVE, come back into display mode and still see it, then it's saved somewhere.
    run an SQL trace when you go into Display mode. You will find a list of tables that are selected from - start looking through those for your cost center field.

  • How to restrict cost center in ME51N

    Hi all,
    can anyone please let me know,how to restrict cost center in ME51N transaction?
    Thanks in advance for your efforts

    Dear,
    Go to Transaction,
    KS02- Change Cost Center.
    Go to the Control Tab.
    Tick on the checkbox for desired transaction activity you want to lock this cost center.
    Any postings made against the cost center will not be allowed.
    Regards,
    Syed Hussain.

  • Reserve stock for a cost center & don't allow issue to another cost centre?

    Dear Experts,
    How to reserve stock for a cost center & don't allow issue to another cost centre?
    Stock is reserved by creating reservation by MB21 for one cost centre e.g.CC1.
    We want to restrict this stock for the same cost center CC1 only.
    But when tried to issue stock to another cost center CC2, system allowed to post goods issue document.
    System should not allow for goods issue of this stock to another cost center other than CC1.
    How to make it.......please suggest.

    I have checked
    SPRO MM -- Inventory Management and Physical Inventory -- Reservation -- Maintain Copy Rules for Reference Documents
    This is for reference document data copying.
    Do you mean to say SPRO MM -- Inventory Management and Physical Inventory -- Reservation -- Set Dynamic Availability Check
    Here for mvmt type 201 - valuation update - qty update - no special stock - Goods mvmt w/o reference - A (Dynamic Avl. chk) is the setting.
    But system is not issuing the any message while issuing reserved stock to another cost center.
    Please suggest...

  • No accounting document created for distributed cost center and asset

    Hi experts,
    Why there is no accounting document created during GR for distibuted cost center and asset?
    Thanks

    Sorry guys, there's nothing to do with the config of the account assignment. The postings are ok for single cost center or single asset. SAP system message (info messsage) " Goods receipt for distributed cost center will be non valuated" are given when you are trying to unticked the GR non valuated.
    If someone could explain what is the logic behind that behavior.
    Thanks again.

  • Inspection lot for a cost center purchase

    Hello ,
    After the results recording , it is not possible to go any good movement in the UD screen . Why SAP is not recommending one more goods movement for a cost center purchase ?
    Thanks for your help
    JN

    Hi
    Stock posting screen is for MRP type of PO's.When it comes to cost center like K then it will affect the UD screen as cost center should flow from PO & some one who is taking UD should not able to change it,As it is not under quality perview.It is part & parsal of MM.
    Now When you reject such now RD takes place.wHAT YOU CAN DO IS ,REVERSE THE MATERIAL DOCUMENT.This can be done by MBST or MB01 or MIGO.This will reverse & you can again do Migo.
    This route is followed by samp as consumption immediatly takes place after GR is created.Then why you reject material when already comsumed.??
    Regards
    Sujit

  • How can we restrict Cost Center Company Code wise in Equiment Master (IE01)

    Hello Experts,
    Here is one requirement is to restrict cost center in equiment master (IE01) However SAP System is behaving as per SAP Standard function.
    Please see screen shot to understnad better my requirement.
    I want to pass relevant cost center in equipment master which lies in relavant company code. Like if company code is 1000 in equipment master then only 1000 company code cost center should be enter and if user enterd any other company code cost center then SAP System should show error message.
    While in current in SAP Standard functionality is to show just warning message and allow entering cost center whether it is from different company code.
    Like in below screen it showing error only if Cost center is from different company code. It should be not allowed to enter other company code cost center.
    Please guide how to solve this issue.
    Message was edited by: Inderjeet Pal

    Try this code in the include ZXEQMU02 of Enhancement IEQM0003 to achieve the desired check.
    DATA:V_BUKRS TYPE ILOA-BUKRS.
    CLEAR V_BUKRS.
    SELECT SINGLE BUKRS FROM CSKS INTO V_BUKRS
       WHERE KOSTL = DATA_ILOA-KOSTL.
    IF V_BUKRS IS INITIAL.
       MESSAGE: 'Cost Center and Company code do not match' TYPE 'I'.
       RAISE POSTING_NOT_ALLOWED.
    ENDIF.
    Consult your ABAPer in case any finetuning of the code is required.
    Jogeswara Rao K

  • Finance and Controlling report in combination with Cost center, GL account, Internal Order

    Hi Members,
    Finance and Controlling report in combination with Cost center, GL account, Internal Order.
    Please provide any slandered report in all 3 dimension.
    Thanks
    Dileep Kumar

    Search this query in FI Controlling forum am sure you will get useful results there.
    This kind of reports related to Controlling are usually created using Report Writer tool.
    In fact majority of reports in Controlling component is created using Report Writer only.

  • Best practice for reclassifying Cost Center/Element

    Dear experts,
    Currently the company I'm working for are using SA document (FB50) if there are mistakes when posting cost to Cost Center, they will DR New Cost Center and CR Old Cost Center.
    However, it is seem a bit difficult to trace the changes later on. Hence, I would like to ask for opinions on what is the best practice for reclassifying cost center or cost element.
    Right now, I'm planning to propose of using KB11N to reclassify cost center. Is this a good practice and easy to trace the cost movement? Is there any different with normal journal adjustment via FB50 and KB11N?
    Need some advices from experts.

    Hi:
            Both options are viable. If you reverse posting in FB50 then FI GL account postings will also be reversed and along with cost center postings. Hence here advantage is that cost center reversal will be with referenced to the original document with which wrong posting were made. Disadvantage here is that you will to post the entry again in FB50 . In KB11N you will simply transfer cost center amount from wrong to new one that should be in place of it but here you will have no reference . I personally think reversing posting through FB50 is viable options , reverse postings can be seen in KSB1 as well against that cost center.
    Regards

  • What is the T-Code for creating Cost center - profit center standard hierar

    Hi,
    What is the T-Code for creating Cost center - profit center standard hierarchy.Please provide me the T-codes.
    Thanks

    Hi Supriya,
    Create / Change Cost Center Standard Hierarchy - OKEON
    Display Cost Center Standard Hierarchy - OKENN
    Create Profit Center Standard Hierarchy - KCH1
    Change Profit Center Standard Hierarchy - KCH5N
    Display Profit Center Standard Hierarchy - KCH6N
    Srikanth Munnaluri

Maybe you are looking for

  • Edit in Photoshop CS6 (version 13.0.1 x64) from Lightroom 5.2

    I have an image in Lightroom 5 where I have not made any adjustments and I want to Edit In Photoshop CS 6, When I go to Photo>Edit In> Edit In Adobe Photoshop CS6, Photoshop opens without first displaying the "Edit Photo with Adobe Photoshop CS6 What

  • I can not download SAP Business Intelligence Java Software Development Kit

    Does anybody know why I can´t download SAP Business Intelligence Java Software Development Kit I get a Error i don´t know if I do something wrong i have an account and i am able to download all the other thing but not this. 403 Sorry, you do not have

  • Custom Labels in Address Book

    I've been following the news about Blackberry Desktop for the mac, but I will not have the opportunity to try it for myself until another 2 weeks,  so I hope that the community here will be able to provide the answer to some of the questions that I h

  • How to increase member name length in essbase studio

    Hi All, Currently we have requirement to build a hierarchy which contains member having length more than 80 characters. I seen somewhere where the member name limitation is 80. Can someone help me out how to build the hierarchy with long member name

  • Increase array size dynamically

    Hi Sir, Balance is the class and current[] is my array of object of class balance. Balance current[] = new Balance[2]; Instead of assigning 2 to the array, I only know the number of items in array as I loop through my resultset. So, meaning I don't k