04-06-2006 11:04 AM
Hi i have a smartform where i am displaying quantity field from the table which i have used as a field symbol.
now the problem is like quantity field and currency fields are not alligned .i have taken many steps but unfortunately unsuccessful.
please suggest a solution.
if anyone can tell me like how to delete the trailing space from a variable then also it can be done.
help is required.
04-06-2006 11:11 AM
Hi,
&field(C)& The system takes the field value as a sequence of words separated by blanks. Option C shifts these words to the left and leaves only one blank
inbetween as separator. Any leading blanks are suppressed. This effect corresponds to that of the ABAP statement CONDENSE.
&field(T)& Suppresses thousand indicators when displaying fields of types DEC ,CURR , INT , and QUAN .
&field(R)& Right-justified display. Use this option only when specifying an output
length as well.
Regards,
Gayathri
04-06-2006 11:09 AM
Hi James,
Use the option &field(C)& to deleting space.Use right-justification for quantity and currency fields.
or
write the quantity fields to character variable and display it.
Thanks,
Vamsi.
04-06-2006 11:11 AM
Hi,
&field(C)& The system takes the field value as a sequence of words separated by blanks. Option C shifts these words to the left and leaves only one blank
inbetween as separator. Any leading blanks are suppressed. This effect corresponds to that of the ABAP statement CONDENSE.
&field(T)& Suppresses thousand indicators when displaying fields of types DEC ,CURR , INT , and QUAN .
&field(R)& Right-justified display. Use this option only when specifying an output
length as well.
Regards,
Gayathri