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).
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:
Step 3: Components
we have standard Exits for different purpose:
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.
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
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.