Skip to Content
0
Former Member
Oct 08, 2009 at 09:21 AM

Currency field on a selection screen of type 'DMBTR'.

1045 Views

Hello ABAPers,

Could you please tell me how to do it?

I have a currency field on a selection screen of type 'DMBTR'.

When i input and press the enter key ,i want the value to be displayed in the following style.

1. CURRENCY EQ 'JPY'

EX:

Value before pressing EnterKey = 123456

Value after pressing EnterKey = 123,456

i.c the value should be displayed without decimal point

2. CURRENCY NE 'JPY'

EX:

Value before pressing EnterKey = 123456

Value after pressing EnterKey = 123,456.00

i.c the value should be displayed with decimal point

Note:The above trick has already been done on a standard dynpro screen of Tr.Code FB60 and Field 'Amount'.

<removed_by_moderator>

Thanks and Regards,

Mohan

Edited by: Govindasamy Mohan on Oct 8, 2009 6:22 PM

Edited by: Julius Bussche on Oct 9, 2009 1:36 PM