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: 

Enhancement in MIRO Transaction

Former Member
0 Kudos

Hi Experts,

In MIRO Transaction ,i have to pass the Vendor number of Purchase order to the 'Reference' field [ XBLNR ]. Please help me in which USER EXIT / BADI i have to implement ? and where should i write the coding?. Please let me know the solution to resolve this issue.

With Thanks & Regards,

Samba

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Use:

Enhancement : LMR1M001

In this

EXIT_SAPLMR1M_003

there use variable

I_RBKPV-xblnr to set your value

Hope this will help you !!!

regards,

Punit

6 REPLIES 6

Former Member
0 Kudos

Hi,

Use:

Enhancement : LMR1M001

In this

EXIT_SAPLMR1M_003

there use variable

I_RBKPV-xblnr to set your value

Hope this will help you !!!

regards,

Punit

0 Kudos

Hi punit raval,

Thanks for your reply. As u suggested i hardcoded value for XBLNR as I_RBKPV-xblnr = '1000'. but im not getting it in MIRO screen field. Hope I_RBKPV is an import parameter then how its possible to get in to screen field. please guide me that how to get the value in to MIRO screen field.

With Thanks & Regards,

Samba

0 Kudos

Hi,

alright for moving the value to the xblnr field after entering MIRO

use the below badi :

MRM_HEADER_DEFAULT

In the method HEADER_DEFAULT_SET

set the value for E_XBLNR.

This will solve your problem

Regards,

Punit

0 Kudos

Hi Punit,

Thank you so much for your guidance. Here i'm getting a value into XBLNR while entering into the MIRO Transaction, i have to pass the vendor number based on Purchase Order number. Once i entered the Purchase Order Number the Badi MRM_HEADER_DEFAULT was not triggering.Please let me know how to do it.

With thanks & Regards,

Samba

0 Kudos

HI,

In this case you have to implement an implicit enhancemet inside Form new_assignment under Include LMR1MF1D.

In this theres a structure rm08m populate the value of lifnr based on ebeln.

For eg.

If rm08m-ebeln is not initial.

rm08m-lifnr = 'ABC'.

endif.

Hope this will resolve your problem !!!

Regards,

Punit Raval.

0 Kudos

HI Punit ,

I finished the Scenario as per requirement. Thank You so much for your guidance Punit.

With Regards,

Samba