cancel
Showing results for 
Search instead for 
Did you mean: 

Badi or User exit in MIR4 to update /ITESOFT/BAL_INV ?

former_member732365
Discoverer
0 Kudos

Hi all,

Is there any BADI or USER EXIT available to update table /ITESOFT/BAL_INV in MIR4 transaction when press save button.

Thanks in Advance.

aoyang
Contributor
0 Kudos

There is no table called. /ITESOFT/BAL_INV. What is the name of the field you want to update in MIR4 ?

former_member732365
Discoverer
0 Kudos

The name of the field to change when saving is : BELNR.

aoyang
Contributor
0 Kudos

MIR4 is for displaying invoice. Do you mean MIRO or MIR7? If so, use exit LMR1M001 in SMOD and implement your logic in function EXIT_SAPLMRMP_010. When clicking saving, it triggered this exit for me and in there, BELRN is stored in variable E_TRBKPV.

BELNR(Invoice document number) is usually assigned automatically from the number range configuration so it is not recommend change E_TRBKPV-BELNR, but if you want, EXIT_SAPLMRMP_010 is where you can do it.

Accepted Solutions (0)

Answers (1)

Answers (1)

raymond_giuseppi
Active Contributor
0 Kudos

You could try to call a FM such as BALANCE_INV_CREATE or BALANCE_INV_UPDATE in one of the methods of BAdI INVOICE_UPDATE. (But are there not alredy some Itesoft implementations active?)