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: 
Read only

Adding fields in ME4L

aneel_munawar
Participant
0 Likes
3,584

Dear ABAP  Experts,

How can i add a custom field in ME4L standard ALV report..I  have searched and tried but no success.

Regards,

Aneel

13 REPLIES 13
Read only

aneel_munawar
Participant
0 Likes
3,309

Anyone have any idea that how to add the fields in report. ME4L .?

Read only

JL23
Active Contributor
0 Likes
3,309

Don't you think it would be better to share a screenshot with a little drawing to explain where you want to add a field in particular and what you already tried beside of searching?

If you would explain which field you would want to add and why you may also get consulting if that is from a functional point of view a good idea or not or if that field  is already somewhere  which you did not know yet

Read only

0 Likes
3,309

Hi Aneel

This Transaction Code runs program RM06EL00

Therefore based on your brief requirements the approach would be.

* Take a copy of program RM06EL00 into a Z Version: Example ZRM06EL00

* Adjust the program accordingly to include your custom fields

* Test the program

* Use Transaction SE93 to define a Z Transaction Code for your new Z program

Regards

Arden

Read only

0 Likes
3,309

Dear Jurgen,

I have added few extra fields on screen ME42, see attzched image. These fields have been added in the table EKPO.  Now I want to show these fields also on ME4L  report, See attached image.

I don,t want to create copy of the report but want to see add columns in the ME4L   standard  report.

Thanks

Aneel

Read only

0 Likes
3,309

Hi Aneel

Once and if you're allowed to change a SAP Standard Program, that program is no longer supported by SAP. I'd reconsider this approach very carefully.

The motivation to alter a SAP Standard Program needs to be pretty strong and not just cos we feel like it.

Regards

Arden

Read only

0 Likes
3,309

Dear Arden,

I agree with you but I will not change the standard report  but  use the enhancements as provided by SAP.

Read only

VenkatRamesh_V
Active Contributor
0 Likes
3,309

Hi,

Add  the   Fields in Structure  MEREP_OUTTAB_PURCHDOC.

Using Implicit Enhancement Pass  the values to  the customized  fields.

Include:LMEREPI02.

Inside  method : METHOD build_base_list.(Line 566 Below).  pass  the  values to fields  using Implicit Enhancement.

METHOD build_base_list


SELECT SINGLE j_3auanr eindt  FROM eket INTO (RE_OUTTAB_PURCHDOC-ORDER,RE_OUTTAB_PURCHDOC-DEL_DATE)

                                   WHERE ebeln eq IM_EKPO-EBELN

                                   AND   ebelp eq IM_EKPO-EBELP

                                   AND   banfn eq IM_EKPO-BANFN.

.

Hope  it helpful,

Regards,

Venkat.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
3,309

Could you check if BAdI ME_CHANGE_OUTTAB_CUS is active in your system (require a switch to activate- BF LOG_MMFI_P2P) and if yes if the transaction you want to enhance is suitable. (Else you have to analyze how the transaction use some standard forms and class to display data, so copying report won’t be very useful)

Regards,

Raymond

Read only

0 Likes
3,309

Dear Raymond,

BADI  ME_CHANGE_OUTTAB_CUS   is active in my system.

Read only

0 Likes
3,309

But  When I  try to create implementation using se19. It says that BADI  definition does not  exist.

But I can see it  using SE18.

Read only

0 Likes
3,308

Image is attached when I try to create the BADI Implementation using SE19.

Read only

0 Likes
3,308

There is a Business Funcion to activate thru SFW5 but it has other effect (read MM, Integration Materials Management and Financial Accounting)

In your system the BF was not activated, so don’t activate before some analyzis (do you have a sandbox system available?) - the BadI is defined but not active.

Regards,

Raymond

Read only

0 Likes
3,308

I have no sandbox available. Any other idea.?