Transaction KSB1(cost line items)  - Tables or FM's to get data?

Hi,
For a current report, I need to obtain the data stored in transaction KSB1 - Actual Cost Line items for cost centers.
What tables contain this data? Are there any standard function modules available to obtain the data?
Please help.
Thanks,
John

The following content from SAP help file may help you.
Use
You can use Report Painter reports and line item reports from the Cost Center Accounting (CO-OM-CCA) and Internal Orders components (CO-OM-OPA) to evaluate archives. Generally, the following reports can read the relevant data from any archive:
·        All Report Painter reports for table CCSS
·        The actual line item report for internal orders
·        The actual line item report for cost centers
·        Document display
The SAP system includes a variety of report and archiving object .combinations. The standard system thus provides only a limited number of reports for given archiving objects. However, it is also possible to execute other reports for an archiving object.
Actions
Reading Report Painter Reports from the Archive via the Component
1.      To execute a Report Painter report, choose Information system ®Report selection in the given component and select the desired report.
2.      On the report selection screen, choose Data source.
3.      On the following dialog box, select Read from archive and choose Continue.
4.      On the following dialog box, enter the object from which you want to read the archived data.
Choose F4 Help to obtain a list of the archiving objects to which the report applies.
5.      Choose Archive selection to determine the archive files for the report.
6.      As in the standard transaction, you can start the report online or in a background job.
Reading Line Item Reports and Documents from the Archive via the Component
1.      To execute a line item report or document display, choose Information system ® Report selection in the given component and select the desired line item report or document display.
2.      On the report selection screen, choose Extras ® Data source.
3.      On the following dialog box, select Archive as the data source.
4.      On the following dialog box, enter the object from which you want to read the archived data.
Choose F4 Help to obtain a list of the archiving objects to which the report applies.
5.      Choose Archive selection to determine the archive files for the report.
6.      As in the standard transaction, you can start the report online or in a background job.
As it is often unnecessary to enter further selection criteria when reading data from an archive, you can enter an asterisk (*) under Cost center and Order where required.
Reading Reports from Archive Administration from the Archive (SARA Transaction)
1.      Under Object name, enter the archiving object (such as CO_COSTCTR) and choose Evaluate.
Choose F4 Help for the Read program field to list all the reports for the archiving object.
2.      Choose and execute the required report.
3.      Branch from the selection screen to the data source selection:
a)  For Report Painter reports, choose Data source.
b)  For line item reports or for document display, choose Extras ®Data source.
4.      The archiving object is already defaulted. Choose Archive selection to determine the archive files for the report.
5.      As in the standard transaction, you can start the report online or in a background job.
Assigning Reports to Archiving Objects
The SAP system stores the report assignments to the archiving objects. The assignment controls which objects appear in the F4 Help for the data sources and which reports appear for the read programs in archive administration.
A warning message appears if you choose an archiving object that is not assigned the relevant report or a report that is not assigned the relevant archiving object. You can ignore this warning message. You can execute the report if you wish, but you must bear in mind that incomplete data will be the result.
To view the assignments in the standard SAP system, see the ARCH_REPOW table.
Importing Standard Assignments
The ARCH_REPOW table is a Customizing table that also allows user-defined assignments. Standard assignments are provided therefore in client 000 only. You cannot use reports in other clients for reading data from the archive.
1.      To import standard assignments to other clients, go to the SAP  initial screen, choose Tools ® ABAP Workbench ®ABAP Editor, and enter and execute program ARCH_REPOW_IMPORT.
2.      Enter CO_* as the archiving object.
3.      Accept the default settings in the other fields (source client 000, report type RW).
4.      Choose Execute.
Creating Custom Assignments
In principle, you can read data from given archiving objects even if the standard SAP system does not have the relevant combination of report and archiving object.
·        For Report Painter reports, the prerequisites are:
-   The report applies to table CCSS
-   The archiving object includes table COSP or COSS
Tables COSP and COSS may also appear in the archiving object definitions as COSPA and COSSA.
Of course, you may also use custom reports to read archiving object data.
·        For line item reports, table COEP must be part of the archiving object. Table COEP may also appear in the archiving object definition as view COVP or COVPxy (where u201Cxu201D and u201Cyu201D stand for numerals).
If you want to work with previously unsupported assignments, enter these in table ARCH_REPOW in order to avoid confusion among end-users. In addition, you can include documentation justifying the use of the corresponding report for your own archive reading runs.
To enter a new assignment:
1.      Start system transaction SM30.
2.      Enter table ARCH_REPOW.
3.      ChooseMaintain.
4.      Choose New entries to enter the new assignments.
Make the following entries:
a)  Under Object name, enter the name of the archiving object.
b)  Under Report type, enter:
RW for Report Painter reports
TR for line item reports
c)  Under Program name, enter:
The name of the report group for Report Painter reports
KSB1 for the actual line item report for cost centers
KOB1 for the actual line item report for internal orders
KSB5 for document display
d)  Leave the Activate archive selection field empty.
Standard Contents of Table ARCH_REPOW
Report
Program Name
Report Type
Object Name
Cost Center Actual Line Items
KSB1
TR
CO_ALLO_ST
CO Documents, Actual Costs
KSB5
TR
CO_ALLO_ST
Cost Center Actual Line Items
KSB1
TR
CO_CCTR_EP
CO Documents, Actual Costs
KSB5
TR
CO_CCTR_EP
Area: Cost elements
1AIP
RW
CO_CCTR_ID
Area: Statistical key figures
1SKL
RW
CO_CCTR_ID
Cost centers: Drilldown by Partner
1SHK
RW
CO_CCTR_ID
Cost centers: Actual/plan variance
1SIP
RW
CO_CCTR_ID
Area: Cost Centers
1KSL
RW
CO_CCTR_ID
Area: Activity types
1SLB
RW
CO_CCTR_ID
Cost Centers: Period Breakdown Actual/Plan
1SMA
RW
CO_CCTR_ID
Cost Center Actual Line Items
KSB1
TR
CO_CCTR_ID
CO Documents, Actual Costs
KSB5
TR
CO_CCTR_ID
Area: Cost elements
1AIP
RW
CO_CCTR_PL
Area: Statistical key figures
1KSL
RW
CO_CCTR_PL
Cost centers: Drilldown by Partner
1SHK
RW
CO_CCTR_PL
Cost centers: Actual/plan variance
1SIP
RW
CO_CCTR_PL
Area:  Cost Centers
1SKL
RW
CO_CCTR_PL
Area: Activity types
1SLB
RW
CO_CCTR_PL
Cost Centers: Period Breakdown Actual/Plan
1SMA
RW
CO_CCTR_PL
Area: Cost elements
1AIP
RW
CO_COSTCTR
Area: Statistical key figures
1KSL
RW
CO_COSTCTR
Cost centers: Drilldown by Partner
1SHK
RW
CO_COSTCTR
Cost centers: Actual/plan variance
1SIP
RW
CO_COSTCTR
Area:  Cost Centers
1SKL
RW
CO_COSTCTR
Area: Activity types
1SLB
RW
CO_COSTCTR
Cost Centers: Period Breakdown Actual/Plan
1SMA
RW
CO_COSTCTR
Cost Center Actual Line Items
KSB1
TR
CO_COSTCTR
CO Documents, Actual Costs
KSB5
TR
CO_COSTCTR
Order Actual Line Items
KOB1
TR
CO_ITEM
Cost Center Actual Line Items
KSB1
TR
CO_ITEM
CO Documents, Actual Costs
KSB5
TR
CO_ITEM
CO Documents, Actual Costs
KSB5
TR
CO_KSTRG
List: Orders
6L00
RW
CO_ORDER
List: Cost elements
6M00
RW
CO_ORDER
Order: Actual/plan variance
6O00
RW
CO_ORDER
Order: Drilldown by Partner
6O08
RW
CO_ORDER
Order: Drilldown by Period
6Z02
RW
CO_ORDER
Order Actual Line Items
KOB1
TR
CO_ORDER
CO Documents, Actual Costs
KSB5
TR
CO_ORDER

