Infotype 0027

Hi,
I have a question about infotype 0027. There are several cost center fields used for this infotype but in most of cases, not all cost center fields are used. My question is, normally is it sufficient to determine whether a cost center is used by simply determine whether the name of the cost center(fields KSTnn) is initial or we also need to determin by looking at whether the cost center percentage is 0. In other words, does that mean a cost center field is not used if and only if the corresponding percentage is 0?
Thanks a lot!
Regards,
Anyi

Hi,
I don;t have the answer, but why don';t you post this in the correct forum ERP HCM (HR)
regards, Rob

Similar Messages

  • How to use the next 'initial' cost center in infotype 0027

    Hello experts!
    I need some help in posting in infotype 0027 which should be fairly easy to most of you. As you guys know, there are a total of 25 cost centers available (KST01-KST25) for this infotype. What I want to do is check from KST01 if it exists with a valid entry at a specific date (BEGDA and ENDDA will be provided as well) all the way up to KST25 and choose the first cost center field that is INITIAL. This is used before 'BAPI_COSTCENTER_CREATEMULTIPLE' so that if KST01 up to KST05 all have values on the same BEGDA & ENDDA, how can I have KST06 chosen? Thanks in advance for your help!

    Hi,
       Write as below.
    data : p_0027 like pa0027 occurs 0 with header line.
    data : lv_KOSTL type KOSTL.
    data : lv_index(2) type n.
    data : lv_cost(12).
    field-symbols : <lv_kostl> type any.
    select single * from pa0027 into p_0027.
    do 25 times
          varying lv_KOSTL from p_0027-KST01 next p_0027-KST02.
      lv_index = lv_index + 1.
      IF lv_KOSTL is initial.
        concatenate 'KST' lv_index into lv_cost.
        exit.
      endif.
    enddo.
    assign  component lv_cost of structure p_0027 to <lv_kostl>.
    IF sy-subrc = 0.
    <lv_kostl> = '100'.    " <-- Assign any value here
    ENDIF.
    Regards,
    Srini.

  • Table used by Infotype 0027 - Cost Distribution

    HI,
    I need to know which tables does infotype 0027use. I want to get the Cost center(s) for each person stored in infotype 0027, but I don't konw in which table is this data stored.
    Thanks,

    Hi Fernando,
    Have you checked database table PA0027.
    All HR PA infotypes nnnn have a database table PAnnnn.
    Regards,
    Aditya

  • Cost Distribution - Infotype 0027  and 1018 cost distri in OM

    Hi All,
    Whats the difference in functionality between assigning cost center in
    "Cost Distribution - Infotype 0027  and 1018 cost distri in OM"
    One in employee leven and 2nd in position level, but the concept is same i think,
    Also if we assign cost center in department wise, can we identify the cost in individual employee level?
    help
    Rx

    Hi Rx,
    There is no difference.
    The system reads cost data by following path:
    1. read IT 0027
    2. if not found in IT 0027, read IT 1018
    3. if not fount in IT 1018, read IT 0001
    So, yes it is possible to overwrite IT 1018 via IT 0027.
    Cheers!

  • Create/enable field prznr in infotype (0027)

    Dear experts, I would like your help in this case:
    I need to enable (create) field in infotype (0027) Apportionment of costs Unfortunately this field is not showed up in the structure and vision in the table Q588M. Need to know how can I create / enable field PRZNR business process iin this infotype - 0027
    Thank you

    Hi..
    If u want to create new field then u can modify the infotype by using PM01.. and there u can write the field whatever you want in CI_Include...
    This is the best solution I feel..
    Regards,
    Rahul Gupta.

  • Average Headcount for Cost Center using Infotype 0027

    Hi everybody,
    has any of you experience  calculating an average headcount for cost center using the information of infotype 0027.
    As far as I know the infosources por PA-PA does take into account the infotype 0027 and the employee is just count for the master cost center.
    I can not find the way to split the employee in different cost centers.
    Any help will be very useful.
    Thanks a lot.
    Cristóbal.

    Remi,,, hi many thanks!! It worked out well!!!
    Many thanks as always,,,,

  • Infotype records of infotype 0027 can not be edited.

    Dear experts,
    I have the following problem:
    I can not edit infotype records of infotype 0027. If I delete a row, the message "no change found" is displayed. I press the "save" button but when I display the record again, the row has not been deleted.
    Thank you in advance,
    Vana Sounta

    Hi Vana,
    I assume you are using wrong dynpro (2100) instead of 2500 for MP002700. So please check first in T582A for IT0027, if
    you have maintained 2500 as single screen then make sure that in table T588M you are using module pool MP002700 with screen 2500.  Hope it helps,
    Kind Regards
    Christine

  • Add Infotype 0027 To Pa70

    Hi Every Body,
    Please I would like to know
    how could I add the cost distribution "info Type 0027" to the fast entry menu "Pa70"
    Kind Regards,
    Darweesh

  • HR read infotype

    Hi friends
    I have to read recent (last) record from the following HR tables/infotypes. Shall I use RP_PROVIDE_FROM_LAST macro? Is there any other other good way to read data? Please give me some sample code. I will appreciate ur great help.
    PA0001
    PA0002
    PA0006
    PA0008
    PA0041
    HRP1001
    HRP1015
    Thanks in advance
    Hari

    Hello Hari
    The following coding shows you how to read any infotype (even simultaneously) for an employee.
    METHOD get_infotype_0027 .
    * define local data
      DATA:
        lif_employee      type if_pt_employee,
        lt_infotypes      TYPE tim_tmw_itlist_tab,
        lo_control        TYPE REF TO if_pt_td_control,
        lo_data           TYPE REF TO if_pt_td_base,
        lo_pnnnn          TYPE REF TO if_pt_td_itnnnn,
        ls_p0027          TYPE p0027.
    * Create employee instance
      lif_employee = cl_pt_employee=>get_employee( p_pernr ).
    * Append all required infotypes to itab
      APPEND '0027' TO lt_infotypes.
      CALL METHOD lif_employee->get_infotypes
        EXPORTING
          i_itlist      = lt_infotypes
          i_fromdate    = id_fromdate
          i_todate      = id_todate
    *      I_FILTER      =
          i_noauthcheck = 'X'
        IMPORTING
          e_result      = me->mt_infty_request
          e_retcd       = me->md_retcd.
    * Please see documentation of parameter e_retcd...
      LOOP AT me->mt_infty_request INTO lo_control.
        lo_data = lo_control->data.  " get data object
    *   Casting
        TRY.
            lo_pnnnn ?= lo_data.
          CATCH cx_sy_move_cast_error.
            CONTINUE.
        ENDTRY.
    *   Convert infotype (semi-transparent -> transparent)
        CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
          EXPORTING
            prelp = lo_pnnnn->prelp
          IMPORTING
            pnnnn = ls_p0027.
        APPEND ls_p0027 TO rt_p0027.
      ENDLOOP.
    * Store infotype 0027 data
      me->mt_p0027 = rt_p0027.
    ENDMETHOD.
    Unfortunately, I do not have a similar solution for the HRP... tables.
    Regards
       Uwe

  • How to Enable Cost Center Field in Infotype 0001

    Dear all my Friends,
    Can anybody please tell me that how to Enable Cost Center Field in Infotype 0001, actually the problem is while hiring the employee the field itself disable and not allowing me to put any CC on that field but which should be enable while hiring or if we intend to change in future through PA30 and after that i thought i can do in Infotype 0027 also but in infotype 27 the field called Master Cost Center field is still disabled which will reflect in 0001 or Vice Versa.
    So friends pls tell me where my configuration is wrong or how will i get enable that field in 0001 infotype so that i calculated the cost of that employee.
    Waiting for ur Reply friends,
    Thanks,
    Prashant.

    Dear Rajesh,
    Thanx for ur Solution and i got the answer, actually i m maintaining through OM and u gave me the exact solution .
    Gr8 job dear. Thanx allot once again
    Thanks,
    Prashant.

  • Custom HR Infotype.

    Hi ,
    I need to copy exiting Infotype 0027 to 9027. Can I use PM01 to cpy that or there is some other way do accomplish
    Thanks.
    Lakhbir

    H Suresh,
    I am confused. Let me tell what I asked to do.
    Have to create copy of 0027 (Cost distribution) to Custom infotype 9004.
    Now When I tried to copy Copy Infoype.. it inly generates Module pool program .
    Please if possible provide me steps..I am doing this for the firt time .. No idea about HR
    Thank sin Advance

  • Updating infotype 1018 automatically

    Is it possible to update automatically infotype 1018 for position after creating a record on employee's infotype 0027?

    it will not update IT1018 but if you maintain IT 27 then while posting to FI system will take the cost element from IT27.
    the value of IT27 will overwrite the value of IT1018 while posting to FI.
    It is bettter to maintain either one place.

  • POV in infotype

    Hi,
    I have created one custom infotype, i need to populate date into one field based on another field value, i have wrote POV for that, but its not triggering when value is selected in first field, i have attached f4 help in the first field. Pls help me to sort this out.
    Regards,
    Baiju

    I  tried FM 'HR_INFOTYPE_OPERATION for infotype 27.
    how does cost center and internal orders gets uploaded from this FM?
    does it work for multiple cost center & internal orders?
    i tried this fm using the below code but nothing happenned...Kindly guide me.
    infotypes : 0027.
    tables : pernr.
    data: return type bapiret1.
    start-of-selection.
    get pernr.
    rp-provide-from-last p0027 space sy-datum sy-datum.
    *locks the personnel
    call function 'HR_EMPLOYEE_ENQUEUE'
    exporting
    number = p0027-pernr
    importing
    return = return.
    if pernr-pernr = 75.
    call function 'HR_INFOTYPE_OPERATION'
    exporting
    infty = '0027'
    number = 75
    subtype = p0027-subty
    objectid = p0027-objps
    recordnumber = p0027-seqnr
    validityend = p0027-endda
    validitybegin = p0027-begda
    record = p0027
    operation = 'MOD'
    *tclas = ''
    *nocommit = ' '
    importing
    return = return.
    endif.
    *unlocks the employee
    if sy-subrc = 0.
    write : '27 Updated' .
    endif.
    call function 'HR_EMPLOYEE_DEQUEUE'
    exporting
    number = p0027-pernr
    importing
    return = return.
    end-of-selection.
    Edited by: Rachel on May 14, 2009 1:49 PM

  • Infotype 27 (Moved from ABAP Programming)

    Hi,
    I have a question about infotype 0027. There are several cost center fields used for this infotype but in most of cases, not all cost center fields are used. My question is, normally is it sufficient to determine whether a cost center is used by simply determine whether the name of the cost center(fields KSTnn) is initial or we also need to determin by looking at whether the cost center percentage is 0. In other words, does that mean a cost center field is not used if and only if the corresponding percentage is 0?
    Thanks a lot!
    Regards,
    Anyi

    Yes, a cost center field is not used if and only if the corresponding percentage is 0.
    If the total sum of distributed costs is less than 100%, the <u><b>Master Cost Center</b></u> of the employee is debited for the outstanding amount.
    Thanks

  • Error while posting

    Hi experts,
         I have one person with the cost center X in company code 2611, now I want the person to account to another cost center Y  in company code 2612.  So  in infotype 0027, I assign the cost center Y to the person.
        But when simulating posting I get the following error details,
    Required field GL_ACCOUNT was not transferred in parameter ACCOUNTGL
    Message no. RW602
    Diagnosis
    Field GL_ACCOUNT is required in parameter ACCOUNTGL for processing the document. The document is incomplete without this field.
    System Response
    The document cannot be processed.
    Procedure
    Enter a valid value in field GL_ACCOUNT in parameter ACCOUNTGL.
       Can anyone please help me.

    Guru,
    GL's are created at Company Level
    The current GL may not been assigned to new Company Code 2612, thats the reason the account is not been identified.
    Please ask your FI Consultant to extend the GL to new company code.
    Regards,
    ...Sadhu

Maybe you are looking for