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

Similar Messages

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

    Dear Expert,
    Can anybody tell me wat are the standard BAPI available for doing cost element based /activty input planning in SAP.
    Thanx in adv.
    Regards
    Ashis

    Hi Ashis Mohanty !
    this is list of BAPI's used frequently in PS
    BAPIs used in PS Transactions
    Project Definition:
    BAPI to extract details of Project Definition:
    BAPI Name     BAPI Description
    BAPI_PROJECTDEF_EXISTENCECHECK      To check whether a project definition exists
    BAPI_BUS2001_GETDATA        
         To get detailed information about a project definition. To do this, you must transfer the external ID of the project definition in the parameter I_PROJECT_DEFINITION. If required, you can also specify in which language the language-dependent fields, such as time units, system status, and so on, are to be returned. If you do not specify a language, the system language is used
    BAPI_PROJECT_GETINFO     To read detailed information about project definitions and the WBS elements of projects from the system.
    BAPI_PROJECTDEF_GETDETAIL           To read detail information about the project definition
    BAPI_BUS2001_GET_STATUS        To get both the active system statuses and the user statuses for a project definition
    BAPI_PROJECTDEF_GETLIST      Provides a list of project definitions
    BAPI_GET_PROJECT_STATISTICS         Display project statistics
    BAPI to create/update Project Definition data:
    BAPI Name     BAPI Description
    BAPI_BUS2001_CREATE     Create a project definition
    BAPI_PROJECTDEF_CREATE              Create a project definition
    BAPI_BUS2001_CHANGE                Change Project Definition
    BAPI_PROJECTDEF_UPDATE              Change Project Definition
    BAPI_BUS2001_DELETE     Delete Project Definition
    BAPI_BUS2001_SET_STATUS             one system status and one user status  can be revoked each time, and one system status  and one user status  can be set each time for a project definition
    WBS - Work Breakdown Structure:
    BAPI to extract details of WBS element:
    BAPI Name     BAPI Description
    BAPI_BUS2054_GETDATA                To get detailed information about WBS elements.
    BAPI_BUS2054_GET_GUID_FROM_KEY     Read the GUID (Global Unique Identifier) using the
    external object key.
    BAPI_BUS2054_GET_STATUS             To read the active system statuses and user statuses for
    a list of PSP elements
    BAPI_BUS2054_GET_KEY_FROM_GUID     Read the externalobject key (WBS Key)
    using the GUID (Global Unique Identifier).
    BAPI create/update WBS element data:
    BAPI Name     BAPI Description
    BAPI_BUS2054_CREATE_MULTI           Create  WBS Element
    BAPI_BUS2054_CHANGE_MULTI           Change  WBS Element
    BAPI_BUS2054_DELETE_MULTI           Delete WBS Element
    Network:
    BAPI to extract details of Network:
    BAPI Name     BAPI Description
    BAPI_NETWORK_EXISTENCECHECK     Check whether network exists
    BAPI_NETWORK_GETDETAIL     Read detailed information about a network including all objects from the system.
    BAPI_NETWORK_GETINFO     Read detailed information about a network including all objects from the system
    BAPI_NETWORK_GETLIST     Produces a list of networks with descriptions. Returns a container of network numbers
    BAPI_BUS2002_GETDATA     Returns Detail Data for Network Header.
    BAPI_BUS2002_GET_GUID_FROM_KEY     Read GUIDS Using the Network Keys
    BAPI_BUS2002_GET_KEY_FROM_GUID     Read Network Key Using the GUIDs
    BAPI_BUS2002_GET_STATUS     Get network Status
    BAPI create/update Network data:
    BAPI Name     BAPI Description
    BAPI_NETWORK_MAINTAIN     To edit network headers, activities and relationships
    BAPI_BUS2002_CREATE     Create Network Header. Only one network can be created each time this BAPI is called.
    BAPI_BUS2002_CHANGE     Change Network Header. Only one network header can be changed each time this BAPI is called.
    BAPI_BUS2002_DELETE     Delete Network Header. Only one network can be processed each time the BAPI is called.
    BAPI_BUS2002_SET_STATUS     Set/Reset Network Status. At the same time, you can revoke one system status and one user status, or set one system status and one user status in a list of activities for the network.
    Activity:
    BAPI to extract details of Activity:
    BAPI Name     BAPI Description
    BAPI_BUS2002_ACT_GETDATA     Detail Data for Activities
    BAPI_BUS2002_GET_ACTGUID_4_KEY     Read the GUIDs Using the Network Activity Key. Read the GUID (Global Unique Identifier) using the external object key.
    BAPI_BUS2002_GET_ACTKEY_4_GUID     Read the Network Activity Key Using the GUIDs. Read the external object key using the GUID (Global Unique Identifier).
    BAPI_BUS2002_GET_STATUS             Read active system statuses and user statuses for a network header (NUMBER) as well as its activities
    BAPI create/update Activity data:
    BAPI Name     BAPI Description
    BAPI_BUS2002_ACT_CHANGE_MULTI       Change one or more activities. Activities of one network only can be changed each time this BAPI is called.
    BAPI_BUS2002_ACT_CREATE_MULTI       Create one or more activities. Activities of one network only can be changed each time this BAPI is called.
    BAPI_BUS2002_ACT_DELETE_MULTI       Delete one or more activities. Activities of one network only can be changed each time this BAPI is called.
    Activity Element:
    BAPI to extract details of Activity Element:
    BAPI Name     BAPI Description
    BAPI_BUS2002_ACTELEM_GETDATA        Get detailed information about activity elements.
    BAPI_BUS2002_GET_ELEGUID_4_KEY     Read the GUIDs Using the Activity Element IDs
    BAPI create/update Activity Element data:
    BAPI Name     BAPI Description
    BAPI_BUS2002_ACTELEM_CHANGE_M       Change one or more activity elements. Each time this BAPI is called, only the activity elements for one network can be changed
    BAPI_BUS2002_ACTELEM_CREATE_M       Create one or more activity elements. Each time this BAPI is called, only the activity elements for one network can be changed
    BAPI_BUS2002_ACTELEM_DELETE_M       Delete one or more activity elements. Each time this BAPI is called, only the activity elements for one network can be changed
    Activity Type:
    BAPI to extract details of Activity Type:
    BAPI Name     BAPI Description
    BAPI_ACTIVITYTYPE_GETDETAIL     Detailed information on a selected activity type on Key Date.
    BAPI_ACTIVITYTYPE_GETLIST           List of Activity Types Using Selection Criteria
    BAPI_ACTIVITYTYPE_GETPRICES         Determines, for a given day, activity prices for cost center/activity type combinations.
    BAPI create/update Activity Type data:
    BAPI Name     BAPI Description
    BAPI_ACTTYPE_CHANGEMULTIPLE         Change One or More Activity Types
    BAPI_ACTTYPE_CREATEMULTIPLE         Create One or More Activity Types
    Confirmation:
    BAPI to extract details of Confirmations
    BAPI Name     BAPI Description
    BAPI_NETWORK_CONF_GETDETAIL     Using this method you can make the detail data of a confirmation for a network available for the transferred object. You can also make goods movement posted together with the confirmation available.
    BAPI_NETWORK_CONF_GETLIST     All confirmations are determined for the specified network activity or activity element. The transferred capacity category and split are interpreted as additional constraints
    BAPI_NETWORK_CONF_GETPROP            To make default data available for confirming network activities
    BAPI create/update Confirmation data:
    BAPI Name     BAPI Description
    BAPI_NETWORK_CONF_ADD     To enter confirmations for network activities/ activity elements and splits.
    BAPI_NETWORK_CONF_CANCEL     To cancel a network confirmation that has already been booked.
    Thanks ,
    Dhruv Kumar Malhotra

  • Activate text for Cost Center for ME51N, ME52N, ME53N

    Hi, experts
    As a requirement on T/C ME51N, ME52N, ME53N is needed to activate on "Account assignment" tab, the text for Cost Center field, how can I do this?
    Thanks in advance.
    Is there any path or exit could help with it?

    I need to add on Tabstrip "Account assignment" for fields
    CO Area and Cost Center text field description ( right side ) for each one.
    How can I do this? Thanks in advance.

  • How to run GR55 reports in background for cost center hierarchies

    1.  I have been asked by our users to create batch jobs to run in the background for some GR55 reports, that can then be sent directly to cost center managers via email.
    I have figured out the process to do this as long as the cost center manager only needs to see a single cost center at a time.  However, if they are in charge of multiple cost centers, we also want to send them a summarized report using the hierarchy we have set up.  I can't seem to make this work, as the job only seem to recognize the last cost center in the group and the report is for that cost center.
    Example.  cost centers 100, 200 and 300 belong to hierarchy abc.  If I run the job just for cost center 100 it is fine.  But if I have a variant to run hierarchy abc, or even if I use the range 100 to 300, all I get is a report for cost center 300.
    We cannot use BW because we only have revenue in BW.  I am being asked to make this work from standard R/3 within the GR55 realm of reporting.
    2.  In addition, the report selection criteria includes two separate plan/forecast versions.  They need to update these each month prior to running the reports and sending them out.  I looked at the variables associated with the versions and tried to set them up with default values that I hoped would update automatically so that they don't have to manually change 50 or so variants each month.  But I don't see any dynamic variables that I can use to have the system make that change without going into each variant individually.
    3.  There is another piece to this equation as well.  There is another report they want sent out in batch, but it is several pages wide in SAP and several pages long.  So when you run it in batch and either spool it or get it sent as an email, it is very ugly in the formatting due to all the page splits horizontally and vertically.  If anyone knows how to get the report to stay together like it would if you had excel integration turned on, it would be very helpful.  I have tried running it with that integration turned on, but the jobs are set up with user batch_mgr and not my id, so it isn't working well.  The batch_mgr id is just a system id, not a dialog id.  We also don't want the jobs set up with a regular user id because if people leave, then the jobs all need to be changed.

    Kim,
    I may have options for issues 1 and 2. In case of 3, what I can tell you is I understand the concern, but this is what  typically happens in some standard CO reports that are not ALV compatible, I don't think there is not much  there to do unless you add some custom code for the output.
    In regards to point 1, yes,  I have noticed that this happens in some standard and custom reporting, not sure what is going on. I came up with a work around that  made the trick for my client in a similar scenario; which is editing the cost center groups. For instance, instead  of having the group set as a range from 100 to 300,  the groups are have  listed the cost centers, 100, 200 and 300. Obviously, the disadvantage of  this option is  that it would require a bit of more cost center group maintenance.
    In regards to point 2,  I understand from your note  that your users already have set up selection variants for the report. One option for you is to get the help from a developer to create a custom period variable and tiny program that runs in batch every month that would update that variable accordingly. Once that's done, you may have to update at least once, the selection variant  attributes to change the period to a selection variable, so everytime from that point of time forward that the variable gets updated,  it will be ready with the right value for every selection variant that uses it.
    Hope this helps.
    GG

  • KO88 - Error when settling for Cost Center AND Auc for the same Internal Or

    Hi Experts,
    We need to configure Investment Internal Orders that could settle to both Cost Center and Auc, but each assignments with different Source Cost Elements
    We did the following:
    1. Created Auc Class
    2. Created Investment Profile "IMOBIL" and assigned to Auc Class, flagging Auc
    3. Created Allocation Structure "CV" with two assignments:
    01, Source = Cost elements 7000000000 to 7999999999, receiver AUC "by cost element"
    02 Source = Cost elements 4000000000 to 4999999999, receiver CTR "by cost element"
    4. Created Model Order, filling the Investment Profile IMOBIL created in step 2.
    5 Created Settlement Profile ZCV0001, assigning Allocation Strucutre CV, allowing CTR and AUC for receivers, default receiver is "FXA", doc type "AA".
    6 Created ORder Type CV01, assigning Settlement Profile ZCV0001.
    When I post only for Asset Expenses (Source Cost element 7, Assigment 01), the settlement through KO88 correctly settles to AUC, and also creates the settlement rule for cost center (i'm using the strategy to create from Responsible Cost Center).
    But when I post for Asset Expenses (cost elements 7, receiver AUC) AND General Expenses (Source Cost element 4, receiver CTR), KO88 generates an error KD506, saying that for Assigment 02 - AUC I didnt define a settlement cost element.
    1. Assignment 02 is not AUC, is CTR;
    2. I flagged "by cost element", so I don't need a settlement cost element. And also, I was able to post to AUC when the source posting was only for cost element 7.
    Did you face any problem like this?
    I cannot find out what is the missing configuration, or if it is a program error...
    Kind Regards
    Mayumi Blak

    Hi Ajay
    I already created Source Structure and assigned to my Setllement profile (so I assigned Allocation Structure AND Source Structure).
    I don't understand when you say that I need to assign the Source Sutrcture in each rule....because the Source structure is in the Settlement Parameters valid for both rules...
    When I post to Asset Expenses only for the internal Order, the 2 rules (CTR and AUC) are created when I run KO88 (but only AUC rule is settled). This is OK.
    The problem is when I post for both General Expenses AND Asset Expenses, the system is not recognizing that I have 2 source structures, neither is findind that for CTR AND AUC the Settlement cost elements are the original cost elements.
    I'm thinking about changing message KD506 to warning, do you know if this can help?
    Kind Regards
    Mayumi Blak

  • How to write a validaton rule for Cost Center and plant in PO

    Hi,
    I need to write a Validation Rule for Cost center and Plant in Purchase Order to get the error message if the Plant and cost center combination didnot match.
    But i am not sure in which transaction code do we need to write this validation. Kindly help me by giving T.Code or path to do validation at PO level.
    Thanks
    Sunil

    >
    Sunil Pal Raj wrote:
    > Hi,
    >
    > I need to write a Validation Rule for Cost center and Plant in Purchase Order to get the error message if the Plant and cost center combination didnot match.
    >
    > But i am not sure in which transaction code do we need to write this validation. Kindly help me by giving T.Code or path to do validation at PO level.
    >
    > Thanks
    > Sunil
    Check OKC7
    Regards,
    Indranil

  • Purchase Order For Cost Center

    Hi,
    1. Please explain as I am trying to create a PO and i gave Account type: K(Cost center). I got the following error
    "Create Account 140000 as a cost element in controlling area 4000 "
    How can i solve this problem. I actually created a cost center : 4000. How to assign a cost element to controlling area.
    2.Is it Necessary to maintain the G/L A/c while procuring for Cost center??
    Or Cost Center is Sufficient ??

    HI Kapil,
    For any accounting entry you need to define a General Ledger Account where the details (Amount) of the transaction will be stored.
    Just by maintaining cost centre will not help in completing any transaction involving accounts. So you need to  maintain G/L account in the controlling area of your company code.
    You can use T Code FS00 to create new G/L account in the chart of accounts.
    In the edit cost element Tab you can give the cost center that you want.
    I hope this helps.
    thanks
    rahul goel

  • BPS Retraction for cost center accounting

    hi guys,
       When i create sender structure for retraction,need to specify the retraction target(eg UPB_RET_COPS) using drop down to find.But i can't find any value after using drop down button.So i want to know how  and where to define the retraction target,in BPS or R/3?
       The dictionary structure has the same problem.
       And what do mean the fields of 'offset'  and 'sender field lgth'?
       Need your help!
       thanks a lot!
    frank feng

    Hi,
    Go through following links where u can get a fair idea for u r problem:
    /people/praveen.mayalur/blog/2006/07/01/bps-retraction-for-cost-center-accounting--i
    /people/praveen.mayalur/blog/2006/07/11/bps-retraction-for-cost-center-accounting--ii-primary-cost-qty
    Thanks,
    Debasish

  • BPS Retraction for Cost Center Accounting - Cost Element - Compounding with

    Hello everybody,
    I'm using the "BPS Retraction for Cost Center Accounting" described in the blog from Praveen Mayalur. I have customized the BPS system  (3.5) as described.
    But if i started the retraction i receive a dump. I have debug a little bit and i found out that there is a problem with the InfoObject "Cost Element". It is compounding with two InfoObjects "Source system ID" and "Controlling area".
    PERFORM FILL_RSRDEP USING I_AREA
                              I_CHANM
                              ITO_CHADEP
                        CHANGING LT_RSRDEP
                                 L_SUBRC.
    IF L_SUBRC NE 0.
    *Abhängige Merkmale müssen in der ITO_CHADEP stehen
      MESSAGE X099(UPC).
    ENDIF.
    Does anybody have this problem before. ?
    Regards Detlev

    Hi,
    it looks that your 0COSTELEMNT has been changed and the additional compounding object 0SOURSYSTEM has bben added. In BI Content it is only compounded to 0CO_AREA. So may be this is the problem.
    To be sure that it works you must make the change in your source system to and "compound" 0COSTCENTER to 0SOURSYSTEM. Or you have to chabge the retraction that way that it ignores the source system and only reads 0CO_AREA and costcenter.
    Regards,
    Juergen

  • BPS retraction part for Cost center accounting

    hi All
            Can any body help me regarding the retraction part for cost center accounting bw-bps, how the retraction is exactly done . when part is where the data
    comes sits in bw and R/3 .
    how exactly plan data sits in r/3 what is the relation
    while extrating the data into the bw, what is procedure for extracting in to the transactional cubes
    prs

    This post could give you some info:
    CCA Retraction with BW BPS
    Hope it helps.
    Regards

  • Report Writer Missing Data for Cost Center+Investment Internal Order

    Hi Gurus,
    I have met a problem on Report writer. T-code KSBB -> Report for Cost Center Group by Cost Elements in diff months.
    The report can be drilled down to call KSB1 to give line items on the cost element by cost center/group.
    The problem is the drill-down report missed the line items for investment orders. ( Compared with manually use KSB1)
    The overhead internal order line items are fine.
    For example, document 001-Apr:
    Dr. Cost Element 1009                 $900  -- BA 90  Cost Center 90000 Investment order 9001
         Cr. Other cost elements.                  $900
    Document 002-Apr
    Dr. Cost Element 1009                 $800 -- BA90 Cost Center 90000 Overhead order 7001
         Cr. Other cost elements                      $800
    In KSBB report, the cost center group for 90000 in cost element 1009 in Apr only has $800.
    And the drilled down report which called KSB1 has the line item for docuemnt 002.
    However, when I run KSB1 directly, the total amount for cost element 1009 in cost center 90000 is $1700.
    Here is what I checked:
    1. I have my ABAPer checked the KSBB program and KSB1 program to debug them in DEV ( DEV and PRD has the same problem). The different to get the data is that in KSB1, it has selected a value type 11 ( Googled: field name is WRTTP, Down payments as expenses. In program: WRTTP means Statistically Actual ) and 04 ( Googled: Actual True Posting. In program: 04 in WRTTP means Actual posting).
    But in KSBB, it only select 04 when I clicked the drill down report to call KSB1.
    2. I am thinking that the cause was on different types of internal order:
    Overhead internal orders are statistical orders.  Investment orders are actual orders.
    Could you help to throw some light on the problem?
    Thank you very much.
    Emma

    Hi,
    Cost Centre vise Report you can take from KSB1
    Internal Order Vise Report you can take fro KOB1
    Regards,
    Sridhar Sha

  • G/L Account determination for cost center

    Hi,
           When we issue the material with movement type 201 or when we do 202, we enter the cost center in the MB1A,  then  ref. to this cost center how to determine which G/L account is updated,   and if we want to know how much is total goods issue is done for a particular cost center which g/l  account to be check.
    regards,
      zafar

    system check the setting in Define Account Grouping for Movement Types
    for movement type
    201 what is account modifier its VBR
    then it check material number and takes valuation class
    then  it goes to OBYC and check the gl account under GBB
    and looks for Gl account for VBR and valuation clases
    and pick up the Gl accoun
    hope its clear now
    and in case of PO
    the logic for gl account determination for account assigned po is as below
    for cost center u give K
    for this K it goes in Maintain Account Assignment Categories and check what is Acct modification it is generally VBR
    then it check if u have given material number and takes valuation class and if material ordered is with out material code then valuation class is blank
    then it goes to OBYC and check the gl account under GBB
    and looks for Gl account for VBR and valuation clases in case on manteria number
    or VBr and Blank entry for valuation class
    and pick up the Gl account
    Hope now its clear

  • Error Activity type 502000 not set up for cost center 1000 cc111

    hi all
    While creating a work center (CR01) I need to enter a cost center and activity type for machine hours. However, while entering the activity type the following message appears:
    Message no. CR 061
    You are attempting to assign activity type XXXX to the work center. However, this activity type has not yet been set up in controlling area 1000 for cost center xxxxx.
    while creating the activity type in KL01 i have already given * in cc category so it should go for all cc
    What could cause this problem?
    Thank you in advance,
    Kind regards

    Hi,
    Check whether the activity type is maintained at the correct controlling area via KL03. If not, then create the activity type (KL01) in the corresponding controlling area.
    Regards,
    Darrel

  • Goods Issue for Cost Center 201 : special stock E not supported

    Dear guru ,
    I need to run a goods issue(trx.MIGO) for cost center using movement type 201 for a material
    in special stock E (with sales order and sales order item).
    The system send this message : special stock E not supported.
    How can it solved this problem ?
    Thanks in advance.

    first tranfer stock from Sales Stock to Own stock as follows
    Tcode - MB1B / MIGO
    Mvt type -  411 E           Transfer posting sales order to own
    Then issue this own stock to Cost center as follows
    Tcode - MB1A / MIGO
    Mvt type - 201
    hope it helps]
    Regards,
    Rahul