Similar Messages

  • Transaction KSB1 - Display Actual Cost Line Items for Cost Centers

    Hi,
    When I run transaction KSB1 - Display Actual Cost Line Items for Cost Centers, all my offsetting accounts (accumulated depreciation accounts) are shown except for the ones for asset classes:
    - Buildings
    - PC & Small Applications
    On the FI side, I can see transactions being posted to their relative accumulated depreciation accounts but I do not see this on the CO side when transaction KSB1 is executed. I have checked the config and the account assignments look correct. Also, the assets created have cost centers assigned to them.
    Could you please help!
    Thanks,
    - Deki

    Hi Murali,
    I have one depreciation expense account (P/L Account) which is also a cost element.
    During depreciation run, the different asset classes are supposed to hit the depreciation account above and their corresponding accumulated depreciation accounts (These are Balance Sheet Accounts and I have separate accounts for each asset class .. ie: Accumulated Depreciation for Furniture and Fixture for asset class Furniture and Fixture).
    Now when I run transaction KSB1 - Display Actual Cost Line Items for Cost Centers, all my accumulated depreciation accounts are shown except for the ones for these asset classes:
    - Buildings
    - PC & Small Applications
    Any thoughts on why the above aren't showing?
    Thanks!  I really appreciate your help!
    - Deki

  • Table where i see actual cost line item for order (KKBC_PKO)

    Dear.
    Using transaction KKBC_PKO i can see the actual cost line item for order.
    In which table I see these data ?
    Thanls

    Hi,
    check COEP (CO actual line items) the objectnumber is OR+the order number.
    Best regards, Christian

  • Table where i see actual cost line item for order (KRMI)

    Dear.
    I need to know the table of every single document number of a cost element that I see in the actual cost line item for orders using transaction KRMI.
    Thanks
    Moderator: Please, search SDN

    Hi
    Refer the field Object No (OBJNR) in COEP.. In your case, the OBJNR would be ORXXXXYYYYYYYYYYY, where OR means Order, XXXX = Contr Area and YYYYYYYY = Int Order No with preceeding zeroes
    Qty is also recorded in COEP
    BR,Ajay M

  • SPL -  Deactivating Line Item Table - Trx GCL3

    Hi.....
    We currently have SPL ledger line item table activated.
    That table is getting rather large and therefore increasingly costly in terms of performance and database cost.
    We believe it is not strictly necessary given that we have FIGL account line item tables to support the audit trail.
    In terms of deactivating - is it merely deselecting in Trx GCL3? Are there any implications?
    Thanks in advance....

    Hi,
    Yes.  You just need to uncheck the checkbox 'Write Line Items' in transaction code GCL2.

  • Update Profit Center Field in CO Line item tables

    Hi,
    We are working on ECC6.0 NewGL with Real-time CO-FI integration for Cross Company Code and Cross Pofit Center.
    For those CO internal documents (like activity confirmation at production order) where there is no cross company code or cross profit center postings, no FI document is generated and hence table FAGLFLEXA is not updated. So, we wanted to take data from CO table COEP / COVP for these internal CO documents. However, there is no Profit Center field in CO line item tables COEP / COVP. We don't want to refer to Object Number (OBJNR) of COEP / COVP tables and take profit center from master table of cost centers, IOs etc..,as Profit center in the cost center, IO masters may get changed latter.
    I tried to generate a new report through report painter from structure CCSS, but Profit center is not defined as Charactericts there. Hence of no use.
    Can we append Profit Center field in CO line item tables COEP / COVP and update tatabase at the time of posting? Is there any risk?
    Please suggest any other alternative...
    Thanks,
    Bijay

    Hi,
    As per the standard process we can't derive PC from CO-internal Object...as per my knowledge.
    Better you can derive from IO-CC master PC ....if your question that it will change frequently then -no control can make.
    Regd,
    Kha

  • FM for Actual cost line items for orders.

    HI EXPERTS,
    I was working on Actual cost line items for orders / Internal orders of an employee.
    standard program RKAEP000 is present through TCODE KOB1.
    I want some customization of report, so debugged the program and found that its using a FM 'K_LINE_ITEMS_SELECT_AND_LIST' to calculate internal orders.
    But the FM has used REUSE_ALV_* and displaying output itself.
    the requirement is to customize the output display .
    I searched with K_LINE_* and found some other function modules too.
    K_LINE_ITEM_CHECK                                                                               
    K_LINE_ITEM_APC_SIGN_GET                                         
    K_LINE_ITEM_GET_CONTEXT_MENU                                     
    K_LINE_ITEM_GET_TOOLBAR                                          
    K_LINE_ITEM_LOGICAL_KEY_GET                                      
    K_LINE_ITEM_TECH_SETTINGS_SET                                    
    K_LINE_ITEM_VALUE_TYPES_GET                                      
    K_LINE_ITEM_VALUE_TYPES_SET                                                                               
    K_LINE_ITEMS_ACT_GRID                                            
    K_LINE_ITEMS_SELECT                                              
    K_LINE_ITEMS_SELECT_AND_LIST                                     
    K_LINE_ITEM_ACT_CALL_WITH_DATA                                   
    K_LINE_ITEM_ACT_DATA_GET                                         
    K_LINE_ITEM_CM_CALL_WITH_DATA                                    
    K_LINE_ITEM_DEV_CALL_WITH_DATA                                   
    K_LINE_ITEM_PLN_CALL_WITH_DATA                                   
    K_LINE_ITEM_PROCESS_UCOMM_ACT                                    
    K_LINE_ITEM_STEERING_GET                                                                               
    Can anybody tell which FM should i use so that result i will get in an internal table?
    or suggest any other methods
    Thanks in Advance.
    Lucky

    I also had the same requirement and used function module K_LINE_ITEM_ACT_DATA_GET
    this function is calling K_LINE_ITEMS_SELECT_AND_LIST function with  I_NO_DISPLAY parameter
    and returning the result.
    Already they are in same function group,
    I wrote this for future requirements of people  after 4 years of this thread

  • Project Actual Cost Line Items (CJI3) - Need Invement Profile Key also

    Hi All,
    We are trying to execute the report "Project Actual Cost Line Items" through Transaction Code CJI3.
    We need Invement Profile Key also in the out report of CJI3.
    Is there any Standard SAP report to get Invement Profile Key as well along with normal CJI3 output.
    Please let me know in case you find any such Standard SAP report.
    Thanks in advance for your help.
    Regards,
    Srinivas

    Hello Sreekanth
    Thanks for your input. Yes it is working now after posting cost under same CE as what I have maintained in Base of costing sheet on required WBS..
    I was under impression that the cost lying in cost center can be pulled out indepedantly on WBS through costing sheet  based upon percentage mentioned in overhead.However I am observing now that the cost posted on WBS is taken as base amount to calculate overhead.
    In my case, Eur 100 cost is posted under primary cost element 652100 on WBS and Eur 2000 cost is posted on Cost center under same Cost element Actually I am required to pull out some percentage of cost Eur2000 on cost center to WBS. However,
    currently it is taking Rs 100 (posted on WBS) as basline cost and calculating overhead over it and posting it to WBS again under overhead cost element.
    Can we handle this through costing sheet or for that Assessment distribution is must?  May I expect the answer.
    Best Regards
    Adwait

  • Plan cost line items for cost centers report

    Hello,
    I am displaying the report: Plan cost line items for cost centers and when I display the details of a line item it appears a document number, where could I display this document?
    I have tried to display it in FB03 transaction but it seems not to be this kind of document.
    On the other hand in the field Business transaction it appears RKP6, what is the meaning of this field?
    Thank you very much

    Hi Beatriz Amezua ,
    For displaying plan line items for cost center - KSBP and for display of individual plan document : KABP
    RKP6 means "Planning Activity Dependent Costs"
    Like in FI module, the business transaction have been codified and the list you can find in KANK transaction , mention your controlling area, menu -- Groups --  Display Groups
    Srikanth Munnaluri

  • Cost Line Item Posting - which field indicates Order Number

    Hi,
    I need to know the specific Order Number (example: PM order) with has cost postings on a WBS element. I am using COVP / COEP field OBJNR to see the WBS Element (those starts with PR*), but I do not know which field is the Order Nmber contained in the table.
    Please advise in which table can I see the linkage between WBS and Order number for cost postings.
    Thanks!
    Regards,
    Vivian

    Hi Eli,
    Now that we have established we are looking into Plant Maintenance order (IW33) and not Overhead internal order (the WBS element is specified in the PM Order itself under Account Assignment section). 
    Now, going back to original question.  I need to create a report to show cost detailed based on WBS Element input.  I need to display all the Cost Line items for a particular WBS element.  For each line items to be displayed I also need to show the particular PM Order.  Would you know if the PM Order number information is stored in which field in the COVP/COEP CO posting Line item table (OBJNR is for the WBS Element)?
    If COVP/COEP CO posting Line item table does not store the original source PM Order, could you suggest a way on how I can retrieve the PM Order number based on WBS element and posting date? I dont think we can just use AUFK since it is just the master data table and will not show the posting date.
    Thanks!
    Vivian

  • Activate Integrated Planning for Cost Line Items posting

    Hi all,
    Based on this SAP Help link, there are two ways to create plan line items:
    1) By adding the business transaction "Plan line items" to the user status of the WBS Element.
    2) By activating Planning Integration a.k.a. Integrated Planning for version and WBS Element/Project Profile.
    Option 1 works fine for me.
    However, option 2 does not seem to be working when I activate it, contradicting the state from the link:
    If planning integration is active in the fiscal-year-dependent parameters of the relevant planning versions, the system writes cost element planning line items for plan-integrated WBS elements, regardless of user status.
    So far what I have customized is:
    -In transaction OKEV, select the version, click on "Settings for Each Fiscal Year" and double click for the year. Then I mark both "Integrated Planning" and "Integrated planning with cost center/bus. processes" checkboxes.
    -Activate "Integrated Planning" at Project Profile level: go to transaction OPSA, select Project Profile, go to tab "Controlling" and mark "Integrated Planning".
    Nevertheless, when I post plan costs from transaction CJR2 using the customizing above (based on second option), I see no cost lines when running CJI4.
    I wonder if there is something missing in customizing that allows me to see posted cost line items in CJI4. I would appreciate very much your help.
    Many thanks and best regards,
    Pablo

    Hi Gokul,
    Many thanks for the link to that threat, Rachel Tang's reply on that discussion is very complete and included the answer to my question.
    She comments that three points must be checked to activate Integration Planning:
    1) Mark "Integrated Planning" at CO Version/Year level (SPRO > Controlling > General Controlling > Organization > Maintain versions).
    2) Mark "Integrated Planning with costs centers/bus. processes" at CO Version/Year level (same transaction).
    3) Ensure WBS Element has Integration Planning marked (PRPS-PLINT = X). [It looks like this is done automatically by marking Project Integration at Project Profile level BEFORE project is created]
    In my case, I had first and second steps correct. However, even though I had marked Integration Planning at Project Profile level, it seems that already created Project Definitions are not updated with new Integrated Planning value after it is changed at Project Profile level.
    Maybe it is possible to modify WBS Element's Integration Planning flag manually (though SAP OSS Note 301917 states that this is impossible), otherwise I could never achieve Integration Planning for already created projects.
    In my case it would be more suitable to use the alternative of adding Business Transaction "Write plan line items" to User Status.
    Many thanks to Sanjeev and Gokul for your help.
    Best regards,
    Pablo

  • CCtr line item table

    Hi,
    Apart from CO line item table which is COEP, is there a table which is specific for cost center line items ?
    Thanks for your response

    Hi ,
    Checck for COEJ table apart from COEP which may help you.
    Best Regards,
    Abhisek

  • CO-PA extractor not showing certain characteristics from line item table

    When I create a Cost Based CO-PA extractor in KEB0, I do not see all the characteristics from the line item table CE1XXXX for selection. For eg.COPA_BWZPT.As far as I am aware of, there are no settings to make characteristics show up in the extractor. What determines whether a characteristic from CE1XXXX shows up in the extractor or not? Any inputs would be appreciated

    did you check other copa tables?

  • Asset Balances & Cost Line items Report

    Hi,
    I am looking for a Report which would combine Asset (S_ALR_87011963)balance report and Cost line item Report(CJi3) for Projects.

    Hi,
    The flow is like this ( if u r using timesheets for confirmation):
    CAT2 : Timesheet: Enter Times : User enters the time.
    CATS_APPR_LITE  : Approval of timesheet
    CAT5  : Transfer to Projects.
    This will post cost to Projects.
    Another way of getting the Actual cost is Confirmation using CN25 or CN29.
    Regards,

  • KOB1 - Display Actual cost line items for Orders

    Hi All
    A production order has been settled. When the actual cost line items are displayed for the said production order in KOB1, there are multiple line items related to the production order that gets displayed.
    The issue we are facing is, in one of the line item, the accounting document has one credit (Consumption a/c) and two debits (one debit is to inventory a/c and another debit is to price difference a/c). However in the report, in the offsetting GL column only one GL code (price difference gl account a/c) but appears with the entire amount.
    Ideally two separate line items needs to be displayed with respective line items. Is this a flaw in SAP.
    Can anybody throw some light on this and help me.
    Regards
    Prasanna

    this is may be config issue.
    can you explain with accounting entries for said line items and offsetting GL for each line?
    regards.
    ashok

Maybe you are looking for