cancel
Showing results for 
Search instead for 
Did you mean: 

how can we suppress sign when printing?

former_member593554
Participant
0 Kudos

hi experts,

i am creating payslip so in that TAX & LIC amount are having minus sign .

so i want to suppress minus sign while displaying

how can i proceeed.

please helpme.

regards.

satheesh.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member593554
Participant
0 Kudos

so i write replace statement for this then it rectified

Ex:- In programlines

REPLACE '-' WITH ' ' INTO G_gsli.

then it supress the minus sign in filed symbol.

former_member196280
Active Contributor
0 Kudos

to surpress sign &variable(S)&.

close the thread once your question is answered.

Regards,

Sairam

former_member593554
Participant
0 Kudos

hello sai ,

thanks for replying,

i tried &fieldname(s)& first only . but in my program it is not supressing minus sign . I debug the smartform also in that also . iam passing like this

&g_lic(s)& . In L_TOKEN also asigning to OP field (S) but it is not supressing minus sign

pls helpme

regrads,

satheesh.

Former Member
0 Kudos

What are the formats of your fields g_lic and l_token? It needs to be decimal format for this formatting to work, if it is character the sign will be retained.

Regards,

Nick

Former Member
0 Kudos

&FIELDNAME(S)&

The (S) option removes the sign.

Regards,

Nick