Skip to Content
Author's profile photo Sunil Yadav

Embed Custom Fields of WBS in Standard Report CJI3

Purpose

We have done some enhancement for Custom Fields of WBS to be incorporated in Standard Report – CJI3 (Actual Cost Line item)

This document would be useful when client give requirement to see custom fields with Actual line item report for Example: in my case, Client has some specific projects which are maintained by a team and they want to see their line item report along with custom fields which are maintained (Customer Fields maintained using user exit CNEX0007).

Information

For Customer Enhancement we have implemented User Exit- CNEX0007 (PS customer specific fields WBS element). for fields we also created Custom table -ZPS_PRPS.

Steps 1: Create Project in CMOD

1.JPG

Step 2: Enhancement to be Added:

Add “COOMEP01

2.JPG

Step 3: Components

we have standard Exits for different purpose:

      Actual      EXIT_SAPLKAEP_001

      Plan        EXIT_SAPLKAEP_002

      Commitment  EXIT_SAPLKAEP_003

      Budget      EXIT_SAPLKAEP_004

3.JPG

Step 4: Double click on EXIT_SAPLKAEP_001


ABAP code to be added in the exit “EXIT_SAPLKAEP_001

4.JPG

Step 5: Double click on ZXKAEPU01


5.JPG

Step 6: double click on include “CI_RKPOS”. Add customer required fields as shown below:

6.JPG

ABAP Code (select SINGLE * from ZPS_PRPS into CORRESPONDING FIELDS OF CS_RECORD where POSID CS_RECORDposid.) will fetch all fields in corresponding table and display fields in CJI3.

Authorization Control:

This can be controlled using Authorization Object where if you assign that authorization object to User ID than only these fields will display in CJI3.

Below code will be used to control Authorization Object:

DATA DUMMY TYPE C.

AUTHORITY-CHECK OBJECT ‘Z_ZZCJI3’

          ID ‘POSID’ FIELD DUMMY

Output:

RUN CJI3:

7.JPG

Check Field Selection:

8.JPG

Now Report with Fields:

9.JPG

Thank you for reading and hope you liked it.

Thank you for your time and feedback!

Suggestions would be appreciated and always welcome to improve Quality of this document.

Warm Regards

Sunil Yadav


Assigned Tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Sunil Yadav
      Sunil Yadav
      Blog Post Author

      Thanks Warren Nash

      Author's profile photo Satendra Yadav
      Satendra Yadav

      Dear Sunil may i get your number ..please satendra6588@gmail.com  need your hepl plz

      Author's profile photo Artur Pasisz
      Artur Pasisz

      Dear Sunil, your blog post misses important steps. Try to follow what you wrote and you will discover blind spots.