on 07-14-2009 8:34 AM
hi friends
1. In smart forms I want to display country name and region name in template text .
can any one help me how could I write code for it and the procedure.
2. IN scripts komk-fwkrt = '1.00.200,32'.
but it should be displayed as 1,00,200.32
how should I make changes for this field?
thanks and regards
deepika.
Hi deepika,
For your first question, I happened to have written similiar codes recently.
If you have the country code and region code, you can read the country name from table T005 and region name from T005s.
You can create a new routine for this and call it from Initialization.
Hope this helps.
Shane
Edited by: Shane Chen on Jul 15, 2009 10:35 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Change the setting in SYSTEM--->USER PRofile -
>OWN DATA ... DEFAULTS TAB
Change the Decimal Notation to 1,234,567.89
and Save the settings and re-login to see the changes.
surya reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepika,
for your second issue check in su01 settings if not working then try as below,
data : v_curr(16) type p DECIMALS 2.
then in your program,
v_curr = v_tmp.----
<char field.
WRITE V_CURR CURRENCY 'USA' DECIMALS 2 to V_TMP.
CONDENSE V_TMP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello deepika,
Go in Menu button in System - User Profile - Own Data - and check your Default Settings.
Regards,
Vanu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check the user profile SU01, the decimal format display would be picked from here and no need to change anything in the program.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, <li> Right click on Template->Create->Flow Logic->Program Lines: Here you have to write code by giving input parameters and output parameters. Once you get the values from output parameters, that needs to be displayed in the Template text element. Thanks Venkat.O
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.