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 to show custom field

former_member143179
Participant
0 Kudos
7,279

Dear Sir,

We need to add 1 custom field in the output of ME5A .  For this , We have already added field in CI_EBANDB as well as MEREP_OUTTAB_EBAN .

However , in the Me5A , these fields are not appearing in the displayed output .  I even checked in the "Change Layout" and there also the custom field not appearing .

I request members to kindly guide me for the possible solution please .

With Regards

B Mittal

1 ACCEPTED SOLUTION

thanga_prakash
Active Contributor
0 Kudos
2,410

Hi,

Did you enhance the structure used in the field catalog?

Did you add the logic in the report to fetch data for the custom field added.

Refer to the below post for details. Make use of the Enhancement Spot ES_SAPFM06B.

ME5A enhancement for new field | SCN

7 REPLIES 7

thanga_prakash
Active Contributor
0 Kudos
2,411

Hi,

Did you enhance the structure used in the field catalog?

Did you add the logic in the report to fetch data for the custom field added.

Refer to the below post for details. Make use of the Enhancement Spot ES_SAPFM06B.

ME5A enhancement for new field | SCN

0 Kudos
2,410

Dear Mr Prakash

Thanks for reply .

As already mentioned that , I have added field in following structure :

    CI_EBANDB 

    MEREP_OUTTAB_EBAN


Is there any other structure which is being used for Field Catalog ? . If yes , then please mention the name.


To populate the field content , I have also implemented  EXIT_SAPLMEREQ_003 .


But , surprisingly in the output of ME5A , even in the change layout , the custom field is not being shown .



With Regards


B Mittal


0 Kudos
2,410

Is the exit getting triggered when you debug? If not try with the other exits in SMOD enhancement MEREQ001. or with the Enhancement spots which I mentioned in the earlier reply.

0 Kudos
2,410

Only this place is enough for getting the Field into me5a    CI_EBANDB



Have checked in Ci_EBANDB What type of data element. You had checked.

is both ci_ebandb and    MEREP_OUTTAB_EBAN Active.

Are you sure still the field is not displaying in me5a field catalog.  Or any confusion It is mixed with existing field Description.


Can you please check it properly. Because only  this place is enough Ci_EBANDB For getting the fields.

Just now i checked it.






0 Kudos
2,410

Dear Mr Prakash

I also tried the debug . In program SAPLIMEREP , include LMEREPI04 , I had put break-point on CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC' and found that in the field catalog lt_fcat , the custom field is there .

However in the ALV output there is no custom field shown and even in the change layout the fieldis missing .

Regards

B Mittal

0 Kudos
2,410

Can you do a small things, Do what i had done in my system.

In    CI_EBANDB Structure      Add field like

ZZTEST     MATNR       (DATA ELEMENT IS MATNR) And activate it


Then MEREP_OUTTAB_EBAN  here check it Whether zztest field is coming or not Just Activate it.


Now run the report and checked it. Forget about your field. please Do above scenario and infor me.

0 Kudos
2,410

Before showing the output. In final internal table whether the newly added field is appearing or not you have to checked it. I given the Enhancement spot in the below post.

ME5A enhancement for new field | SCN