Skip to Content
0
Former Member
Jan 10, 2008 at 05:41 AM

Currency formatting in SAP scripts.

250 Views

Hi,

I need to display the amount values in script according to the currency maintained in bseg table.

Eg:if its JPY,and amount in bseg, is 1,000.00.

It should display as 100,000 as JPY has no decimal notation as mentioned in tcurx table.

I am manipulating the amount field(wf_amount1) in the print program used to call the SAP script. and then in script using &wf_amount1&

I have already tried this stmt " WRITE bseg-wrbtr TO WF_AMOUNT1 CURRENCY JPY".

i have declared it : WF_AMOUNT1 LIKE bseg-wrbtr.

Any pointers on this would be highly appreciated.