UNCAUGHT_EXCEPTION when restrict cost center in query

Dear all:
We create an infoset to combine cube 0PY_PP2 and an table (DSO). We created a query based on this infoset and tried to restrict 0COSTCENTER with variable. An error message occurred when we tried to "restrict" --
RSBOLAP 000 Program error in class SAPMSSY1 method: UNCAUGHT_EXCEPTION
BRAIN   299 System error in program CL_RSMD_RS and form IF_RSMD_RS~_READ_META_DATA-02
BR
SF

hi check this threads and links...
BRAIN 299 Message Error when Run BEx BW Query
BRAIN 299 System error in program CL_RSR_RRK0_ATTR_C and form when executin
https://websmp105.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=0000788393&nlang=E
cheers
Sunil

Similar Messages

  • 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

  • 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.

  • 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

  • Profit Center Mandatory when creating Cost Center

    Hi,
    How do we make Profit Center Mandatory when creating Cost Center, I remember doing this and cannot recollect as to how i did this in a previous version 4.0b.
    Pls advise how to do the same in ECC 5.0 and higher..
    Thanks,
    Praveen

    Dear Praveen ,
    First u will creat PCA then u will acitvit .
    while creating cost center u have to give profit cnenter accounting .
    ur not enter pca aacoutno then it will give the error message account is activted but profit cneter account not given
    Regards
    Suresh

  • Restricting cost center selection during creation of reservation

    Hi,
    We had a requirement to restrict the selection of cost center during creating a reservation. An user should be restricted in selecting any other cost center which does not belongs to his department. Since the restriction was not possible in standared/available authorization objects, we have created a customized object thru SU2. The Z object is available in role maintenance (PFCG) which we assigned to the object class MM_B and maintained the relevant cost center value.
    Still it is not giving the desired result as selection of any aother cost center (which is mot mentioned under the Z object) is permitted while creating a reservation.
    Request your valuable update in fixing the issue.
    Thanks & Regards,
    Vinod Punnoran

    Hello Vinod,
    How to manipulate the screens from transaction MB21 to avoid your
    issue?
    a) by transaction OXK1:
    In customizing transaction 'OXK1' you can see which screens are
    available and in which order they are selected by the program.
    This transaction also allows to add customer-defined screens, to
    change the priorities and to de-activate standard screens.
    So if you create yourself a screen with all the fields you
    would like to see you can assign it in OXK1. You would have to
    set the priority key so that program would choose your screen rather
    than the standard screens.
    Transaction OXK1:
    The coding block searches through the existing subscreens for the one
    which fulfills most requirements. The "Priority" serves as fine tuning
    in the search procedure: 1 is the highest priority, 9 the lowest.
    The system searches for the most suitable subscreen according to the
    following strategy:
    First, it searches for subscreens containing all the account assignment
    fields required. If there is more than one, it selects the one with the
    highest priority.
    If this is unsuccessful, the system then looks for subscreens containing
    all of the obligatory fields, or as many of them as possible. The
    subscreen containing the most obligatory fields is selected.
    If two subscreens contain the same number of obligatory fields, then the
    one containing the most required account assignment fields is selected.
    If there is still more than one, the selection is made according to the
    priority.
    b) by user exit or BADI
    Enhancement to manipulate reservation data is MBCF0007 and the user
    exit is EXIT_SAPMM07R_001.
    MBCF0007 Customer function exit: Updating a reservation
    MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
    MBCF0011 Read from RESB and RKPF for print list in  MB26
    There is a BADI as well:
    MB_RESERVATION_BADI  MB21/MB22: Check and Complete Dialog Data
    I hope this information helps you.
    Best Regards !
    Fábio Almeida
    MM Consultant

  • Value wise restriction Cost Center Wise

    Dear Experts,
    How can we restrict each cost center not raise PR beyond some limit.For example i want to restrict one cost center to buy consumbale not beyond 1 lac per annum so there should be some check at PR level to stop user for creating Purchase requisition if value cross 1Lac.
    Regards
    Vivek
    Edited by: Supergene on Jan 15, 2009 3:01 PM

    Hi
    You can set up budget for cost centre and limit the expenditure on it.
    Thanks

  • Business area is mandatory when creating cost center

    Hi ,
    I have an error while creating cost center. business area is a mandatory field when I am trying to create cost center. I want to make it ( business area ) optional . How it is ?
    Thanks

    hi
    Go to OBC4 select your Field sataus varient in that select G004 ,double click on G004 in that Additional Account assigenment Select Business Area As Optional.it will work
    if your problum is solved pls assign me points
    Regards
    ramana

  • Cost center assignment query

    Hi,
    I have cost element 12345. When we create a purchase order using the cost element, it give me error "it requires assignment to CO object". When I assign cost center in OKB9, it give me error "CC XX is locked for revenu postings".
    I wouldnt like to uncheck "revenues" in the KS02  tab as it is not advisable.
    Can anyone let me know what to do to let the entries pass without getting the error?

    Hi,
    From your post it is clear that the cost element must be of category '11'. So, please try assigning a profit center (in OKB9) and then try posting it. Otherwise, you can derive a profitability segment and then try.
    Please note that CO object refers to cost center, profit center, internal order or a profitability segment.
    By the way, can u let us know why a revenue posting is being done through a purchase order.
    Hope this helps.

  • Error when reading chars values when restricting time chars in Query

    Hi all,
    since a few days I am not able to restrict time characteristics in queries on a particular Multiporvider. I can restrict the time chars with variables but not with fixed values.
    I am getting the following error:
    Reading Characteristic Values -> Programm Error in class SAPMSSY1 -> Uncaught exception.
    The problem exists only on one particular multi provider, but when checking the MP it indicates no errors.
    Anyone experienced something similiar? I am appreciating your help.
    Thomas

    actually it is a problem associated with SAP GUI 7.0.
    A solution to this problem is
    Just replace the file wdbspres.dll with in the following location
    C:\Program Files\SAP\FrontEnd\SapGui.
    You can search for this file on google and download it.
    we also had faced this problem earlier...but after replacing the wdbspres.dll...it worked..
    i hope this helps you.
    pls assign points if this answer is of some help

  • 0315 infotype error when we are updating the cost center

    Hi Experts
    for one employee when i am going to change the cost center in 0315 infotype it is giving the error like
    cost center does not exist in CSKS . but i checke in CSKS table it is availble in CSKS
    but i noticed one point in this t-code for last costcenter , controlling area is not availble.
    is this the cause for error.
    Plz advise.
    Thanks

    Hi,
    If you are checking the cost center by querying on CSKS table, The cost center should be of length 10.
    You need to append Zeros to the cost center in the front to make the length as 10 and pass it to CSKS table.
    Use the FM CONVERSION_EXIT_ALPHA_INPUT to input zeros in the front.
    Thanks,
    Sowmya

  • Block payroll data from cost center for all users except HR team

    Hello Expect,
    Could any body please advise me  how can I restrict some HR data  in cost center view from FICO,CRM,SRM and other team,
    Now when other team see cost centers it display all data booked there but my client want to restrict some HR data from them
    In my project there are 151 roles that can display cost center dat including HR data,
    Now my requirment is how can I restrict only HR data belongs to a cost center
    I mean to say they should be able to see all cost center data exept a cost center containing HR data.
    Please advise how to get solution
    Thanks and Regards

    Hi,
    in  T.code PFCG do to the role of the appropriate usr to whom u want restrict cost center.
    Hope this helps.
    Reagrds
    S.Ravi

  • Hide Controlling Area from Cost center in report

    Hi Experts,
    I have Costcenter as reporting field in BW report. Controlling Area is compunding char for Cost center.
    In the report, it shows both values (cost center and controlling area) when i use cost center in query. foreg. KO01/C123456 as key.
    (KO01 is controlling area and C123456 is Cost center)
    Is there any way to ONLY display Costcenter value in report??
    Thanks in advance.
    -Abhijit

    You can add controlling area IO in the line and hide it (in properties set never display) or you can also insert it in filter with fix value KO01.
    Hope it helps.
    Regards

  • Substitution not working for Cost Center

    Hi All,
    We are using OBBH to make a substitution for Foreign Exchange valuation to meet one of requirement as cost center at line item level to be blank, we have made cost center field blank in substitution.
    When we run the foreign exchange valuation system is updating the cost center from the source line item to the difference account. It is not considering the substitution value which is blank in cost center.But we have added some other fields in substitution those are working fine other than the cost center.
    Do I need to make any settings for this to take cost center as blank at line item level.
    Regards,
    Shilpa

    Hi Shilpa,
    the substitution may be used for filling the cost center when it is empty, but not for clearing it when it is filled, because the substitution isn't called when the cost center is already filled.
    Please read OSS note 1296568.
    [https://websmp230.sap-ag.de/sap(bD1mciZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1296568]

  • Cost center change in the Asset master record

    Hi
    When ever cost center changed in the Asset master record, can it possible what ever the dep that is posted to previous cost center,that will automatically transfers to the new cost center,is there any programme for this,i can use repost functionality in controlling,some time many copst centers changes will happen in
    our system,so can any tell me how to automate this.
    Thanks
    Lily

    Hi,
    Automatic transfer to new cost center is not possible.
    You need to use Distribution or assessment to re allocate the expenses to new cost center.
    Regards,
    Murali
    If it is useful, award points

Maybe you are looking for