05-03-2016 8:35 AM
Hi Experts,
I have a requirement to add a custom field in tcode ME5A. I have searched and found some answer. ME5A Report - Request for Help | SCN
I have appended my new field in CI_EBANDB, but then how can I populate my new field? I need to use q query to populate the field.
But where here can I find any enhancement on how to populate the my new field in RM06BA00? Thanks
05-03-2016 8:43 AM
There is one Enhancement point is There in the program
SAPDBBAM
And final Internal Table is IT_EBAN[].
Loop this table ..
"here update fields As per your requirement.
endloop
05-03-2016 8:39 AM
First Are you able to see the new fields, what you added in structure, in the Report me5a
05-03-2016 8:42 AM
Hi,
Yes sir, Im able to see the new field that is added in CI_EBANDB in ME5a.
05-03-2016 8:44 AM
05-03-2016 8:43 AM
There is one Enhancement point is There in the program
SAPDBBAM
And final Internal Table is IT_EBAN[].
Loop this table ..
"here update fields As per your requirement.
endloop
05-03-2016 8:53 AM
Hi Thank you for the information.
Im new in using ehancement. How can I find the enhancement point SAPDBBAM.
I tried to use ctrl+f(find) SAPDBBAM in program RM06BA00 and cant find anything.
05-03-2016 9:04 AM
If you don't mind Can you do a small thing for me.
Can you please google it, by using sap abap enhancement
And open the First Document . With Screen short also They explained,
I can not explain from the Starting On words.
After see you may get an idea.
You have to create the Enhancement point With Zname.
And put break-point. Now Activate it. then open the new Session and Run the me5a report.
If the Enhancement spot is correct. Definitely it will stop.
Then find the Table it_eban[].. Ok.
05-03-2016 9:26 AM
After seeing the Thread, While implementing you may ask questions.
I will try to solve it.
05-03-2016 9:46 AM
I have tried to follow this link for creating implementation
Step by step to enhance ABAP code via implicit enhancement - ABAP Development - SCN Wiki
I have created an Enhancement Point
When I run ME5A it executes the breakpoint after I execute the program
How would I know the correct enhancement point in RM06BA00. I cant find SAPDBBAM or Am I looking in a wrong screen.
05-03-2016 9:56 AM
Go to Se19
In the First Radio button New badi. Enter your Badi name What you created. Then delete it.
In the attached file. One Spot i was given ,Again try to create the Enhanced spot. Please Check the program name also. in the Attached Screen .
05-03-2016 10:28 AM
I have created an enhancement in program SAPDBBAM. But when I run ME5A it does not execute breakpoint.
05-03-2016 10:40 AM
hi, You have created at 12 or 20th line.
Actually Dimp_general Repeated 3 times.
At the place of Last you have to find out Not 1st or 2nd.
284th line it may exists , in your may be 260th line after 200th line check the word.
DIMP_GENERAL. See the line no in the previous attached image.
05-04-2016 1:37 AM
Thank You for the response.
I'm able to add the new field now by adding the enhancement after Dimp_general.
05-03-2016 9:54 AM
CI_EBANDB is an include in table EBAN of PR, so the report will fill those from PR data, you can manage/display those fields in ME5xN transactions with SMOD enhancement MEREQ001. This include is not provided for some dynamic calulated field.
If you only want to add some dynamic fields to the report, it would be better to check Enhancement Spot ES_SAPFM06B.
Regards,
Raymond