SAP Knowledge Base Article - Public

3137139 - Unable to display Cost center number without name description for exporting purposes

Symptom

  1. Using app Display Line Items in General Ledger user want to be able to display the Cost Center ID/number without (name/text).
  2. The fields available under Settings icon in the App Display Line Items in General Ledger do not include a field for Cost Center ID only.

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Environment

SAP S/4HANA Cloud

Reproducing the Issue

  1. Open app Display Line Items in General Ledger.
  2. Enter filters; Company Code, GL Account, Status: All Items, Posting Date: This Month.
  3. Press GO.
  4. Report runs with "Standard" variant.
  5. Go to Settings icon and add field  Cost Center. 
  6. The cost center number displays with the text name in parenthesis.

Resolution

As a key user, you can extend the Display Line Items in General Ledger app according to your business needs (help.sap.com) document for App Extensibility

  1. Logon with a ADMINISTRATOR role.
  2. Go to App Custom Fields.
  3. Create data source extension by clicking the create button (+).
  4. From the dropdown choose the data source  Display Line Items in general ledger (FAC_GLV_GL_ACCOUNT_LINE_ITEMS_SRV ).
  5. Provide the description for your data source extension.
  6. Press create button.
  7. In the data source extension go to Field Selection tab.
  8. Press search button.
  9. Search for the Field Cost Center.
  10. Select the following field path from the search results.
    Display Line Items in General Ledger -> I_JOURNALENTRYITEMBROWSER -> Cost Center


  11. Press Apply.
  12. Find the field path in the selected field
    C_JournalEntryItemBrowserResult.I_JOURNALENTRYITEMBROWSER.CostCenter
  13. Publish the data source extension.
  14. Now logon with a GL_ACCOUNTANT role.
  15. Go to App Display Line Items in General Ledger.
  16. In the App Display Line Items in General Ledgers field Profit Center is extended.

Keywords

Display Line Items in General Ledger, FAC_GLV_GL_ACCOUNT_LINE_ITEMS_SRV, extend, bktxt, bkpf, acdoca, F2217, S4_PC, Profit Center , KBA , FI-FIO-GL-IS , Reporting Apps , How To

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions