cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the PO's exchange rate in ABAP Program?

Former Member
0 Kudos

I'm trying to use this PO's exchange rate in ABAP program using EKKO-WKURS but it is returning 0.00 value
I'm trying to convert USD to EGP

New value = ekpo-brtwr(Current value) * ekko-wkurs(exchange rate)
New value = 12,500 USD x 15.74059

New value should be 196757.375 but instead, it returns 0.00 value

FredericGirod
Active Contributor
0 Kudos

Could you post the part of the code where you are getting the value of the WKURS field ?

Former Member
0 Kudos

frdric.girod but it returns 0.00 value

New value = ekpo-brtwr(Current value) * ekko-wkurs(exchange rate)
FredericGirod
Active Contributor
0 Kudos

EKPO & EKKO should be structure.

This is not because they have name of a Transparent table (database table), you should have value

You must have a SELECT statement to retrieve information from database

Yasin
Active Participant
0 Kudos

please share full code, something wrong with your code only. thanks

Accepted Solutions (0)

Answers (0)