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: 
Read only

MRM_HEADER_CHECK default fields

former_member188724
Contributor
0 Likes
3,528

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

6 REPLIES 6
Read only

former_member182371
Active Contributor
0 Likes
2,176

Hi,

did you try with badi MRM_HEADER_DEFAULT?

Best regards,

Pablo

Read only

0 Likes
2,176

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.

Read only

0 Likes
2,176

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

Read only

0 Likes
2,176

Hi,

maybe this might be useful:

1763777 - BAdI for derivation LZBKZ/LANDL when creating FI documents

Bestr regards,

Pablo

Read only

RaymondGiuseppi
Active Contributor
2,176

Read first 1156325 - BAdIs in the Logistics Invoice Verification environment for a list of available BAdI and their descriptions.

Regards,
Raymond

Read only

former_member188724
Contributor
0 Likes
2,176

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