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: 

ME5A enhancement for new field

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member196331
Active Contributor
0 Kudos

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

13 REPLIES 13

former_member196331
Active Contributor
0 Kudos

First Are you able to see the new fields, what you added in structure,  in the Report me5a

0 Kudos

Hi,

Yes sir, Im able to see the new field that is added in CI_EBANDB in ME5a.

0 Kudos

Please have a look on below post. you may get an idea.

former_member196331
Active Contributor
0 Kudos

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

0 Kudos

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.

0 Kudos

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.

0 Kudos

After seeing the Thread, While implementing you may ask questions.

I will try to solve it.

0 Kudos

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.

0 Kudos

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 .

0 Kudos

I have created an enhancement in program SAPDBBAM. But when I run ME5A it does not execute breakpoint.

0 Kudos

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.

0 Kudos

Thank You for the response.

I'm able to add the new field now by adding the enhancement after Dimp_general.

raymond_giuseppi
Active Contributor
0 Kudos

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