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: 

Issue with ALV grid display at the standard report output for ME2A

bala_krishna007
Participant
0 Kudos
465

Hello All,

I had added custom fields at the standard report output ME2A, by using append structure to mere_outtab_me2a. The custom fields are now  visible at the report output.

PFA screen shot for code reuse_alv_grid_display .

So my problem here is the fields I had added at the report output should be in editable mode. Here the standard report RM06ENBE is using REUSE_ALV_GRID_DISPLAY fm where they are not preparing the field catalog,  they are passing parameter I_STRUCTURE_NAME where the field catalog is automaticalloy created.  I need to activate the edit option for my custom fields added.

Please suggest.

Thanks,

Balu

3 REPLIES 3

tapomay_sanyal
Participant
0 Kudos
115

Hi Bala,

Check whether you get any Implicit enhancement option or not.

If not take access key and insert and Enhancement point and further insert enhancement section to replace the Function module call with your call to the same function module to make fields editable.

Taking access key and inserting Enhancement point enables to insert your functionality via explicit enhancement.

---BR----

Tapomay

0 Kudos
115

Hi Tapomay,

I have checked the code and there was no implicit enhancement present  for adding the field catalogue.

I am just looking for option like creation of explicit enhancement. is there any other way that we can make the custom fields editable with out using access keys.

How ever I had created an enhancement spot by right clicking on enhancement spot and create enhancement spot for package ME which is the package used by program RM06ENBE.

The Z ENHANCEMENT I created is not visible at the enhancement spots column as shown in screen shot .

Please suggest if I am missing some thing or need to   any  thing else to see that enhancements.

Thanks,

Balu

0 Kudos
115

Hi BALA,

Yes I do agree there is no implicit enhancement in place so that it can serve your purpose.

You can check below link, it is well declared with screen shots!

http://wiki.scn.sap.com/wiki/display/ABAP/How+to+do+Explicit+Enhancement

Problem is to insert you would require key for first time However keep in mind that you have to replace the function module call !! (enhancement section )

Feel free to add any questions if  in case you face problems

----BR----

Tapomay