cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Script

Former Member
0 Kudos

Hi All,

I am changing one SAP Script. For printing the quantity they have written the code as follows. My quanity value is 166.499.

Its getting printed as *6499,00.

&I_FINAL_BSIS-fkimg(C8.2R)&

What is the meaning of (C8.2R)??

thanks in advance.

-Neha.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Neha,

(C8.2R) is a Formatting options in SAP Script.

C -> Condense

8 -> Output Length

.2 -> Decimals

R -> Right Aligned

Go through the Link Below

Link: [http://help.sap.com/saphelp_47x200/helpdata/en/d1/8034c7454211d189710000e8322d00/frameset.htm]

with Regards

Kesavaperumal

Former Member
0 Kudos

Hi,

C8.2R means total length of the output is 8 characters. 6 charcters before decimal pt and 2 characters after decimal pt. Is my understanding correct??

Edited by: neha1009 on Oct 8, 2009 7:26 AM

Former Member
0 Kudos

Hi,

Okay, then in this case I assume it might be a problem with the alighnment and character format, try to change it so that it will display exactly.

Regards,

Anil

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Use the &var(8.2R)& instead of C8.2R.

Former Member
0 Kudos

Hi,

I know that the additional specification (C) outputs the symbol in a compressed form, that is the leading blanks are omitted in the 4-character output (default). I m not sure for (C8.2R)?? does it mean any syntax?

Regards,

Anil