on 07-14-2009 1:44 PM
Hi
We have currecy field on ui ,data will be saved to the ECC from Java webdynpro screen to the RFC .While entering curency on ui like 99990, 00 ,it goes to the backend because of ECC data type 9.9990,00 and it is saving like this.While displaying the data it is being dispalyed on ui in currency like 9.9990,00.But here issue is acoording to client requirement we need to dispaly the value on ui what ever we entered on ui like 99990, 00 .But here i think if we change the ECC currency data type in rfc we can handle this .But if we change the data type it is a big impact on the process .So what is the solution for this .How can we achieve this.
Regards
Venkateshwar
Hi,
Retrive the currency from ECC (9.9990,00 ) but before displaying it in UI you explicity write code to remove dot and display in UI like this 99990, 00.
write this code before displaying,
retrive currecy and put it in one String variable,
String currency = wdContext.................................retrive currency from ECC
String curr[]=name.split(".");
String cc = curr[0]+curr[1]:
Print "cc" you will get correct output.
Regards,
Sunaina Reddy T
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just for the display purpose you can use calculated attribute. Hope that helps.
Ashutosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI ,
Retrieve the currency type along with the data ..it can be handled using the logical statements
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.