{"audience":"Cost center owners, controllers and budget teams analysing spend.","authorization_objects":[{"note":"Authorization for cost center master data and line items","object":"K_CSKS"},{"note":"Cost center accounting transaction authorization","object":"K_CCA"}],"components":[],"countries":[],"effort_days_max":5,"effort_days_min":3,"effort_size":"M","faq":[{"a":"Yes. The employee name is HR data; reading PA0001 requires personnel administration display authorization. Without it the column stays empty and only the personnel number is visible.","q":"Does seeing the employee name need extra authorization?"},{"a":"Yes, secondary cost items are in COEP as well, so they are listed; for those items the sending cost center is shown instead of a vendor.","q":"Are items from assessments and distributions listed too?"},{"a":"This report covers actual items. For open PO commitments, use the plan/actual/commitment report, or add them as an extra view.","q":"Can commitments be seen as well?"}],"features":[{"code":"alv","label":"ALV list (sort, filter, subtotals)","note":""},{"code":"layout","label":"User-specific layout variants","note":""},{"code":"drilldown","label":"Double-click drill-down to the document","note":"Double-clicking the CO document opens KSB5; double-clicking the PO opens ME23N."},{"code":"excel","label":"Export to Excel","note":""},{"code":"email","label":"Send the result by email","note":"Each cost center owner can receive their own list at month end."}],"functions":[],"gap":"KSB1 shows the CO document, cost element and offsetting account; vendor name and employee name are not on the row, and the PO number is only present on some items. To see the vendor, each row is followed to the FI document and the order separately. Spend analysis and budget meetings need this information in one list.","id":"co-cost-center-line-items-vendor-po","industries":[],"input_columns":[],"kind":"report","language":"en","lastmod":"2026-11-17","logic":"1. Object numbers (OBJNR) are taken from CSKS by controlling area and cost center selection; the text is added from CSKT.\n2. Actual line items for those objects are read from COEP: WRTTP = 04, VERSN = 000, fiscal year and period range, cost element selection.\n3. The document header is added from COBK: posting date, entered by, reference document (REFBN) and reference type (AWTYP).\n4. Vendor: when the item has a PO (COEP-EBELN), from EKKO-LIFNR; otherwise, when the reference is an FI document, from the vendor line of the same document (BSEG, KOART = K). The name is added from LFA1.\n5. When the personnel number (COEP-PERNR) is filled, the employee name is added from PA0001-ENAME with the record valid on the posting date; the amount is shown in controlling area currency.","module":"CO","object_type":"alv_report","output_columns":[{"calculated":false,"formula":"","label":"Cost center","source_field":"KOSTL","source_table":"CSKS"},{"calculated":false,"formula":"","label":"Cost center text","source_field":"KTEXT","source_table":"CSKT"},{"calculated":false,"formula":"","label":"Cost element","source_field":"KSTAR","source_table":"COEP"},{"calculated":false,"formula":"","label":"Period","source_field":"PERIO","source_table":"COEP"},{"calculated":false,"formula":"","label":"Posting date","source_field":"BUDAT","source_table":"COBK"},{"calculated":false,"formula":"","label":"CO document","source_field":"BELNR","source_table":"COEP"},{"calculated":false,"formula":"","label":"Reference document","source_field":"REFBN","source_table":"COBK"},{"calculated":false,"formula":"","label":"Text","source_field":"SGTXT","source_table":"COEP"},{"calculated":false,"formula":"","label":"Amount","source_field":"WKGBTR","source_table":"COEP"},{"calculated":false,"formula":"","label":"Purchase order","source_field":"EBELN","source_table":"COEP"},{"calculated":false,"formula":"","label":"PO item","source_field":"EBELP","source_table":"COEP"},{"calculated":true,"formula":"EKKO-LIFNR; BSEG-LIFNR from the reference FI document when there is no PO","label":"Vendor","source_field":null,"source_table":null},{"calculated":false,"formula":"","label":"Vendor name","source_field":"NAME1","source_table":"LFA1"},{"calculated":false,"formula":"","label":"Personnel number","source_field":"PERNR","source_table":"COEP"},{"calculated":false,"formula":"","label":"Employee name","source_field":"ENAME","source_table":"PA0001"},{"calculated":false,"formula":"","label":"Entered by","source_field":"USNAM","source_table":"COBK"}],"parameters":[{"example":"1000","kind":"parameter","label":"Controlling area","name":"P_KOKRS","ref_field":"COEP-KOKRS","required":true},{"example":"4110","kind":"select_option","label":"Cost center","name":"S_KOSTL","ref_field":"CSKS-KOSTL","required":true},{"example":"7700000000","kind":"select_option","label":"Cost element","name":"S_KSTAR","ref_field":"COEP-KSTAR","required":false},{"example":"2026","kind":"parameter","label":"Fiscal year","name":"P_GJAHR","ref_field":"COEP-GJAHR","required":true},{"example":"001 – 010","kind":"select_option","label":"Period","name":"S_PERIO","ref_field":"COEP-PERIO","required":false},{"example":"100245","kind":"select_option","label":"Vendor","name":"S_LIFNR","ref_field":"EKKO-LIFNR","required":false},{"example":"4500012345","kind":"select_option","label":"Purchase order","name":"S_EBELN","ref_field":"COEP-EBELN","required":false}],"part_of":[],"performance":"Read COEP by OBJNR, fiscal year and period; buffer COBK, EKKO and LFA1 in bulk. Go to BSEG with the full key only for FI-originated items without a PO. On S/4HANA ACDOCA holds the vendor (LIFNR) and the PO on the same row.","process":"P2P","quote_url":"https://nekuhub.com/en/request-a-quote/?report=co-cost-center-line-items-vendor-po","related":["co-cost-center-plan-actual-commitment","co-profit-center-plan-actual"],"releases":[],"source":"custom","standard_alternatives":[{"note":"Lists cost center actual line items; vendor and employee names are not on the row.","tcode":"KSB1"},{"note":"Displays individual CO documents; gives no list by cost center.","tcode":"KSB5"}],"summary":"A custom ALV report that shows cost center actual line items on one row with the purchase order, vendor name, employee name and source document. The cost center owner answers \"who incurred this cost, with which vendor and which order\" in one list.","tables":[{"access":"read","join_on":"","role":"CO actual line items: object, cost element, amount, PO, employee (driving table)","table":"COEP","variant":"both"},{"access":"read","join_on":"COBK-KOKRS = COEP-KOKRS AND COBK-BELNR = COEP-BELNR","role":"CO document header: posting date, user, reference document","table":"COBK","variant":"both"},{"access":"read","join_on":"CSKS-OBJNR = COEP-OBJNR AND CSKS-KOKRS = COEP-KOKRS","role":"Cost center object number and owner","table":"CSKS","variant":"both"},{"access":"read","join_on":"CSKT-KOKRS = CSKS-KOKRS AND CSKT-KOSTL = CSKS-KOSTL AND CSKT-DATBI = CSKS-DATBI AND CSKT-SPRAS = SY-LANGU","role":"Cost center text","table":"CSKT","variant":"both"},{"access":"read","join_on":"EKKO-EBELN = COEP-EBELN","role":"Vendor on the purchase order","table":"EKKO","variant":"both"},{"access":"read","join_on":"BSEG-BELNR = COBK-REFBN AND BSEG-GJAHR = COBK-REFGJ AND BSEG-KOART = 'K'","role":"Vendor line for FI invoices without a PO","table":"BSEG","variant":"both"},{"access":"read","join_on":"LFA1-LIFNR = EKKO-LIFNR veya BSEG-LIFNR","role":"Vendor name","table":"LFA1","variant":"both"},{"access":"read","join_on":"PA0001-PERNR = COEP-PERNR AND PA0001-ENDDA \u003e= COBK-BUDAT","role":"Employee name (organizational assignment)","table":"PA0001","variant":"both"},{"access":"read","join_on":"KOKRS = COEP-KOKRS AND RCNTR = CSKS-KOSTL","role":"Actual items with vendor and PO on S/4HANA","table":"ACDOCA","variant":"s4"}],"title":"Cost Center Line Items with Vendor, Purchase Order and Employee Report","url":"https://nekuhub.com/en/reports/cost-center-line-items-vendor-po-employee-report/","vendor_id":"nekudos"}