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

MIRO user exit

Former Member
0 Likes
2,323

While saving MIRO, we have some checks to do, and if they are true, we need to change the payment conditions to our ZTERM. I need to know where ( user-exit ) we can do this and be sure that will save correctly in all tables that contains the field zterm.

5 REPLIES 5
Read only

former_member182371
Active Contributor
0 Likes
1,330

Hi,

have a look at badi MRM_PAYMENT_TERMS.

check this thread too:

Best regards.

Edited by: Pablo Casamayor on Oct 15, 2009 2:53 PM

Read only

0 Likes
1,330

Hi Pablo,

this badi doesn´t update the 'zterm' field. And it´s have to be made at the 'save moment'.

Read only

0 Likes
1,330

Hi,

you can try as well badi MRM_HEADER_CHECK.

Best regards.

Read only

0 Likes
1,330

Hi Pablo,

the abap put a stop at the badi, and stopped at the SAVE moment as we need. We forced the value 'SUCT' that we need in the field RBKP-zterm, but this value was not saved. It was saved the PO zterm again ( D10 )...

Read only

0 Likes
1,330

Hi,

try this within the badi:


   CONSTANTS: c_zterm(21) TYPE c VALUE '(SAPLMR1M)RBKPV-ZTERM'.
    FIELD-SYMBOLS: <fs_zterm> TYPE ANY.
    ASSIGN (c_zterm) TO <fs_zterm>.
    <fs_zterm> = 'HERE_GOES_YOUR_VALUE'.

but be careful and think twice about the consequences of changing ZTERM here.

Regards.