Checking requesting cost center to a company code

Hi All,
How to check a requesting cost centre which is belong to a company code ?
Thank you.
Nies

You need to use validation along with a user exit.
User Exit is some where you write the logic that the company code (BUKRS) of the requesting cost center (AKSTL) should be same as the company code on the WBS (PBUKR)
Take help of ABAPer in writing the logic of the user exit.
Regards
Sreenivas
Pls close the post if satisfied.

Similar Messages

  • Cost Center Data in Company Code Currency

    Hi All,
    We have a requirement to develop a Cost Center Report with Company Code, Account Number and Amount in Company Code Curreny.
    I have checked table COEP, we can get data of CCode, Account Number. But Amount will be in Object Currency/Transaction  Currency / COArea Curreny and not in Company Code Currency.
    Is there a way to get Cost Center data in Company Code curreny.
    Please advice.
    Thanks
    Satish

    Hi,
       In CO, you specify in the year-dependent settings for the controlling area (Transaction OKKP) whether you want to use one or more currencies (flag "All currencies", TKA00-ALLEW).
    If you decided to use one currency only, all documents are only managed in CO area currency.
    If you decided to use several currencies, the following three currencies are managed in CO:
        1. Controlling area currency
           The controlling area currency can be:
           -  10 company code currency (only if all company codes assigned to CO area have the same currency)
           -  20 free controlling area currency
           -  30 group currency
        2. Object currency (defined per object)
    As a rule, the object currency is the company code currency. Only in one case the object currency can be freely chosen, that is, if flag "different company code currencies allowed" is not active.  This flag is set automatically if CO area currency is not 10 and cross-company code accounting is set.
        3. Transaction currency (could be different in every posting).
    regards
    Waman

  • Cost center belongs to company code 1000, not 2000

    Hi,
       When i am entering cost center in sales order, I am getting  an error "Cost center belongs to company code 1000, not 2000"
    Does anyone know which transaction i can use to extend this cost center to a different company code?

    I think you are creating sales rder for plant 1000. While the cost center you are providing is attched to plant 2000. Either you can change the cost center for plant 1000 or you can change the customiztion so that cost center is attached to plant 1000.

  • Help on fox used to one/all profit center/cost center of one company code

    Hi experts,
    I have a fox formula witch is to be applied in diferent situations:
    1. To one cost center
    2. To all cost centers of one company code
    3. To one profit center
    4. To all profit centers of one company code
    I'm using the following variables:
    ZIPROFCE (1st profit center selected in query)
    ZIPROFC2 (number of profit centers selected in query)
    ZICOSTCE (1st cost center selected in query)
    ZICOSTC2 (number of profit centers selected in query)
    The formula is actually like below, guess it is not worrking because I can't have an integer number accepted by chars 0profit_ctr and 0costcentr. I am thinking of adding another char in the infocube witch is integer (without master data), and it would do the job. Is there other way out, so I can mantain actual aggregation levels and filters?
    DATA PERIOD TYPE 0FISCPER3.
    DATA PER_P TYPE 0FISCPER3.
    DATA PCENTER TYPE 0PROFIT_CTR.
    DATA PCENTER1 TYPE 0PROFIT_CTR.
    DATA PCENTER2 TYPE 0PROFIT_CTR.
    DATA CCENTER TYPE 0COSTCENTER.
    DATA CCENTER1 TYPE 0COSTCENTER.
    DATA CCENTER2 TYPE 0COSTCENTER.
    DATA PLANPER TYPE F.
    PCENTER1 = VARV (ZIPROFCE).
    PCENTER2 = VARV (ZIPROFC2).
    CCENTER1 = VARV (ZICOSTCE).
    CCENTER2 = VARV (ZICOSTC2).
    PLANPER = VARV (ZEPLANPE).
    PER_P = VARV (ZEPLAPER).
    *IF CCENTER2 = 1.
    CCENTER = CCENTER1.
    *ENDIF.
    IF PCENTER2 = 1.
    CCENTER = #.
    PCENTER = PCENTER1.
    ELSEIF PCENTER2 > 1.
    CCENTER = #.
    ENDIF.
    FOREACH CCENTER, PCENTER.
    PERIOD = PER_P.
    DO.
    IF  { ZCOMPROM, CCENTER,  013, PCENTER } <> 0.
      { 0AMOUNT,  CCENTER, PERIOD, PCENTER} = { ZCOMPROM,  CCENTER, 013, PCENTER } / PLANPER.
    ENDIF.
    PERIOD = PERIOD + 001.
    IF PERIOD = 013.
    EXIT.
    ENDIF.
    ENDDO.
    ENDFOR.
    Tanks in Advance,
    João Anastácio

    Hello João,
    you are making it more complicated than it is:
    Fields to be changed: Key figure, period
    DATA PERIOD TYPE 0FISCPER3.
    DATA PLANPER TYPE F.
    PLANPER = VARV (ZEPLANPE).
    PERIOD = VARV (ZEPLAPER).
    IF { ZCOMPROM, 013 } > 0.
    { 0AMOUNT, PERIOD} = { ZCOMPROM, 013 } / PLANPER.
    ENDIF.
    Regards,
    Marc
    SAP NetWeaver RIG

  • No posting cannot be made in profit center 3000 in company code 1000

    Hi All,
    we are facing small issue in profit center accounting, below i will explain the scnario.
    we have 2 existng company code like 1000 and 2000 with once controlling area, now we rollout another company code 3000 recently, for each compnay code we have different and saperate profit centers and profit center group, with same controlling area,
    In new company code 3000 we created one profit center like product 1,
    In existing company code like 1000 and 2000 when we are doing MIRO and derepication AFAB system giving error like
    No posting can be made to profit center Product 1 in company code 1000 for MIRO
    No posting can be made to profit center Produtct 1 in company code 2000 for AFAB.
    but this profit center is created for 3000 company code. why system is picking product 1 profit center for existing company code.
    can any one helpout for the issue.
    thank & regards
    kiran

    Hi,
    Trace the transactions of the Depreciation to the asset to the cost center to the respective profit center. And, also for the MIRO, trace the material master to the respective profit center.
    I guess, the profit center must be traced to your new profit center 'product 1'
    Kindly check and revert.
    Regards,
    Gangu.

  • No postings can be made to profit center A in company code 1000

    Hello SAP Gurus,
    Our profit center A was assigned only to company code 2000 but not in company code 1000 in KE53. However, when we checked some postings from FY14, we found out that there was a posting in company code 1000 for profit center A (Note: Cost Center A was assigned to Profit Center A in cost center master). Now, when we try to edit and post a parked document from company code 1000 with cost center A, error prompted "No postings can be made to profit center A in company code 1000".
    We had checked the change logs for company code assignment of profit center A but we haven't found any changes related to this.
    Appreciate if someone can advise how this is possible. Why did the posting go thru even if profit center is not assigned to company code? Why does the error suddenly prompted when we try to edit/post a parked document.
    Thank you!
    Jack

    Hi Jack,
    From the above note, it looks like following is the reason  why the first document in FY14 got posted:
    In  message Customizing, message KI113 was set as warning, status or information
    message or it was deactivated.
    So,  now if you want to post another document,  either you will have to create profit centre A in cocode 1000 or check the relevent message in customizing and change its status from Error to warning,status or information message.   the message number will be mentioned in your error message.
    If you want to keep using profit centre A in cocode 1000,  I think it is best to create the profit centre in cocode 1000 rather than playing with the messages.
    Regards,
    Sadhana.

  • Functional area and cost of sales accounting (company code 2000) active

    Hi There!
    I hope someone can help.
    In our sandbox system, whenever I try to convert a Purchase requistion into a Purchase Order I get the following error message : "Functional area and cost of sales accounting (company code 2000) active".
    Anyone know how I can resolve this issue?
    Kind regards,
    Karl

    Hi,
    Double click on the error message & check the message Number..
    Then go to
    Spro>MM>Pur
    Attributes of system messages & change the Message from Error to Warning..
    Thx
    Raju

  • How to control the cost center of different company canu2019t be used across

    Hi Experts,
         There are 3 compamy codes in our system,and the 3 company code in one control area.Each company uses itself cost cent. When I assign cost center to an organization or a position, the cost centers of other company code can be used. We hope that cost center in different company canu2019t be used across.  Anybody could help me?
    Best Regards,
    QC

    Hi,
    we can use cost centre of company A to the employee of company b.
    cost centre means expense will be distributed as per cost centre. it may be a situation where an employee of company a works some time in company B as adeputaion we can assign cost centre of company B still he belongs to company A.
    generaly we assign cost centre to position through A011 relation. here you assign the cost centre of original company say A( as he belongs to company A). in IT 1018 you assign different cost centre say company B.cost will be booked to company b as 1018 will supercede a011 relation ship.

  • No postings can be made to profit center AAAA in company code ABCD

    Hi Gurus,
    Good morning.
    Please help on below.
    Our user encountered error "No postings can be made to profit center AAAA in company code ABCD" while doing GR. Can please help on what caused the error?
    Any config to be checked?
    Thanks a lot.

    Hi,
    Either go to material master and change the profit center which is active as of today or choose your profit center XXXX and change its validity (KE52)
    Aslo check in KE59 it is active or not.
    Cheers,
    Kumar.S

  • 1 Profit Center to Many Company Codes

    Hi,
    Currently we have 1 Company Code pointing to multiple Profit Centers.
    We are trying to re-organize the structure to have 1 Profit Center pointing to multiple company codes.
    Need input to analyze what areas or processes (standard) would be affected.
    Thanks

    Hi Shelina
    Profit center accounting is always above the company code level.
    Hence in Standard SAP you can assign a Profit center to multiple company codes.
    Use KE56 to assign the profit centers to multiple company codes.
    There would no process which would be affected. Only you have to assign cost centers to these profit centers since cost centers are within the company codes.
    Regards,
    Suraj

  • Profit center assignment to company code

    Hi,
    We have 1 controlling area & 3 company codes A, B & C. We are restructuring Cost Centers & Profit Centers for company code A.  Out of the 3 company codes, B has no separate profit center standard hierarchy. The cost centers of B are currently assigned to profit centers of A.
    Now that we are changing all the cost centers & profit centers of A, how do we deal with the cost centers of B which are assigned to the old profit centers of A?
    If I try to change the master data of Profit centers of A to exclude the company code assignment of A & only have company code assignment of B so that the cost centers of B are the only ones assigned to old profit centers of A, system throws an error saying that :
    Cost centers assigned to the profit center are contained in the company code in question.
    Procedure:
        Remove the existing assignment between Cost center **** and profit
        center ***. Note that other assignments might exist, which you will
        also have to remove before you can delete the profit center. For an overview of all existing assignments, use the assignment monitor.
    Is there any other solution to this? Can the Profit center assignment to company code be time-dependant?
    Or will we have to keep the old profit centers of A unlocked for cost centers of B & use some validations to prevent posting of Compnay code A transactions to old cost/ profit centers.
    Regards,
    Sangeeta

    Hello,
    We are having the same issue.  Would you please advise what solution you used to correct this.
    Thanks,
    Jordan

  • Profit Center as a Company code

    Hi Guys,
    Business wants to treat a Profit Center as a Company code.
    How can this be achieved and what are all the steps needde to achieve this.
    can we draw the Balance sheet and other statements on this PC?
    Thanks
    srik.

    Hi
    If you are on New GL, you can use Profit center as a mandatory field for Document Splitting. Thereafter, the T Code S_PL0_86000028, S_PL0_86000029 and S_PL0_86000030 give you the required details.
    New GL is having extensive functionalities. By activating new GL you can be benefited from number of benefits.
    In case if your have not activated the new GL, the follow as below:
    To get a profit center balance sheet.
    1. Make sure you have completed your financial statement version (FSV) - OB58
    2. Copy the FSV to Profit Center accounting KE5B
    3. Check whether KE80 report should suffice your requirement.
    4. Otherwise copy the report in KE80 and modify to your requirements.
    Regards

  • Profit center dummy and company code XX01 are not consistent

    Hi Gurus ,
    can you please tell what i should do when the system gives the message that Profit center dummy and company code XX01 are not consistent . this is happening when i post document in FB50.

    Owing to program or transport errors, the company code assignment of profit centers may not be stored correctly.
    This inconsistent data then causes program terminations or short dumps in further processing.
    This note contains the report ZPCA40B_CHECK_CEPC_BUKRS, which checks the consistency of the company code assignment and corrects possible errors.
    REfer to OSS <a href="https://websmp207.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=388178&_NLANG=E">388178</a>

  • Report for Requesting Cost Center

    Hi Everybody,
    When I launch the report s_alr_87013619,it displays the WBS' Actual costs for each Responsible Cost center (picked from the WBS master data). I would like that the program picks the Requesting Cost Center instead of the Responsible one and shows it on the report.
    May you help me?Is there a similar report or a change in s_alr_87013619?
    Thank you

    .

  • Profit center assignment to company codes

    Hello,
    We have a a scenario wherein our plants are our profit centers.
    As these plants belong to a particular company code,the profit centers need to be assigned to only the company to which their plants belong.
    Is this a correct statement or will there be any scenario which would require us to assign a profit center to multiple company codes.
    Any input is highly appreciated.
    Thanks,
    Vikas

    It is my understanding that I can assign my profit center to any company code as long as all those company codes fall under one controlling area.
    I am looking for scenarios wherein given the set up we have ( plant as a profit center) if there would be any need to assign a profit center to multiple company codes.
    If plant were not set up as profit centers and for example if Product groups(highest node in the product hierarchy) is the basis for defining profit centers then it would be necessary to assign this profit center to all company codes in which the material belonging to that particluar product group exists.
    I am looking for scenarios where a plant is a profit center and since material belongs to a plant isnt it enough to assign this profit center to the company code to which this plant belongs to or are there any scenarios within the given setup which would necessiate the assignment of this profit center to multiple company codes.
    Any input is highly appreciated.
    Thanks,
    Vikas

Maybe you are looking for