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: 

Add field of Cost Center for ME21N in Item Overview

Former Member
0 Kudos

Hello All,

I need to add the cost center field for ME21N in item overview section.

Can anyone please help mi out to solve this problem.

Where should i do necessary changes (enhancement or badi) to solve this?

I am New to SAP-ABAP.

Thank you.

6 REPLIES 6

Former Member
0 Kudos

Hello all,

i have append the new field ZZVSCC in MEPO1211 Structure for cost center

but this is not reflecting in  me21n item overview ,is there are any settings to do for display the field in overview.

please suggest anybody.

thank you.

0 Kudos

You could try to

  • Append the field to MEPOITEM too
  • Use methods like IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM of BAdI ME_PROCESS_PO_CUST;to execute get_data and set_data on im_item. (Only use set_data if data actually changed to prevent infinite loop)
  • Also execute the same process on every existing items at opening of PO in method IF_EX_ME_PROCESS_PO_CUST~OPEN, use  im_header->get_items( ) to get list of items

MEPO1211 will be filled with MOVE-CORRESPONING.

Regards,

Raymond

manukapur
Active Participant
0 Kudos

Hi Nilesh,

Were you able to add column field into po items?

If yes, I have a similar requirement, please let me know how.

Regards,

Manu

Former Member
0 Kudos

Hi Nilesh, Please find the links below,

http://scn.sap.com/thread/1589856

Former Member
0 Kudos

manukapur
Active Participant
0 Kudos

Thanks Nivedita and Taraknath.

These links provide information abt adding separate tabs to the Item Detail. I want to add a new column in the Item section.

Regards,

Manu