10-21-2011 10:18 AM
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
10-21-2011 10:26 AM
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
10-21-2011 10:26 AM
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
10-21-2011 10:42 AM
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
10-21-2011 11:42 AM
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
10-21-2011 12:14 PM
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
10-25-2011 7:34 AM
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.
10-25-2011 8:01 AM
HI Punit ,
I finished the Scenario as per requirement. Thank You so much for your guidance Punit.
With Regards,
Samba