Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Modify Program RKPEP003 to format output list in CJI3 transaction.

Former Member
0 Kudos
2,140

Hi,

I need to change the field format of OBJID, WKGBTR in the output list in CJI3 transaction. But I am unable to locate the final internal table which is filled before displaying the actual project cost line items. Please help me on this.

9 REPLIES 9

0 Kudos
1,031

Hi Das,

Try LKAEPXF01  and  LKAEPFLI includes. you will find reuse alv function module,

Set a break-point and debug .

Regards,

Sinagam,

0 Kudos
1,031

Hi Venkata,

Thanks for your reply but i want to change the format of these 2 fields i.e, OBJID and WKGBTR before being displayed on the output list. Can you suggest me SAP Notes on the same.

Thanks,

Preet Kumar

0 Kudos
1,031

Try customer exit “COOMEP01”

0 Kudos
1,031

may i know ,Why you are trying to Change these values.

OBJID and WKGBTR


Adding extra column is different, but you are going to Change What it has(already done something)

you are changing. can you please Explain.


I am trying for finding the final table.

raymond_giuseppi
Active Contributor
0 Kudos
1,031

CJI3 is one of the detail CO reports, those can be enhanced, so I suggest you don't mess with standard fields and their external format but add you own zz-fields to the report in append structure and implement associated customer-exit to map the data in your required format.

Reference: 325546 - CO line item reports: Creating a user-defined field, for actual data use exit EXIT_SAPLKAEP_001 and add fields to CI_RKPOS.

Just as an aside, what do you or your users want to change to their output?

Regards,

Raymond

0 Kudos
1,031

Hi Raymond,

Thanks for your reply. The requirement from the user goes like this :

1 - The field OBJID should be converted from alpha numeric to numeric.

2 - The negative sign should be shifted from right to left in the field WKGBTR.

3 - And download the ALV output into a specific folder in excel format.

Thanks,

Preet Kumar

former_member196331
Active Contributor
0 Kudos
1,031

HI,

After Spending lot of time.

I found the final internal table.

Program name:LKAEPFLI

Find the Function module: CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

Final internal table is :  <gt_pos_data>

Please have a look on below Attached Images. Hope you got the information what you are searching for.

0 Kudos
1,031

Yes but be aware that multiple detail CO transactions use the function group KAEP 'Line Item Report Modules', take a look at the multiple ASSIGN gt_* TO <gt_pos_data> of include LKAEPFIN in forms init_globals_*_documents.

Regards,

Raymond

0 Kudos
1,031

ok.