cancel
Showing results for 
Search instead for 
Did you mean: 

want to populate the House Bank field in the MIRO

Former Member
0 Kudos

Hi All,

I want to populate the House Bank field in the MIRO.

I have tried with the user exit EXIT_SAPLMRMP_010. I am not populate the House Bank Id as it is not the exporting parameter.

Please help me regarding this.

Regards

Kumar

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Consider EXIT_SAPLMR1M_001 "Customer Exit: Enter Invoice - Logistics Invoice Verification" which accepts input in a structure of type MRM_RBKPV. The house bank field (HBKID) is part of this structure.

Here is the f.m.'s documentation:

<b>Functionality</b>

This customer-specific function module is called in Logistics Invoice Verification during the following checks:

Order price quantity

Quantity

Invoice item value for planned delivery costs

Invoice item value

It makes the following data available for function module SAPLMRMC_001:

Document header data (RBKP)

Item data (DRSEG)

<b>Note that:</b>

To be able to use the data in function module EXIT_SAPLMRMC_001, you must define the appropriate internal tables in the global data for the function module and transfer the variables.

Regards,

James G.

Former Member
0 Kudos

Hi,

I want RBKP as a Export parameter.

Inside the Function exit I am populating value and it needs to be updated in the RBKP table.

In the mentioned user exit it is not an export parameter.

Do you have any other solution.

Regards

Kumar

Former Member
0 Kudos

Kumar,

It looks like there is a BADI that may give you what you need. The BADI definition (transaction SE18) is INVOICE_UPDATE. There are three methods available (in 4.6C):

CHANGE_AT_SAVE	Invoice Document at Save
CHANGE_BEFORE_UPDATE	Invoice Document Before Update
CHANGE_IN_UPDATE	Invoice Document During Update

Each of these methods allow you to pass "old" and "new" RBKP values. In the SE18 screen there is a function (toolbar button) "Documentation" that has some additional information.

The BADI is used in several function modules: MRM_INVOICE_DOCUMENT_POST, MRM_INVOICE_PREPARE_AND_POST, and MRM_BADI_INVOICE_CHECK.

You should be able to move the House Bank value by creating an implementation of this BADI.

I hope this works for you.

Regards,

James G.

Former Member
0 Kudos

Hi,

Here also RBKP is an importing parameter only and it is not an exporting parameter.

I need to change the House Bank Id and needs to be exported.

Regards

Kumar

Former Member
0 Kudos

Hi Kumar,

Sorry I could not be more helpful. I thought there might be some creative way to modify the document header within this BADI. I have tried a couple of different ideas on my system with no success. Hopefully someone else will have an idea that will help you.

Regards,

James G.