FM for read cost center distribution infotype 1018

Hi Gurus,
Can anybody provide FM for read OM Infotype 1018 - cost center distribution.
Note : Requirement is get cost centers which are maintained in 1018 as POSITION based.
Regards,
Ranjith

Hi Ranjith,
Read a infotype record via  RH_READ_INFTY_NNNN
then use RH_READ_INFTY_TABDATA to read additional data.
Best,
Sergey

Similar Messages

  • Get Name for CO Cost Center Group and BGD Processing

    Hi,
    I use these function modules to get the cost center group nodes in the CO hierarchy.
    If I pass it a value that is in two controlling areas
    if prompts another screen to pick which controlling area we want to look in.  My problem is when I try to run this report in the background it gets hung up on this screen waiting for input. any ideas on how to get around this.
    here is the reference code.
    thanks
    Please note that the following logic is parts of SAP example report
    RGSEX001.
    Get the internal Set-ID from the external name of the set
    Selection of sets can be restricted to a specific set class or
    to sets matching a specific table field.
    See documentation of function module G_SET_GET_ID_FROM_NAME
    If the set class, subclass and setname is known, function module
    G_SET_ENCRYPT_SETID should be used alternatively (see RGSEX020)
        CALL FUNCTION 'G_SET_GET_ID_FROM_NAME'
             EXPORTING
                  shortname = w_set
                  old_setid = w_setid
             IMPORTING
                  new_setid = w_setid.
    Read the complete hierarchy (set and all subsets)
        CALL FUNCTION 'G_SET_TREE_IMPORT'
             EXPORTING
                  setid              = w_setid  "Set-ID, not the Setname!!!
                  no_table_buffering = ' '
             TABLES
                  set_hierarchy      = it_hierarchy
                  set_values         = it_values.

    Hi!
    For reading cost center hierarchy you can try K_HIERARCHY_TABLES_READ.
    It returns near the same info as one you've mentioned, works well for single controlling area and I hope in case of ambiguity it will raise one of exceptions provided. Give it try.
    Regards,
    Maxim.

  • Using the tcode:S_ALR_87013611, no report data  for the cost center

    Hi,Friends.I need a help.
    In the tcode FB60,i entered the following data and then posted the vendor inovice sucessfully.
    data:
    ( Note: G/L acct:55020141 is also a primary cost element)
    In the tcode:S_ALR_87013611,I entered the following data and executed.
    but the result is:{Report contains no data. Check the selection log}.
    data: { Controlling Area: C999, Fiscal Year: 2010, From Period:1, To Period:12,Plan Version:0,
            Or value(s):2001}
    (Note: Cost center:2001 belongs to Controlling Area: C999) 
    please tell me how to do,so that using the tcode:S_ALR_87013611, I can see the report data  for
    the cost center 2001.
    sincerely                      WenYao Ma
    Edited by: wenyao ma on Mar 22, 2010 1:09 PM

    thank you,friends.
    I just solved it.
    Solution:
    1) Maintain Controlling Area
       path:spro>Controlling>Organization>Maintian Controlling Area>Maintain Controlling Area.   tcode:OKKP
    In the {Activate components/control indicators}cost center should be 'component active'
    2) Maintain Number Ranges for Controlling Documents
       path:spro>Controlling>Organization-->Maintain Number Ranges for Controlling Documents.   tcode:KANK
      Element { COIN CO Through-postings from FI} should be assigned to one group.

  • No accounting document created for distributed cost center and asset

    Hi experts,
    Why there is no accounting document created during GR for distibuted cost center and asset?
    Thanks

    Sorry guys, there's nothing to do with the config of the account assignment. The postings are ok for single cost center or single asset. SAP system message (info messsage) " Goods receipt for distributed cost center will be non valuated" are given when you are trying to unticked the GR non valuated.
    If someone could explain what is the logic behind that behavior.
    Thanks again.

  • Functional Area derivation as obligatory checkbox in Cost Center distribution cycle?

    Dear All,
    We are using Cost of Sales accounting with FI-CO online integration. Derivation of Functional Area for Cost Center assessment cycles is an obligatory indicator. Nevertheless I may create Cos Center distribution cycles without this option (what affects FI-CO online integration). Can anybody explain a system logic behind it?
    Can I set Functional Area derivation as an obligatory checkbox for Cost Center distribution cycles too?
    Bartlomiej Seidel

    Hi,
    I have searched for any useful note, but without result so far. The point is that any new distribution or assessment cycle (cost centers) in our company must work with Functional Area derivation (than FI-CO online integration works correctly). With our current SAP setup I must select this indicator for every assessment cycle - it is obligatory. But is not obligatory for distribution cycles - and I don't know why?
    I would like to protect everybody from crating distribution cycles without FA derivation indicator (like it works now for assessment cycles).  How may I do it?
    Bart

  • Reserve stock for a cost center & don't allow issue to another cost centre?

    Dear Experts,
    How to reserve stock for a cost center & don't allow issue to another cost centre?
    Stock is reserved by creating reservation by MB21 for one cost centre e.g.CC1.
    We want to restrict this stock for the same cost center CC1 only.
    But when tried to issue stock to another cost center CC2, system allowed to post goods issue document.
    System should not allow for goods issue of this stock to another cost center other than CC1.
    How to make it.......please suggest.

    I have checked
    SPRO MM -- Inventory Management and Physical Inventory -- Reservation -- Maintain Copy Rules for Reference Documents
    This is for reference document data copying.
    Do you mean to say SPRO MM -- Inventory Management and Physical Inventory -- Reservation -- Set Dynamic Availability Check
    Here for mvmt type 201 - valuation update - qty update - no special stock - Goods mvmt w/o reference - A (Dynamic Avl. chk) is the setting.
    But system is not issuing the any message while issuing reserved stock to another cost center.
    Please suggest...

  • Cost Center Distribution in Plan

    Hi All,
    I am looking for a solution how I can do a (plan) allocation for cost centers? In the standard I can only create distribution rules and run a overhead distribution for the actual data.
    Kind regards,
    Wolfgang

    Hi Andreas,
    we have several distribution rules. E.G.
    distribute cost center 1 to cc2 (20%), cc3 (40%), cc4 (40%) and
    distribute cost center 5 to cc2 (30%), cc6 (50%), cc7 (20%) ….
    We want to use this rules for our cost center planning. This reason ist that we only plan our primary cost. The secondary cost should than be planned by using the distribution rules. This means that after planing our cost center we want to distribute the values of some cc to other cc. Because only if we are doing this we can than use our cc-planing for comparison of plan and actual data.
    As far as I know is the use of the distibution rules not possible in the planning.
    Best regards,
    Wolfgang

  • Restrict the result of the transactions FI(FBL3n or FB03) for a cost center

    Hi,
    How can I restrict the accounts the user can choose the transaction fbl3n? I need only restrict salario account(411100) for some users. If it is not possible, can I restrict the result (lines) by cost center?
    In FB03 can I restrict the result (lines) for a cost center or account?
    I used the transaction su24 to see objects that are verified in fbl3n and fb03, but no limited by account or the cost center. By Trace (ST01) saw that only objects F_BKPF_BUK, F_SKA1_BUK and F_BKPF_KOA are verified. Unfortunately these objects only block per company or type of account.

    Hi Manoel,
    You need to get one of your FI team to add an authorisation group to the salary GL account.
    If there is no auth group assigned to an account, the check will not be performed against it and it won't show in the trace.
    Once that auth group is added to the account, every time someone tries to access that account, there will be a check on auth object F_BKPF_BES for the value that has been put against that account (F_SKA1_BES should also be restricted from memory).
    In standard SAP Financial accounting (FI) and management accounting (CO) do not share a common auth concept (though New G/L tries to address this) and without extensive customisation, trying to restrict FI stuff on controlling data (cctr/prctr) is usually not possible.

  • 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

  • Inspection lot for a cost center purchase

    Hello ,
    After the results recording , it is not possible to go any good movement in the UD screen . Why SAP is not recommending one more goods movement for a cost center purchase ?
    Thanks for your help
    JN

    Hi
    Stock posting screen is for MRP type of PO's.When it comes to cost center like K then it will affect the UD screen as cost center should flow from PO & some one who is taking UD should not able to change it,As it is not under quality perview.It is part & parsal of MM.
    Now When you reject such now RD takes place.wHAT YOU CAN DO IS ,REVERSE THE MATERIAL DOCUMENT.This can be done by MBST or MB01 or MIGO.This will reverse & you can again do Migo.
    This route is followed by samp as consumption immediatly takes place after GR is created.Then why you reject material when already comsumed.??
    Regards
    Sujit

  • Best practice for reclassifying Cost Center/Element

    Dear experts,
    Currently the company I'm working for are using SA document (FB50) if there are mistakes when posting cost to Cost Center, they will DR New Cost Center and CR Old Cost Center.
    However, it is seem a bit difficult to trace the changes later on. Hence, I would like to ask for opinions on what is the best practice for reclassifying cost center or cost element.
    Right now, I'm planning to propose of using KB11N to reclassify cost center. Is this a good practice and easy to trace the cost movement? Is there any different with normal journal adjustment via FB50 and KB11N?
    Need some advices from experts.

    Hi:
            Both options are viable. If you reverse posting in FB50 then FI GL account postings will also be reversed and along with cost center postings. Hence here advantage is that cost center reversal will be with referenced to the original document with which wrong posting were made. Disadvantage here is that you will to post the entry again in FB50 . In KB11N you will simply transfer cost center amount from wrong to new one that should be in place of it but here you will have no reference . I personally think reversing posting through FB50 is viable options , reverse postings can be seen in KSB1 as well against that cost center.
    Regards

  • What is the T-Code for creating Cost center - profit center standard hierar

    Hi,
    What is the T-Code for creating Cost center - profit center standard hierarchy.Please provide me the T-codes.
    Thanks

    Hi Supriya,
    Create / Change Cost Center Standard Hierarchy - OKEON
    Display Cost Center Standard Hierarchy - OKENN
    Create Profit Center Standard Hierarchy - KCH1
    Change Profit Center Standard Hierarchy - KCH5N
    Display Profit Center Standard Hierarchy - KCH6N
    Srikanth Munnaluri

  • Effect of Cost Center Distribution in COPA

    Hi,
    We are running the cost center distribution to transfer the cost from one cost center to another cost center.It is creating the controlling document but in COPA  reports the cost is not getting transfered from one cost center to another. How can we transfer the cost from  one cost center to another with the subsequent effect in COPA.
    Thanks
    Ariel

    Hi Ariel,
    when you refer to the cost center in COPA, are you talking about the field "sender cost center"?
    That field shows the costs center that the costs came from when they were transferred from cost center to COPA through an assessment cycle (KEU5). When you transfer costs from one cost center to another AFTER running the assessment cycles in KEU5, then that transfer cannot have any effect on COPA. You would have to first transfer from one cost center to the other and THEN run the COPA assessment in KEU5.
    I hope I have understood your question correctly
    Nikolas

  • Download  for the cost center hierarchy

    I would like to help me I need to do is download a program for the cost center hierarchy, but not if there is a function that you do this?

    Go to transaction KSH3 (Cost Center Group) and enter your top node and press enter.
    Place your cursor on the top node in the list and take the menu path:
    Extras -> Export
    Click on Presentation server, enter a file name and press the enter button.
    Rob

  • How to find org id for a cost center

    I want to find org id for a cost center which is segment1.segment2.segment4.segment6(le.div.acctclass.other-516.203897.343.8978) of gl_code_combinations table from database. When I log on to a responsibility in apps, I can find out org id as a profile value. But how to find it from a database for that cost center?

    Thanks Nagamohan. This functionality itself is working fine. But now when I am selecting the cost center from the table(the file is actually stored as an external table), lets say cc values are 010, 709, 840 each belongs to different responsibility, I get the value of the first responsibility initialized. So I think I will need to know the responsibility for each costcenter, pass resp id to initialize and then find out org id.
    This is my code:
    create or replace
    PROCEDURE XXIU_AA_COSTCTR_FILE
    p_file_path VARCHAR2,
    P_FILE_NAME VARCHAR2)
    AS
    c_file_handle_w UTL_FILE.FILE_TYPE;
    --end_of_file BOOLEAN := FALSE;
    v_record VARCHAR2(1000);
    V_ORG_ID VARCHAR2(3):= '123';
    v_le varchar2(3);
    CURSOR C_COSTCTR IS
    SELECT cost_center_no, cost_center_name, LEVEL1 LE, LEVEL2 DIVISION, LEVEL3 ACCT_CLASS, STATUS, INTERCOMPANY_LE
    FROM XXIU_AA_COSTCENTERS; {color:#993300}-- file stored as external table
    {color}
    BEGIN
    c_file_handle_w := UTL_FILE.FOPEN(p_file_path, p_file_name, 'w');
    FOR r in (select responsibility_id from fnd_responsibility where responsibility_id in ( 50001,50002,50822)) {color:#993300}--{color} {color:#993300}I have to find out resp id for each cost center in the loop to initialize apps for that cost center and get org id
    {color}loop
    fnd_global.apps_initialize(1234,r.responsibility_id,101);
    FOR i in c_costctr loop
    SELECT d.organization_id org_id, e.flex_value cost_center into v_org_id, v_le
    FROM fnd_segment_attribute_values a, fnd_id_flex_segments b, gl_sets_of_books c, hr_operating_units d, fnd_flex_values e
    WHERE a.id_flex_code = 'GL#'
    AND a.segment_attribute_type = 'FA_COST_CTR'
    AND b.flex_value_set_id = 1002590
    AND a.id_flex_code = b.id_flex_code
    AND a.attribute_value = 'Y'
    AND a.application_id = b.application_id
    AND a.id_flex_num = b.id_flex_num
    AND b.id_flex_num = c.chart_of_accounts_id
    AND c.set_of_books_id = d.set_of_books_id
    AND b.flex_value_set_id = e.flex_value_set_id
    AND e.flex_value = i.le
    and d.organization_id=fnd_profile.value('ORG_ID')
    and c.set_of_books_Id=fnd_profile.value('GL_SET_OF_BKS_ID')
    and is_valid_on_security_rules(1002590,i.le)='T';
    V_RECORD := RPAD(nvl(i.cost_center_no,' '),19, ' ')
    || RPAD(nvl(i.cost_center_name, ' '),100,' ')
    || RPAD(nvl(i.le, ' '),3, ' ')
    || RPAD(nvl(i.division, ' '), 6, ' ')
    || RPAD(nvl(i.acct_class, ' '), 6, ' ')
    || nvl(SUBSTR(i.STATUS,1,1), ' ')
    || RPAD(NVL(V_ORG_ID,' '),3,' ')
    || RPAD(NVL(i.intercompany_le, ' '),3,' ');
    dbms_output.put_line(v_record);
    utl_file.PUT_line(c_file_handle_w, v_record);
    end loop;
    end loop;
    END XXIU_AA_COSTCTR_FILE;
    Thanks,
    Sravanthi
    Edited by: SRANAY on Dec 6, 2008 8:49 PM

Maybe you are looking for

  • Selecting a set of rows in an Interactive Report

    Hi, What I want to achieve is when a row is clicked in an interactive report that row (via a Primary Key/ROWID) is added to a list of IDs to be edited in one go, I will probably use a collection for this, although a colon delimited list might be quic

  • RFC Sender : Mapping Issue

    Hello guys : need some info as i am using the following scenario RFC>xi> file ; In this case, for mapping purpose what souce msg i should use : RFC Request msg / RFC Response msg as i see in imported objects. as i know that RFC is called in R/3 it wi

  • Jittery videos in iPhoto '11

    1080p videos taken with my Canon PowerShot 230HS are jittery when played in iPhoto. If I copy the video from iPhoto to the desktop and play in Quicktime or VLC they play fine. I am using a 2.1 GHz Intel Core 2 Duo MacBook, 4 GB RAM, 7200 RPM 320 GB H

  • Depreciation run prior to transfer date

    Dear Friends, My client has gone live on 1st dec 2009 on sap. We have uploaded the asset with accumulated depreciation for the same. We maintained the transfer date 30.11.2009 in system Hence system calculated the depreciation from 1st Dec 2009. Up t

  • Need help on OCI_NONBLOCKING_MODE

    Hello all, I set the server handle in OCI_NONBLOCKING_MODE. When I ran OCIStmtExecute, I start checking the status returned by OCIStmtExecute, After around 50 loops of checking, OCIStmtExecute returned OCI_SUCCESS instead of OCIStmtExecute. I used OC