Reg PS module cost element?

hi
in PS module how to get cost element based on type of labour ?
any one let me know tables pls
thanks & regards
kavi

Hi,
Can you please give more details to make the requirement clearer.
In case by 'Labour type' you are referring to a particular value category, then you can see the relation of value category to the cost elements in table TPIK3.

Similar Messages

  • Table or Function module to get Internal order planning and Cost element pl

    Dear All,
    Table or Function module to get Internal order planning and Cost element planning.
    Internal order planning from T-code KO13.
    Thanks in advance.
    Regards,
    Ravi
    Edited by: Ravi Chandra on Sep 13, 2011 8:08 AM

    BPEJ, BPEG, BPEP

  • Function module to find cost elements in a cost element group?

    Can any one please help me find all the cost elements in a cost element group?
    Regards,
    ABAPer

    hi,
    Look at table SETHEADER. For Cost Center Groups, use SETCLASS = '0101'; for Order Groups, use SETCLASS = '0103'.
    <b>cost center
    BAPI_COSTCENTERGROUP_GETDETAIL
    the return structure HIERARCHYVALUES will hold all children cost centers.
    cost elements.
    BAPI_COSTELEMENTGRP_GETDETAIL</b>
    rgds
    anver
    Message was edited by: Anversha s

  • Cost element in FRL in obyc

    hi all
    we have created external service account as cost element and that is mentioned iin transaction key FRL in obyc
    so whenever i am doing the GR for subcontracting posting system will debit the FRL account and will credit the  GR/IR account 
    so at the time of Gr system is asking for the co object now thing is that i cant mention the Cost center there as there is no option in migo for that
    my query is do we have to create a new account for FRL and that we should not make up as a cost element  but then how we are going to pass the expense entry to controlling  module from FI
    i

    Hi,
    There is always an alternative way of defaulting Cost Center for one cost element.You can put default cost center at Cost Element master data. But still I believe , you can solve this problem thru OKB9. Try accessing the tab Default Account Assignment per business area/Valuation area. This tab allows you within one company code and for specific Cost element , to put accross different cost center for different plan/valuation area provided you are working with plant as valuation area concept.
    Pls check and let me know
    Cheers
    Rahul

  • CO - Cost of Goods Sold as a cost element?

    Hi,
    I've been creating primary cost elements for cost and revenues accounts.
    I have already created cost elements for revenues, but I have some doubts about an account Cost of Goods Sold. Do I have to make cost element for it?
    SD module is being implemented and revenues and cost of goods sold will be posted on SD orders.
    CO-PA will not be used.
    What is the best solution? Should I create cost elements for Cost of goods sold Account and if YES, which cost element type should I choose (1 or 11?)
    Best wishes,
    Karol

    Thank you very much! Your answer solved my problem.
    I have one more question about profit centers assignment to material master.
    I have divided my profit center hierarchy in such a way - that I could easily prepare a COS profit and loss statement using them. Basically I have such profit centers like:
    - Profit on sale of Goods
    - Profit on sale of Materials
    - Profit on sale of Service
    - Costs of Production
    - Other costs of sales
    - Costs of Administration
    As you can see I didn't reflect in this hierarchy an organization structure.
    I was wondering which profit center could be used for Material master assignment.
    I know that for sales order there has to be assigned one of:
    - Profit on sale of Goods
    - Profit on sale of Materials
    - Profit on sale of Service
    But I don't know whether it is OK to use them for materials master assignment. Can you suggest me some solution? I think that there should be different profit centers for goods and different profit centers for materials.

  • COPA derivation for thecombination of Cost center and Cost element/GL accou

    Hi Gurus,
    In COPA derivation using KEDR i am trying to make a derivation for the
    combination of Cost center and Cost element. Here i got following problems
    • While posting FI document using t.code FB50 system not automatically
    updating the fields Cost center and cost element in Profitability
    segment. Hence system not posting COPA document. How can i make this
    derivation? Is there any note should i apply regarding these.
    • How can i create cost element as characteristic.
    • If i configure derivation for the combination of Cost center and cost
    element will it be posted with copa document for postings or automatic
    postings from MM,HR and FI
    Pls provide me solution at the earliest.
    Thanks and Best regards,
    Dhanumjaya.Ranga
    Mobile: - 919940093579
    Mail : [email protected]

    Hi Murali
    Thanks for update
    I explain my req clearly
    For me segment is Distribution channel field (EXPORT and DOMESTIC)
    If GL account is 1000-2000     always                      Export
    If GL account is 2001-3000    and Cost center is     X then Export.
    If GL account is 2001-3000    and Cost center is     Y then Domestic.
    Based on above REQ i am making derivation using KEDR T.code.
    These postings should work for all modules postings such as MM, HR also.
    Actually this should work automatically and after saving the transaction we should have copa document also.
    But problem is in source fields of derivation we have GL account (HKONT) and Cost element (KSTAR). I am making derivation using either of these.
    But after posting document system not giving COPA document.
    I found the reason is  at GL postings we are giving input to GL account (HKONT) but we took in KEDR source field as GL account (SAKNR). GL account (HKONT) is not updating GL account (SAKNR) field in PSEG screen in Fb50. Even i try with cost element (KSTAR), GL account (HKONT) is not updating this in PSEG screen in fb50.
    If GL account (HKONT) updates either GL account (SAKNR) or cost element (KSTAR) at the time of posting FB50
    Or
    If we have the field GL account (HKONT) as source field in KEDR i hope my problem
    Get solved.
    If you want further info pls give me your mobile number then i ll call you

  • Cost element report with cost object name column

    Hi,
    i'm looking for a report similar to S_ALR_87013601: Cost Elements: Breakdown by Object Type, but including a column with the cost object name. Does anyone know if such a report exists? If it doesn't exist, how can i create a report like this?
    Some of my company costs are assigned to cost centers and some of them are assigned to wbs elements. We would like a report where we could have all the information together.
    Thank you very much

    Hi Xavi ,
    Some of my company costs are assigned to cost centers and some of them are assigned to wbs elements. We would like a report where we could have all the information together.=>
    There is not standard report available..  which will display total cost per company code.. i,e cost booked on cost centers, internal order and WBS elements ... This is becuse each modules store data in seperate tables.
    You have to create a ABAP report to serve your pourpose. You have to collate all the costs booked in a company code for cost centers, IO and WBS elements . Pick up real costs only as per company code..
    We are using such custom report and its working fine.
    Regards
    Sarada

  • CSKA & CSKB Tables -Cost Element+ Controlling Area, Cost Element Category

    I have few questions on Chart Of Accounts and Controlling Areas and CSKA(Cost elements (data dependent on chart of accounts)) and CSKB (Cost elements (data dependent on controlling area)) Tables--
    1) One Chart Of Accounts has one or more Controlling Areas. Is there any situation where One Controlling Area contains many Chart Of Accounts.
    2) CSKA Table contains all the Cost Elements under the Chart Of Accounts. So does all these Cost Elements appear under CSKB Table. Are there any Cost Elements which doesn't fall under any of the Controlling Area and only exists under Chart Of Accounts Level in CSKA Table.
    3) In CSKB Table How do we know the corresponding Chart Of Accounts for the Cost Element.
    4) In CSKB Table Cost Element Category depends on both Cost Element and Controlling Area. So does a Cost Element can be Primary Cost Element for one Controlling Area which happens to be GL Account and Secondary Cost Element for some controlling Areas.
    5) Are there any Company Codes under the Chart Of Accounts which doesn't belong to any of the Controlling Area and doesn't have any Cost Elements.

    Hi,
    1) One Chart Of Accounts has one or more Controlling Areas. Is there any situation where One Controlling Area contains many Chart Of Accounts. Never
    One controlling area can be assigned to many company codes, but all must have been assigned to the same chart of accounts only. This is the pre requisite for the so called cross company controlling
    2) CSKA Table contains all the Cost Elements under the Chart Of Accounts. So does all these Cost Elements appear under CSKB Table. Are there any Cost Elements which doesn't fall under any of the Controlling Area and only exists under Chart Of Accounts Level in CSKA Table.
    If some data exists in CSKA table, it mean that, it must have been created as a CE in any of the controlling area
    3) In CSKB Table How do we know the corresponding Chart Of Accounts for the Cost Element.
    In CSKB, you wont get the correspondant COA for the given controlling area. If you want to know it pass field value CSKB-KOKRS to table field TKA01-KTOPL to get the assigned COA
    4) In CSKB Table Cost Element Category depends on both Cost Element and Controlling Area. So does a Cost Element can be Primary Cost Element for one Controlling Area which happens to be GL Account and Secondary Cost Element for some controlling Areas.
    You cannot create a secondary cost elemant using a key matching with an GL code in cross company controlling. In case of both company codes assigned to different controlling areas this can be possible
    5) Are there any Company Codes under the Chart Of Accounts which doesn't belong to any of the Controlling Area and doesn't have any Cost Elements.
    Only In case of CO module is not active for the a company code
    Note: If you have more queries, post it separately rather than asking all in one thread. and be specific with your requirement with the actual scenario.
    Thanks,
    Srinu

  • Regarding Cost Element Group

    Hi all,
    I have following scenario.
    I have account number and i want to find out it's cost element group.
    In t-code KAH3 when i enter cost element group i get all the account number in that group.
    But the problem is that i have account number and i want to find out in which cost element group this
    account number belongs.
    Is there is any fuction module from which i can get cost element group from account number or from which table i can fetch cost element group depending upon the account number.
    Thanks in advance.
      sachin

    Hi Sachin ,
    I dont think there is any way to see cost center group from cost center because we never assign any cost center to a particular group in the masters.
    If you want to see the cost center groups and cost center hierarchy the go to tcode-OKEON
    Regards
    Deepa

  • Intractive alv report while adding coloums of cost element of G/L account

    Hi guys,
    i have a proble with interactive alv report.
    i did all the things. its working fine also.  now they r asking me to add some coloums
    which are from COSP-KSTAR this is cost element.
    i need to ristrict perticular cost element according to the company code and fiscal year.
    i don't know how we can take the cost elements and how to pass them.
    plz any of u help me to come out of this problem.
    Thanks & Regards,
    Lakshmi..

    so   ,  write   a   select   query to  table   cosp   in to it_cospt   internal table  .
    where  condition   
    WRTTP
    VERSN
    GJAHR .
    the  above   should   hard coded the  data   by asking the   Function consultant   like  version  &   value type   .,
    then    loop at   your   final  internal table    .
    read table   of   it_cospt   where   gjahr  =  gjahr 
    IF   final-KOSTL  CA   it_cospt-OBJNR .  for Costcenter  validate
    because  it stores the  Costcenter  only in the   COSP-OBJNR   , IF you check table data in BSEG  and  COSP  , even AUFNR ( Internal order )  also  to the same  field . so that   the   cost center  gets validated   in the  if  condition   ,   for your information  if they ask   you costelement  then  it  include  internal  order also  if  you want   ask question to  you FI consultant   about   cost center  and  Internal order difference ***************
    <b>move all  your  fresh  data  to  your  new  internal table       your   it_cospt-KSTAR    </b> data  also.
    <b>append   new  internal table  </b> .
    Elseif final-AUFNR  CA   it_cospt-OBJNR .  for INTERNAL ORDER  validate
    b]move all  your  fresh  data  to  your  new  internal table       your   it_cospt-KSTAR    </b> data  also.
    <b>append   new  internal table  </b> .
    ENDIF
    **********like   that  for   project  id    if there is any   PS module  integration data then .********************
    so that your  new  internal table will have all  data   including  cost element   also .
    now after this   , loop you new  internal table  
    hide technque   for drilldown.
    Regards  ,
    Girish
    regard ,
    Girish

  • How to find cost element group linked to account number

    Hi all,
    I have following scenario.
    I have account number and i want to find out it's cost element group.
    In t-code KAH3 when i enter cost element group i get all the account number in that group.
    But the problem is that i have account number and i want to find out in which cost element group this
    account number belongs.
    Is there is any fuction module from which i can get cost element group from account number or from which table i can fetch cost element group depending upon the account number.
    Thanks in advance.
    sachin

    hi,
    check this function module.
    BAPI_COSTCENTERGROUP_GETDETAIL
    table - SETLEAF.

  • Cost Element Field

    Hello All,
    Would be glad to know the field name of "Cost Element" and from which table i will be able to access it. The tables that my report is using is GLT0, GLPCT, ZCOST, ZGLMAP000.
    The modification that is required is that Account Number (GLT0-RACCT) which is an selection screen parameter has to be replaced with the Cost Element field.
    Thank you,
    - Sravan

    Hello All,
    With help from the SDN, i was able to reference the Cost Elements contained in a Cost Element Group and also to provide a Value help for the Cost Element Group.
    The Following Function modules had been used :
    parameters    : s_ceg1(15) type c.                            
    data:    begin of s_setid occurs 0,
             s_setid LIKE sethier-setid,
             end of s_setid.
    data:    begin of s_setvalues occurs 0.                        
             include structure SETVALUES.                          
    data:    end of s_setvalues.                                   
    1. K_GROUP_SELECT - for the Value help
       under EXPORTING pass the CLASS = '0102' and
                                FIELD_NAME = 'TKB9E-SETNR'.
       under IMPORTING          SET_NAME   = S_CEG1
    2. Then used : G_SET_LIST_SELECT
        under EXPORTING pass the CLIENT    = SY-MANDT                    
                                 SETCLASS  = '0102'                      
                                 SHORTNAME = S_CEG 
        under TABLES : TABLES                                                
               MATCHING_SETS         = S_SETID                    
    3. Then Used : G_SET_TREE_IMPORT
    EXPORTING                                                    
        CLIENT                          = SY-MANDT                 
        LANGU                           = SY-LANGU                 
        SETID                           = S_SETID                  
    TABLES 
        SET_VALUES                      = S_SETVALUES
    Hope this will be helpfull to the other SDN contributors/participants.
    Happy Coding,
    - Sravan

  • Cost element deletion-COEP entries deletion originated from Spl purpse ledg

    Hi Folks,
    We have created RA GL account by mistake as cost element and some entries have already gone into table COEP table. To delete cost element the prerequisite is that cost element shouldn't contain any entries. We have deleted COEP entries by using program "RKACOR20 : to delete CO documents for the GL doc and its reversal document" generated from FI, but unable to delete one entry which has got originated from Special purpose ledger. Can any one suggest way to delete this entry from COEP table.
    Thanks in advance.
    Thanks
    Rajesh Angadala

    Hi
    Check the below program, may be it works :
    Function Module: K_OBJECT_DATA_DELETE
    Program :
    RGUREP03                       FI-SL: Delete Line Items and Correct Totals Reco
    MGCU3TOP                       FI-SL: Delete Transaction Data
    SAPMGCU3                       FI-SL: Delete Transaction Data
    SKS

  • Cost Element Category and Commitment Item Cat. for PS Cash Mgmt

    Dear All,
    We are activating PS Cash Mgmt.
    I want to know the difference between:
    1. Maintaining the Cost Element Category as 1 and 11. Is it necessary to maintain 11 (Revenues) or maintaining 1 (Primary costs/cost-reducing revenues) will have same result.
    2. In Comm. Item Financial Tran. maintained is 30. But for Commitment Item Cat. as 3 (Expenditures) or 2 (Revenues) only to be assigned for revenue.
    Our Client is asking to maintain everything as 3 (Expenditures) to all the commitment items. What will be the effect on PS Cash Management if I use Cost Element Category as 1 & Commitment Item Cat. as 3 ?
    Regards
    Shubham

    Hi,
    Cost element category as 1 and commint Item caterory 3 holds good for all expenses, so you can use this, with this when you process Invoice In MIRO a Project cash management document will get generated and this will update the report against the payments in CJIA as well in S_ALR_87013574 reports etc.
    Combination for creating commitment items is
    Cost element category 1 --> Commitment item category as 3 and Financial Transaction as 30
    Cost element category 11--> Commitme nt Item category as 2 and Financial Trns as 30.
    Note : what ever the G/L accounts created wrt Chart of accounts, whether it is Expenses or Inventory or Revenues, you have to assign commitment item in the G/L Master in Create/bank/interest tab in field commitment item. If it is not assigned in all modules you will get error as commitment item not assigned.
    Thanks
    Regards
    kishore

  • BAPI KPF6 POST PLAN COST FOR INTERNAL ORDER AND COST ELEMENT

    Hi all gurus,
    I would like to use in a custom report a BAPI/Function Module that help me to simulate KPF6 in order to post planning costs for internal order and cost element (layout 1-401).
    So the input should be:
    1) Version
    2) period from
    3) periodo to
    4) year
    5) internal order n.
    6) cost element n.
    7) value
    I found a lot of BAPI but don't know the correct one and how to use it (example how to fill the input value).
    Can anyone help me on that?
    Kind Regards

    In additio  to the previous I found the BAPI_COSTACTPLN_POSTPRIMCOST but don't know if it's the correct one and how to use it (some example fitting the my case will be very appreciated).
    If the quoted BAPI is correct.
    I tested it filling all fields as following:
    HEADERINFO:
    CO_AREA=FFCA
    FISC_YEAR=2008
    PERIOD_FROM=001
    PERIOD_TO=012
    DOC_HDR_TX='blank'
    INDEXSTRUCTURE:
    OBJECT_INDEX=000001
    VALUE_INDEX=000004 (hope this point at Interna Order)
    ATTRIB_INDEX=000000
    COOBJECT:
    OBJECT_INDEX=000001
    ORDERID=ZO53-08IMZ
    TOTVALUE:
    VALUE_INDEX=000004
    COST_ELEM=3224048
    FIX_VALUE= 200,0000
    DIST_KEY_FIX_VAL=2
    The Return table is set to 0. Nothing happens.....I suspect something related to indexstructure or index is wrong..
    Could anyone help me on that?
    Kind Regards

Maybe you are looking for

  • Help needed for loss of package variables!

    Seem to have an annoying problem which may just be a misundertanding about libraries. I have two forms. Initially form 1 created initialised two package variables (of type ora_java.jobject) using the ora_java.new_global_ref function and these persist

  • Oracle10g - please help me!!!!

    hi, please help me about the following doubts regarding oracle 10g 1) why SCN is updated even if there are no transactions done? 2) even after removing the DBF, its showing data, how? 3) why it takes time when we switch b/w logs... and sometimes its

  • Setting PREFIX for DIMENSION_TABLE using OMB Scripting

    I'm trying all day to find a way to set PREFIX for DIMENSION_TABLE using OMB script without success and I'm a little confused now. First of all Scripting Reference does not mention about PREFIX property so maybe there is no way to achieve what I want

  • Email not auto syncing

    I set up 2 email accounts on my iPhone (free Yahoo and .mac) using the auto setup feature on the phone. I am able to receive emails, but the "Auto Check" feature is not autochecking. I have tested by sending email from a different account and waited

  • Why did my phone number change?

    When I use my skype phone to call my cell phone, the number has changed to one with a different area code and number.  What's going on?