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

Reg: Customizing CN41N transaction by adding addtional columns

Dear Experts,

The output of CN41N transaction contains all the data required, I need to add few columns in the ALV Report. Those columns are formulas of the standard output.

Can anyone tell me how to achieve this, it would be great.

Please tell me how to update this, i'm not able to find out the internal table and the field catalogue before getting displayed.

I would be waiting for your replies.

Thanks in advance.


Abdur Rafique

Edited by: abdur rafique on Apr 20, 2011 12:27 PM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Apr 20, 2011 at 07:10 AM


    Program for CN41N is RPSINFO . Goto Se38 enter program name as RPSINFO and click on copy.., copy all to ur zreport.,

    now go to include rpsinfo_load_alv_grid001. this contains the populating data., now create a z include and copy every thing in rpsinfo_load_alv_grid001 to ur z include., and customize it as per ur requirement., u can append the fields u want to the standard sturucture.

    hope this helps u.,

    Thanks & Regards


    Add a comment
    10|10000 characters needed characters exceeded

    • Hi,

      in this form., CNZVR is the structure and from this field catalog is populating., if u append ur fields to this structure then it ll cum in the grid i think.,

      FORM create_and_disp_grid.
        DATA: prd_bd_fcat TYPE lvc_t_fcat.
        FIELD-SYMBOLS: <fs_imported_tree_tab> TYPE cnpsj_struc.
        CALL METHOD g_grid_disp->prepare_grid
            container_name = 'CUSTCONTAINER_ALV_GRID'.
        CALL METHOD g_grid_disp->display_grid
            im_def_catalog = prd_bd_fcat " gt_save_catalog
            im_struc_type  = 'CNZVR'        " append ur fields to this standard structure
            ch_grid_tab    = m_disp_cnzv.
      ENDFORM.                    " CREATE_AND_DISP_TREE

      Double click on PERFORM at_selection_screen.

      in this perform data is populating., check tat.,

      hope this helps.,

      Thanks & Regards


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.