Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Medruck (additional logic to be implemented in std. script in subroutine)

I am making a Script of Scheduling Agreement(MM Module) in which I'm making use of standard print program"SAPFM06P" and created a Z Script Form(Copy of Medruck) in which I have made layout changes as per the requirement. In the Main Window, I am having line items details for a particular Scheduling Agreement. Now, what is needed is I need to calculate four type of taxes(Basic Excise Duty, CESS, HECCV etc) for every line item by using FM u201CCALCULATE_TAX_ITEMu201D but I need not have to print the Taxes info for every line item . I want the taxes part to be printed beneath the last line item.What should i do for this?

If I am not wrong I need to write an external subroutine and I have to call it. But from where should I call the subroutine ?

From the Z Script Form or from the Std Print Program?.

It would be helpful for me if you can send me the sample code or any relevant website link.

Former Member
Not what you were looking for? View more on this topic or Ask a question