How to get cost center ranges for a given company and division...

Hello Experts,
Is there a table, BAPI or FM that can get the company or division of a given cost center?
Currently I am creating cost center ranges in my program but that is not the best way to do it
since they can always add or delete cost centers. Just like in transaction OKEON wherein you
can see the cost center ranges for a given company or division.
Hope you can help me guys. Thank you and take care!

Hi Viray,
You can try BAPI 'BAPI_COSTCENTER_GETDETAIL1'.
You need to pass controlling area and cost center detail to this BAPI.
It will return the cost center detail in return.
Hope this helps you.
Thanks,
Arun

Similar Messages

  • How to get the date range for a given fiscal period.

    Hi All,
    There is two fields (select options) on my selection screen
    1. Fiscal Year
    2. Fiscal Period.
    I just want the date range between the given year and period on selection screen.
    Thanks,
    Gaurav Mittal

    Check FM's FIRST_DAY_IN_PERIOD_GET and LAST_DAY_IN_PERIOD_GET.

  • How to get subordinate org units for a given org unit within specific dates

    hi,
    How to get subordinate org units for a given org unit within specific dates

    Use the following Func module ..
    HRWPC_RFC_STRUCTURE_GET
    *--Get the sub org.unts for the given selection.
        CALL FUNCTION 'HRWPC_RFC_STRUCTURE_GET'
          EXPORTING
            ROOT           = root_org   <-- Give the Org unit 
            EVPATH         = 'O-O_DOWN'
            BEGDA          = s_date-low
            ENDDA          = s_date-high
          TABLES
            T_OBJEC        = t_objec
            T_STRUC        = t_struc
          EXCEPTIONS
            NOTHING_FOUND  = 1
            INTERNAL_ERROR = 2
            OTHERS         = 3.
        IF SY-SUBRC <> 0.
          MESSAGE i000 WITH 'No Sub Orgunits for ' s_objid-low.
        else.
    *--Prepare final sub org.units tabl.
          loop at t_objec.
            if t_objec-objid ne s_objid-low.
              it_orgunit = t_objec-objid.
              it_orgunit-begda   = t_objec-begda.
              it_orgunit-endda   = t_objec-endda.
              APPEND it_orgunit.
            endif.
          endloop.
        endif.

  • Need to get cost center details for a requisition

    Hi All,
    Could you please help me to find table for cost center details for a requsition.
    Thanks,

    Hi;
    Did you see:
    http://www.aboutoracleapps.com/2007/08/oracle-general-ledger.html
    Information Center : Oracle Cost Management [ID 1417659.2]
    Regard
    Helios

  • How to get the week number for a given date?

    hi guys,
    what is coding to get the week number for a given date?
    For example, 1/1/05 is week 1. then 8/1/05 is week 2.

    The second parameter to pass to the method is supposed to be one of the month constants JANUARY - DECEMBER. It happens to be that their numerical values are 0-11, not 1-12, so your "12" refers to the "13th" month of the year.
    givenDate = new GregorianCalendar(2003, Calendar.DECEMBER, 31);
    If you want to construct dates and times from strings like you seem to be, look into SimpleDateFormat http://javaalmanac.com/egs/java.text/ParseTime.html
    (even still I got WEEK_OF_YEAR as 1 which is true but not really what I expected, excuse my previous reply but I wanted to check the facts before posting this)

  • How to identify all the information for a given company code?

    Hi,
    Our company provides data migration services for SAP and other ERP applications. Our customers provide us the specifications for extractions and conversions. We use one or more 3rd party tools to extract data from legacy systems into text/Excel files. Customers use LSMW to load generated files.
    We just got an unusual request. This customer wants to get ALL the data from SAP for a given company code and dump into Excel. They would do some manual editing on the data and load it into a new SAP client.
    In the past, customers would be more specific in their requirements. For example, they will mention Materials, Customers, Inventory, etc. In this case, the customer simply wants ALL the data for a given company code.
    Q1. Is everything in SAP related to company code, either directly or indirectly? For example, can materials be filtered by company code?
    Q2. The tools that we use let us extract data from SAP using SQL-like queries. How do I identify ALL the tables that I would need for a given company code?
    My feeling is the customer themselves are not clear on what they really want. Perhaps they are expecting us to guide them.
    I would appreciate any thoughts that you may have.
    If there is a more appropriate forum for this question, please let me know.
    Thank you in advance for your help.
    Regards,
    Peter

    hi
    t001w is the master table for plants, u can see all plants in this table.
    regads:
    rajesh.k

  • How to get cost center group from cost center

    Hello
    I have cost center and i need to get the cost center group.
    Anyone having an idea how to get it???
    Thanks
    Parvez

    Hi,
    Cost centre could be assigned to different cost centre groups. For standard hierarchy, you can retrieve it from CSKS table, but for other groups SETLEAF table (class 0101) will provide you a complete answer.
    Regards,
    Eli

  • How to get Cost Center number from a Customer

    Hi Sap Experts,
    I have a customer number from xd03. But I would like to know which is the cost center used by this customer, how can I find that?
    Because I'm getting an warning message when using FB08, it points to the Tax Jurisdiction issue. I believe at some point, it's checking the Jurisdiction field of the cost center.
    Regards,
    CHL

    Hi,
    Thank you for the reply.
    The thing is, when I run FB08 for a specific document, i'm getting this warning Msg: Account assignment object has jurisdiction code XX, line iten XX AAAAAA.
    I checked already the configurations for jurisdiction code in customer master data and the path "define tax jurisdiction code" with spro.
    I noticed something, during the debug at some point its reading the cost center's jurisdiction number, and will compare it with customer's master data jurisdiction.
    But if there's no cost center it will process fine.
    It's in the program SAPLKAIP, form CostCenter_Check. Not sure if it's SAP standard code.
    Cheers.
    CHL

  • Report Painter- How to make cost center report for Jun07-Jul08 ?

    Hi Experts,
    I need to make a P&L (Actual/ Plan) report for Jun 07 - Jul 08 by using Report Painter, but I'm having difficulty to make column for the next year period (2008) and some other things.
    We are using K4 Fiscal Year Variant in ECC 6.0.
    The layout is somehow like this:
    Header : Cost Center
                 Actual/Plan Report
                 June 2007 to July 2008
    Body:
    Cost Element     |   Total Actual   |   Total Plan |  Actual  June | Plan June .................Actual July | Plan July    
    xxxx       
    xxxx
    Account Group (total)
    xxxx
    xxxx
    Account Group (total)
    Grand Total  
    How to:
    a. make the header "June 2007 to July 2008" ?
    b. make the selection screen to provide parameter for June 2007 to July 2008? (e.g.: period 6 fiscal year 2007 to period 7 fiscal year 2008)
    c. provide layout (rows and columns) as described above? it should provide detail cost elements and also calculate it as the total per account group, then finally the Grand Total for all of account groups. 
    Thank you before,
    -=Meila.S=-

    Hi,
    1. Put Year and Month as your General Selection parameters
    2. In the label of the fields, if you put the parameter name with & before, it will display the value
    3. If you put cost element in General selection, it will come with a group, and when you selecting the group, the report does the sub-totals automatically.
    Regards,
    Eli

  • How to get period date of for a given month from a given date in mdx for SSRS report (mm/dd/yyyy)

    I have a situation,  where i need to write expression Period to date(PTD). i want to know how to get the period date. i want you to help in writing Period date or else is there any function to get period date for a given date(the  date is given
    from the parameter dynamically) in MDX for SSRS report
    ram

    Hi ram,
    Per my understanding that you want to get the period date based on the month selected and the given date, right?
    Could you please provide details information below to help us better understanding your requirements, thus we will be more effective to provide an solution:
    What is the format of the period date you want to get, is this date in the DB and you want to filter it based on the month and the given Date?
    Did the month and given date are two parameters in the report? if possible, could you please provide some sample data in the DB and also the snapshot of the report structure
    I assume you want to get the period date(mm/dd/yyy) between the select month(e.g:Feb) and the given date (10/1/2014) and you should get the date between(02/01/2014-10/1/2014).
    If so,and you also have two parameter "Month","EndDate"(EndDate is the given date), please reference to details information below:
    You can create an new parameter "BeginDate" (Date/Time) which is the begin date of the period, you can use the expression to get the value based on the value of the month and the year value from the given date,finally hide this parameter:
    Specify the available value:
    Label:=Parameters!Month.Value &"/01/"& DatePart("yyyy",Parameters!EndDate.Value)
    Value:=CDate(=Parameters!Month.Value &"/01/"& DatePart("yyyy",Parameters!EndDate.Value))
    Specify the default Value:
    Value:=CDate(=Parameters!Month.Value &"/01/"& DatePart("yyyy",Parameters!EndDate.Value))
    Add filter to the dataset as below:
    Preview you will get all the date in the given Period:
    If you still have any problem, please feel free to ask.
    Regards
    Vicky Liu

  • Can anyone help me figure out how to get an online driver for base system device and mtp usb device?

    pavilion dv7 1245ca
    This question was solved.
    View Solution.

    Awesome. Thats a nice phone You didnt include what operating system you were using so I couldnt link you the actual download but here is the link to the download page for the SIII. All you need to do is find the correct operating system you are using.
    http://goo.gl/GZcLP
    Hope this helps!
    Sean
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • How to get last change timestamp for a crystal/webi and deski reports

    I am currently using LAST_UPDATED_TS from CI_INFOOBJECTS to determine the report has changed in structure like a new object was added to the report etc
    but this field gets updated everytime a report is refreshed though nothing has changed in the report
    is there any way to know that the report has changed in structure and not just refreshed.

    Hi Manoj,
    Correct, when you query the CMS database it will return the info for the object and not the source.
    In code you can use this for Crystal Reports:
    reportClientDocument.SummaryInfo.(  multiple values )
    This is the info saved with the RPT file, you can also use Windows File API's to get the same info.
    For WEBI and DESKI doc's it does not keep that info in the file system. You may want to look at the file system properties in the FRS to see if any info is kept as it is in RPT files but we ahve no API to get the info.
    Thank you
    Don

  • How can I search the stage for a given Movieclip and then add all instances of it to an Array? AS3

    I would like to Add multible instances of one Movieclip, (Library Name = Bats | instance name = none), inside of another Movieclip (instance name = back.visuals) // (By HAND) NOT by addChild(mc_name); // Easy
    If anyone could help me out with code to do the next steps:
    Search the Movieclip, (instance name = back.visuals), that contains the Movieclips, (Library Name = Bats | instance name = none), manually added to the stage by hand.
    Then for all instances of this movieclip (Library Name = Bats | instance name = none) add them to an Array.
    Thank You,
    Dyami

    I think we are having some missed communication. I do not wish to Change Flash's IDE or deveolp new features for flash. I was wondering if there was a way to do my question with AS3. something along the lines of :
    var enemyList:Array = new Array;
    for (var index:int = 0;index < back.visuals.numChildren;index++)
        var wall:MovieClip = back.visuals.getChildAt(index) as MovieClip;
    /* Check to see if wall is of a Specfic MovieClip */
    /* if (Above is True){ enemyList.push(wall) };

  • How to change cost center for employee

    Hi,
    I want the engineering groups to change to different cost centers for this new year.I was able to change the home cost center for a work center through IR02. But not able to change the home cost center assignment for specific personnel through PA30. SAP allows to enter the cost center but while saving it gives the error message as "Start date after initial entry date (01/01/2010)" when I used a 01/01/2011 start date and "Cost Center does not exist on 01/01/2010" when I used 01/01/2010 start date
    Could please tell how to change the cost center for the personnel?
    Thanks & Regards,
    Jegashree

    Hi Jegashree!
    The Cost Centre is always assigned in creating Position. So If you want to change Cost Centre, please using T-Code PPOME and find the position and change the Cost Centre.
    The another way, you use t-code PP01 (create) PP02 (edit) to change the relationship (IT 1001) and A-011.
    Hope you can solve it.
    Regards!
    Woody.

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

Maybe you are looking for

  • Hard drive problem...... Please Help

    Hard drive problems I am sure it is due to my error or mistake but I received a new Maxtor III touch as a replacement for my failed drive yesterday after connecting it I went to Maxtor one touch manager software that came with it and the drive did no

  • WebDynpro for ABAP Application in SAP-4.7 Version

    Hi, I am new to WebDynpro for ABAP. Can anyone tell me that Could I create any application of WebDynpro Application in SAP-4.7 version. Regards Dinesh.

  • Post Bank Charges as an AR invoice

    I would like to know if there is a standard process for the following A. Post Bank charges (eg. Wire transfer fees) for a vendor B. Create an AR invoice for the aforementioned charge C. Manual or automatic clearing of the AR invoice Regards, Basit

  • Reading Ascii file and display in Text

    I have a file containes ascii code, can i read in in a form of text using java, or i have to convert it to text? Any idea?

  • Why cant Soundtrack Pro be sold seperately?

    Hello, first time poster on the forum and i have a couple of questions on my mind. I'm getting a microphone w/pop filter, sound foam, and a mixer. I am thinking of buying Logic Pro 7 as my audio program, as well as soundtrack pro. The thing is, I can