cancel
Showing results for 
Search instead for 
Did you mean: 

Insert asterisk(*) for amount field (Very Urgent)

Former Member
0 Kudos

Hi all,

I want to insert asterisk() for amount field REGUD-SWNET(15C) in SAP script. ie suppose amount is 1000.00 rest of the length should be filled by asterisk() infrount of amount. ie ********1000.00 it has display like this.

Your help ll be rewarded.

Regards

Yathish

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

We can replace leading spaces in a value with a FILL CHARACTER.

SYNTAX: <b> &symbol(Ff)&</b> here f is fill character.

example: &REGUD-SWNET& value is 700.00

&REGUD-SWNET(F*)& value printed as ******700.00.

regards,

sudheer.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

Have you tried to print using instead swnet printing with NETTS, WNETS depending on your nedds?

Those fields are * protected.

Bye

Gabriel P

Former Member
0 Kudos

Hi,

You can move the value to character and fill *** in front of the variable.

Thanks,

Naren

Former Member
0 Kudos

You need have one charcter variable

data a(16) type c.

move REGUD-SWNET to a.

concatenate '*****' REGUD-SWNET into a.

you can not concatenate bu using qty or currency field.