on 11-11-2010 4:09 AM
Hi,
We need to display all numeric fields in the Adobe Form as per the Decimal notation of the User in his SAP user defaults.
Also, we need to take care that the currencies have current decimal places.
Please let us know if this is achievable in Adobe Forms. Is there a way we can set the number format of a field dynamically in Adobe.
Any pointers in this regard is highly appreciated.....Thanks in Advance.,
Raghavendra
This can be achieved by setting the Locale to Viewer's System Locale from Object Palette. Assuming the viewer's locale on his PC and in SAP is same.
In case they are different then you need a program to get the locale from SAP for a user and then dynamically set the locale.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Closed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raghavendra,
to be bale to decide in your abap-printprogram, which format to use for printing, you can read the decimals and number format from customizing (or user) and then pass into form through an additional interface parameter format_string of i.e. CHAR060.
Place your format string in a hidden textfield on your form
This format string can then be used in the adobe form to format the text-field using script:
this.format.picture = your_hidden_textfield.rawValue;
we do so for date-formats and currency-formatting we read out of the country customizing.
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Chintan.
Please see my Blog
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/22481
Edited by: Raghavendra Prabhu on Dec 22, 2010 11:27 AM
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.