Divya has to create a class method to convert amount of any currency to EURO currency
I need to send 2 IMPORT parameter (Amount , Currency) and ONE export parameter(Converted Amount)..k.Let me code..
Divya , You can achieve this method with just returning parameter alone. It's a smart way of coding in ABAP
How Teena ? Also will it save time?
Divya , Yes .You can keep the 2 importing parameter as Global Attributes and use it in method , then instead of exporting parameter use returning. Now reduces code line and can use directly in the IF or WHILE stmts