nitinlpatil1
26th July 2007, 10:32
Hi all
I have to display a $ Sign with Amount on Report eq. $1000, -$200.
I tried Maintain Format by generic unit Session (ttaad1106m000) but it is not working out.
Can any one please send me the procedure for Maintain Format by generic unit Session (ttaad1106m000)
or
suggest any other simple method to do this otherwise I have to go for the crude method of using string variable to display amount with $ sign.

Please Help me out.

Regards,
Nitin Patil

bdittmar
26th July 2007, 11:16
Hi all
I have to display a $ Sign with Amount on Report eq. $1000, -$200.
I tried Maintain Format by generic unit Session (ttaad1106m000) but it is not working out.
Can any one please send me the procedure for Maintain Format by generic unit Session (ttaad1106m000)
or
suggest any other simple method to do this otherwise I have to go for the crude method of using string variable to display amount with $ sign.

Please Help me out.

Regards,
Nitin Patil


Hello,

use seperate fields for currency and amount.

ccur amnt

$ 20000
$ -500

In ttaad1107m000 set symbol to NO.

Regards

nitinlpatil1
26th July 2007, 14:08
Thank u very much for Reply

but i need to print $ immeditely before the amount and if amount is negative then $ sign should come between negative sign and amount.

for eq. $1256.65, $12.23, -$12356.26

Regards,
Nitin Patil

en@frrom
26th July 2007, 14:34
So I suggest to format the amount field yourself in a string variable.
I.e:
domain tfgld.amnt amnt1
domain tcmcs.str15 amnt2
amnt = "$" (or field containing $-symbol) & str$(amnt1)

Regards,
Eli Nager

suhas-mahajan
27th July 2007, 07:25
Hi Nitin,

Here is KQ extract:

Example: You wish prices in a specific currency to be registered with two decimal places, and amounts to be presented as whole numbers. Execute the following steps:
a) Define the currency as generic unit in the session "Maintain Generic Units (ttaad1106m000)".
b) Define the currency as application currency in the session "Maintain Currencies (tcmcs0102m000)".
c) In the session "Maintain Formats by Generic Unit (ttaad1107m000)", select the format code for prices (003) and link a generic unit to it with a format allowing two decimal places to be specified. Execute the same steps for amounts; link formats without decimals to the format codes for amounts (a.o. 005 and 095).
Consequences: Within the application this will have the following consequences. It will be possible to enter amounts in whole numbers only. Decimals will not be accepted. In calculations, amounts will be rounded to whole numbers. Prices can be entered with up to two decimals. Prices will be calculated to two decimal places.
Note: The currency format system is subject to various limitations. As these are NOT tested by the application, users should be careful to comply with them:
• The currency in the session "Maintain Currencies (tcmcs0102m000)" must have the same code as the generic unit in the session "Maintain Generic Units (ttaad1106m000)".
• When creating a new currency, you should check if the currency is present as a generic unit. You should furthermore check if a generic unit with the right format is available for all relevant format codes.
• In the session "Maintain Currencies (tcmcs0102m000)" you can link a rounding factor to each currency (in the field "Rounding Factor"). This will allow you, for instance, to round amounts to multiples of 0.05. This rounding factor is not related to the format (and the degree of rounding resulting from it) recorded in the session "Maintain Formats by Generic Unit (ttaad1107m000)". Hence, it hardly makes sense to define a rounding factor of 0.01 in the session "Maintain Currencies (tcmcs0102m000)" if currency formats without decimals have been linked to the currency concerned in the session "Maintain Formats by Generic Unit (ttaad1107m000)". This rounding factor is only used to round amounts (not prices).

regards,

-Suhas