Hi All,
I need to Default values for fields EGMLD (Reporting Country) and scb indicator(LZBKZ)
in MIRO Transaction based on the PO. I tried MRM_HEADER_CHECK badi but doesn't work.Can anyone please suggest any idea to implement this.
Many Thanks in advance,
K.S
Read first 1156325 - BAdIs in the Logistics Invoice Verification environment for a list of available BAdI and their descriptions.
Hi,
did you try with badi MRM_HEADER_DEFAULT?
Best regards,
Pablo
Hi Pablo,
Many Thanks for your Inputs.
The BADI doesn't work. I have found form New_assignment in LMR1MF1D which will reflect my requirement.Will try to find Option of implicit enhancement if it can be changed.
Regards,
K.S.
Hi,
yes, the exporting parameters for the badi i suggested are for:
E_BLART Document Type
E_BKTXT Document Header Text
E_XBLNR Reference Document Number
E_BLDAT Document Date in Document
E_REINDAT Invoice Receipt Date
E_XBNK Planned Delivery Costs Indicator
E_XWARE Goods Invoice/Service Indicator
and not for the fields you indicated (EGMLD and LZBKZ).
may i know why do these fields need to be defaulted?
what if anytime in the future you need another value for them?
Best regards,
Pablo
Hi,
maybe this might be useful:
1763777 - BAdI for derivation LZBKZ/LANDL when creating FI documents
Bestr regards,
Pablo
Hi Pablo,
The reason for defaulting the values:
if the Company code ne vendor Company code for LZBKZ and
if the vendor Country has an entry in lfas for EGMLD.
I have found some enhancement spot in include LMR1MF0P
ENHANCEMENT-SECTION BESTELLKOPF_LESEN_01 SPOTS ES_SAPLMR1M.
I hope this should work.
Many Thanks,
K.S