on 05-13-2010 3:36 AM
Hi All,
I'm facing a problem with printing the amount field on Smartform.
I also tried it display in Document currency format eg.,
In the document amount displayed like 1,234.56 (in a standard transaction)
When printing on the form it displayed like 1.234,56
I also checked my user settings in SU3 it is like 1,234.56 format only.
When i checked it in Debug mode the Amount is showling 1,234.56 correctly.. till it reaches to form end but while displaying it changing the format.
Any suggestion ? please help.
Thanks in advance.
-Kiran
Hello,
If the decimal notation is set in your user profile correct please check
the following in your smartforms, printprogram.
- do you use the "SET COUNTRY" command in your coding?
- it can be that a function will be called by your program which
contains this statement "SET COUNTRY country".
Regards,
David
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
If you print an invoice, the print program RLB_INVOICE usually reads the country of the customer.
This is the reason why the decimal notation is not correct.
See please the T-code OY01 also.
This is the standard customising of SD. A customer from country e.g. OMAN (OM)
gets number like 332.500,00 and a customer from GB gets 332,500.00.
If you really need to modify the decimal format, you can add the command SET COUNTRY 'EN' in
your Smartforms. So the effect of a change of the decimal format is a cosmetic one only.
Via debug you can change the value of the field IT_HD_GEN-DLV_LAND to EN.
Check the following code part in include RLB_INVOICE_FORM01 sample code:
get delivery land
PERFORM GET_DLV-LAND USING CS_BIL_INVOICE-HD_GEN
CHANGING CS_DLV-LAND.
CS_DLV-LAND = OM.
Regards,
David
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
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.