cancel
Showing results for 
Search instead for 
Did you mean: 

Decimal Printing in Smartforms

Former Member
0 Kudos

Hi,

I have a Qty field LBBIL_IT_GEN-FKIMG in the Invoice Layout.In the dictionary it has 3 decimals but in printing i want only 1 decimal.

I tried Using &GS_IT_GEN-FKIMG(.1)& which referrs to LBBIL_IT_GEN-FKIMG.But is giving as wrong formating option.

I have to get the Sales Unit in Multiple Languages Eg (EN = ST ,FI = KPL).But in the Layout it is always printing as ST even if i have logged on In finish.In the Table T006A the Unit is also in Both English And Finish.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

You might need to give the quantity field in the global definitions - > currency / quantity fields

and then use &GS_IT_GEN-FKIMG(.1)&, this would work.

For the units, are you writing a select statement basing on the language?

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Take one variable(VAR) of type P decimals 1

Move GS_IT_GEN-FKIMG to Var.

Print Var.

Former Member
0 Kudos

Hi,

Can you please let me know from &GS_IT_GEN-FKIMG(C)& , what does the capital C in the bracket refer to?

Thanks

Praveen

Former Member
0 Kudos

Hi Praveen,

the capical C as a formatting option stands for "compress spaces".

Kind regards

Matthias

Former Member
0 Kudos

Hi,

It is Not working.Giving compilation error.

Thanks

Former Member
0 Kudos

Hi

Please check the type of that field once. I take the variable type FKIMG and tested it, its working.

Oherwise move that &GS_IT_GEN-FKIMG& value into a variable V_FKIMG and use

&V_FKIMG(.1)&. Try this once. It will work.

Thanks

Sriiiiiii(Srikanth)

Former Member
0 Kudos

Hi,

For the decimal formatting please use &GS_IT_GEN-FKIMG(<C.1)& ...

For the unit please check inside the document about the unit.

Regards,

Ram