cancel
Showing results for 
Search instead for 
Did you mean: 

What is the functionality of &VBDKR-NETWR(<10)& in sap script and smartform

Former Member
0 Kudos

Dear All,

I came across this &VBDKR-NETWR(<10)& when I was migrating the script as smartform. I would like to know wht is functionality of &VBDKR-NETWR(<10)& i.e. <10's meaning. I am facing problem in printing the amount. So many alignment problems are coming.

Please help me on this.

Thanks in Advance.

J.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

&VAR(<10)& means output will be printed with sign to tjhe left (<) and output length is 10 (10)

here an overview with the most use formating symbols

&VAR(En)& Exponent number (n)

&VAR(Ff)& Fill character

&VAR(K)& Ignore conversion rules

&VAR(<)& sign to the left

&VAR(>)& sign to the right

&VAR(.n)& number of decimals

&VAR(+n)& offset

&VAR(Z)& omit leading zeroes

&VAR(S)& omit leading sign

&VAR(T)& omit thousand sepearator

&VAR(n)& outputlength n

&VAR(R)& right justified

&VAR(C)& condensed

&VAR(I)& suppress initial value

success,

Gr,. Frank

Answers (2)

Answers (2)

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi,

&symbol(<)& Display Leading Sign to the Left and

&symbol (10)& is the field length

so &VBDKR-NETWR(<10)& means netwr of length 10 and leading sign will be moved to left instead of right.

Refer to the link for the more options available for formatting or alignment of the data

[Formatting Options in Script or Smartforms|http://help.sap.com/saphelp_40b/helpdata/pt/d1/803411454211d189710000e8322d00/content.htm]

Regards

Sarves

Edited by: Sarves Sombhatla on Sep 15, 2009 12:06 PM