Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Sapscript help

Former Member
0 Likes
436

Hello,

Can anyone tell me the different between these two objects in Sapscript when displaying an amount field?

&RF140-ZALBT(NS16.2)&CR v/s &RF140-ZALBT(17.2)&

Thank you,

CL

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
395

Hi CL,

You can see at the end there is a Decimal Notation (length).

Lets say I have a Value (17 + Decimals,,,)

In one statement The output is only (16+Decimals) One letter will be Truncated.

In one statement The output is (17+Decimals) Fully shown.

Lets say you have a JAPAN Currency (JPY) And You will Still get the Decimal Notation where as JPY has no decimals(cents).

Thanks & Regards,

Dileep .C

3 REPLIES 3
Read only

former_member156446
Active Contributor
0 Likes
395

&RF140-ZALBT(16.2)& = 16 characters of value and two decimals

&RF140-ZALBT(17.2)& = 17 characters of value and two decimals

Read only

Former Member
0 Likes
396

Hi CL,

You can see at the end there is a Decimal Notation (length).

Lets say I have a Value (17 + Decimals,,,)

In one statement The output is only (16+Decimals) One letter will be Truncated.

In one statement The output is (17+Decimals) Fully shown.

Lets say you have a JAPAN Currency (JPY) And You will Still get the Decimal Notation where as JPY has no decimals(cents).

Thanks & Regards,

Dileep .C

Read only

faisalatsap
Active Contributor
0 Likes
395

Hi, ABAPer

Please Always USE Meaningful Subject Line and Post your Query in Proper Forum

Have a look at [MODERATOR MESSAGE: SapScript/Smartform questions go in FORM PRINTING forum|/thread/1360534 [original link is broken];

Also Have a Look at [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]

Thanks and Regards,

Faisal