Application Development and Automation 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: 

Fill Custom-Field in MIRO

martin_grischkat
Explorer
0 Kudos
1,321

Hello folks 😉

We have a custom-field in table EKPO (called: zzkund4) and we have a custom-field in table BSEG (called: zznkfkont). The field in BSEG was created because it is needed in various FI/CO-Reports. This field (from BSEG) is available now in Transaction MIRO, too. Up to that it works fine!

Now my "problem": In MIRO I need the value from zzkund4 (EKPO) and I would move it to the field DRSEG-zznkfkont on MIRO-Screen after the user has entered an order number and pressed return. At this moment SAP gets the line items and at this moment i would make a thing like: Move EKPO-zzkund4 To DRSEG-zznkfkont.

But the User must have a chance to change this value in MIRO after that.

Is there an Exit or Enhancement that a can use for my problem?

P.S.: Sorry for my bad english 

3 REPLIES 3

eduardo_hinojosa
Active Contributor
0 Kudos
575

Hi Martin,

Try with badi MRM_ITEM_CUSTFIELDS. See note Note 1156325 - BAdIs in the Logistics Invoice Verification environment for further information.

I hope this helps you

Regards

Eduardo

0 Kudos
575

Could you achieve the desired functionality? I also have to do something similar

martin_grischkat
Explorer
0 Kudos
575

You have to expand the table BSEG with an append of your custom-fields. Then you must do a hard modification of the standard screens for transactions MIRO and MIR7 and add there the custom-fields. At the Enhancement-Points "document_read_output_02" and "SAPLMR1M_11" of Enhancement "ES_SAPLMR1M" you can read the values of your custom-fields from table "lt_ydrseg" into the screens of MIRO and MIR7.