Application Development 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: 

add new column in ME28

Former Member
0 Kudos

Hi,

How can I add a new column in ME28 ALV display? I've come across a very few threads which suggests to copy then modify RM06EF00 but they did not specify how/where to modify. I saw that it is using PERFORM start_via_table_manager(sapfm06l) for the ALV display. But how can I add new columns?

Regards,

Steph

7 REPLIES 7

Former Member
0 Kudos

I saw that I need to add the new fields in structure MEREP_OUTTAB_PURCHDOC. But I dont know where to put the code in program RM06EF00.

0 Kudos

Hi,

After this subroutine user_command(sapfm06l). u can find Explicit enhancement spot .

Enhancement point is : RM06EF00_03 SPOTS ES_RM06EF00.

Enhancement is: DIMP_GENERAL_RM06EF00.

Hope it will be helpful to u.

0 Kudos

Hi Ramya.G,

Thanks for your reply. I found the enhancement that you suggested. I also added the new fields in structure MEREP_OUTTAB_PURCHDOC (via append structure). I still don't know how to add values to structure MEREP_OUTTAB_PURCHDOC. It's not used in the program.

0 Kudos

Hi,

Modify output structure MEREP_OUTTAB_PURCHDOC <Add custom fields using append structure.>

added field will be displayed in report output.

Now filling values for those fields.

You can add enhancement into the report LMEREPI02 method METHOD build_base_list.

If you don't have enhancements option in your version then use user exit.

0 Kudos

Hi,

Thank you so much Ramya.G! I followed your instruction. It works now. There is another requirement. They want me to add the reject column (just like the release column). So when they click it, it will reject the PO. Do you have any idea on this?

Regards,

Steph

Former Member
0 Kudos

I added a new method for the rejection under the following:

include: LMEREPD20

class: CLASS lcl_reporting_cnt_purchdoc_rel

0 Kudos

Hi, I need to add a Select all and Unselect all button for massive release.

Do you think this can be done this way?

Thanks

Nico.-