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

user exit for SIMULATE button in MIRO

Former Member
0 Likes
2,345

hi experts!!

in miro transaction, upon ticking 'calculate tax' checkbox, then clicking the SIMULATE button, a pop-up window shows and additional line items for 'INPUT VALUE ADDED TAX' and 'WITHHOLDING TAX PAYABLE' items were added aside from the original list of line items for the Purchasing document. Some values for these added two items are missing in the 'Simulate Document' window particularly in the following columns: Purchasing Document, Item, business area, profit center, etc.

May I know if there's a user exit/ BAdI to populate these missing values?

thank you!!1

3 REPLIES 3
Read only

Former Member
0 Likes
1,266

no answer.

Read only

Sougata
Active Contributor
0 Likes
1,266

Have you had a chance to look at BAdI definition 'BADI_MIRO_SPLT_ADD' - it could be the one you are looking for.

I noticed within this BAdI and its method 'BADI_MIRO_SPLT_ADD', its table parameter C_ACCIT is being changed which is a table type of structure 'ACCIT'. In this structure I noticed it has all the fields that you are looking for to modify like Profit Centre, Business Areas etc.

Also look at one of standard implementations of this definition -> 'WKA_MIRO_SPLT_ADD' which might help you to implement the code quickly.

Hope this helps.

Cheers,

Sougata.

Read only

0 Likes
1,266

Hmmm,

I tryed to use the BADI, but it was not called, when I was posting an ordinary invoice with MIRO.

Do you have any Idea why?

Thank you

Peter