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: BADI

Former Member
0 Likes
1,384

Is there any Badi or user exit available to block invoices using MIRO transaction???

I want to update a flag 'ZLSPR' in header data on SAVE in MIRO transaction.

Thank you.

Is there any Badi or user exit available to block invoices using MIRO transaction???

I want to update a flag 'ZLSPR' in header data on SAVE in MIRO transaction.

Thank you.

8 REPLIES 8
Read only

Former Member
0 Likes
1,184

Hi,

what about INVOICE_UPDATE. I never tried it.

Hans-Jürgen

Read only

Former Member
0 Likes
1,184

Where you successfull with this problem? I have a similar one... I need to update a field (TXZ01) while working with MIRO transaction. Is it possible, is there any BAPI to do this?

Thanks & Regards

Read only

Former Member
0 Likes
1,184

Hi,

Implement BADI : CHANGE_IN_UPDATE.

Method : CHANGE_AT_SAVE

It will work for you.

Read only

0 Likes
1,184

Hi Lanka or anyone out there,

Per suggestion from SAP OSS note, the badi invoice_update has to be used in order to update the invoice before the commit work of the invoice creation (in conjunction with the BAPI). However, the BADI does not pass out any parameters (just like the user exit within FM MRM_INVOICE_POST).

Lanka, have you successfully make it work? If so, do you mind providing the solution to the community? It will be extremely helpful.

Thanks in advance.

Cheers,

Cyanna

Read only

Former Member
0 Likes
1,184

I couldn't able to see any BADI with this name <b>CHANGE_IN_UPDATE</b>.

regards

vijay

Read only

0 Likes
1,184

Hi Vijay,

The BADI name is INVOICE_UPDATE.

Cyanna

Read only

Former Member
0 Likes
1,184

Implement the method CHANGE_AT_SAVE in the badi INVOICE_UPDATE. Set the flag S_RBKP_NEW-ZLSPR

Read only

Former Member
0 Likes
1,184

Hi,

This BADI is not used to change invoice data, please check OSS Note 392342.

But you can use BADI MRM_PAYMENT_TERMS for updating this field.

Regards,

Jose