Maybe you are looking for

  • Windows 7 Drivers For Qosmio G40-12S

    I have a Qosmio G40-12S with windows Vista Ultimate 32bit And i have Install a Windows7 Ultimate 32bit instead of vista , Before that i had download all drivers in this link (http://eu.computers.toshiba-europe.com/innovation/download_drivers_bios.jsp

  • PERMIT_READ to limit dimensions

    Hi, I have a 9.2.0.6 EE DB running on Linux RHEL ES3.0. I am using AW to build a Cube and present it through Discoverer plus 10g. Everything is currently working fine and Discoverer produces great looking presentations out of OLAP. What I am trying t

  • Problem with Zen Micro headphone j

    The music played is quieter and individual sounds such as vocals cannot be heard unless i push down on the headphones. I've heard this is a common problem for Creative mp3 players which is unfortunate because i have never had any other problem. My wa

  • MacMini Apple Keyboard crazy at startup

    I Have Mac mini Intel 10.6.8, 2.53 dual core 4g ram.  Apple keyboard USB and wireless apple mouse. At First it seemed like a broken keyboard... with keys not responding and some keys activating sporadically without my pressing. got a new keyboard and

  • Moving Avg Price is not updating in material master even after PO GR

    Dear Gurus, All of the materials in our company won't update the MAP even after the goods movement, and the Price control is set as 'V'. Can anybody give me the idea how to track the IMG setting? Jamie