1. Конвертация валют
1 2 3 4 5 6 7 8 |
CALL FUNCTION 'CONVERT_AMOUNT_TO_CURRENCY' EXPORTING date = sy-datum foreign_currency = 'USD' foreign_amount = '2000.00' local_currency = 'EUR' IMPORTING local_amount = amount. |
2. Преобразование в gdatu
1 2 3 4 5 |
CALL FUNCTION 'CONVERSION_EXIT_INVDT_INPUT' EXPORTING input = lv_sydatum MPORTING output = lv_sydatum. |