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
Step 2: Enhancement to be Added:
Add “COOMEP01”
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
Step 4: Double click on EXIT_SAPLKAEP_001
ABAP code to be added in the exit “EXIT_SAPLKAEP_001”
Step 5: Double click on ZXKAEPU01
Step 6: double click on include “CI_RKPOS”. Add customer required fields as shown below:
ABAP Code (select SINGLE * from ZPS_PRPS into CORRESPONDING FIELDS OF CS_RECORD where POSID = CS_RECORD–posid.) 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:
Check Field Selection:
Now Report with Fields:
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
Thanks Warren Nash
Dear Sunil may i get your number ..please satendra6588@gmail.com need your hepl plz
Dear Sunil, your blog post misses important steps. Try to follow what you wrote and you will discover blind spots.