Skip to content

Instantly share code, notes, and snippets.

@aandradepro
Created May 7, 2025 19:33
Show Gist options
  • Save aandradepro/7718e211204c90e49301d56d57950102 to your computer and use it in GitHub Desktop.
Save aandradepro/7718e211204c90e49301d56d57950102 to your computer and use it in GitHub Desktop.
Apply exchange rate using ABAP/4 function
CALL FUNCTION 'CURRENCY_AMOUNT_BAPI_TO_SAP'
EXPORTING
currency = ls_result_fields-order_curr
bapi_amount = lv_value
IMPORTING
sap_amount = lv_value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment