Skip to Content
author's profile photo Former Member
Former Member

Modify Program RKPEP003 to format output list in CJI3 transaction.

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Jul 22, 2016 at 09:54 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • Posted on Jul 21, 2016 at 11:46 AM

    Hi Das,

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

    Set a break-point and debug .

    Regards,

    Sinagam,

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 22, 2016 at 11:45 AM

    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.


    find2.png (120.3 kB)
    find1.png (115.7 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.