Skip to Content

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

Handling amount type fields in ALV

Hi!

Let's see what I mean, with a short sample, I will print out to screen with ABAP 15000 HUF:

DATA:

ls_amount LIKE bseg-wrbtr,

ls_currency LIKE bkpf-waers.

MOVE 150 TO ls_amount.

MOVE 'HUF' TO ls_currency.

WRITE:/ ls_amount CURRENCY ls_currency.

Unfortunately HUF is stored in the SAP amount fields divided by 100, so the amount of 150 means 15000 if the currency is HUF.

I would like to do the same thing in the ABAP WebDynpro ALV, because at the moment, my amount type columns does contain the 150 value, instead of the 15000 (so the SB stored value, instead of the correct ones).

How can I set a field's currency field, to display the correct values in ABAP WebDynpro ALV?

Thank you

Tamá

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question