2016 Sep 16 8:16 PM
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
2016 Sep 20 6:13 AM
Anyone have any idea that how to add the fields in report. ME4L .?
2016 Sep 20 6:19 AM
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
2016 Sep 20 6:24 AM
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
2016 Sep 20 6:29 AM
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
2016 Sep 20 6:38 AM
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
2016 Sep 20 10:24 AM
Dear Arden,
I agree with you but I will not change the standard report but use the enhancements as provided by SAP.
2016 Sep 20 6:40 AM
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.
2016 Sep 20 6:49 AM
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
2016 Sep 20 8:47 AM
Dear Raymond,
BADI ME_CHANGE_OUTTAB_CUS is active in my system.
2016 Sep 20 8:51 AM
But When I try to create implementation using se19. It says that BADI definition does not exist.
But I can see it using SE18.
2016 Sep 20 8:52 AM
Image is attached when I try to create the BADI Implementation using SE19.
2016 Sep 20 11:01 AM
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
2016 Oct 01 12:27 PM