cancel
Showing results for 
Search instead for 
Did you mean: 

Problem formatting decimal currency fields from RFC in a table

former_member194198
Active Participant
0 Kudos

Hi All,

I've used the Adaptive RFC to get a series of value fields from SAP. These contain monetary values and the RFC model contains these an a currency field ( based on WAERS).

When they are bound to the table in Web Dynpro, they are formatted incorrectly.

I'd like 2 decimal places like in SAP but I'm getting 21 instead of 21.00 and 21.2 instead of 21.20.

What do I have to do to get the amount and value fields from SAP formatted correctly according to the users current locale in the portal?

Cheers

Richard

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member194198
Active Participant
0 Kudos

Hi Nageswar,

I've found another posting which describes the creation of value nodes and value attributes in the controller context. This combined with a supply function has resolved my problem.

Thanks.

Richard

Former Member
0 Kudos

Hi Tucker,

Could you please brief me how to solve that problem.

Otherwise send me that Thread.

Thanks

BHI

Former Member
0 Kudos

HI,

Can you see this thread.

Thanks

nageswar