Search bapi about cost center!

hi!
i want to delimite cost center using tcode;KS14 and change cost center using KS02.
which bapi for KS14  and which bapi for KS02!
can give some demo code ?
thank you very much !

hi ,
        BAPI_COSTCENTER_DELETEMULTIPLE for the deleting the costcenter , pass the controlling area and cost center to the FM .BAPI_COSTCENTER_CHANGEMULTIPLE for the changing the costcenter.

Similar Messages

  • Search Help for Cost center

    Hi All,
    I have 2 questions
    1) we dont have any default cost center maintained any where in the org-structure (PPOMA_BBP), howeverwhenever I go for shopping I can see a cost center  along with GL account, ( I know GL acct is coming from "determine GL account for prod-cat" settings in IMG), but what about cost center where is it coming from ??
    2) second, when we do search help for cost center's in shopping application, we are able to see all cost centers from the back end which I guess is good, but we can see even those cost centers which are blocked!!!, why is this happening ??,
    Thanks.

    Hello,
    For First::
    In general the CO Area (here: cost center) is derived from R/3 Backend Enterprise
    Structure and should be re-determined if another acc. objects is
    entered that belongs to a different CO Area. Please also check the
    settings in R/3 Backend IMG, path:
    ->Enterprise Structure ->Assignment ->Controlling
    ->Assign company code to controlling area
    The company code is assigned to the CO Area through the following
    assignment:
    ->Materials Management
    ->Assign purchasing organization to company code
    The CO Area is in general the organizational object in
    highest (CO) level. Assignments to other MM/CO objects are located
    in lower Enterprise hierarchy level. Hence, the CO Area does not
    change if a different CO object of a lower level (here: cost center)
    is assigned to a SRM document.
    For Second::
    The only possibility I see is to set the message to error message in
    the customizing in the backend. The message number is KI 170. When you
    look at the long text of this message in transaction SE91 in the
    backend, you will find the description where to look in the customizing.
    When you have set this message to ERROR, then no purchase order will be
    created in the backend. Instead the shopping basket gets the status
    'ERROR' and the administrator will recieve a work item in his inbox.
    Then he can check the backend and either post the purchase orders again
    after solving the problem, or he can delete the shopping baskets.
    Please check the note for more infos or the documentation.
    Setting the message KI 170 to error message will solve your problem.
    See note 333136.  I would think that if you create
    a PO directly in the backend if you do not have the message configured
    as and error you will be able to create the PO.
    I hope this information helps.
    Kind regards,
    Gaurav

  • About cost center accounting  (Transaction based posting with CO assignment

    Hi,
    I m working on cost center accounting ,and i m stuck in transaction based  posting ,i m post transaction through FB50,
    i m given concern G/L account Dr 8000 and credit to bank account with account assignment cost center 10100.after i simulate this transaction the system accepts and i m enable to see the transacion after simulation,but after that i m going for save it at this time system geting error ,and error is like ---
    Not possible to derive owner from account assignment/bank details
    Message no. REEXFI054
    Diagnosis
    In the condominium owner company code, the system attempts to determine a unique condominium owner for each document.
    To make this determination, the system analyzes:
    The profit centers in the document. Usually the system derives the profit centers from the account assignment objects in the individual line items. In the condominium owner company code, the system determines the profit center for real estate objects from the condominium management contract for the rental object.
    The house bank data in the document. Therefore, the affected bank account has to be entered uniquely in each bank line item.  You can enter the house bank and the account ID in FI posting transactions by choosing Additional Data. The system then searches for the condominium management contract that has these bank details.
    In the current case, the system is not able to determine a unique owner.
    System Response
    The system cannot post the document.
    Procedure
    Check the account assignment data and bank details.
    So plz guide me about this ,
    Regards,
    Pramod Kulkarni

    Hello again,
    First off all thank you both for your answers.
    Dirk,
    When I said enhancing I was not thinking of developing the hole thing. That seems to be a hugely complex task and I do not have the time for that in the project were I am presently working. What I meant was: Is there a SAP Enhancement available? A function exit? A Customer Include? Something that is half way done?
    If this is not the case the solutions I thougth were:
    i) Replicate my infocube's data into a ODS. Develop a report on the R/3 side that reads that data via a RFC and uses Batch Input (Call transaction) to update the data on the R/3 side;
    ii) Develop a function module (similar to the standard one) on the BW side to use in a planning function of type exit which would update a Z database table on the R/3 side and, afterwards, develop a report (also on the R/3 side) which would read that database table and update transactional tables via Batch Input (or Call Transaction with a developed log transaction).
    From the point of view of performance I believe the solution involving the ODS is better because we are talking about 300 000 materials.
    As for your proposed solutions 1) and 2) althougth they seem very nice and elegant I would like to avoid changing the R/3 customizing. Regarding your proposed solution 3) I am going to take a look at the function group you mentioned and the respective note.
    Once again thanks a lot for your answer. You have been very helpfull.
    Best Regards,
    Vasco

  • BAPi for Cost Center

    hi all
    I am looking for a BAPI/Functional module  for the below mentioned SAP stan report for cost center
    S_ALR_87013611 - Cost Centers: Actual/Plan/Variance
    S_ALR_87013625 - Cost Centers: Actual/Target/Variance
    Regards
    Praveen

    hi all,
    If there is no BAPI/BADI/Functional module avaible  for cost center report ( Planned /Actual comparision)
    can you please tell me the relative CO table  from where i can get the Planned and Actual values,so that i can prepare a report based on the CO table.
    Revert
    Regards
    Praveen

  • BAPI For Cost Center Smart Tag

    Hi Experts
    I need to Create a BAPI that retrieves the planned and actual budget details for a given cost center. This will need to be restricted per Cost Center based on Employees ID associated to that cost center. This BAPI wil be used to create the Cost Center Smart Tag.
    Regards
    Balaji

    Create a customise BAPI then just like a simple function module select those fields which u want to import
    make it RFC enable

  • About Cost Center

    Hello:
    I use ME21N to create PO ,there is no cost center define in my client
    and then i want to define it .  I want to know the sequence about it, should i first define controlling area?
    I am not sure about it ,so someone who can advice me the correct sequence to define cost center,and the T-code
    Thanks a lot

    Please check these answered links:
    how to define cost center and profit ceter
    Re: Define cost center number ranges
    Define Non-Statistical Cost Center
    /message/8781643#8781643 [original link is broken]
    define the relationship between cost center cost group and cost group
    Define cost element for materials
    Edited by: Afshad Irani on Apr 29, 2010 9:22 AM

  • Search help for cost center does not work after SP upgrade

    Hi,
    Create a shopping cart in SRM and go to the cost assignment tab. When click on the search help to enter a costcenter, we don't get any search help screen.
    Thanks

    Kindly check note: 1259735 Search help of generic account does not work
    Additionally Check the 5th question/answer of note 815849.

  • Binocular search for Cost Center is not returning any data

    Hi Gurus,
    When clicking on the SRM-Shooping Cart-Cost Assignment- Account Assignment Overview- Cost center Binocular search icon,  it is not returning any data.  However,  when drilling down in the Account Assignment Overview, you will see another Binocular search icon for Cost Center which is working fine.
    Any idea of how you troubleshoot it.
    Thanks in advace for your help.
    HA

    Not sure about the cost assignment drill down, but after we applied SP13 to SRM server 550 the binoculars for cost center stopped working. the following note corrected this.
    Note 1259735 - Search help of generic account does not work
    If it has never worked, then probably need to setup a RFC dialog user for the F4 search help, Multiple threads on here around the dialog user for F4 with details on configuration and use.
    JF

  • Bapi to get Cost center group

    Hi,
       Is there any standard bapi that takes cost center as input and displays its corresponding cost center group.
    Thanks,
    Divya.

    hii,
                     just have a luk.
    BAPI_COSTCENTER_CREATEMULTIPLE Create One or More Cost Centers
    BAPI_COSTCENTER_GETDETAIL Detailed Information About Cost Center For Key Date
    BAPI_COSTCENTER_GETDETAIL1 Detail Information for Cost Center on Key Date (1)
    BAPI_COSTCENTER_GETLIST List of Cost Centers Using Selection Criteria
    BAPI_COSTCENTER_GETLIST1 List of Cost Centers for Selection Criteria (1)
    BAPI_CTR_GETACTALLOCATIONTYPES Checks Which IST-ILV Types are Possible According to Activity Type Categ.
    BAPI_CTR_GETACTIVITYPRICES Read prices for cost center/activity type according to selection
    BAPI_CTR_GETACTIVITYQUANTITIES Rad plan activity/capacity/scheduled activity for cost center/acty type
    BAPI_CTR_GETACTIVITYTYPES List of cost centers / activity types with control information
    regards,
    Shweta

  • Cost Center and G/L account search help not working

    Hi Gurus,
    I am facing a problem with the search help button for cost assignment in Shop screen.
    When I press the search button for cost center, there is no new screen coming up asking me the search criteria to be given as input. Same is the problem when I search for G/L accounts.
    I have defined the backend RFC user as dialog user and also defined the RFC(dialog) in the SRM system for the backend RFC.
    My user id has authorization object M_BBP_SHLP in my profile.
    What may be the reason for this issue?
    Note: I am currently using SRM5.0 system with backend R/3 4.7 version. This SRM system is already connected to another backend system ECC6.0, and the search help is working fine for those users.
    Pls. guide me on how to resolve this issue.
    Regds,
    Ancy

    Hi Ancy,
    Don't give wild search. Give some words following with * like "UK*" lists all the UK Cost centers. For the G/L accounts: G/L Accounts will get updated in the SC automatically depend upon the product category what you have selected.
    Check the configuration  Cross Application Basic settings->Account Assignment ->Define G/L Account for the product category.
    If you have maintained the configuration for the paritcular G/L Account and Product cateogyr then when G/L Account is updated automatically in the SC (Depend upon this configuration)
    Kind Regards
    Sameer

  • Cost Center & GL Account search not working.

    Hello all,
    I am having the following problem while creating a shopping cart, at the Cost Assignment (item level). When I click on the binoculars for searching CC or GL Accounts, i get the following message: "Display not possible (inconsistency in the input help)".
    Now, I've researched and tried every possible suggestion:
    1. Make sure the requester has permissions BBP_FUNCT/value: BE_F4_HELP, and S_RFC/value:*   (SU01), among many others.
    2. I have assigned to the requester the respective roles in the organizational structure.
    3. Changed the RFC user (from SRM to R/3) from type "communications" to dialog. This user has SAP_ALL in the backend system.
    I have run out of ideas of what might be the problem. I've searched through the forums and used all of the ideas mentioned above, but the problem is still there.
    Any help will be greatly appreciated.
    Regards,

    Hi
    Which SRM version are you using ?
    Please refer to the following SAP OSS Notes.
    <u>Note 656633 - Search help requires dialog users
    Note 746788 - Back-end system search help for cost center
    Note 673390 - Incorrect destination determined for search help
    Note 550052 - EBP 4.0: Preparation for back-end input help in EBP</u>
    Hope this will help. Do let me know.
    Regards
    - Atul

  • Preventing Blocked Cost Center in SRM Search help

    Hi All ,
      We need to prevent the blocked cost centers  in  the search help  in SRM  .
    I checked the BADI'S
                  BBPF4_READ_ON_ENTRY_
                  BBPF4_READ_ON_EXIT_    and method GET_COSTCENT. but  both of these will not trigger when we give the cost center in search help and press start.
    so is there any other BADI  or Customer exit  for this requriment.
    Please help
    Regards
    Channappa

    Hello,
    These BADI can not be used for this kind of search help, as this is an R/3 search help and not an SRM search help.
    Helpful discussion threads:
    Re: Search Help for Cost center
    Re: Cost Assignment  - Search
    Hope this helps.
    Thanks
    Ashutosh

  • How can I restrict options result to only one cost center?

    In transaction KS03 (Display cost Center), when I search for a cost center (hit F4), I have an option to drill down by Company code, controlling area, Cost Center Category, Person Responsible etc.
    My question is, how can I restrict users to select only controlling area they are authorized for ? Is there any authorization object I can use to restrict user's access to particular value in the table CSKS ?
    Thanks,
    Karan.

    Hi Karan,
    If you want to restrict on the values users can return when using F4 lookup then there may be some useful info in the following link:
    Authorization object for capacity planning CM03

  • Changing quantities distribution by cost center in MIGO

    Hi experts,
    Sometimes, we create a purchase order and we distribute quantities on several cost centers.
    Then, in the MIGO transaction, the distribution is made with the quantities indicated in the purchase order.
    I wish I could change these quantities when receiving goods. Do you know how to do it ?
    Thanks for your help !
    Philippe

    Hi,
    i  am not sure about cost center..
    ya but we can distribute batch wise or storage location wise
    and there is "Icon" distribute Qty in MIGO
    Regards
    kailas Ugale

  • Cost center relationship with department

    Hi experts,
    I have one question to ask about cost center relationship.Let say one department use only one cost-center. Is it I have to key-in the relationship between department and cost-center only or I have to key -in all the position in that department with the cost-center.If I don't keyin the relationship between position and cost center, how about the report. It will automatically appear or not.

    HI MJ,
    Please assign the Org Unit to a Cost Center using A011 Relationship through IT1001.
    Secondly, the principle of Inheritance works here.....i.e.
    IF you have assigned a O-K relationship at the Org Unit Level, all the reporting Org Units & Positions will inherit the Same Parent Cost Center........except in cases where the O-K / S-K Relationship is changed for any other org Units...or Positions... in such cases, the reporting org units or positions will inherit that.....
    Cost center assignments are inherited along the organizational structure.
    Hope it is clear...
    Good Luck !!!!
    Kumarpal Jain.

Maybe you are looking for