Skip to Content

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


To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply