Skip to Content

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

Changes to standard functional Module

Hi Friends,

I am working with a standard functional module called <b>'convert_to_foreign_crrency'</b>. When I am trying to debug this, it calls another FM called convert_to_foreign_crrency_n. The problem is it gives me an overflow at the statment foreign_amount = refe. It is because of the data mismatch between them. To get rid of this I want to change the data type of foreign_amount whch is an export parameter of this FM. The best way to do is to copy this FM and the one that is calling this. and modify as per the requirement. My quoestion is what sort of problems will arise when we copy and modify thses FM's. And what is the procedure in real time. I think it is better If I copy the whole functin group and then make modifications to te FM. Did anyone ever did that ? Please help me how do we handle this in real time.



Former Member

That is your problem. Use a variable of length 16, type P and you will be good to go. I think your resultant amount is greater than what the variable you are passing can hold.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question