Skip to Content
Author's profile photo Gabriel Felipe Coleti

CO-OM – Enhancing Line Items Report with COOMEP01

Introduction


The analysis of line items is really common for CO and PS Objects and SAP system provided us transaction codes to analyze these documents items for all objects that we can find in CO and PS. Follow most used transaction where you can be familiar with them:

Cost centers KSB1 – KSB2
Orders KOB1 – KOB2 – KOB4
Projects (and networks) CJI1 – CJI3 – CJI4
Cost objects KVBI – KVBO – KKCS – KRMI
Business processes CPB1 – CPBP

It is also common to receive user request to improve these information such as authorization control, new columns on these reports, etc.

The Enhancement COOMEP01 – CO-OM: Information system -> line item reports was defined by SAP to help us with these requirements.

Components and Functions


You can find a list of 9 function modules for different purposes:

001 EXIT_SAPLKAEP_001 Line Item Reports in Actual: Customer-Specific Fields in Display Variant
002 EXIT_SAPLKAEP_002 Line Item Reports in Plan: Customer-Specific Fields in Display Variant
003 EXIT_SAPLKAEP_003 Line Item Reports in Commit.:Customer-Specific Fields in Display Variant
004 EXIT_SAPLKAEP_004 Line Item Reports Budget: Customer-Specific Fields in Display Variant
005 EXIT_SAPLKAEP_005 Line Item Reports in Actual: Customer-Specific Authorization Check
006 EXIT_SAPLKAEP_006 Line Item Reports in Plan: Customer-Specific Authorization Check
007 EXIT_SAPLKAEP_007 Line Item Reports in Commitment: Customer-Specific Authorization Check
008 EXIT_SAPLKAEP_008 Line Item Reports Budget: Customer-Specific Authorization Check
009 EXIT_SAPLKAEP_009 Line Item Reports: Customer-Specific Preparation of Lists


For better understand of these components, let´s group them by category and needs and we can defined that using the following question: WHAT you need to do and WHERE you need to do:


WHERE

WHAT

Actual Line Items Plan Line Items Commit Line Items Budget Line Items
Add or Change report information 001 002 003 004
Perform additional authorization check 005 006 007 008
Change the output list 009 009 009 009


Example


For example, an user requested us to add the receiver WBS of a transfer budget in budget in CJI1 transaction code report.

Answering previous questions to identify which component we should use to attend this requirement:

WHAT: Add information (receiver WBS of a transfer budget)

WHERE: CJI1 – Budget Line Items Report

So, we could use enhancement component EXIT_SAPLKAEP_004 to attend this business requirements.

Since we need to add new field in the report, check the changing tab of the FM to identify the parameter and the type to maintain and append the structure that you need:

/wp-content/uploads/2016/09/1_1030469.png

/wp-content/uploads/2016/09/1_1030469.png

After changed the structure, you can add your source code to add the new fields the information that you need:

/wp-content/uploads/2016/09/1_1030469.png

In the example above we are getting the partner object for transferred budget document between (VORGA KBUS or KBUE)

/wp-content/uploads/2016/09/1_1030469.png


Assigned Tags

      5 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo PATIL PRASAD
      PATIL PRASAD

      Hi Gabriel,

      Nice explanation useful document.

      Regards

      Prasad Patil

      Author's profile photo Gabriel Felipe Coleti
      Gabriel Felipe Coleti
      Blog Post Author

      Thank you Prasad !!! 🙂

      Author's profile photo Former Member
      Former Member

      supi Gabriel

      Thanks a lot

      I will try a similar one for KSB1:

      • Enhancing Line Items Report to add the Internal Order- Number and Description

      oal

       

      Author's profile photo Vinicius Carnizello Hayne Brito
      Vinicius Carnizello Hayne Brito

      Great explanation, Gabs! Good job!

      Author's profile photo Zhu Bingbao
      Zhu Bingbao

      good job