on 09-16-2009 9:05 AM
Hi,
I am capturing coset center values from BAPI which is of type string.
i declared it as string and displaying value in webdynpro java.it is taking zeroes before the values of cost center if the cost center is number.for eg : if the cost center value is 88888 in the R/3, it is displaying as 00088888.if the cost center value is D30045 it is displaying as D30045, not taking any zeroes before the value.how to omit the zeroes before the cost center value.
pls guide me .
Regards,
Pavani
Hi,
If you the option of perform capture that number in Java, you can easily use the String method of trimZeroes().
Hope it helps!!!
Regards,
Prashil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
In Bapi only you can use FM CONVERSION_EXIT_ALPHA_OUTPUT and get the output without leading zeros.
I hope it helps.
Regards,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pavani
Same problem is already disucssed in forums
Please go through this wiki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.