Skip to Content
author's profile photo Former Member
Former Member

Routine calculation in MIRO

Hi,

I am using routine for calculating tax in PO and the same routine gets called at MIRO also.Now the requirement is like that when the user enters the PO no. against which he is doing MIRO tax gets calculated from PO.Also user can change the value of condition type(for eg.ZASV) at the time of MIRO and then the tax should calculate on that.This is also working but if i have two line items for the PO in and user wants to change the condition value in both items its changing in only the last selected item because komv struture has the last item.I could not find anyother structure whcich keeps the changes values of both item.If anyone has any idea,kindly revert urgently.

Thanks & Regards

Madhu

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Oct 17, 2006 at 05:34 AM

    Hi Rana,

    but if i have two line items for the PO in and user wants to change the condition value in both items its changing in only the last selected item because komv struture has the last item

    ---->

    1.First put a break-point in that routine and check for each item that particular routine should tigger ? IF its not tigger for each changed item then its a Config problem.

    2.If its tiggering for each changed items then Program problem , So find out whats happening in debug more.

    regards

    Prabhu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2006 at 03:47 AM

    It goes in the logic as many times as items are there..thats not a problem.but when you simulate ,it again goes to routine and calculate the tax and komv has information about the last item which was changed .So it does not calculate correct tax for first line item.

    Please suggest now.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.