cancel
Showing results for 
Search instead for 
Did you mean: 

(CL) tag in the script

Former Member
0 Kudos

hi...

In main window, code is ---

P1 Round sum payable = Rs.&ITIBD-RND_PAYABLE(CL)&,

o/p line -


> Round sum payable = Rs.1,040.00 ,

where 'rnd_payable' is curr field n itab value is displayed, but the problem in the output is that, there is a space (size 1) between amount & comma which is not desirable. If I remove (CL) enclosed within the '&' full 13 curr lenght is displayed for the value of field ITIBD-RND_PAYABLE and again one space between amount and the comma.

Similarly thr is also a (C) tag enclosed within '&' for some other variables.

(CL), (C) are not declared in driver / main program nor anywhr in script (para, char formats etc).

Can anybody tell me what these tags mean?

another alternate way I tried is I copied these variable values into char field, condensed it (done in main/calling program itself) n used it instead of direct itab field, then it is working fine. i.e. no space between amount n comma.

awaiting your inputs

thanxs

Message was edited by:

navin devda

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Navin,

Try as follows which may help you..Place the text in single quotes inside the symbol.

<b>&'Rs.'&ITIBD-RND_PAYABLE(CL)&' '&</b>

Thanks,

Vinay

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Still no clearance for specific (CL) tag, all other options are really useful to know from you though.

I tried as suggested to include comma within the '&' and between two quotes i.e. ' '

But it didnt help, comma is not appearing only.

I also tries using 'C' & 'R' formatting option from the list provided by u. but no help.

dev_parbutteea
Active Contributor
0 Kudos

Hi,

try &'Rs.'&ITIBD-RND_PAYABLE(CL.2)' '&

Regards,

Sooness

Former Member
0 Kudos

thanx sooness....

but still not happening.

former_member196280
Active Contributor
0 Kudos

Go thorugh it I guess it will clarify your doubt.

&SYMBOL(S)&

S can be,

a) < --> leading sign to left

b) > --> leading sign to right

c) Z --> omitting leading Zeros

d) C --> Space compression (condense)

e) .2 --> number of decimal places " here 2 decimals

f) E --> an exponent for floating point number, ex, E3, E6 etc

g) R --> Right justified

h) F* --> fill characters, here * will be prefixed in empty spaces

i) I --> surpress output initial value

j) K --> Ignore conversion routine

k) + --> increament

l) - --> decrement

m) L , R, C --> left justified, right justified, Center

Try like this, for above solution..

Rs.&''&ITIBD-RND_PAYABLE(CL)&','&

Regards,

Sairam

Former Member
0 Kudos

Hi

These are all Script formatting Options that are provided by SAP

C --for COndensing the space with in the field data

L -- for printing the LOCAL date and Amount format

S --No sign before the field

(.1) --one decimals

(.2) two decimals for the field

Z - No zeros(leading)

I - means initial value suppressed

R -right justification

T - No commas in numbers

<b>Reward points for useful Answers</b>

Regards

Anji